Skip to content

Data api authentication authorization

Yuji Takayama edited this page Jul 10, 2013 · 1 revision

Authentication: authorization

Return authorization(login) form as HTML.

Request

HTTP Request

This method accepts GET only.

GET https://your-host/your-mt-api.cgi/v1/authorization

Parameters

Method Parameters

Not available.

Query Parameters

Parameter Type Description
redirectUrl string This is required. When you succeed in login, you are redirected to the redirectUrl with "#_login".
clientId string This is required. the client ID of the application.

Request Body

Do not supply a request body.

Response

authorization(login) form as HTML.

Status Code

Code Description
200 no error

Example

POST /mt-api.cgi/v1/authorization
Host: www.example.com

HTTP/1.0 200 OK
Content-Type: application/json
Content-length: ...
Clone this wiki locally