Docflow flow

Скачать файл документа

Changed on

Отдаёт байты файла как вложение. Содержимое приходит потоком, а не полем JSON, и заголовки запрещают его кэширование посредниками.

Параметр preview=1 отдаёт производное представление для просмотра, когда оно построено; без него приходит исходный файл.

get/api/v1/docflow/flow/documents/{id}/files/{fileId}/content

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
fileId, string uuid required

Query parameters

preview, '1'

1 — производное представление для просмотра

Headers

X-Tenant, string required

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

Response

Байты файла как вложение. Содержимое приходит потоком, а не полем JSON, и посредникам кэшировать его запрещено.

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

    7 more changes in this revision