API Method: /api/photo/edit/get-trimming
Get the clip or trimming information for this video.
Parameters
Parameter | Description |
---|---|
photo_id (required) | The ID of the video to look up trimming for. |
Permission level
The minimum required permission level is:
read
Example XML Response
<response status="ok" permission_level="read" cached="0">
<untrimmed_video_length>149</untrimmed_video_length>
<ranges>99.17259978425028 133.6429447852761</ranges>
<current_video_length>34.493</current_video_length>
</response>
Example JSON Response
{
"status": "ok",
"permission_level":"read",
"cached":"0",
"trimming":{
"untrimmed_video_length": "149",
"ranges": "99.17259978425028 133.6429447852761",
"current_video_length": "34.493"
},
"p": "1",
"size": "1",
"site": {...},
"endpoint": "/api/photo/edit/get-trimming"
}