Use POST /media for file upload

The old `/media/upload` subpath does not follow the convention of REST APIs.

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2020-10-17 20:58:10 +02:00
parent eb77642604
commit f4c73a8f96
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
2 changed files with 2 additions and 2 deletions

View file

@ -454,7 +454,7 @@ paths:
content:
text/plain:
example: my-note
/media/upload:
/media:
post:
tags:
- media