Inbox

Mark a post's comments done

Every comment thread on the post that is open or unread, and whose newest message is no later than before, becomes done and read, as Update a thread would one by one. A thread with something newer stays as it is, and a comment that arrives later opens its thread again.

post/inbox/posts/{id}/done

Request

  • Base URL
    https://api.rizamo.com/v1
  • Auth
    HTTP bearer

Path parameters

idstring required

The post on the network's id (npost_).

Headers

Idempotency-Keystring

1 to 255 printable characters, new for each request (a UUID); the body up to 1 MB. For 24 hours a repeat with the same key, path and body gets the first answer, with Idempotent-Replayed: true, instead of running again; 5xx, 409 and 429 answers are not kept. Errors, Retries, has the rest.

Request body

beforestring date-time required

The newest message you read on the post: the latest lastMessageAt among the threads you listed. Threads with anything newer stay open.

Response

OK

threadIdsstring[] required

The threads this marked done or read. Empty when there was nothing left to change.

Changes

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