Listing Uploads
API Endpoint
https://dev.interrupted.me/uploads?page=1
Method
Get
Description
This endpoint allows you to list all the files you have uploaded to our servers. The endpoint is paginated and returns 10 results per page.
Headers
Below are the headers you need to send to the endpoint.
Header | Value | Description |
---|---|---|
Authorization | Bearer <token> | Required. Your API token. |
User-Agent | string | Required. Your user agent. |
Content-Type | application/json | Required. The content type. |
Query Parameters
Below are the parameters you need to send to the endpoint.
Parameter | Value | Required | Description |
---|---|---|---|
page | integer | Required. | The page number. |
Example Response
[
{
"id": 52,
"user_id": 2,
"file_name": "XGniSBUJ6vD2fgSF.jpg",
"file_path": "https://devs.interrupted.me/dev/2/XGniSBUJ6vD2fgSF.jpg",
"file_size": 17647,
"metadata": "{\"value1\":\"hello world\"}"
},
{
"id": 51,
"user_id": 2,
"file_name": "T74D1JlT6jfHNWeO.jpg",
"file_path": "https://devs.interrupted.me/dev/2/T74D1JlT6jfHNWeO.jpg",
"file_size": 17647,
"metadata": "{\"value1\":\"hello world\"}"
},
{
"id": 49,
"user_id": 2,
"file_name": "RZ1Txee8YDXUFdtz.jpg",
"file_path": "https://devs.interrupted.me/dev/2/RZ1Txee8YDXUFdtz.jpg",
"file_size": 17647,
"metadata": "{\"value1\":\"hello world\"}"
}
]