at.spandrel.counts.getRecordCounts

Get the number of records in each collection of an account's repo.

Repository @spandrel.at did:plc:rumwhtwo2qolqody5rn25ze5 namespace authority
Details · query
Kindquery
Authoritycounts.spandrel.at
Commit rev3n2midypmw22p
Indexed

Query

query · GET

Parameters

query string

Which collections to return counts for. If omitted, every collection is returned.

  • maxLength: 50
itemsstring · nsid

repo

requiredstring · did

The account. Only did:plc and did:web are supported.

Output

application/json

counts

requiredarray

One count per collection, sorted by collection name.

itemsref
Reference

did

requiredstring · did

rev

requiredstring · tid

The last counted repo revision.

Errors

RepoTakendown

No description in schema.

RepoSuspended

No description in schema.

RepoDeactivated

No description in schema.

RepoDeleted

No description in schema.

RepoNotFound

No repo was found for this account.

RepoTooLarge

The repo is too large to count.

UpstreamFailure

The repo could not be fetched.

CountInProgress

The repo is still being counted. Retry after the time in the Retry-After header.

CountQueueFull

Too many accounts are waiting to be counted. Retry after the time in the Retry-After header.

#collectionCount

object

Properties

collection

requiredstring · nsid

count

requiredinteger
  • minimum: 1

Similar lexicons

semantic match

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