Manage Videos
post/library/{libraryId}/videos/fetch

Request

Path parameters

libraryIdinteger required

The ID of the video library.

Query parameters

collectionIdstring nullable

(Optional) The ID of the collection to put the created video in.

thumbnailTimeinteger nullable

(Optional) Video time in ms to extract the main video thumbnail.

Request body

urlstring required

The URL from which the video will be fetched from.

headersobject nullable

The headers that will be sent along with the fetch request.

titlestring nullable

The title that will be set to video. If omitted, the filename from the fetch URL is used instead, falling back to "Fetched Video" if that can't be determined.

Response

The video was successfully fetched

successboolean

Determines if the request was successful

messagestring nullable

Human-readable message describing the result, typically populated with error details when Success is false.

statusCodeinteger

The HTTP status code corresponding to the result of the request.

Changes

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status