Updated assets post to multipart
This commit is contained in:
9
api.yaml
9
api.yaml
@@ -362,16 +362,17 @@ paths:
|
|||||||
summary: Adds a new asset to an article
|
summary: Adds a new asset to an article
|
||||||
requestBody:
|
requestBody:
|
||||||
content:
|
content:
|
||||||
application/json:
|
multipart/form-data:
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
description: Name of the asset
|
description: Name of the file
|
||||||
content:
|
file:
|
||||||
type: string
|
type: string
|
||||||
description: The asset itself. Must be encoded as base64
|
format: binary
|
||||||
|
description: The file itself
|
||||||
security:
|
security:
|
||||||
- cookie: []
|
- cookie: []
|
||||||
responses:
|
responses:
|
||||||
|
|||||||
Reference in New Issue
Block a user