Get File Details
Get a media-library file by its asset ID and directory path, or by its S3 path.
Supply either s3Path alone, or assetId together with directoryPath. Use values returned by the library rather than constructing asset identifiers.
Requires the files:read scope.
API key sent as a bearer token (mk_live_… / mk_test_…).
Successful response.
Invalid request data.
Missing or invalid API key.
The API key lacks the required scope (scope_denied), or the operation is not permitted for this account (operation_not_permitted).
The API key exceeded its request rate (rate_limit_exceeded) or its monthly quota (quota_exceeded). Both carry Retry-After; the RateLimit-* headers accompany rate_limit_exceeded only, since a spent quota says nothing about the bucket.
Internal server error.
GET /v1/files/lookup HTTP/1.1
Host: admin.mimeeqapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"type": "text",
"assetId": "text",
"directoryPath": "text",
"name": "text",
"extension": "text",
"mimeType": "text",
"sizeBytes": 1,
"url": "text",
"createdAt": "text",
"modifiedAt": "text",
"revisionsNumber": 1,
"width": 1,
"height": 1,
"aspectRatio": "text"
}
}Last updated
Was this helpful?