zone.stratos.admin.listEnrollments

lexicon.northsky.app

Documentation

List enrollments in this Stratos service. Requires admin authorization.

main query

List enrollments in this Stratos service. Requires admin authorization.

Parameters

boundary string Optional

Only return members holding this boundary.

cursor string Optional

Pagination cursor from a previous response.

limit integer Optional

Maximum number of enrollments to return.

Output

Encodingapplication/json
cursor string Optional

Cursor for the next page. Absent on the last page.

enrollments array Required

No description available.

total integer Optional

Total number of enrollments in the service. Absent when a boundary filter is applied.

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
Only return members holding this boundary.
Pagination cursor from a previous response.
Maximum number of enrollments to return.
View raw schema
{
  "type": "query",
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "enrollments"
      ],
      "properties": {
        "total": {
          "type": "integer",
          "description": "Total number of enrollments in the service. Absent when a boundary filter is applied."
        },
        "cursor": {
          "type": "string",
          "description": "Cursor for the next page. Absent on the last page."
        },
        "enrollments": {
          "type": "array",
          "items": {
            "ref": "#enrollment",
            "type": "ref"
          }
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "properties": {
      "limit": {
        "type": "integer",
        "default": 50,
        "maximum": 100,
        "minimum": 1,
        "description": "Maximum number of enrollments to return."
      },
      "cursor": {
        "type": "string",
        "description": "Pagination cursor from a previous response."
      },
      "boundary": {
        "type": "string",
        "description": "Only return members holding this boundary."
      }
    }
  },
  "description": "List enrollments in this Stratos service. Requires admin authorization."
}
enrollment object

No description available.

Properties

active boolean Required

Whether the enrollment is currently active.

did string did Required

The enrolled DID.

enrolledAt string datetime Required

When the DID was enrolled.

isService boolean Optional

Whether this is a service enrollment rather than a user.

View raw schema
{
  "type": "object",
  "required": [
    "did",
    "enrolledAt",
    "active",
    "boundaries"
  ],
  "properties": {
    "did": {
      "type": "string",
      "format": "did",
      "description": "The enrolled DID."
    },
    "active": {
      "type": "boolean",
      "description": "Whether the enrollment is currently active."
    },
    "isService": {
      "type": "boolean",
      "description": "Whether this is a service enrollment rather than a user."
    },
    "boundaries": {
      "type": "array",
      "items": {
        "ref": "zone.stratos.boundary.defs#Domain",
        "type": "ref"
      }
    },
    "enrolledAt": {
      "type": "string",
      "format": "datetime",
      "description": "When the DID was enrolled."
    }
  }
}

Lexicon Garden

@