Mutations

Create a comment on a community post

post/api/community/comments

Request

  • Base URL: https://rrmacademy.org
  • URL: https://rrmacademy.org/api/community/comments
  • Auth: none required

Headers

Idempotency-Keystring
Example:f47ac10b-58cc-4372-a567-0e02b2c3d479

Opaque client-generated identifier (recommend 36-character UUID) that lets the server detect retried requests on this mutation endpoint and return the cached prior response instead of re-running side effects. Implements the IETF idempotency-header draft (https://datatracker.ietf.org/doc/draft-ietf-httpapi-idempotency-key-header/). Constraints: 16-128 printable ASCII characters. The server returns the same status, body, and Idempotency-Replayed: true on a successful match. If the same key is reused with a different request body, the server returns 422 with error=idempotency-mismatch. Keys expire after 24 hours. Idempotency is opt-in: requests without this header behave exactly as before.

Request body

object required

See functions/api/community/comments.js for the request schema.

Response

Success

object required

Changes

No recorded changes to this operation across all 1 revision of this API.