Skip to main content

/api/v1/files/[id]

This endpoint requires authentication using an API key.

GET: Get file details

Params

  • [id]: The file id

Headers

  • Authentication: API-KEY-HERE

200 (OK)

FieldTypeDescription
dateDateThe upload date
idstringThe name of the file
passwordbooleanWhether the password protection is enabled or not
sizestringThe file size as a string
viewsnumberThe amount of views the file has
visiblebooleanWhether the file is visible to everyone or not
domainstringThe user this file is from
mimeTypeMimeTypeThe file mime-type
{
	"date": "2023-10-17T11:37:49.109Z",
	"id": "8KyUGj0gDfRD.png",
	"password": false,
	"size": "74.1 kB",
	"views": 7,
	"visible": true,
	"domain": "cdn.ijskoud.dev",
	"mimeType": "image/png"
}