pub.chive.claiming.requestCoauthorship

chive.pub View official

Documentation

Request co-authorship on an existing eprint in another user's PDS

main procedure

Request co-authorship on an existing eprint in another user's PDS

Input

Encodingapplication/json
authorIndex integer Required

Index of the author entry being claimed (0-based)

minimum: 0
authorName string Required

Name of the author entry being claimed

maxLength: 200 bytesminLength: 1 bytes
claimantName string Required

Display name for the request

maxLength: 200 bytesminLength: 1 bytes
eprintOwnerDid stringdid Required

DID of the PDS owner

eprintUri stringat-uri Required

AT-URI of the eprint record

message string Optional

Optional message to PDS owner

maxLength: 1000 bytes

Output

Encodingapplication/json

Errors

AuthenticationRequired
NotFound
InvalidRequest
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://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "description": "Request co-authorship on an existing eprint in another user's PDS",
  "errors": [
    {
      "name": "AuthenticationRequired"
    },
    {
      "name": "NotFound"
    },
    {
      "name": "InvalidRequest"
    }
  ],
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "authorIndex": {
          "description": "Index of the author entry being claimed (0-based)",
          "minimum": 0,
          "type": "integer"
        },
        "authorName": {
          "description": "Name of the author entry being claimed",
          "maxLength": 200,
          "minLength": 1,
          "type": "string"
        },
        "claimantName": {
          "description": "Display name for the request",
          "maxLength": 200,
          "minLength": 1,
          "type": "string"
        },
        "eprintOwnerDid": {
          "description": "DID of the PDS owner",
          "format": "did",
          "type": "string"
        },
        "eprintUri": {
          "description": "AT-URI of the eprint record",
          "format": "at-uri",
          "type": "string"
        },
        "message": {
          "description": "Optional message to PDS owner",
          "maxLength": 1000,
          "type": "string"
        }
      },
      "required": [
        "eprintUri",
        "eprintOwnerDid",
        "claimantName",
        "authorIndex",
        "authorName"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "request": {
          "ref": "#coauthorRequest",
          "type": "ref"
        }
      },
      "required": [
        "request"
      ],
      "type": "object"
    }
  },
  "type": "procedure"
}
coauthorRequest object

No description available.

Properties

authorIndex integer Required

Index of the author entry being claimed (0-based)

authorName string Required

Name of the author entry being claimed

claimantDid string did Required

DID of the claimant

claimantName string Required

Display name at time of request

createdAt string datetime Required

When the request was created

eprintOwnerDid string did Required

DID of the PDS owner

eprintUri string at-uri Required

AT-URI of the eprint record

id integer Required

Request ID

message string Optional

Message from claimant

rejectionReason string Optional

Rejection reason if rejected

reviewedAt string datetime Optional

When the request was reviewed

status string Required

Request status

Known values: pending, approved, rejected
View raw schema
{
  "properties": {
    "authorIndex": {
      "description": "Index of the author entry being claimed (0-based)",
      "type": "integer"
    },
    "authorName": {
      "description": "Name of the author entry being claimed",
      "type": "string"
    },
    "claimantDid": {
      "description": "DID of the claimant",
      "format": "did",
      "type": "string"
    },
    "claimantName": {
      "description": "Display name at time of request",
      "type": "string"
    },
    "createdAt": {
      "description": "When the request was created",
      "format": "datetime",
      "type": "string"
    },
    "eprintOwnerDid": {
      "description": "DID of the PDS owner",
      "format": "did",
      "type": "string"
    },
    "eprintUri": {
      "description": "AT-URI of the eprint record",
      "format": "at-uri",
      "type": "string"
    },
    "id": {
      "description": "Request ID",
      "type": "integer"
    },
    "message": {
      "description": "Message from claimant",
      "type": "string"
    },
    "rejectionReason": {
      "description": "Rejection reason if rejected",
      "type": "string"
    },
    "reviewedAt": {
      "description": "When the request was reviewed",
      "format": "datetime",
      "type": "string"
    },
    "status": {
      "description": "Request status",
      "knownValues": [
        "pending",
        "approved",
        "rejected"
      ],
      "type": "string"
    }
  },
  "required": [
    "id",
    "eprintUri",
    "eprintOwnerDid",
    "claimantDid",
    "claimantName",
    "authorIndex",
    "authorName",
    "status",
    "createdAt"
  ],
  "type": "object"
}

Lexicon Garden

@