app.chronosky.plan.getAssignment

chronosky.app

Documentation

Get the authenticated user's active plan assignment

main query

Get the authenticated user's active plan assignment

Output

Encodingapplication/json
assignment ref#planAssignment Optional

Active plan assignment (null if no active plan)

message string Optional

Response message

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",
      "properties": {
        "message": {
          "type": "string",
          "maxLength": 1000,
          "description": "Response message"
        },
        "assignment": {
          "ref": "#planAssignment",
          "type": "ref",
          "description": "Active plan assignment (null if no active plan)"
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Get the authenticated user's active plan assignment"
}
planAssignment object

Plan assignment details.

Properties

activatedAt string datetime Required

Plan activation timestamp

maxLength: 100 bytes
expiresAt string datetime Required

Plan expiration timestamp

maxLength: 100 bytes
id string Required

Plan assignment ID

maxLength: 100 bytes
plan ref #planInfo Required

No description available.

planId string Required

Plan ID

maxLength: 100 bytes
status string Required

Plan assignment status

maxLength: 20 bytes
ticket ref #ticketInfo Optional

Ticket information (if redeemed from ticket)

View raw schema
{
  "type": "object",
  "required": [
    "id",
    "planId",
    "plan",
    "activatedAt",
    "expiresAt",
    "status"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 100,
      "description": "Plan assignment ID"
    },
    "plan": {
      "ref": "#planInfo",
      "type": "ref"
    },
    "planId": {
      "type": "string",
      "maxLength": 100,
      "description": "Plan ID"
    },
    "status": {
      "enum": [
        "ACTIVE",
        "EXPIRED",
        "CANCELLED"
      ],
      "type": "string",
      "maxLength": 20,
      "description": "Plan assignment status"
    },
    "ticket": {
      "ref": "#ticketInfo",
      "type": "ref",
      "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": "Plan assignment details."
}
planInfo object

Plan information.

Properties

description string Optional

Plan description

maxLength: 1000 bytes
id string Required

Plan ID

maxLength: 100 bytes
maxConcurrentPosts integer Optional

Maximum concurrent posts

maxImagesPerPost integer Optional

Maximum images per post

maxPostsPerDay integer Optional

Maximum posts per day

maxScheduleDays integer Optional

Maximum days to schedule in advance

maxThreadPosts integer Optional

Maximum posts per thread

minScheduleInterval integer Optional

Minimum interval between posts (minutes)

name string Required

Plan name

maxLength: 200 bytes
View raw schema
{
  "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"
    },
    "maxPostsPerDay": {
      "type": "integer",
      "description": "Maximum posts per day"
    },
    "maxThreadPosts": {
      "type": "integer",
      "description": "Maximum posts per thread"
    },
    "maxScheduleDays": {
      "type": "integer",
      "description": "Maximum days to schedule in advance"
    },
    "maxImagesPerPost": {
      "type": "integer",
      "description": "Maximum images per post"
    },
    "maxConcurrentPosts": {
      "type": "integer",
      "description": "Maximum concurrent posts"
    },
    "minScheduleInterval": {
      "type": "integer",
      "description": "Minimum interval between posts (minutes)"
    }
  },
  "description": "Plan information."
}
ticketInfo object

Ticket information.

Properties

code string Required

Ticket code

maxLength: 100 bytes
id string Required

Ticket ID

maxLength: 100 bytes
View raw schema
{
  "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."
}

Lexicon Garden

@