VideoTools API OAS 3.0

Video Tools API

Media delivery and transcoding service. Stream, upload, and manage video assets over a simple HTTP interface.

v1.0.0 [ Base URL: /v1 ]

Streaming

GET /video/download/{id} Stream a video file

Downloads (streams) a video asset by its identifier. Supports HTTP range requests for seeking.

Parameters
id string required Video identifier (UUID)
chunk integer Optional chunk index for segmented transfer
Responses
CodeDescription
200Video stream (application/octet-stream)
206Partial content (range request)
404Video not found

Media

GET /video/{id}/info Video metadata

Returns metadata for a stored video asset.

Responses
CodeDescription
200Video metadata object
404Video not found
POST /video/upload Upload a new video

Uploads a video asset for storage and later streaming.

Parameters
body VideoUploadRequest required Multipart upload payload
Responses
CodeDescription
201Created
400Invalid payload
GET /health Service health check

Liveness probe for the service.

Responses
CodeDescription
200{"status":"ok"}

Schemas

Models used by the API.

Video
idstringUnique identifier
titlestringHuman-readable title
durationnumberDuration in seconds
resolutionstringe.g. "1920x1080"
urlstringStreaming URL
VideoUploadRequest
filebinaryVideo file to upload
titlestringOptional title override