Bulk Transcript Operations.

post

/content/management/api/v1.1/items/{id}/metadata/transcripts/.bulk

Bulk Transcript operations.
The request body contains transcript operations such as create, update, delete.
The create block of the payload accepts a list of transcript nodes that can be created with node fields - start, end, text
The update block of the payload accepts a list of merge patch documents with fields - id (required) and can contain fields that are mutable - start, end, text
The delete block of the payload accepts a list of nodes to be deleted with fields - id (required). Accepts header Prefer - value respond-async and returns location header with href pointingto the bulk transcript nodes status api with status id of the current job.
This returns response with nodes created in create node with fields id, start, end, text and additionally links to the transcript node if requested, nodes updated and affected in update bucket with fields - that are updated as part of the request and additionally links to the node if requested.
Throws exceptions with error codes -

CEC-CONTENT-TRANSCRIPT-022001 if the file type is not supported for transcript generation
CEC-CONTENT-TRANSCRIPT-022002 if improper transcript duration is given in payload
CEC-CONTENT-TRANSCRIPT-022003 if invalid start/end time format is given in payload
CEC-CONTENT-TRANSCRIPT-022004 if the fields are incorrect
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
Path Parameters
Header Parameters
  • This parameter is used to control the interaction type (synchronous/asynchronous) of the request. If the header is provided with value respond-async, it indicates that asynchronous interaction is preferred. Otherwise, synchronous interaction is preferred. Asynchronous request is responded with 202 status with a status link in the location header. Synchronous request is responded with 200 along with response body.
    Allowed Values: [ "respond-async" ]
  • A custom header to mitigate CSRF attacks.
    Allowed Values: [ "XMLHttpRequest" ]
Body ()
Bulk transcript operations.
Root Schema : BulkTranscriptOperations
Type: object
Transcript Bulk Operations
Show Source
Nested Schema : create
Type: array
Show Source
Nested Schema : delete
Type: array
Show Source
Nested Schema : update
Type: array
Show Source
Nested Schema : Videotranscript
Type: object
Video transcript
Show Source
Nested Schema : items
Type: object
Additional Properties Allowed
Show Source
Nested Schema : additionalProperties
Type: object
Back to Top

Response

Supported Media Types

200 Response

OK.

202 Response

Accepted.
Body ()
Root Schema : BulkTranscriptOperations
Type: object
Transcript Bulk Operations
Show Source
Nested Schema : create
Type: array
Show Source
Nested Schema : delete
Type: array
Show Source
Nested Schema : update
Type: array
Show Source
Nested Schema : Videotranscript
Type: object
Video transcript
Show Source
Nested Schema : items
Type: object
Additional Properties Allowed
Show Source
Nested Schema : additionalProperties
Type: object

400 Response

Bad request.

403 Response

Forbidden.

404 Response

Not found.

409 Response

Conflict.

500 Response

Internal server error.
Back to Top