-
Notifications
You must be signed in to change notification settings - Fork 9
Data api entries insert
Yuji Takayama edited this page Oct 6, 2013
·
2 revisions
Create a new entry.
Authorization is required.
This method accepts POST only.
POST https://your-host/your-mt-api.cgi/v1/sites/{blog_id}/entries
| Parameter | Type | Description |
|---|---|---|
| blog_id | unsigned integer | The blog ID. |
Not available.
| Parameter | Type | Description |
|---|---|---|
| entry | Entries (JSON) | An Entries resource for new entry. |
If successful, this method will return an Entries resource as the response body.
| Code | Description |
|---|---|
| 200 | no error |
| 401 | Authentication requires |
| 403 | Do not have permission to create an entry. |
| 404 | Site not found |