# /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/hal+json:
          schema:
            $ref: "../components/schemas/error_response.yml"
          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
