You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hatsuhito UENO edited this page Feb 13, 2015
·
7 revisions
Blogs: get
Retrieve a single blog by its ID.
Request
HTTP Request
This method accepts GET only.
GET https://your-host/your-mt-api.cgi/v1/sites/{blog_id}
Parameters
Method Parameters
Parameter
Type
Description
blog_id
unsigned integer
The blog ID.
Query Parameters
Parameter
Type
Description
fields
string
This is an optional parameter. The field list to retrieve as part of the Entries resource. If this parameter is not specified, All fields will be returned.
Request Body
Do not supply a request body.
Response
If successful, this method will return an Blogs resource as the response body.
Status Code
Code
Description
200
no error
404
Site not found
Example
GET /mt-api.cgi/sites/1
Host: www.example.com
HTTP/1.0 200 OK
Content-Type: application/json
Content-length: ...