Skip to content

tools.ozone.signature.findRelatedAccounts

Lexicon Version: 1

Type: query

Get accounts that share some matching threat signatures with the root account.

Parameters:

NameTypeReq’dDescriptionConstraints
didstringFormat: did
cursorstring
limitintegerMin: 1
Max: 100
Default: 50
Output:
  • Encoding: application/json
  • Schema:

Schema Type: object

NameTypeReq’dDescriptionConstraints
cursorstring
accountsArray of #relatedAccount

Type: object

Properties:

NameTypeReq’dDescriptionConstraints
accountcom.atproto.admin.defs#accountView
similaritiesArray of tools.ozone.signature.defs#sigDetail

{
"lexicon": 1,
"id": "tools.ozone.signature.findRelatedAccounts",
"defs": {
"main": {
"type": "query",
"description": "Get accounts that share some matching threat signatures with the root account.",
"parameters": {
"type": "params",
"required": [
"did"
],
"properties": {
"did": {
"type": "string",
"format": "did"
},
"cursor": {
"type": "string"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 50
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": [
"accounts"
],
"properties": {
"cursor": {
"type": "string"
},
"accounts": {
"type": "array",
"items": {
"type": "ref",
"ref": "#relatedAccount"
}
}
}
}
}
},
"relatedAccount": {
"type": "object",
"required": [
"account"
],
"properties": {
"account": {
"type": "ref",
"ref": "com.atproto.admin.defs#accountView"
},
"similarities": {
"type": "array",
"items": {
"type": "ref",
"ref": "tools.ozone.signature.defs#sigDetail"
}
}
}
}
}
}