dev.knotless.getAccountData

Counts the records the asking account holds in each dev.knotless.* collection, read from its PDS rather than the index, and names its repositories, public and private, with how many other accounts push to or read each: what dev.knotless.deleteAccountData would delete, as `knotless account delete-data` lists it. A private repository's records are in its space, counted as one space. Only the account itself, logged in to this appview's web pages, can ask: the appview reads its spaces with the session it keeps for it, which the pages' session cookie names.

Details · query
Kindquery
Authorityknotless.dev
Indexed

Showing version bafyreiask5clcxku4fkqklhwy4zv3c2kaqxzfmjegnx3xi32a3clzcgiza. Show the latest

Query

query · GET

Output

application/json

collections

requiredarray

Each dev.knotless.* collection the account holds records in, in the order of their names.

itemsref
Reference

did

requiredstring · did

The account.

repos

requiredarray

The account's repositories, public ones first, each by name.

itemsref
Reference

spaces

requiredinteger

The spaces the account owns for private repositories: one for each, and one for each name a rename of one left.

  • minimum: 0

Errors

AuthenticationRequired

No account is logged in to the pages, or its session has ended.

#collectionCount

object

How many records the account holds in one collection.

Properties

collection

requiredstring · nsid

The collection, as dev.knotless.issue.

count

requiredinteger

How many records it holds there.

  • minimum: 0

#repoData

object

One of the account's repositories, and how many other accounts it concerns.

Properties

collaborators

requiredinteger

The other accounts its record lets push to it.

  • minimum: 0

members

integer

For a private one, the other accounts that read it, its runners left out.

  • minimum: 0

name

requiredstring

Its name, its dev.knotless.repo record's key.

  • maxLength: 100

private

requiredboolean

Whether it is private, in a space of its own.

Similar lexicons

semantic match

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