zone.stratos.identity.resolveEnrollments

Resolve enrollment boundaries for a DID. Returns the boundary domains the user is enrolled in.

Details · query
Kindquery
Authorityidentity.stratos.zone
Indexed
cid bafyreihrw2uinoixb3bonsq3ynrkrpdergzqiwohd4micxiohwxltz77me

Checks

Valid
  • unlimited-string defs.main.output.schema.properties.boundaries.itemsNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Resolve enrollment boundaries for a DID. Returns the boundary domains the user is enrolled in.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "boundaries": {
              "description": "Boundary domains the user is enrolled in. Empty if not enrolled.",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "did": {
              "format": "did",
              "type": "string"
            },
            "enrolled": {
              "description": "Whether the DID is enrolled in this Stratos service.",
              "type": "boolean"
            }
          },
          "required": [
            "did",
            "enrolled",
            "boundaries"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "did": {
            "description": "The DID to resolve enrollment boundaries for.",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "did"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "zone.stratos.identity.resolveEnrollments",
  "lexicon": 1
}