Skip to content

DataAPI SDK japanese MT.DataAPI Endpoint method updateTrackback

Taku AMANO edited this page Jul 6, 2013 · 9 revisions

updateTrackback

Update a trackback ping.

PUT https://your-host/your-mt-api.cgi/v1/sites/:site_id/trackbacks/:ping_id

パラメータ

パラメータ名 タイプ 必須 説明
siteId Number | Object | Function * ブログID
trackbackPingId Number | Object | Function * TrackbackPing ID
trackbackPingData Object | HTMLFormElement * A trackback data
callback Function

戻り値

XMLHttpRequest: XMLHttpRequestオブジェクト

api.updateTrackback(siteId, trackbackPingId, trackbackPingData, function(response) {
  if (response.error) {
    // Handle error
    return;
  }

  // Do stuff
});
Clone this wiki locally