Portamora Comments API

The Comments API from Portamora — 1 operation(s) for comments.

GitHub OpenAPI

Operations 2

PATCH /api/v1/comments/{commentId} Edit your own live comment #
DELETE /api/v1/comments/{commentId} Erase a comment body and preserve its place #

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/portamora-app:portamora-app-comments-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

portamora-app-comments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Portamora Comments API
  version: 1.0.0
  description: 'Catalog, publishing, community and safety API. Public catalog reads need no account. Private responses use no-store. Browser mutations require the configured Origin. Writes through CloudFront require x-amz-content-sha256: the lowercase SHA-256 hex digest of the exact request body, including an empty body. Clients do not need AWS credentials. The website sign-in page shows available authentication providers.'
servers:
- url: https://portamora.app
tags:
- name: Comments
paths:
  /api/v1/comments/{commentId}:
    patch:
      operationId: comments.edit
      summary: Edit your own live comment
      description: Edit your own live comment. Requires social:write and comments enabled. Lists use cursor pagination.
      security:
      - session: []
      - bearer: []
      parameters:
      - schema:
          type: string
          minLength: 18
          maxLength: 18
          pattern: ^comment_[6789BCDFGHJKLMNPQRTWbcdfghjkmnpqrtwz]{10}$
          description: Case-sensitive comment identifier with 10 safe-alphabet characters after the prefix.
        required: true
        description: Case-sensitive comment identifier with 10 safe-alphabet characters after the prefix.
        name: commentId
        in: path
      - in: header
        name: x-amz-content-sha256
        required: true
        description: Lowercase SHA-256 hex of the exact body bytes, including the empty body. The example client adds this automatically; no AWS credentials are needed.
        schema:
          type: string
          pattern: ^[a-f0-9]{64}$
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                body:
                  type: string
                  minLength: 1
                  maxLength: 2000
                  pattern: ^[\P{Cc}\t\r\n]*$
              required:
              - body
              additionalProperties: false
      responses:
        '200':
          description: 'Success; Cache-Control: no-store.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  updated:
                    type: boolean
                    enum:
                    - true
                required:
                - updated
        '400':
          description: Invalid request, missing authentication/scope, conflicting state, or resource unavailable.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                      required:
                      - path
                      - message
                required:
                - code
                - message
                - details
        '401':
          description: Invalid request, missing authentication/scope, conflicting state, or resource unavailable.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                      required:
                      - path
                      - message
                required:
                - code
                - message
                - details
        '403':
          description: Invalid request, missing authentication/scope, conflicting state, or resource unavailable.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                      required:
                      - path
                      - message
                required:
                - code
                - message
                - details
        '404':
          description: Invalid request, missing authentication/scope, conflicting state, or resource unavailable.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                      required:
                      - path
                      - message
                required:
                - code
                - message
                - details
        '409':
          description: Invalid request, missing authentication/scope, conflicting state, or resource unavailable.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                      required:
                      - path
                      - message
                required:
                - code
                - message
                - details
        '429':
          description: Rate limited; Retry-After identifies when to retry.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                      required:
                      - path
                      - message
                required:
                - code
                - message
                - details
        '503':
          description: Feature disabled or service unavailable.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                      required:
                      - path
                      - message
                required:
                - code
                - message
                - details
      tags:
      - Comments
    delete:
      operationId: comments.delete
      summary: Erase a comment body and preserve its place
      description: Erase a comment body and preserve its place. Only the author or world creator, with social:write. Lists use cursor pagination.
      security:
      - session: []
      - bearer: []
      parameters:
      - schema:
          type: string
          minLength: 18
          maxLength: 18
          pattern: ^comment_[6789BCDFGHJKLMNPQRTWbcdfghjkmnpqrtwz]{10}$
          description: Case-sensitive comment identifier with 10 safe-alphabet characters after the prefix.
        required: true
        description: Case-sensitive comment identifier with 10 safe-alphabet characters after the prefix.
        name: commentId
        in: path
      - in: header
        name: x-amz-content-sha256
        required: true
        description: Lowercase SHA-256 hex of the exact body bytes, including the empty body. The example client adds this automatically; no AWS credentials are needed.
        schema:
          type: string
          pattern: ^[a-f0-9]{64}$
      responses:
        '200':
          description: 'Success; Cache-Control: no-store.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  deleted:
                    type: boolean
                    enum:
                    - true
                required:
                - deleted
        '400':
          description: Invalid request, missing authentication/scope, conflicting state, or resource unavailable.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                      required:
                      - path
                      - message
                required:
                - code
                - message
                - details
        '401':
          description: Invalid request, missing authentication/scope, conflicting state, or resource unavailable.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                      required:
                      - path
                      - message
                required:
                - code
                - message
                - details
        '403':
          description: Invalid request, missing authentication/scope, conflicting state, or resource unavailable.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                      required:
                      - path
                      - message
                required:
                - code
                - message
                - details
        '404':
          description: Invalid request, missing authentication/scope, conflicting state, or resource unavailable.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                      required:
                      - path
                      - message
                required:
                - code
                - message
                - details
        '409':
          description: Invalid request, missing authentication/scope, conflicting state, or resource unavailable.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                      required:
                      - path
                      - message
                required:
                - code
                - message
                - details
        '429':
          description: Rate limited; Retry-After identifies when to retry.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                      required:
                      - path
                      - message
                required:
                - code
                - message
                - details
        '503':
          description: Feature disabled or service unavailable.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                        message:
                          type: string
                      required:
                      - path
                      - message
                required:
                - code
                - message
                - details
      tags:
      - Comments
components:
  securitySchemes:
    session:
      type: apiKey
      in: cookie
      name: __Host-session
    bearer:
      type: http
      scheme: bearer
      description: A personal access token shown once in Settings. Scopes and ownership are checked per operation.