media_list
Pesquisar mídias e metadados.
REST · POST /api/v1/operations/media_list · MCP · media_list
Permissão necessária · read. Esta operação consulta dados.
Exemplo de entrada
{}
O REST retorna a saída abaixo diretamente. No MCP leia structuredContent.result. Consulte o contrato atual em /api/v1/openapi.json.
Em 401 confira a validade da credencial. Em 403 confira papel, escopos e contas. Em 409 releia o registro antes de tentar novamente.
JSON Schema · Entrada
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"projectId": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"search": {
"default": "",
"type": "string",
"maxLength": 150
},
"limit": {
"default": 100,
"type": "integer",
"minimum": 1,
"maximum": 200
},
"offset": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"additionalProperties": false
}
JSON Schema · Saída
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"project_id": {
"type": "string"
},
"status": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"type": "object",
"properties": {
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"duration": {
"type": "number"
},
"codec": {
"type": "string"
},
"size": {
"type": "number"
}
},
"required": [
"width",
"height",
"duration",
"codec",
"size"
],
"additionalProperties": {}
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"name",
"project_id",
"status",
"metadata"
],
"additionalProperties": {}
}
}