From 67633c375db5c3af2d5b9589c2fd092a89dbae25 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Sat, 3 Oct 2020 14:40:51 +0200 Subject: [PATCH] Public API: Successful POST requests should result in a 201. Signed-off-by: David Mehren Co-authored-by: Yannick Bungers --- docs/dev/public_api.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/dev/public_api.yml b/docs/dev/public_api.yml index 6e35f9bdd..eef797654 100644 --- a/docs/dev/public_api.yml +++ b/docs/dev/public_api.yml @@ -169,7 +169,7 @@ paths: markdownExample: "$ref": '#/components/examples/markdownExample' responses: - '200': + '201': description: Get information about the newly created note. content: application/json: @@ -224,7 +224,7 @@ paths: markdownExample: "$ref": '#/components/examples/markdownExample' responses: - '200': + '201': description: Get information about the newly created note. content: application/json: @@ -556,7 +556,7 @@ paths: required: true description: ID or alias of the parent note responses: - '200': + '201': description: The file was uploaded successfully. content: application/json: