v2

latestOpenAPI 3.1.02026-08-07262688.0 KB
Videos

Modify N videos

Partially update certain fields of existing videos in the DB.

patch/vids

Query parameters

waitboolean

Wait for completion?

Wait for completion?

urgentboolean

Enqueue at head of queue if True

Enqueue at head of queue if True

strictboolean

Use strict mode if True

Use strict mode if True

langstring

en|es|pt|fr|ru

en|es|pt|fr|ru

Request body

idstring required
srcstring nullable

URL del vídeo original.

thumbnail_urlstring nullable

Nombre canónico backend para la miniatura del vídeo.

preview_urlstring nullable

Nombre canónico backend para el preview reproducible del vídeo.

img_srcstring nullable

Alias temporal de compatibilidad frontend para thumbnail_url.

img_zoomstring nullable

Alias temporal de compatibilidad frontend para preview_url.

datestring nullable

Fecha del vídeo en formato YYYY-MM-DD.

locationstring nullable

Localización descriptiva del vídeo.

citystring nullable

Ciudad.

countrystring nullable

País.

eventstring nullable

Evento relacionado.

authorstring nullable

Autor o creador.

providerstring nullable

Proveedor o agencia.

keywordsstring[] nullable

Palabras clave.

categoriesstring[] nullable

Categorías.

collectionsstring[] nullable

Colecciones.

titlestring nullable

Título.

headlinestring nullable

Titular.

descriptionstring nullable

Descripción.

alt_textstring nullable

Texto alternativo.

statusstring nullable

Estado editorial del vídeo.

mediumstring nullable

Medio o tipo editorial.

ai_generatedboolean nullable

Indica si fue generado por IA.

model_releaseboolean nullable

Indica si tiene model release.

property_releaseboolean nullable

Indica si tiene property release.

nsfwboolean nullable

Indica si está marcado como NSFW.

containerstring nullable

Contenedor del vídeo, por ejemplo MP4.

codec_videostring nullable

Codec de vídeo, por ejemplo H264.

codec_audiostring nullable

Codec de audio, por ejemplo AAC.

heightinteger nullable

Alto del vídeo.

widthinteger nullable

Ancho del vídeo.

aspect_rationumber nullable

Aspect ratio del vídeo.

fpsnumber nullable

Frames por segundo.

duration_secsnumber nullable

Duración del vídeo en segundos.

Example request

[
  {
    "thumbnail_url": "https://cdn.example.com/video/thumb.jpg",
    "preview_url": "https://cdn.example.com/video/preview.mp4",
    "img_src": "https://cdn.example.com/video/thumb.jpg",
    "img_zoom": "https://cdn.example.com/video/preview.mp4",
    "date": "2024-10-19"
  }
]

Response

videos successfully modified

method'add' | 'upd' | 'del' | 'multiple' required

Tipo de respuesta asociada a una operación con imágenes.

resource'video' | 'image' | 'celebs' required
num_totalinteger required

Total of elements.

num_goodinteger required

Number of correctly processed elements.

num_badinteger required

Number of failed processed elements.

is_startedboolean required

Boolean indicating if the operation has started.

is_finishedboolean required

Boolean indicating if the operations has finished.

all_goodboolean nullable required

Boolean indicating that there is no failed elements yet.

do_waitboolean required

Boolean for know if have to wait or not.

do_urgentboolean required

Boolean for know if it is an urgent operation.

do_strictboolean required

Boolean for know if is required strict operations over DB.

idle_msnumber required

Duration (milliseconds) between the operation has been created and has started.

exec_msnumber required

Duration (milliseconds) between the operation has been started and has finished.

created_atstring required

Creation datetime.

started_atstring required

Start datetime.

finished_atstring required

Finalization datetime.