social.colibri.beta.polyfill.listForMigration

Pages through every record in the requesting user's hosted repo in one space, in record key order per collection, so the client can replay them on its PDS.

Repository @colibri.social did:plc:mprdjqjluoswa7awzggaggj3 namespace authority
Details · query
Kindquery
Authoritypolyfill.beta.colibri.social
Commit rev3n2beo2t4v322
Indexed

Query

query · GET

Parameters

query string

cursor

string

Where the next page starts.

limit

integer

The page size.

  • minimum: 1
  • maximum: 200
  • default: 100

space

requiredstring · space-ref

The space holding the repo.

Output

application/json

cursor

string

Where the next page starts.

records

requiredarray

The records on this page.

Errors

AuthRequired

The request has no valid service auth.

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

SpaceNotFound

No space matches the given space reference.

NotAuthorized

The caller may not write to or read from this repo in the space.

RepoNotHosted

The AppView does not host the caller's repo in this space, because it lives on the caller's PDS. Write to the PDS instead.

Similar lexicons

semantic match

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

  • Lists records of one collection in the requesting user's repo in a space the AppView hosts for them, ordered by record key.

  • Starts moving the requesting user's hosted repos to their PDS. Each repo enters the migrating state, in which the AppView still accepts its writes. Calling it again resumes an interrupted migration.

  • Reports where the requesting user's space repos live and whether their PDS can host spaces now. The client routes space reads and writes by the mode, and starts a migration when the mode is polyfill and the PDS supports spaces.

  • Records in one of a group's content spaces, from the host's index of it: one collection or every collection, newest first, a page at a time. Only for those the space's own access record lets read, checked on every call — anyone, signed in or not, for one open to anyone.

  • Asks the AppView to verify one repo the client copied to its PDS. The AppView syncs the repo from the PDS and compares it with its own copy. On a match the PDS becomes the source of truth. On a mismatch the repo stays hosted by the AppView, and the client may try again.