Skip to Content
Cut.ProDocs
Clipping: clips

Whether a clip can get a next part

A next part starts where the clip ends, from the same source. reason says why it cannot be made: SOURCE_ENDED when less than 15 s of the source is left, SOURCE_EXPIRED when the source is no longer kept. exists when it was already made.

Authorization

apiKey
headerX-Api-Key<token>

Path Parameters

videoId*string

Video id, from POST /videos/info or GET /videos

submissionId*string

Submission id, from GET /videos/{videoId}/submissions

clipId*string

Clip id, from the submission's clip list

Match^[0-9]{1,20}$

Response Body

Response for status 200

application/json
  1. response
available*boolean

true when POST makes or returns the next part

reason*|

Why it cannot be made; null when available

Value in"SOURCE_EXPIRED""SOURCE_ENDED"
part*number

Part number of this clip; 1 when it is not a part yet

exists*boolean

true when the next part was already made: POST returns it instead of making another

GET
/videos/{videoId}/submissions/{submissionId}/clips/{clipId}/next-part
Example Request
curl -X GET 'https://api.cut.pro/api/v1/videos/string/submissions/string/clips/string/next-part'
Example Response
{  "available": true,  "reason": "SOURCE_EXPIRED",  "part": 0,  "exists": true}