version 8.3.8

Back | 

WsTranscodeHistory

Returns transcode history for a client or for a particular asset

URL Format

/ws/ws_transcode_history/api/{app_token}/mode/json/apiv/5/?assetid=assetid&start={index_start}&end={index_end}&status={status}

Parameters

Name Req Type Description
app_token string App token for the client
apiv integer The api version; only version 5 supported.
assetid integer Id for a particular asset
start integer Index to start results
end integer Index to stop results
status string Possible values {complete,error,in_process,requested}

Request Headers

Name

Possible Responses

  • 322 Transcode History Found
  • 344 No History Found
  • 659 Invalid Client
  • 102 Invalid app token

Example Response

{
  "response": {
    "success": {
      "code": 322,
      "message": "Transcode History Found",
      "details": ""
    },
    "WsTranscodeHistoryResponse": {
      "history": [
        {
          "assetid": "1036225",
          "asset_title": "10 Second Hearthstone",
          "filename": "10 Second.mp4",
          "account_name": "11B Piksel OVP Dev",
          "dt_stamp": "2014-06-12 13:52:52",
          "dimensions": "1280 x 720",
          "job_id": "98688011",
          "request_id": "680117",
          "transcoder_profile_id": "563",
          "files": [
            {
              "Output Fileid": "856059",
              "Description": "Video: h264 @ 1100Kbps with 25.00 fps\nAudio: aac @ 128Kbps with 2 ch at 44100 Hz",
              "Source Filename": "10 Second.mp4",
              "responses": [
                {
                  "response_id": "3201326",
                  "status": "Transcoding request queued",
                  "dt_stamp": "06\/12\/14 01:52:52 pm",
                  "error": ""
                },
                {
                  "response_id": "3201332",
                  "status": "Transcoding started",
                  "dt_stamp": "06\/12\/14 01:52:51 pm",
                  "error": ""
                },
                {
                  "response_id": "3201333",
                  "status": "Transcoding complete",
                  "dt_stamp": "06\/12\/14 01:53:38 pm",
                  "error": ""
                },
                {
                  "response_id": "3201334",
                  "status": "Media transcoded successfully",
                  "dt_stamp": "06\/12\/14 01:53:38 pm",
                  "error": ""
                }
              ]
            },
            {
              "Output Fileid": "856060",
              "Description": "Video: h264 @ 650Kbps with 25.00 fps\nAudio: aac @ 128Kbps with 2 ch at 44100 Hz",
              "Source Filename": "10 Second.mp4",
              "responses": [
                {
                  "response_id": "3201327",
                  "status": "Transcoding request queued",
                  "dt_stamp": "06\/12\/14 01:52:52 pm",
                  "error": ""
                },
                {
                  "response_id": "3201329",
                  "status": "Transcoding started",
                  "dt_stamp": "06\/12\/14 01:52:51 pm",
                  "error": ""
                },
                {
                  "response_id": "3201330",
                  "status": "Transcoding complete",
                  "dt_stamp": "06\/12\/14 01:53:26 pm",
                  "error": ""
                },
                {
                  "response_id": "3201331",
                  "status": "Media transcoded successfully",
                  "dt_stamp": "06\/12\/14 01:53:26 pm",
                  "error": ""
                }
              ]
            },
            {
              "Output Fileid": "856061",
              "Description": "Video: h264 @ 480Kbps with 25.00 fps\nAudio: aac @ 128Kbps with 2 ch at 44100 Hz",
              "Source Filename": "10 Second.mp4",
              "responses": [
                {
                  "response_id": "3201328",
                  "status": "Transcoding request queued",
                  "dt_stamp": "06\/12\/14 01:52:52 pm",
                  "error": ""
                },
                {
                  "response_id": "3201335",
                  "status": "Transcoding started",
                  "dt_stamp": "06\/12\/14 01:52:51 pm",
                  "error": ""
                },
                {
                  "response_id": "3201336",
                  "status": "Transcoding complete",
                  "dt_stamp": "06\/12\/14 01:54:10 pm",
                  "error": ""
                },
                {
                  "response_id": "3201337",
                  "status": "Media transcoded successfully",
                  "dt_stamp": "06\/12\/14 01:54:10 pm",
                  "error": ""
                }
              ]
            }
          ]
        }
      ]
    }
  }
}