https://api.poweredlocal.com/v1/uploads

Retrieve list of files

Parameters:
ContextNameTypeDescriptionRequired
Response codes:
HTTP codeReasonResponse model
200Returned when successfulAppBundle.Entity.Upload[items]
500Authorization error or any other problemN/A

https://api.poweredlocal.com/v1/uploads

Add a file

Parameters:
ContextNameTypeDescriptionRequired
formfilestringFile being uploadedno
Response codes:
HTTP codeReasonResponse model
200See standard HTTP status code reason for 200AppBundle.Entity.Upload
201Returned when successfulN/A
500Authorization error or any other problemN/A

https://api.poweredlocal.com/v1/uploads/{id}

Delete a file

Parameters:
ContextNameTypeDescriptionRequired
pathidstringyes
Response codes:
HTTP codeReasonResponse model
204Returned when successfulN/A
404File not foundN/A
500Authorization error or any other problemN/A

https://api.poweredlocal.com/v1/uploads/{id}

View a file resource

Parameters:
ContextNameTypeDescriptionRequired
pathidstringyes
Response codes:
HTTP codeReasonResponse model
200Returned when successfulAppBundle.Entity.Upload
404File not foundN/A
500Authorization error or any other problemN/A

AppBundle.Entity.Upload

Properties:
TypeDescriptionFormat
string
stringMime type of the file
integerFile size in bytesint32
stringFull URL to the file
integerUploads unique Idint32
stringTimestamp when the upload was createddate-time

AppBundle.Entity.Upload[items]

Properties:
TypeDescriptionFormat
array