-
Notifications
You must be signed in to change notification settings - Fork 9
Data api trackbacks update
Yuji Takayama edited this page Jul 10, 2013
·
1 revision
Update a trackbacks.
Authorization is required.
This method accepts PUT and POST with __method=PUT.
PUT https://your-host/your-mt-api.cgi/v1/sites/{blog_id}/trackbacks/{trackback_id}
| Parameter | Type | Description |
|---|---|---|
| blog_id | unsigned integer | The blog ID. |
| trackback_id | unsigned integer | The trackback ID. |
Not available.
| Parameter | Type | Description |
|---|---|---|
| __method | string | This is not required but if request method is 'POST', should be set as 'PUT' |
| trackback | Trackbacks (JSON) | An Trackbacks resource for update. |
If successful, this method will return an Trackbacks resource as the response body.
| Code | Description |
|---|---|
| 200 | no error |
| 403 | Do not have permission to update the requested trackback. |
| 404 | Trackback (or site) not found |
| 405 | Request method is not 'PUT' or 'POST' with '__method=PUT' |