tools.ozone.verification.grantVerifications

ozone-lexicons.bsky.social

Documentation

Grant verifications to multiple subjects. Allows batch processing of up to 100 verifications at once.

main procedure

Grant verifications to multiple subjects. Allows batch processing of up to 100 verifications at once.

Input

Encodingapplication/json
verifications array Required

Array of verification requests to process

maxLength: 100 items

Output

Encodingapplication/json
failedVerifications array Required

No description available.

verifications array Required

No description available.

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://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "description": "Grant verifications to multiple subjects. Allows batch processing of up to 100 verifications at once.",
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "verifications": {
          "description": "Array of verification requests to process",
          "items": {
            "ref": "#verificationInput",
            "type": "ref"
          },
          "maxLength": 100,
          "type": "array"
        }
      },
      "required": [
        "verifications"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "failedVerifications": {
          "items": {
            "ref": "#grantError",
            "type": "ref"
          },
          "type": "array"
        },
        "verifications": {
          "items": {
            "ref": "tools.ozone.verification.defs#verificationView",
            "type": "ref"
          },
          "type": "array"
        }
      },
      "required": [
        "verifications",
        "failedVerifications"
      ],
      "type": "object"
    }
  },
  "type": "procedure"
}
grantError object

Error object for failed verifications.

Properties

error string Required

Error message describing the reason for failure.

subject string did Required

The did of the subject being verified

View raw schema
{
  "description": "Error object for failed verifications.",
  "properties": {
    "error": {
      "description": "Error message describing the reason for failure.",
      "type": "string"
    },
    "subject": {
      "description": "The did of the subject being verified",
      "format": "did",
      "type": "string"
    }
  },
  "required": [
    "error",
    "subject"
  ],
  "type": "object"
}
verificationInput object

No description available.

Properties

createdAt string datetime Optional

Timestamp for verification record. Defaults to current time when not specified.

displayName string Required

Display name of the subject the verification applies to at the moment of verifying.

handle string handle Required

Handle of the subject the verification applies to at the moment of verifying.

subject string did Required

The did of the subject being verified

View raw schema
{
  "properties": {
    "createdAt": {
      "description": "Timestamp for verification record. Defaults to current time when not specified.",
      "format": "datetime",
      "type": "string"
    },
    "displayName": {
      "description": "Display name of the subject the verification applies to at the moment of verifying.",
      "type": "string"
    },
    "handle": {
      "description": "Handle of the subject the verification applies to at the moment of verifying.",
      "format": "handle",
      "type": "string"
    },
    "subject": {
      "description": "The did of the subject being verified",
      "format": "did",
      "type": "string"
    }
  },
  "required": [
    "subject",
    "handle",
    "displayName"
  ],
  "type": "object"
}

Lexicon Garden

@