Commentary Review participants API

The Review participants API from Commentary — 3 operation(s) for review participants.

GitHub OpenAPI

Operations 4

GET /api/v1/review/participants List users and agents taggable in a review #
POST /api/v1/review/participants Add a taggable user or register an agent alias for the current user #
GET /api/v1/review/mention-notifications List mention notifications for the current token principal #
POST /api/v1/review/mention-notifications/{notificationId}/read Mark a mention notification read for the current token principal #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/commentary-dev:commentary-dev-review-participants-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

commentary-dev-review-participants-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Commentary Dev Review participants API
  version: 0.1.0
  x-commentary-api-version: v1
  x-commentary-compatibility-policy: /docs/api/versioning.md
  x-commentary-feature-key: api.openapi_docs
  description: 'Operations tagged Review participants across 2 of this provider''s published API definitions: commentary-dev-openapi.json, commentary-dev-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://commentary.dev
  description: Configured Commentary origin.
- url: http://localhost:3000
  description: Local development.
tags:
- name: Review participants
paths:
  /api/v1/review/participants:
    get:
      operationId: listReviewParticipants
      tags:
      - Review participants
      summary: List users and agents taggable in a review
      security:
      - bearerAuth:
        - commentary.comments.read
      parameters:
      - name: provider
        in: query
        required: false
        schema:
          type: string
          enum:
          - github
      - name: owner
        in: query
        required: false
        schema:
          type: string
      - name: repo
        in: query
        required: false
        schema:
          type: string
      - name: draftSessionId
        in: query
        required: false
        schema:
          type: string
      - name: webAppReviewId
        in: query
        required: false
        schema:
          type: string
      - name: pr
        in: query
        required: false
        schema:
          type: integer
      - name: branch
        in: query
        required: false
        schema:
          type: string
      - name: X-Commentary-Workspace-Id
        in: header
        required: false
        description: Must match the credential workspace. This header cannot widen grant authority.
        schema:
          type: string
      - name: X-Correlation-Id
        in: header
        required: false
        schema:
          type: string
          maxLength: 128
      x-commentary-feature-key: review.mentions
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    const: true
                  participants:
                    type: array
                    items:
                      $ref: '#/components/schemas/ReviewParticipant'
        '400':
          description: The request was invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
        '401':
          description: Authentication is required.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
        '403':
          description: The token or session does not have permission for this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
        '404':
          description: The resource was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
        '429':
          description: The request was rate limited.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
    post:
      operationId: addReviewParticipant
      tags:
      - Review participants
      summary: Add a taggable user or register an agent alias for the current user
      description: Provider-backed users are taggable metadata only. Draft Review user additions create a user share link.
      security:
      - bearerAuth:
        - commentary.comments.write
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddReviewParticipantRequest'
      x-commentary-feature-key: review.mentions
      responses:
        '201':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    const: true
                  participant:
                    $ref: '#/components/schemas/ReviewParticipant'
                  participants:
                    type: array
                    items:
                      $ref: '#/components/schemas/ReviewParticipant'
        '400':
          description: The request was invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
        '401':
          description: Authentication is required.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
        '403':
          description: The token or session does not have permission for this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
        '404':
          description: The resource was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
        '429':
          description: The request was rate limited.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
      parameters:
      - name: X-Commentary-Workspace-Id
        in: header
        required: false
        description: Must match the credential workspace. This header cannot widen grant authority.
        schema:
          type: string
      - name: X-Correlation-Id
        in: header
        required: false
        schema:
          type: string
          maxLength: 128
    servers:
    - url: https://commentary.dev
      description: Configured Commentary origin.
    - url: http://localhost:3000
      description: Local development.
  /api/v1/review/mention-notifications:
    get:
      operationId: listMentionNotifications
      tags:
      - Review participants
      summary: List mention notifications for the current token principal
      security:
      - bearerAuth:
        - commentary.comments.read
      parameters:
      - name: unread
        in: query
        required: false
        schema:
          type: integer
          enum:
          - 0
          - 1
      - name: X-Commentary-Workspace-Id
        in: header
        required: false
        description: Must match the credential workspace. This header cannot widen grant authority.
        schema:
          type: string
      - name: X-Correlation-Id
        in: header
        required: false
        schema:
          type: string
          maxLength: 128
      x-commentary-feature-key: review.mentions
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    const: true
                  notifications:
                    type: array
                    items:
                      $ref: '#/components/schemas/ReviewMentionNotification'
        '400':
          description: The request was invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
        '401':
          description: Authentication is required.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
        '403':
          description: The token or session does not have permission for this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
        '404':
          description: The resource was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
        '429':
          description: The request was rate limited.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
    servers:
    - url: https://commentary.dev
      description: Configured Commentary origin.
    - url: http://localhost:3000
      description: Local development.
  /api/v1/review/mention-notifications/{notificationId}/read:
    post:
      operationId: markMentionNotificationRead
      tags:
      - Review participants
      summary: Mark a mention notification read for the current token principal
      security:
      - bearerAuth:
        - commentary.comments.write
      parameters:
      - name: notificationId
        in: path
        required: true
        schema:
          type: string
        description: Mention notification id.
      - name: X-Commentary-Workspace-Id
        in: header
        required: false
        description: Must match the credential workspace. This header cannot widen grant authority.
        schema:
          type: string
      - name: X-Correlation-Id
        in: header
        required: false
        schema:
          type: string
          maxLength: 128
      x-commentary-feature-key: review.mentions
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
        '400':
          description: The request was invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
        '401':
          description: Authentication is required.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
        '403':
          description: The token or session does not have permission for this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
        '404':
          description: The resource was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
        '429':
          description: The request was rate limited.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalError'
    servers:
    - url: https://commentary.dev
      description: Configured Commentary origin.
    - url: http://localhost:3000
      description: Local development.
