us.off-the-clock.admin.getPolicyStatus
Who has accepted a pair's current policy. Effective admins, the community identity and the pair's team. The counts and the pending list leave the community identity out.
Details · query
| Kind | query |
|---|---|
| Authority | admin.off-the-clock.us |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Who has accepted a pair's current policy. Effective admins, the community identity and the pair's team. The counts and the pending list leave the community identity out.",
"errors": [
{
"name": "InvalidRequest"
},
{
"name": "NotAdmin"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"acceptedCount": {
"description": "Members of the content space whose newest acceptance names the current policy.",
"minimum": 0,
"type": "integer"
},
"memberCount": {
"minimum": 0,
"type": "integer"
},
"pending": {
"description": "Up to 100 members who have not accepted the current policy, by handle.",
"items": {
"ref": "app.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"maxLength": 100,
"type": "array"
},
"policy": {
"ref": "us.off-the-clock.defs#policyView",
"type": "ref"
},
"versions": {
"description": "Every policy record of the space, newest first: what removing the policy deletes.",
"items": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"type": "array"
}
},
"required": [
"acceptedCount",
"memberCount",
"pending",
"versions"
],
"type": "object"
}
},
"parameters": {
"properties": {
"space": {
"description": "A pair's TID.",
"format": "tid",
"type": "string"
}
},
"required": [
"space"
],
"type": "params"
},
"type": "query"
}
},
"id": "us.off-the-clock.admin.getPolicyStatus",
"lexicon": 1
}