GET/v1/integration/files/{type}/{id}
Download a file
Authorize a file in the active account and redirect to a short-lived URL. Send Accept: application/json or as=link to receive url and expires_at instead of a redirect. Records store a disk and a path; the URL is created on this request.
operationIdfile.showFilesرمز Bearer
المصادقة
رمز Bearer بقدرة integration. أنشئ الرموز من الإعدادات → API.
Authorization: Bearer <integration-personal-access-token>
مثال الطلب
curl -sS -X GET 'https://api.asklytic.com/v1/integration/files/{type}/{id}' \
-H 'Authorization: Bearer $INTEGRATION_TOKEN' \
-H 'Accept: application/json'المعاملات
الاسم
الموضع
النوع والقواعد
typeمطلوب
path
string
idمطلوب
path
string
الاستجابات
الاسم
النوع
مطلوب
Unauthenticated
الاسم
النوع
مطلوب
messageError overview.
string
مطلوب
Authorization error
الاسم
النوع
مطلوب
messageError overview.
string
مطلوب
Validation error
الاسم
النوع
مطلوب
messageErrors overview.
string
مطلوب
errorsA detailed description of each field that failed validation.
object<string, array<string>>
مطلوب