Skip to content

Node.js based forum software built for the modern web

796 B
Raw Blame
get:
  tags:
    - posts
  summary: get announcers of a post
  description: This returns the announcers of a post if the user has permission to view them
  parameters:
    - in: path
      name: pid
      schema:
        type: string
      required: true
      description: a valid post id
      example: 2
  responses:
    '200':
      description: Data about announcers of this post
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                $ref: ../../../components/schemas/Status.yaml#/Status
              response:
                type: object
                properties:
                  announceCount:
                    type: number
                  announcers:
                    type: array