UploadsFiles
Get an upload by its id.
apiKeyAuthorizationBearer <token>Your API key, sent as a bearer token.
id*stringid of the upload.
uuidThe upload.
application/jsonAn upload that is still uploading or was deleted. Only its status is returned.
status*stringStatus of the upload.
| Value | Meaning |
|---|---|
Deleted | Deleted, or the image couldn't be processed. |
Pending | Still uploading. |
"Pending""Deleted"curl -X GET 'https://www.artelo.com/api/open/uploads/files/get-by-id?id=88600d9d-18ed-48df-86dd-c0a827c5ebf8' \ -H 'Authorization: Bearer <your token>'{ "fileType": "JPG", "height": 6000, "id": "88600d9d-18ed-48df-86dd-c0a827c5ebf8", "size": 8412906, "status": "Success", "width": 4500, "previews": { "lg": "https://uploads.example.com/previews/adaafa7e-15c3-4343-a20c-281045e84aa3/88600d9d-18ed-48df-86dd-c0a827c5ebf8.preview.lg.jpg", "sm": "https://uploads.example.com/previews/adaafa7e-15c3-4343-a20c-281045e84aa3/88600d9d-18ed-48df-86dd-c0a827c5ebf8.preview.sm.jpg", "xs": "https://uploads.example.com/previews/adaafa7e-15c3-4343-a20c-281045e84aa3/88600d9d-18ed-48df-86dd-c0a827c5ebf8.preview.xs.jpg" }, "url": "https://uploads.example.com/files/adaafa7e-15c3-4343-a20c-281045e84aa3/88600d9d-18ed-48df-86dd-c0a827c5ebf8.jpg"}