Files content

Временный адрес версии файла

Changed on

Подписанный адрес содержимого конкретной версии на 15 минут: байты идут прямо из хранилища, без заголовка авторизации. direct=false — хранилище подписывать не умеет, адрес ведёт на этот же API и требует авторизации. Непроверенная и заражённая версия адреса не получает.

get/api/v1/files/versions/{id}/content-url

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate

Path parameters

id, string uuid required

Headers

X-Tenant, string required

Slug выбранного кабинета; кабинет не является юрлицом

Response

Временный адрес

object required
url, string required
direct, boolean required

true — адрес ведёт прямо в хранилище; false — на этот API, с заголовком авторизации

expires_at, string date-time
name, string required
mime_type, string required
size_bytes, integer
version_id, string uuid required
version_no, integer required

Changes

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    3 more changes in this revision