Перейти к основному содержанию
GET
/
v1
/
attachments
/
files
/
{id}
cURL
curl --request GET \
  --url https://api.example.com/v1/attachments/files/{id}/
{
  "id": 123,
  "extension": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "created_by": 123,
  "content_type": "<string>",
  "object_id": 4611686018427388000,
  "file": "<string>",
  "type": "<string>"
}

Параметры пути

id
integer
обязательно

Ответ

200 - application/json
id
integer
обязательно
extension
string
обязательно
created_at
string<date-time>
обязательно
created_by
integer | null
обязательно
content_type
string
обязательно
Maximum string length: 255
object_id
integer<int64>
обязательно
Требуемый диапазон: 0 <= x <= 9223372036854776000
file
string<uri> | null
type
string | null
Maximum string length: 255