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 object 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": {
          "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"
                },
                "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)"
                }
              }
            },
            "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": "Active plan assignment (null if no active plan)"
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Get the authenticated user's active plan assignment"
}

Lexicon Garden

@