>>

Get Attachment Data

GET/<id>/data

Get a file’s metadata by ID from a specific bucket.

>>

Path Params

NameType
idNumber
>>

Response

200FileData

FieldTypeDescription
idNumberThe file’s ID.
nameStringThe file’s name.
bucketStringThe bucket the file is stored in.
metadataFileMetadataThe File Metadata of the file.
>>

Example

curl \
  https://cdn.eludris.gay/2198189244420/data

{
  "id": 2199681302540,
  "name": "thang-big.png",
  "bucket": "attachments",
  "metadata": {
    "type": "image",
    "width": 702,
    "height": 702
  }
}