Get File Data
GET/<bucket>/
Get a file’s metadata by ID from a specific bucket.
Path Params
| Name | Type | 
|---|---|
| bucket | String | 
| id | Number | 
Response
200FileData
| Field | Type | Description | 
|---|---|---|
| id | Number | The file’s ID. | 
| name | String | The file’s name. | 
| bucket | String | The bucket the file is stored in. | 
| metadata | FileMetadata | The File Metadata of the file. | 
Example
curl \
  https://cdn.eludris.gay/attachments/2198189244420/data
{
  "id": 2198189244420,
  "name": "trolley.mp4",
  "bucket": "attachments",
  "metadata": {
    "type": "video",
    "width": 576,
    "height": 682
  }
}