pub.chive.claiming.getPendingClaims
Get pending claims for admin review. Admin only.
Repository
@lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh
not from the namespace authority
Details · query
| Kind | query |
|---|---|
| Authority | claiming.chive.pub |
| Indexed |
Checks
Validunlimited-stringdefs.claimRequest.properties.rejectionReasonNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.claimRequest.properties.statusNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.cursorNo 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": {
"claimRequest": {
"properties": {
"canonicalUri": {
"description": "AT-URI of the canonical record in user PDS",
"format": "at-uri",
"type": "string"
},
"claimantDid": {
"description": "DID of the claimant",
"format": "did",
"type": "string"
},
"createdAt": {
"description": "When the claim was created",
"format": "datetime",
"type": "string"
},
"expiresAt": {
"description": "When the claim expires",
"format": "datetime",
"type": "string"
},
"id": {
"description": "Claim request ID",
"type": "integer"
},
"importId": {
"description": "ID of the imported eprint",
"type": "integer"
},
"rejectionReason": {
"description": "Reason for rejection if rejected",
"type": "string"
},
"reviewedAt": {
"description": "When the claim was reviewed",
"format": "datetime",
"type": "string"
},
"reviewedBy": {
"description": "DID of the admin who reviewed",
"format": "did",
"type": "string"
},
"status": {
"description": "Claim status",
"knownValues": [
"pending",
"approved",
"rejected",
"expired"
],
"type": "string"
}
},
"required": [
"id",
"importId",
"claimantDid",
"status",
"createdAt"
],
"type": "object"
},
"main": {
"description": "Get pending claims for admin review. Admin only.",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "Forbidden"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"claims": {
"items": {
"ref": "#claimRequest",
"type": "ref"
},
"type": "array"
},
"cursor": {
"description": "Pagination cursor for next page",
"type": "string"
},
"hasMore": {
"description": "Whether more results are available",
"type": "boolean"
}
},
"required": [
"claims",
"hasMore"
],
"type": "object"
}
},
"parameters": {
"properties": {
"cursor": {
"description": "Pagination cursor",
"type": "string"
},
"limit": {
"default": 50,
"description": "Maximum number of claims to return",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"maxScore": {
"description": "Maximum match score filter (0-100)",
"maximum": 100,
"minimum": 0,
"type": "integer"
},
"minScore": {
"description": "Minimum match score filter (0-100)",
"maximum": 100,
"minimum": 0,
"type": "integer"
}
},
"type": "params"
},
"type": "query"
}
},
"id": "pub.chive.claiming.getPendingClaims",
"lexicon": 1,
"revision": 1
}