pub.chive.activity.markFailed

chive.pub View official

Documentation

Mark a pending activity as failed when PDS write fails

main procedure

Mark a pending activity as failed when PDS write fails

Input

Encodingapplication/json
collection string Required

NSID of the record collection

errorCode string Required

Error code identifying the failure type

maxLength: 50 bytes
errorMessage string Required

Human-readable error message

maxLength: 1000 bytes
rkey string Required

Record key (TID)

Output

Encodingapplication/json
success boolean Required

Whether the activity was successfully marked as failed

Errors

AuthenticationRequired
NotFound
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": "Mark a pending activity as failed when PDS write fails",
  "errors": [
    {
      "name": "AuthenticationRequired"
    },
    {
      "name": "NotFound"
    }
  ],
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "collection": {
          "description": "NSID of the record collection",
          "type": "string"
        },
        "errorCode": {
          "description": "Error code identifying the failure type",
          "maxLength": 50,
          "type": "string"
        },
        "errorMessage": {
          "description": "Human-readable error message",
          "maxLength": 1000,
          "type": "string"
        },
        "rkey": {
          "description": "Record key (TID)",
          "type": "string"
        }
      },
      "required": [
        "collection",
        "rkey",
        "errorCode",
        "errorMessage"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "success": {
          "description": "Whether the activity was successfully marked as failed",
          "type": "boolean"
        }
      },
      "required": [
        "success"
      ],
      "type": "object"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@