Skip to content

Data api entries insert

Yuji Takayama edited this page Oct 6, 2013 · 2 revisions

Entries: insert

Create a new entry.

Authorization is required.

Request

HTTP Request

This method accepts POST only.

POST https://your-host/your-mt-api.cgi/v1/sites/{blog_id}/entries

Parameters

Method Parameters

Parameter Type Description
blog_id unsigned integer The blog ID.

Query Parameters

Not available.

Request Body

Parameter Type Description
entry Entries (JSON) An Entries resource for new entry.

Response

If successful, this method will return an Entries resource as the response body.

Status Code

Code Description
200 no error
401 Authentication requires
403 Do not have permission to create an entry.
404 Site not found
Clone this wiki locally