Replace a file
PUT/api/file/:name
Replace a file in the Object Store, or create it when the name is new.
Request
Responses
- 200
- 201
- 400
- 401
- 403
- 500
- 503
The file existed. changed says whether its content 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.
An error on the controller.
The Object Store is not configured on the controller.