Docflow flow
Скачать файл документа
Changed onОтдаёт байты файла как вложение. Содержимое приходит потоком, а не полем JSON, и заголовки запрещают его кэширование посредниками.
Параметр preview=1 отдаёт производное представление для просмотра, когда оно построено; без него приходит исходный файл.
get/api/v1/docflow/flow/documents/{id}/files/{fileId}/content
Request
- Base URLhttps://erp.akeda.ru
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://erp.akeda.ru/oauth2/authorizeToken URLhttps://erp.akeda.ru/oauth2/tokenScopesakeda: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
fieldto the response with the status - info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status
7 more changes in this revision
- info