API v1
Status Page ↗
FASTUPLOAD DEVELOPER PLATFORM
Responses
Understand successful API responses and returned file metadata.
Version 1.0
Successful response
The following is based on the response structure in the existing API documentation. URL domains and example values are illustrative.
json
{
"success": true,
"status": 200,
"data": {
"id": "123",
"owner": "Anonymous",
"title": "exampleImage",
"url_viewer": "https://preview.fastupload.net/abc123",
"url": "https://beta.fastupload.net/uploaded/example-id",
"display_url": "https://i.fastupload.net/example.png",
"size": 1024,
"time": 1552042565,
"expiration": 0,
"image": {
"filename": "example.png",
"name": "example",
"mime": "image/png",
"extension": "png",
"url": "https://beta.fastupload.net/uploaded/example-id"
},
"delete_url": "https://api.fastupload.net/delete/example.png?token=..."
}
}Response fields
| Field | Description |
|---|---|
success | Whether the operation succeeded. |
data.id | Database image record ID. |
data.url_viewer | Viewer page URL. |
data.display_url | Direct display URL. |
data.size | File size in bytes. |
data.delete_url | Delete URL returned by the current implementation. |
Implementation note
The updated endpoint returns delete_url: null until a persistent delete-token table and delete endpoint are implemented. The direct file URL uses the configured storage.fastupload.net base URL.