Retrieve list of files
| Context | Name | Type | Description | Required | 
|---|
| HTTP code | Reason | Response model | 
|---|---|---|
| 200 | Returned when successful | AppBundle.Entity.Upload[items] | 
| 500 | Authorization error or any other problem | N/A | 
Add a file
| Context | Name | Type | Description | Required | 
|---|---|---|---|---|
| form | file | string | File being uploaded | no | 
| HTTP code | Reason | Response model | 
|---|---|---|
| 200 | See standard HTTP status code reason for 200 | AppBundle.Entity.Upload | 
| 201 | Returned when successful | N/A | 
| 500 | Authorization error or any other problem | N/A | 
Delete a file
| Context | Name | Type | Description | Required | 
|---|---|---|---|---|
| path | id | string | yes | 
| HTTP code | Reason | Response model | 
|---|---|---|
| 204 | Returned when successful | N/A | 
| 404 | File not found | N/A | 
| 500 | Authorization error or any other problem | N/A | 
View a file resource
| Context | Name | Type | Description | Required | 
|---|---|---|---|---|
| path | id | string | yes | 
| HTTP code | Reason | Response model | 
|---|---|---|
| 200 | Returned when successful | AppBundle.Entity.Upload | 
| 404 | File not found | N/A | 
| 500 | Authorization error or any other problem | N/A | 
| Type | Description | Format | 
|---|---|---|
| string | ||
| string | Mime type of the file | |
| integer | File size in bytes | int32 | 
| string | Full URL to the file | |
| integer | Uploads unique Id | int32 | 
| string | Timestamp when the upload was created | date-time | 
| Type | Description | Format | 
|---|---|---|
| array |