バージョン 8.3.8

Back | 

WsAssetCaptionFile

Returns the asset caption files

URL Format

/ws/ws_asset_caption_file/api/{app_token}/mode/json/apiv/5/a/{asset id}/c/{caption file id}

Parameters

Name Req Type Description
app_token string The api token for the given account. You can find the api token when navigating through account->api accounts
apiv integer The api version; only version 5 supported.
a int assetId the asset id
c int caption file id

Request Headers

Name

Possible Responses

  • 840 Caption files found
  • 841 No caption files found
  • 303 Invalid Asset ID
  • 911 Invalid Invalid caption file id
  • 102 Invalid app token

Example Response

{
  "response": {
    "success": {
      "code": 840,
      "message": "Caption files found",
      "details": ""
    },
    "WsAssetCaptionFile": {
      "CaptionFiles": [
        {
          "id": 1,
          "assetid": 1,
          "title": "myfile.xml",
          "locale": "en",
          "dateModified": "-0001-11-30T00:00:00Z",
          "filename": "\/media\/703\/captions\/a\/9\/9\/a996316b08.xml"
        },
        {
          "id": 2,
          "assetid": 1,
          "title": "myDSfile.xml",
          "locale": "es",
          "dateModified": "-0001-11-30T00:00:00Z",
          "filename": "\/media\/703\/captions\/a\/9\/9\/asdada.xml"
        }
      ]
    }
  }
}