Updated assets post to multipart

This commit is contained in:
2022-02-06 15:46:02 +01:00
parent 228b080f7f
commit d1a58f9ce9

View File

@@ -362,16 +362,17 @@ paths:
summary: Adds a new asset to an article
requestBody:
content:
application/json:
multipart/form-data:
schema:
type: object
properties:
name:
type: string
description: Name of the asset
content:
description: Name of the file
file:
type: string
description: The asset itself. Must be encoded as base64
format: binary
description: The file itself
security:
- cookie: []
responses: