pub.chive.claiming.getUserClaims
Get claims for the authenticated user
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.claimWithPaper.properties.rejectionReasonNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.claimWithPaper.properties.statusNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.externalAuthor.properties.affiliationNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.externalAuthor.properties.emailNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.externalAuthor.properties.nameNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.externalAuthor.properties.orcidNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.statusNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.paperDetails.properties.doiNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.paperDetails.properties.externalIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.paperDetails.properties.publicationDateNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.paperDetails.properties.sourceNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.paperDetails.properties.titleNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"claimWithPaper": {
"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"
},
"paper": {
"ref": "#paperDetails",
"type": "ref"
},
"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",
"paper"
],
"type": "object"
},
"externalAuthor": {
"properties": {
"affiliation": {
"description": "Institution affiliation",
"type": "string"
},
"email": {
"description": "Email address",
"type": "string"
},
"name": {
"description": "Author name",
"type": "string"
},
"orcid": {
"description": "ORCID identifier",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"main": {
"description": "Get claims for the authenticated user",
"errors": [
{
"name": "AuthenticationRequired"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"claims": {
"items": {
"ref": "#claimWithPaper",
"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"
},
"status": {
"description": "Filter by claim status",
"knownValues": [
"pending",
"approved",
"rejected",
"expired"
],
"type": "string"
}
},
"type": "params"
},
"type": "query"
},
"paperDetails": {
"properties": {
"authors": {
"description": "Author list",
"items": {
"ref": "#externalAuthor",
"type": "ref"
},
"type": "array"
},
"doi": {
"description": "DOI if assigned",
"type": "string"
},
"externalId": {
"description": "Source-specific identifier",
"type": "string"
},
"externalUrl": {
"description": "URL to the eprint",
"format": "uri",
"type": "string"
},
"publicationDate": {
"description": "Publication date",
"type": "string"
},
"source": {
"description": "Source system",
"type": "string"
},
"title": {
"description": "Eprint title",
"type": "string"
}
},
"required": [
"source",
"externalId",
"externalUrl",
"title",
"authors"
],
"type": "object"
}
},
"id": "pub.chive.claiming.getUserClaims",
"lexicon": 1,
"revision": 1
}