TwentyThree Developer APIAPI Method: /api/photo/get-transcoding-progress

API Method: /api/photo/get-transcoding-progress

Last updated on April 26, 2014.

Get the transcoding progress of a specific video. This method lists the status of all formats and tasks related to the video in question.

Parameters

ParameterDescription
photo_idThe ID of the video being queries.
percentage_formated_pFormat the status of each format a percentage strings instead of as a number from 0 to 1 indicating the progress.

Permission level

The minimum required permission level is:

read

Example XML Response

<response status="ok" permission_level="read" cached="0">
    <audio>1</audio>
    <video_original>1</video_original>
    <video_mobile_h263_aac>1</video_mobile_h263_aac>
    <video_mobile_high>0</video_mobile_high>
    <video_1080p>1</video_1080p>
    <all>1</all>
    <video_mobile_mpeg4_amr>1</video_mobile_mpeg4_amr>
    <video_webm_360p>1</video_webm_360p>
    <video_webm_720p>.56</video_webm_720p>
    <video_hd>0.89</video_hd>
    <video_frames>0</video_frames>
    <video_mobile_h263_amr>1</video_mobile_h263_amr>
    <video_medium>1</video_medium>
</response>

Example JSON Response

{
  "status": "ok", 
  "permission_level":"read",
  "cached":"0",
  "progress":{"audio": "0", "video_original": "1", "video_mobile_h263_aac": "1", "video_mobile_high": "0", "video_1080p": "1", "all": "1", "video_mobile_mpeg4_amr": "1", "video_webm_360p": "0", "video_webm_720p": "0", "video_hd": "0", "video_frames": "0", "video_mobile_h263_amr": "1", "video_medium": "1"},
  "p": "1",
  "size": "1",
  "site": ...,
  "endpoint": "/api/photo/get-transcoding-progress"
}