Get a file's detail
GET
https://api.expirationreminder.net/v1/attachments/expirationitem/{id}Path Parameters
id
string
RequiredGET /v1/attachments/expirationitem/{id}
$ curl https://api.expirationreminder.net/v1/attachments/expirationitem/{id} \
-H "Authorization: Bearer <token>"
Responses
| Property | Type | Description |
|---|---|---|
id |
string (uuid) |
- |
content |
string (byte) |
- |
name |
string |
- |
content_type |
string |
- |
created |
string |
- |
content_legth |
integer (int32) |
- |
entity_type |
string |
- |
entity_id |
string (uuid) |
- |
Example Response
{
"id": "00000000-0000-0000-0000-000000000000",
"content": "string",
"name": "string",
"content_type": "string",
"created": "string",
"content_legth": 0,
"entity_type": "string",
"entity_id": "00000000-0000-0000-0000-000000000000"
}Not Found
| Property | Type | Description |
|---|---|---|
message |
string |
- |
ok |
boolean |
- |
Example Response
{
"message": "string",
"ok": false
}