app.bivri.feed.updateComment

Bivri refuses content longer than 200 graphemes, which is stricter than the 1000 the record schema permits: the record admits what any client may write, this method admits what this service accepts. A refusal is InvalidComment and nothing is written.

Details · procedure
Kindprocedure
Authorityfeed.bivri.app
Indexed

Procedure

procedure · POST

Input

application/json

content

requiredstring

Replacement comment text.

  • maxLength: 10000
  • maxGraphemes: 1000

uri

requiredstring · at-uri

AT URI of the app.bivri.feed.comment record to edit. It must live in the authenticated member's own repository.

Output

application/json

cid

requiredstring · cid

CID the edited comment record now carries.

uri

requiredstring · at-uri

AT URI of the edited comment record.

Errors

ConsentRequired

The authenticated member has not confirmed age and accepted the Terms and Privacy Policy.

Unauthenticated

Nobody is authenticated, so there is no repository to write to.

InvalidComment

The comment is not one this service accepts — longer than 200 graphemes, or otherwise refused by the write boundary. Nothing was written.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Post a comment from the authenticated member's repository.

  • Update an existing comment's content, facets, embed, languages, or labels. Threading references (reply.root and reply.parent) are immutable and cannot be changed.

  • Delete a comment the authenticated member owns. Deleting a record that is already gone succeeds, so a retried request is safe.

  • Edit an artwork the authenticated member owns. Only the fields present in the request change; the rest of the record is preserved as it stands at the member's PDS.

  • Edit an artwork the authenticated member owns. Only the fields present in the request change; the rest of the record is preserved as it stands at the member's PDS.