full diff

pub.chive.claiming.getClaim

From
bafyreidxm7jatrwhkxhcpydcq6qmm267tkrpaodhwvk7yfxtijtf5kwv2q indexed 2026-06-18 13:14 UTC View this version
To
bafyreidxm7jatrwhkxhcpydcq6qmm267tkrpaodhwvk7yfxtijtf5kwv2q indexed 2026-06-18 13:14 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "claimRequest": {
55 "description": "A claim request for an imported eprint",
66 "properties": {
77 "canonicalUri": {
88 "description": "AT-URI of the canonical record once created",
99 "format": "at-uri",
1010 "type": "string"
1111 },
1212 "claimantDid": {
1313 "description": "DID of the user making the claim",
1414 "format": "did",
1515 "type": "string"
1616 },
1717 "createdAt": {
1818 "description": "When the claim was created",
1919 "format": "datetime",
2020 "type": "string"
2121 },
2222 "expiresAt": {
2323 "description": "When the claim expires if not completed",
2424 "format": "datetime",
2525 "type": "string"
2626 },
2727 "id": {
2828 "description": "Unique claim request ID",
2929 "type": "integer"
3030 },
3131 "importId": {
3232 "description": "ID of the imported eprint being claimed",
3333 "type": "integer"
3434 },
3535 "rejectionReason": {
3636 "description": "Reason for rejection if rejected",
3737 "type": "string"
3838 },
3939 "reviewedAt": {
4040 "description": "When the claim was reviewed",
4141 "format": "datetime",
4242 "type": "string"
4343 },
4444 "reviewedBy": {
4545 "description": "DID of the admin who reviewed the claim",
4646 "format": "did",
4747 "type": "string"
4848 },
4949 "status": {
5050 "description": "Current status of the claim",
5151 "knownValues": [
5252 "pending",
5353 "approved",
5454 "rejected",
5555 "expired"
5656 ],
5757 "type": "string"
5858 }
5959 },
6060 "required": [
6161 "id",
6262 "importId",
6363 "claimantDid",
6464 "status",
6565 "createdAt"
6666 ],
6767 "type": "object"
6868 },
6969 "main": {
7070 "description": "Get a claim request by ID. Users can only view their own claims unless they are admins.",
7171 "errors": [
7272 {
7373 "description": "Authentication is required to get claims",
7474 "name": "AuthenticationRequired"
7575 }
7676 ],
7777 "output": {
7878 "encoding": "application/json",
7979 "schema": {
8080 "properties": {
8181 "claim": {
8282 "description": "The claim request, or null if not found or not authorized",
8383 "ref": "#claimRequest",
8484 "type": "ref"
8585 }
8686 },
8787 "type": "object"
8888 }
8989 },
9090 "parameters": {
9191 "properties": {
9292 "claimId": {
9393 "description": "ID of the claim request",
9494 "minimum": 1,
9595 "type": "integer"
9696 }
9797 },
9898 "required": [
9999 "claimId"
100100 ],
101101 "type": "params"
102102 },
103103 "type": "query"
104104 }
105105 },
106106 "id": "pub.chive.claiming.getClaim",
107107 "lexicon": 1,
108108 "revision": 1
109109}