Skip to content

Node.js based forum software built for the modern web

727 B
Raw Blame
get:
  tags:
    - posts
  summary: get post's raw content
  description: This operation retrieves a post's raw content (unparsed by markdown, etc.)
  parameters:
    - in: path
      name: pid
      schema:
        type: string
      required: true
      description: a valid post id
      example: 2
  responses:
    '200':
      description: Post raw content successfully retrieved.
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                $ref: ../../../components/schemas/Status.yaml#/Status
              response:
                type: object
                properties:
                  content:
                    type: string