* First vouch implementation * Remove unneeded endpoints * wip * ✨ wip * ✨ Process jetstream events through p-queue and add tests * ✅ Add test for cursor update * 🐛 Use utc time to update updatedAt * 🧹 Cleanup * 🔨 Fix pnpm versioning issues * ✨ Replace jetstream lib with manual implementation * ✨ Remove unnecessary 3p dep * ✨ Add e2e test for jetstream * 🚨 Fix import * 🧹 Remove unnecessary property * ✨ Fix dev-env and add profile to verification view in ozone * ✅ Add profile type * ✨ Add backpressure handling to jetstream listener * ✨ Use WebSocketKeepAlive from xrpc-server and replace partysocket * ✨ Add a new verifier role to ozone team meber roles * 📝 Run codegen * 🐛 Fix auth check * 🐛 Fix test failure check * 🚨 Fix json formatting * 🐛 Fix team role check * 🚧 Checking failing test * ✅ Fix tests * ✨ Address review comments * ✨ Add xrpc-server to version * 🚨 Fix linter issue * 🚨 Fix linter issue * ✨ Resolve race condition in cursor update * ✅ Add verification check on profile * 🐛 Fix missing cid in test and firehose cursor * ✨ Fix test * ✨ Add record validation for verification and separate xrpc-server version * ✨ Return error object for failed revocations * ✨ Add re-login on expired session case * 📝 Fix typo --------- Co-authored-by: rafael <rafael@blueskyweb.xyz>
84 lines
2.3 KiB
JSON
84 lines
2.3 KiB
JSON
{
|
|
"lexicon": 1,
|
|
"id": "tools.ozone.verification.listVerifications",
|
|
"defs": {
|
|
"main": {
|
|
"type": "query",
|
|
"description": "List verifications",
|
|
"parameters": {
|
|
"type": "params",
|
|
"properties": {
|
|
"cursor": {
|
|
"type": "string",
|
|
"description": "Pagination cursor"
|
|
},
|
|
"limit": {
|
|
"type": "integer",
|
|
"description": "Maximum number of results to return",
|
|
"minimum": 1,
|
|
"maximum": 100,
|
|
"default": 50
|
|
},
|
|
"createdAfter": {
|
|
"type": "string",
|
|
"format": "datetime",
|
|
"description": "Filter to verifications created after this timestamp"
|
|
},
|
|
"createdBefore": {
|
|
"type": "string",
|
|
"format": "datetime",
|
|
"description": "Filter to verifications created before this timestamp"
|
|
},
|
|
"issuers": {
|
|
"type": "array",
|
|
"maxLength": 100,
|
|
"description": "Filter to verifications from specific issuers",
|
|
"items": {
|
|
"type": "string",
|
|
"format": "did"
|
|
}
|
|
},
|
|
"subjects": {
|
|
"type": "array",
|
|
"description": "Filter to specific verified DIDs",
|
|
"maxLength": 100,
|
|
"items": {
|
|
"type": "string",
|
|
"format": "did"
|
|
}
|
|
},
|
|
"sortDirection": {
|
|
"type": "string",
|
|
"description": "Sort direction for creation date",
|
|
"enum": ["asc", "desc"],
|
|
"default": "desc"
|
|
},
|
|
"isRevoked": {
|
|
"type": "boolean",
|
|
"description": "Filter to verifications that are revoked or not. By default, includes both."
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"encoding": "application/json",
|
|
"schema": {
|
|
"type": "object",
|
|
"required": ["verifications"],
|
|
"properties": {
|
|
"cursor": {
|
|
"type": "string"
|
|
},
|
|
"verifications": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "ref",
|
|
"ref": "tools.ozone.verification.defs#verificationView"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|