Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

953 B
Raw Blame
# /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