Get a file's detail

GET https://api.expirationreminder.net/v1/attachments/expirationitem/{id}

Path Parameters

id string Required
GET /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
}
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.