pub.chive.claiming.getClaim
Get a claim request by ID. Users can only view their own claims unless they are admins.
Repository
@lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh
not from the namespace authority
Details · query
| Kind | query |
|---|---|
| Authority | claiming.chive.pub |
| Indexed |
Showing version bafyreidxm7jatrwhkxhcpydcq6qmm267tkrpaodhwvk7yfxtijtf5kwv2q. Show the latest
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.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"claimRequest": {
"description": "A claim request for an imported eprint",
"properties": {
"canonicalUri": {
"description": "AT-URI of the canonical record once created",
"format": "at-uri",
"type": "string"
},
"claimantDid": {
"description": "DID of the user making the claim",
"format": "did",
"type": "string"
},
"createdAt": {
"description": "When the claim was created",
"format": "datetime",
"type": "string"
},
"expiresAt": {
"description": "When the claim expires if not completed",
"format": "datetime",
"type": "string"
},
"id": {
"description": "Unique claim request ID",
"type": "integer"
},
"importId": {
"description": "ID of the imported eprint being claimed",
"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 the claim",
"format": "did",
"type": "string"
},
"status": {
"description": "Current status of the claim",
"knownValues": [
"pending",
"approved",
"rejected",
"expired"
],
"type": "string"
}
},
"required": [
"id",
"importId",
"claimantDid",
"status",
"createdAt"
],
"type": "object"
},
"main": {
"description": "Get a claim request by ID. Users can only view their own claims unless they are admins.",
"errors": [
{
"description": "Authentication is required to get claims",
"name": "AuthenticationRequired"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"claim": {
"description": "The claim request, or null if not found or not authorized",
"ref": "#claimRequest",
"type": "ref"
}
},
"type": "object"
}
},
"parameters": {
"properties": {
"claimId": {
"description": "ID of the claim request",
"minimum": 1,
"type": "integer"
}
},
"required": [
"claimId"
],
"type": "params"
},
"type": "query"
}
},
"id": "pub.chive.claiming.getClaim",
"lexicon": 1,
"revision": 1
}