Updated article get response codes
This commit is contained in:
6
api.yaml
6
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:
|
||||
|
||||
Reference in New Issue
Block a user