Path parameters
-
Format should match the following pattern:
^file-
.
GET /files/{id}
curl \
-X GET https://v5.jinshuju.net/exam/api/files/{id}
Response examples (200)
{
"id": "file-6757a41ee88e5d8d2a0bbbd6",
"bytes": 404,
"object": "file",
"filename": "Exam Attachment 1",
"created_at": "2024-12-10T10:14:54.796+08:00"
}
Response examples (404)
{
"error": {
"type": "invalid_request_error",
"message": "No such File object: invalid"
}
}