full diff

pub.chive.admin.searchUsers

From
bafyreifbh7rietuy5zsoqjnoh7how7wlyrapyx4pphdv43rfvdaotoe554 indexed 2026-06-18 13:14 UTC View this version
To
bafyreifbh7rietuy5zsoqjnoh7how7wlyrapyx4pphdv43rfvdaotoe554 indexed 2026-06-18 13:14 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Search users by handle or DID",
66 "errors": [
77 {
88 "name": "AuthenticationRequired"
99 },
1010 {
1111 "name": "AdminRequired"
1212 }
1313 ],
1414 "output": {
1515 "encoding": "application/json",
1616 "schema": {
1717 "properties": {
1818 "users": {
1919 "description": "Matching users",
2020 "items": {
2121 "ref": "#userDetail",
2222 "type": "ref"
2323 },
2424 "type": "array"
2525 }
2626 },
2727 "required": [
2828 "users"
2929 ],
3030 "type": "object"
3131 }
3232 },
3333 "parameters": {
3434 "properties": {
3535 "limit": {
3636 "default": 20,
3737 "description": "Maximum number of results",
3838 "maximum": 100,
3939 "minimum": 1,
4040 "type": "integer"
4141 },
4242 "query": {
4343 "description": "Search term (handle or DID prefix)",
4444 "type": "string"
4545 }
4646 },
4747 "required": [
4848 "query"
4949 ],
5050 "type": "params"
5151 },
5252 "type": "query"
5353 },
5454 "userDetail": {
5555 "description": "User detail with stats and roles",
5656 "properties": {
5757 "createdAt": {
5858 "description": "Account indexed timestamp",
5959 "format": "datetime",
6060 "type": "string"
6161 },
6262 "did": {
6363 "description": "User DID",
6464 "format": "did",
6565 "type": "string"
6666 },
6767 "displayName": {
6868 "description": "Display name",
6969 "type": "string"
7070 },
7171 "endorsementCount": {
7272 "description": "Number of endorsements given",
7373 "type": "integer"
7474 },
7575 "eprintCount": {
7676 "description": "Number of eprints submitted",
7777 "type": "integer"
7878 },
7979 "handle": {
8080 "description": "User handle",
8181 "type": "string"
8282 },
8383 "reviewCount": {
8484 "description": "Number of reviews written",
8585 "type": "integer"
8686 },
8787 "roles": {
8888 "description": "Assigned role identifiers",
8989 "items": {
9090 "type": "string"
9191 },
9292 "type": "array"
9393 }
9494 },
9595 "required": [
9696 "did",
9797 "eprintCount",
9898 "reviewCount",
9999 "endorsementCount",
100100 "roles"
101101 ],
102102 "type": "object"
103103 }
104104 },
105105 "id": "pub.chive.admin.searchUsers",
106106 "lexicon": 1,
107107 "revision": 1
108108}