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 ee0d85bc85
commit fe5f9bc9c3
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -183,7 +183,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:
@ -238,7 +238,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:
@ -584,7 +584,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: