Put a photograph on something
POST/api/v1/uploads/:subject/:id
One endpoint for every subject rather than one per controller, which is the point of decision 0016: there used to be five copies of this and each was a chance to forget a check.
Who may upload is who may edit the thing: a role over the group for a group or an animal, your own account for a profile, and an administrator for the directories an instance keeps.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 422
- 507
The stored file
No file
No usable token
Not yours to change
Not there, or not yours to reach
Not a file we store
Over quota