OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/docs/api/apiv3/paths/render_plain.yml

31 lines
870 B

# /api/v3/render/plain
---
post:
responses:
'200':
content:
text/html:
examples:
response:
value: "<p>Hello world! This *is* plain text!</p>\n"
schema:
"$ref": "../components/schemas/plain_text_model.yml"
description: OK
headers: {}
'415':
content:
application/json:
examples:
response:
value:
_type: Error
errorIdentifier: urn:openproject-org:api:v3:errors:TypeNotSupported
message: Expected Content-Type to be 'text/plain' but got 'application/json'.
description: Returned if the Content-Type indicated in the request is not `text/plain`.
headers: {}
tags:
- Previewing
description: ''
operationId: Preview_plain_document
summary: Preview plain document