1.0.0
OAS3
file.io API
Creates a file
No parameters
file string($binary) | |
expires | |
maxDownloads integer | |
autoDelete boolean |
| Code | Description | Links |
| 200 | A FileDetails object Media typeControls Accept header. | No links |
Gets list of files
| Name | Description |
|---|---|
search string (query) | |
sort string (query) | |
offset integer (query) | |
limit integer (query) |
| Code | Description | Links |
| 200 | An array of FileDetails objects Media typeControls Accept header. | No links |
Downloads the file identified by {key}
| Name | Description |
|---|---|
key * string (path) |
| Code | Description | Links |
| 200 | File data Media typeControls Accept header. | No links |
| 302 | Redirect to https://www.file.io/download/{key} | No links |
Updates the file identified by {key}. Any parameters not provided are reset to defaults.
| Name | Description |
|---|---|
key * string (path) |
file string($binary) | |
expires | |
maxDownloads integer | |
autoDelete boolean |
| Code | Description | Links |
| 200 | A FileDetails object Media typeControls Accept header. | No links |
Updates the file identified by {key}. For any parameters not provided in request, existing values are retained.
| Name | Description |
|---|---|
key * string (path) |
file string($binary) | |
expires | |
maxDownloads integer | |
autoDelete boolean |
| Code | Description | Links |
| 200 | A FileDetails object Media typeControls Accept header. | No links |
Deletes the file identified by
| Name | Description |
|---|---|
key * string (path) |
| Code | Description | Links |
| 200 | Response Media typeControls Accept header. | No links |
Gets plan/account details for authenticated user
No parameters
| Code | Description | Links |
| 200 | Plan/account details Media typeControls Accept header. | No links |
| success | |
| status |
| id | |
| key | |
| name | |
| link | |
| expires | |
| expiry | |
| downloads | |
| maxDownloads | |
| autoDelete | |
| size | |
| mimeType | |
| created | |
| modified |
| success | |
| status | |
| id | |
| key | |
| name | |
| link | |
| expires | |
| expiry | |
| downloads | |
| maxDownloads | |
| autoDelete | |
| size | |
| mimeType | |
| created | |
| modified |