Added authors field to upload
This commit is contained in:
6
api.yaml
6
api.yaml
@@ -168,6 +168,11 @@ paths:
|
||||
summary:
|
||||
type: string
|
||||
description: A short overview summary of the article
|
||||
authors:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/Author'
|
||||
description: List of additional author who contributed to the article. The author which sends this request is automatically added as (main) author
|
||||
image:
|
||||
type: string
|
||||
description: Link to a preview image
|
||||
@@ -182,7 +187,6 @@ paths:
|
||||
description: The article itself, formatted as markdown
|
||||
security:
|
||||
- cookie: []
|
||||
|
||||
responses:
|
||||
201:
|
||||
description: The article was created
|
||||
|
||||
Reference in New Issue
Block a user