components:
  schemas:
    ReviewParticipant:
      type: object
      properties:
        id:
          type: string
        kind:
          type: string
          enum:
          - user
          - agent
        providerLogin:
          type:
          - string
          - 'null'
        providerUserId:
          type:
          - string
          - 'null'
        viewerId:
          type:
          - string
          - 'null'
        agentAlias:
          type:
          - string
          - 'null'
        displayName:
          type: string
        mentionHandle:
          type: string
        source:
          type: string
        taggable:
          type: boolean
      additionalProperties: true
    ReviewMentionNotification:
      type: object
      properties:
        id:
          type: string
        contextKey:
          type: string
        threadId:
          type: string
        commentId:
          type: string
        mentionHandle:
          type: string
        createdAt:
          type: string
          format: date-time
        readAt:
          type:
          - string
          - 'null'
          format: date-time
      additionalProperties: true
    ExternalError:
      type: object
      required:
      - ok
      - error
      properties:
        ok:
          const: false
        error:
          type: string
      additionalProperties: true
    AddReviewParticipantRequest:
      type: object
      properties:
        provider:
          type: string
          enum:
          - github
          default: github
        owner:
          type: string
        repo:
          type: string
        prNumber:
          type: integer
        branchRef:
          type: string
        draftSessionId:
          type: string
        webAppReviewId:
          type: string
        kind:
          type: string
          enum:
          - user
          - agent
        providerLogin:
          type: string
        providerUserId:
          type: string
        userId:
          type: string
        agentAlias:
          type: string
        displayName:
          type: string
        mentionHandle:
          type: string
        recipient:
          type: string
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Commentary external access token
      description: Bearer token from an API token, OAuth authorization code flow, OAuth refresh token flow, or OAuth device flow.
    commentarySession:
      type: apiKey
      in: cookie
      name: commentary_session
      description: Signed-in Commentary browser session. Used for API token management routes.
x-refined-from:
- commentary-dev-openapi.json


# --- truncated at 32 KB (487 KB total) ---
# Full source: https://artifacts.apis.io/commentary-dev/openapi/commentary-dev-review-participants-api-openapi.yml