net.nusno.gyoka.feed.trimPosts

Keep the leading posts in the current feed display order and remove the rest.

Repository @nusno.net did:plc:gjkxkrudpqumaiiytxodmpaj namespace authority
Details · procedure
Kindprocedure
Authorityfeed.gyoka.nusno.net
Commit rev3n2xvbohadq24
Indexed

Procedure

procedure · POST

Input

application/json

feed

requiredstring · at-uri

remain

requiredinteger
  • minimum: 0

Output

application/json

deletedCount

requiredinteger
  • minimum: 0

feed

requiredstring · at-uri

orderRevision

requiredinteger

Current feed order revision after trimming.

  • minimum: 0

Errors

AuthenticationRequired

Returned when service authentication is required and the caller is not authenticated.

Forbidden

Returned when the authenticated caller is not in the admin allowlist.

BadRequest

Returned when request input is invalid.

UnknownFeed

Returned when the target feed URI is not registered.

RevisionConflict

Returned when a concurrent mutation changes the feed before trimming starts.

InternalServerError

Returned when posts cannot be trimmed.

Similar lexicons

semantic match

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