app.chronosky.plan.listAssignments

chronosky.app

Documentation

Get the authenticated user's plan assignment history

main query

Get the authenticated user's plan assignment history

Output

Encodingapplication/json
assignments array Required

List of plan assignments

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)
View raw schema
{
  "type": "query",
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "assignments"
      ],
      "properties": {
        "assignments": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "id",
              "planId",
              "plan",
              "activatedAt",
              "expiresAt",
              "status"
            ],
            "properties": {
              "id": {
                "type": "string",
                "maxLength": 100,
                "description": "Plan assignment ID"
              },
              "plan": {
                "type": "object",
                "required": [
                  "id",
                  "name"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "maxLength": 100,
                    "description": "Plan ID"
                  },
                  "name": {
                    "type": "string",
                    "maxLength": 200,
                    "description": "Plan name"
                  },
                  "description": {
                    "type": "string",
                    "maxLength": 1000,
                    "description": "Plan description"
                  }
                }
              },
              "planId": {
                "type": "string",
                "maxLength": 100,
                "description": "Plan ID"
              },
              "status": {
                "enum": [
                  "ACTIVE",
                  "EXPIRED",
                  "CANCELLED"
                ],
                "type": "string",
                "maxLength": 20,
                "description": "Plan assignment status"
              },
              "ticket": {
                "type": "object",
                "required": [
                  "id",
                  "code"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "maxLength": 100,
                    "description": "Ticket ID"
                  },
                  "code": {
                    "type": "string",
                    "maxLength": 100,
                    "description": "Ticket code"
                  }
                },
                "description": "Ticket information (if redeemed from ticket)"
              },
              "expiresAt": {
                "type": "string",
                "format": "datetime",
                "maxLength": 100,
                "description": "Plan expiration timestamp"
              },
              "activatedAt": {
                "type": "string",
                "format": "datetime",
                "maxLength": 100,
                "description": "Plan activation timestamp"
              }
            }
          },
          "description": "List of plan assignments"
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Get the authenticated user's plan assignment history"
}

Lexicon Garden

@