detektu
DigitalOcean API changes
InfoPreview

Endpoint added: GET /v1/videos/{}/content

openapi:GET /v1/videos/{}/content::operation.endpoint-added
Product
DigitalOcean API
Source
OpenAPI URL
Change kind
Endpoint Added
Detected
Last updated

Deterministic evidence

Before / after

Extracted from DigitalOcean's published contract. Shows the whole operation — a narrower excerpt was not available for this change. Open the source ↗

−1+831 change

1 / 1
null
{
"operationId": "inference_get_video_content",
"parameters": [
{
"in": "path",
"name": "video_id",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"video/mp4": {
"schema": {
"format": "binary",
"type": "string"
}
}
},
"headers": {
"ratelimit-limit": {
"$ref": "#/components/headers/ratelimit-limit"
},
"ratelimit-remaining": {
"$ref": "#/components/headers/ratelimit-remaining"
},
"ratelimit-reset": {
"$ref": "#/components/headers/ratelimit-reset"
}
}
},
"401": {
"$ref": "#/components/responses/unauthorized"
},
"404": {
"$ref": "#/components/responses/not_found"
},
"429": {
"$ref": "#/components/responses/too_many_requests"
},
"500": {
"$ref": "#/components/responses/server_error"
},
"default": {
"$ref": "#/components/responses/unexpected_error"
}
},
"security": [
{
"inference_bearer_auth": []
}
],
"servers": [
{
"url": "https://inference.do-ai.run"
}
],
"tags": [
"Serverless Inference"
],
"x-codeSamples": [
{
"lang": "cURL",
"source": "curl https://inference.do-ai.run/v1/videos/$VIDEO_ID/content \\\n -H \"Authorization: Bearer $DIGITALOCEAN_TOKEN\" \\\n --output output.mp4"
},
{
"lang": "Python",
"source": "import os\nimport requests\n\nheaders = {\"Authorization\": f\"Bearer {os.environ['DIGITALOCEAN_TOKEN']}\"}\nurl = f\"https://inference.do-ai.run/v1/videos/{os.environ['VIDEO_ID']}/content\"\nresp = requests.get(url, headers=headers)\nresp.raise_for_status()\nwith open(\"output.mp4\", \"wb\") as f:\n f.write(resp.content)"
},
{
"lang": "Go",
"source": "package main\n\nimport (\n \"context\"\n \"fmt\"\n \"os\"\n\n \"github.com/digitalocean/godo\"\n)\n\nfunc main() {\n client := godo.NewFromToken(os.Getenv(\"DIGITALOCEAN_TOKEN\"))\n ctx := context.Background()\n\n raw, _, err := client.Video.Generations.Content(ctx, os.Getenv(\"VIDEO_ID\"))\n if err != nil {\n panic(err)\n }\n if err := os.WriteFile(\"output.mp4\", raw, 0644); err != nil {\n panic(err)\n }\n fmt.Println(\"Wrote output.mp4\")\n}"
},
{
"lang": "JavaScript",
"source": "import { writeFileSync } from \"fs\";\nimport { InferenceClient } from \"@digitalocean/dots\";\n\nconst client = new InferenceClient({\n apiKey: process.env.DIGITALOCEAN_TOKEN,\n});\n\nconst content = await client.video.generations.content(process.env.VIDEO_ID);\nwriteFileSync(\"output.mp4\", Buffer.from(await content.arrayBuffer()));"
}
],
"x-inference-base-url": "https://inference.do-ai.run"
}

Monitored for you

Does this change affect your integration?

Choose the operations and fields your services use. Detektu matches DigitalOcean findings to that declared usage so your team can review the relevant evidence. No agent or repository access required.