Restores the auto generated subtitles.
put
/content/management/api/v1.1/items/{id}/metadata/transcripts/restore
This will restore the subtitles back to the automatic generated transcription.
There is no request payload since the transcript is being restored to it's original one. The response contains the transcript with default limit number of nodes.
Throws exceptions with error codes -
CEC-CONTENT-TRANSCRIPT-022005 if the system generated transcript is not available.
CEC-CONTENT-TRANSCRIPT-022006 if system generated transcript is failure.
CEC-CONTENT-TRANSCRIPT-022007 if there are no changes to restore back to the system generated transcription.
CEC-CONTENT-ITEM-008002 if item is not found.
CEC-CONTENT-001004 if the user does not have the enterprise user role or if the user does not have at least contributor role on repository.
There is no request payload since the transcript is being restored to it's original one. The response contains the transcript with default limit number of nodes.
Throws exceptions with error codes -
CEC-CONTENT-TRANSCRIPT-022005 if the system generated transcript is not available.
CEC-CONTENT-TRANSCRIPT-022006 if system generated transcript is failure.
CEC-CONTENT-TRANSCRIPT-022007 if there are no changes to restore back to the system generated transcription.
CEC-CONTENT-ITEM-008002 if item is not found.
CEC-CONTENT-001004 if the user does not have the enterprise user role or if the user does not have at least contributor role on repository.
Request
Supported Media Types
- application/json
Path Parameters
-
id: string
id of the item.
Query Parameters
-
links(optional): string
This is an optional parameter. This parameter accepts a comma-separated list of links to be returned in the response. Possible values are: self, canonical
Header Parameters
-
X-Requested-With: string
A custom header to mitigate CSRF attacks.Allowed Values:
[ "XMLHttpRequest" ]
Response
Supported Media Types
- application/json
200 Response
OK.
400 Response
Bad request.
403 Response
Forbidden.
404 Response
Not found.
500 Response
Internal server error.