Zum Artikel springen
Dokumentation

Dokumentation durchsuchen

Die Suche bleibt in diesem Browser. Suchbegriffe werden weder gesendet noch gespeichert. Füge keine Zugangsdaten ein.

Öffentlicher Suchindex wird geladen…

Tab oder Pfeiltasten zum Navigieren · Enter zum Öffnen · Esc zum Schließen
Dokumentationsverzeichnis

Video-Upload abschließen

Generierte Referenz für POST /video-uploads/{upload_id}/complete: Authentifizierung, Felder, Antworten, Fehler und sichere Nutzung.

Öffentliche BetaAPI v1 · 1.5.0Zuletzt geprüft
Auf dieser Seite

Operation

POST /video-uploads/{upload_id}/complete

operationId: finish_video_upload_v1_video_uploads__upload_id__complete_post

Prüft das hochgeladene Video und gibt eine wiederverwendbare file_id mit Dauer und Abmessungen zurück. Wiederholtes Abschließen liefert dieselbe Datei.

Authentifizierung und Nebenwirkungen

Verwende einen serverseitigen Bearer-API-Schlüssel. Erforderliche Berechtigung: animations:write

Diese Operation startet keine kostenpflichtige Generierung. Andere Zustandsänderungen sind oben beschrieben.

Parameter

Parameter Position Typ Erforderlich Einschränkungen / Standardwert Bedeutung
upload_id path string Ja format: uuid Owned public resource UUID; task, asset, and file IDs are not interchangeable.

Antworten

HTTP Inhalt Bedeutung
200 VideoFileResponse Successful public response. Example values are illustrative.
400 APIErrorEnvelope Invalid input; correct the request before retrying.
401 APIErrorEnvelope Missing, expired, or revoked API key.
403 APIErrorEnvelope Account eligibility, account status, or key scope does not allow this operation.
404 APIErrorEnvelope Resource is unavailable, not owned, or its signature is invalid/expired.
409 APIErrorEnvelope Idempotency conflict; only IDEMPOTENCY_IN_PROGRESS is retryable with the original request.
410 APIErrorEnvelope Upload session expired; prepare a new upload.
413 APIErrorEnvelope Request or decoded image exceeds the configured limit.
415 APIErrorEnvelope Use supported image media types.
422 APIErrorEnvelope Video metadata or size is invalid.
429 APIErrorEnvelope Account-wide rate or queue limit; wait for Retry-After.
500 APIErrorEnvelope Internal failure; preserve the task/key and retry only when marked retryable.
503 APIErrorEnvelope Service/provider unavailable; retry only when error.retryable is true.

Antwort-Header

HTTP Header Typ Bedeutung
429 Retry-After integer Suggested wait in seconds; respect the server value and an overall deadline.
503 Retry-After integer Suggested wait in seconds; respect the server value and an overall deadline.

Beispielantwort

json
{
  "byte_size": 1024,
  "duration_seconds": 5,
  "file_id": "00000000-0000-4000-8000-000000000001",
  "height": 768,
  "mime_type": "video/mp4",
  "object": "file",
  "sha256": "0000000000000000000000000000000000000000000000000000000000000000",
  "width": 768
}

Weiterführende Anleitungen

Statusabfragen und Downloads · Fehler und sichere Wiederholungen

War diese Seite hilfreich?

Es werden keine Suchbegriffe, Codes oder Freitexte erfasst. Dieser Schalter steuert nur Dokumentationsinteraktionen; allgemeine Website-Analysen folgen der Datenschutzerklärung. Datenschutzerklärung

Brauchst du Hilfe? Support kontaktieren