Files content
Временный адрес версии файла
Changed onПодписанный адрес содержимого конкретной версии на 15 минут: байты идут прямо из хранилища, без заголовка авторизации. direct=false — хранилище подписывать не умеет, адрес ведёт на этот же API и требует авторизации. Непроверенная и заражённая версия адреса не получает.
get/api/v1/files/versions/{id}/content-url
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
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
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
3 more changes in this revision
- info