us.off-the-clock.admin.getPolicyStatus

off-the-clock.us

Documentation

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.

main query

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.

Parameters

space string tid Required

A pair's TID.

Output

Encodingapplication/json
acceptedCount integer Required

Members of the content space whose newest acceptance names the current policy.

memberCount integer Required

No description available.

pending array Required

Up to 100 members who have not accepted the current policy, by handle.

versions array Required

Every policy record of the space, newest first: what removing the policy deletes.

Errors

InvalidRequest
NotAdmin
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
A pair's TID.
View raw schema
{
  "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"
}

Lexicon Garden

@