tools.ozone.hosting.getAccountHistory
Get account history, e.g. log of updated email addresses or other identity information.
Details · query
| Kind | query |
|---|---|
| Authority | hosting.ozone.tools |
| Indexed |
Checks
Validunlimited-stringdefs.accountCreated.properties.emailNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.emailConfirmed.properties.emailNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.emailUpdated.properties.emailNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.event.properties.createdByNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.events.itemsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"accountCreated": {
"properties": {
"email": {
"type": "string"
},
"handle": {
"format": "handle",
"type": "string"
}
},
"required": [],
"type": "object"
},
"emailConfirmed": {
"properties": {
"email": {
"type": "string"
}
},
"required": [
"email"
],
"type": "object"
},
"emailUpdated": {
"properties": {
"email": {
"type": "string"
}
},
"required": [
"email"
],
"type": "object"
},
"event": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"createdBy": {
"type": "string"
},
"details": {
"refs": [
"#accountCreated",
"#emailUpdated",
"#emailConfirmed",
"#passwordUpdated",
"#handleUpdated"
],
"type": "union"
}
},
"required": [
"details",
"createdBy",
"createdAt"
],
"type": "object"
},
"handleUpdated": {
"properties": {
"handle": {
"format": "handle",
"type": "string"
}
},
"required": [
"handle"
],
"type": "object"
},
"main": {
"description": "Get account history, e.g. log of updated email addresses or other identity information.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"type": "string"
},
"events": {
"items": {
"ref": "#event",
"type": "ref"
},
"type": "array"
}
},
"required": [
"events"
],
"type": "object"
}
},
"parameters": {
"properties": {
"cursor": {
"type": "string"
},
"did": {
"format": "did",
"type": "string"
},
"events": {
"items": {
"knownValues": [
"accountCreated",
"emailUpdated",
"emailConfirmed",
"passwordUpdated",
"handleUpdated"
],
"type": "string"
},
"type": "array"
},
"limit": {
"default": 50,
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"required": [
"did"
],
"type": "params"
},
"type": "query"
},
"passwordUpdated": {
"properties": {},
"required": [],
"type": "object"
}
},
"id": "tools.ozone.hosting.getAccountHistory",
"lexicon": 1
}