GET
/
media
/
files
/
{id}
curl --request GET \
  --url https://api.pxyz.dev/api/v0/media/files/{id}
{
  "id": "<string>",
  "tenantId": "<string>",
  "originalFilename": "<string>",
  "path": "<string>",
  "description": "<string>",
  "mime": "<string>",
  "size": 1,
  "width": 1,
  "height": 1,
  "duration": 1,
  "transformationId": "<string>",
  "meta": "<any>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "deletedAt": "2023-11-07T05:31:56Z"
}

Path Parameters

id
string
required

Response

200
application/json
Successful response
id
string
required
tenantId
string
required
path
string
required
description
string | null
required
mime
string | null
required
size
integer | null
required
Required range: x > 0
width
integer | null
required
Required range: x > 0
height
integer | null
required
Required range: x > 0
duration
integer | null
required
Required range: x > 0
transformationId
string | null
required
createdAt
string
required
updatedAt
string
required
deletedAt
string | null
required
originalFilename
string | null
meta
any