Документация / Как начать / Работа с MCP / Идентификаторы и страницы результатов / REST: media / getMediaDownloadLink Для AI-агентов: markdown этой страницы — /docs/api-op-getmediadownloadlink.md · индекс документации — /llms.txt
getMediaDownloadLink Обновлено 10 октября 2026 г.
GET /api/v1/media/download-link
getMediaDownloadLink
# Авторизация и праваScopes: ALL. Auth alternatives: OR; scopes внутри альтернативы: ALL.
Поле Значение security.0.hubApiKey [] security.1.hubBearer [] securitySchemes.hubApiKey.in "header" securitySchemes.hubApiKey.name "X-Api-Key" securitySchemes.hubApiKey.type "apiKey" securitySchemes.hubBearer.scheme "bearer" securitySchemes.hubBearer.type "http" x-required-scopes ["content:read"]
# Параметры запросаПоле Значение 0.description "A mediaRef returned for this business (the MCP field of the same name)." 0.in "query" 0.name "media_ref" 0.required true 0.schema 0.schema
# Тело запросаПоле Значение Тело запроса null
# Ответы# ОшибкиПоле Значение 400.content.application/problem+json.schema ProblemDetails 400.description "VALIDATION_ERROR: media_ref is missing or is not a mediaRef" 401.content.application/problem+json.schema ProblemDetails 401.description "Missing or invalid API key" 403.content.application/problem+json.schema ProblemDetails 403.description "Scope or resource policy refused the request" 404.content.application/problem+json.schema ProblemDetails 404.description "MEDIA_SLOT_NOT_FOUND: no committed file of the authenticated tenant has this mediaRef" 413.content.application/problem+json.schema ProblemDetails 413.description "PAYLOAD_TOO_LARGE or ITEM_COUNT_EXCEEDED: per-tool resource limits" 429.content.application/problem+json.schema ProblemDetails 429.description "RATE_LIMIT_EXCEEDED or RATE_LIMIT_UNAVAILABLE: resource budget refusal" 429.headers.Retry-After.description "Retry delay in seconds, when supplied by the limiter" 429.headers.Retry-After.schema 429.headers.Retry-After.schema 500.content.application/problem+json.schema ProblemDetails 500.description "INTERNAL_ERROR: unexpected failure; no internal payload is exposed"
# Дополнительные условияПоле Значение operationId "getMediaDownloadLink" tags ["media"] x-idempotency "none"