Files
🔒 Проксирование скачивания внешнего файла по URL.
Проксирование скачивания внешнего файла по URL.
Access: authorized (10 ) · Scope: read
Allows: не требуются — download utility limited to the storage allow-list, no resource
TypeScript (copy-paste)
GET /file/proxy-download
<details open><summary><b>Params</b></summary>export interface FileProxyDownloadParams {
url: string
}
</details>
<details open><summary><b>Response</b></summary>
export type FileProxyDownloadResponse = IServerResponse<Resp_file_proxy-download>
export interface IServerResponse<T = any> {
code: number
data: T
srvTS: number
rkey: string
}
</details>
Полный файл типов: /docs/types · raw: /docs/api-types.ts
get/file/proxy-download
Request
- Base URL: http://localhost
- URL: http://localhost/file/proxy-download
- Auth: one of:
- API key in header sid and API key in header rts and API key in header sig
- HTTP bearer
Query parameters
urlstring required
Можно передать header url (сервер мержит headers+query)
Headers
devIDstring uuid required
UUID устройства клиента
tzstring required
Example:Europe/Moscow
Таймзона клиента (IANA или offset)
appstring required
Example:kosmodrom-web
Имя клиентского приложения
appVerstring required
Example:1.0.0
Версия клиента
rKeystring
Уникальный ключ запроса для логов/саппорта
Response
OK — IServerResponse<Resp_file_proxy-download>
Example response
{
"code": 200
}Changes
No recorded changes to this operation across all 1 revision of this API.