diff --git a/api.yaml b/api.yaml index c02ac4c..3893b50 100644 --- a/api.yaml +++ b/api.yaml @@ -190,6 +190,12 @@ paths: content: type: string description: The article itself (its content), encoded as base64 + 401: + description: Not authorized (either no valid cookie or no author from the given article) + 404: + description: No article with the given id + 422: + description: Invalid id parameter was given post: summary: Uploads a new article requestBody: