pub.chive.claiming.getUserClaims

chive.pub

Documentation

Get claims for the authenticated user

main query

Get claims for the authenticated user

Parameters

cursor string Optional

Pagination cursor

limit integer Optional

Maximum number of claims to return

status string Optional

Filter by claim status

Output

Encodingapplication/json
claims array Required

No description available.

cursor string Optional

Pagination cursor for next page

hasMore boolean Required

Whether more results are available

Errors

AuthenticationRequired
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
Pagination cursor
Maximum number of claims to return
Filter by claim status
View raw schema
{
  "type": "query",
  "errors": [
    {
      "name": "AuthenticationRequired"
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "claims",
        "hasMore"
      ],
      "properties": {
        "claims": {
          "type": "array",
          "items": {
            "ref": "#claimWithPaper",
            "type": "ref"
          }
        },
        "cursor": {
          "type": "string",
          "description": "Pagination cursor for next page"
        },
        "hasMore": {
          "type": "boolean",
          "description": "Whether more results are available"
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "properties": {
      "limit": {
        "type": "integer",
        "default": 50,
        "maximum": 100,
        "minimum": 1,
        "description": "Maximum number of claims to return"
      },
      "cursor": {
        "type": "string",
        "description": "Pagination cursor"
      },
      "status": {
        "type": "string",
        "description": "Filter by claim status",
        "knownValues": [
          "pending",
          "approved",
          "rejected",
          "expired"
        ]
      }
    }
  },
  "description": "Get claims for the authenticated user"
}
claimWithPaper object

No description available.

Properties

canonicalUri string at-uri Optional

AT-URI of the canonical record in user PDS

claimantDid string did Required

DID of the claimant

createdAt string datetime Required

When the claim was created

expiresAt string datetime Optional

When the claim expires

id integer Required

Claim request ID

importId integer Required

ID of the imported eprint

rejectionReason string Optional

Reason for rejection if rejected

reviewedAt string datetime Optional

When the claim was reviewed

reviewedBy string did Optional

DID of the admin who reviewed

status string Required

Claim status

Known values: pending, approved, rejected, expired
View raw schema
{
  "type": "object",
  "required": [
    "id",
    "importId",
    "claimantDid",
    "status",
    "createdAt",
    "paper"
  ],
  "properties": {
    "id": {
      "type": "integer",
      "description": "Claim request ID"
    },
    "paper": {
      "ref": "#paperDetails",
      "type": "ref"
    },
    "status": {
      "type": "string",
      "description": "Claim status",
      "knownValues": [
        "pending",
        "approved",
        "rejected",
        "expired"
      ]
    },
    "importId": {
      "type": "integer",
      "description": "ID of the imported eprint"
    },
    "createdAt": {
      "type": "string",
      "format": "datetime",
      "description": "When the claim was created"
    },
    "expiresAt": {
      "type": "string",
      "format": "datetime",
      "description": "When the claim expires"
    },
    "reviewedAt": {
      "type": "string",
      "format": "datetime",
      "description": "When the claim was reviewed"
    },
    "reviewedBy": {
      "type": "string",
      "format": "did",
      "description": "DID of the admin who reviewed"
    },
    "claimantDid": {
      "type": "string",
      "format": "did",
      "description": "DID of the claimant"
    },
    "canonicalUri": {
      "type": "string",
      "format": "at-uri",
      "description": "AT-URI of the canonical record in user PDS"
    },
    "rejectionReason": {
      "type": "string",
      "description": "Reason for rejection if rejected"
    }
  }
}
externalAuthor object

No description available.

Properties

affiliation string Optional

Institution affiliation

email string Optional

Email address

name string Required

Author name

orcid string Optional

ORCID identifier

View raw schema
{
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Author name"
    },
    "email": {
      "type": "string",
      "description": "Email address"
    },
    "orcid": {
      "type": "string",
      "description": "ORCID identifier"
    },
    "affiliation": {
      "type": "string",
      "description": "Institution affiliation"
    }
  }
}
paperDetails object

No description available.

Properties

doi string Optional

DOI if assigned

externalId string Required

Source-specific identifier

externalUrl string uri Required

URL to the eprint

publicationDate string Optional

Publication date

source string Required

Source system

title string Required

Eprint title

View raw schema
{
  "type": "object",
  "required": [
    "source",
    "externalId",
    "externalUrl",
    "title",
    "authors"
  ],
  "properties": {
    "doi": {
      "type": "string",
      "description": "DOI if assigned"
    },
    "title": {
      "type": "string",
      "description": "Eprint title"
    },
    "source": {
      "type": "string",
      "description": "Source system"
    },
    "authors": {
      "type": "array",
      "items": {
        "ref": "#externalAuthor",
        "type": "ref"
      },
      "description": "Author list"
    },
    "externalId": {
      "type": "string",
      "description": "Source-specific identifier"
    },
    "externalUrl": {
      "type": "string",
      "format": "uri",
      "description": "URL to the eprint"
    },
    "publicationDate": {
      "type": "string",
      "description": "Publication date"
    }
  }
}

Lexicon Garden

@