pub.chive.claiming.startClaim
Initiate a claim request for an imported eprint
Repository
@lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh
not from the namespace authority
Details · procedure
| Kind | procedure |
|---|---|
| Authority | claiming.chive.pub |
| Indexed |
Showing version bafyreiddljmisyz2virupjvazknweq3h7cuqu3jsopwyad6ww4bpej7q44. 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": {
"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": "Initiate a claim request for an imported eprint",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "NotFound"
},
{
"name": "InvalidRequest"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"importId": {
"description": "ID of the imported eprint to claim",
"type": "integer"
}
},
"required": [
"importId"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"claim": {
"ref": "#claimRequest",
"type": "ref"
}
},
"required": [
"claim"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "pub.chive.claiming.startClaim",
"lexicon": 1,
"revision": 1
}