Get the authenticated user's active plan assignment
Output
Encodingapplication/json
Active plan assignment (null if no active plan)
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
Sending request...
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"
}
Plan assignment details.
Properties
Plan activation timestamp
maxLength: 100 bytes
Plan expiration timestamp
maxLength: 100 bytes
Plan assignment ID
maxLength: 100 bytes
No description available.
Plan ID
maxLength: 100 bytes
Plan assignment status
maxLength: 20 bytes
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."
}
Plan information.
Properties
Plan description
maxLength: 1000 bytes
Plan ID
maxLength: 100 bytes
Maximum days to schedule in advance
Minimum interval between posts (minutes)
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."
}
Ticket information.
Properties
Ticket code
maxLength: 100 bytes
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."
}