Public API: Successful POST requests should result in a 201.

Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
This commit is contained in:
David Mehren 2020-10-03 14:40:51 +02:00
parent b63593aa8b
commit 67633c375d
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -169,7 +169,7 @@ paths:
markdownExample: markdownExample:
"$ref": '#/components/examples/markdownExample' "$ref": '#/components/examples/markdownExample'
responses: responses:
'200': '201':
description: Get information about the newly created note. description: Get information about the newly created note.
content: content:
application/json: application/json:
@ -224,7 +224,7 @@ paths:
markdownExample: markdownExample:
"$ref": '#/components/examples/markdownExample' "$ref": '#/components/examples/markdownExample'
responses: responses:
'200': '201':
description: Get information about the newly created note. description: Get information about the newly created note.
content: content:
application/json: application/json:
@ -556,7 +556,7 @@ paths:
required: true required: true
description: ID or alias of the parent note description: ID or alias of the parent note
responses: responses:
'200': '201':
description: The file was uploaded successfully. description: The file was uploaded successfully.
content: content:
application/json: application/json: