pub.techne.draft.commons.countClusters

How many clusters listClusters would list, optionally of one collection (a calendar event, a placeV2 or a place; places are curated as placeV2, so a place counts only the curated places published before that move, superseded once their placeV2 is written; any other is InvalidRequest), by merge readiness and by roll-up. Anonymous. Counting reads every cluster, so the commons counts in the background and answers the last count (up to a server-configured interval old); until the first count for a collection lands it answers CountPending.

Details · query
Kindquery
Authoritycommons.draft.techne.pub
Commit rev3n3iob35q6w2u
Indexed

Query

query · GET

Parameters

query string

collection

string · nsid

Output

application/json

byReadiness

requiredarray

complete

requiredinteger

Clusters whose readiness roll-up is complete.

count

requiredinteger

Errors

InvalidRequest

No description in schema.

CountPending

No count for this collection has finished yet; one is running. Ask again in a few minutes.