Upload a file
POST/api/file
Upload a file to the Object Store.
Request
Responses
- 200
- 201
- 400
- 401
- 403
- 409
- 500
- 503
The file exists with the same content. Nothing changed.
The file is new.
Response Headers
Location
The URL of the resource that the request created.
The request is not valid.
Unauthorized - API key required
The file is an osapi file, which a caller cannot write.
The file exists with different content. Replace it with PUT /api/file/{name}.
An error on the controller.
The Object Store is not configured on the controller.