-
Couldn't load subscription status.
- Fork 5
DataAPI SDK english MT.DataAPI Endpoint method listTrackbacksForEntry
Taku AMANO edited this page Aug 28, 2013
·
2 revisions
Retrieve a list of trackback pings for an entry.
GET https://your-host/your-mt-api.cgi/v1/sites/:site_id/entries/:entry_id/trackbacks Detail
| Name | Type | Required | Description |
|---|---|---|---|
| siteId | Number | Object | Function | yes | Site ID |
| entryId | Number | Object | Function | yes | Entry ID |
| params | Object | no | Options |
| callback | Function | no |
XMLHttpRequest: A XMLHttpRequest object
api.listTrackbacksForEntry(siteId, entryId, function(response) {
if (response.error) {
// Handle error
return;
}
// Do stuff
});Or
var params = {
fields: "title,excerpt,url"
};
api.listTrackbacksForEntry(siteId, entryId, params, function(response) {
if (response.error) {
// Handle error
return;
}
// Do stuff
});