From 228b080f7f75c6592afb149a4a5d57af2c698380 Mon Sep 17 00:00:00 2001 From: bytedream Date: Wed, 2 Feb 2022 16:13:26 +0100 Subject: [PATCH] Updated article get response codes --- api.yaml | 6 ++++++ 1 file changed, 6 insertions(+) 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: