Updated article get response codes
This commit is contained in:
6
api.yaml
6
api.yaml
@@ -190,6 +190,12 @@ paths:
|
|||||||
content:
|
content:
|
||||||
type: string
|
type: string
|
||||||
description: The article itself (its content), encoded as base64
|
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:
|
post:
|
||||||
summary: Uploads a new article
|
summary: Uploads a new article
|
||||||
requestBody:
|
requestBody:
|
||||||
|
|||||||
Reference in New Issue
Block a user