QamaqQamaq
GET

列出工单

/tickets

返回分页的工单列表,支持可选过滤。

常见用例

  • Display a list of tickets in your application
  • Build a custom dashboard showing ticket status
  • Export tickets for reporting purposes

参数

查询参数

名称类型描述
board_id
string

Filter by board ID

status_id
string

Filter by status/column ID

assignee_id
string

Filter by assignee ID

priority
"low" | "medium" | "high" | "critical"

Filter by priority

lowmediumhighcritical
search
string

Search in title and description

page
integer

Page number

默认值: 1

page_size
integer

Items per page

默认值: 20

代码示例

curl -X GET "https://api.qamaq.io/api/v1/tickets?page=1&page_size=20" \
  -H "Authorization: Bearer qmq_your_api_key"

响应

200List of tickets

Response Body

{
tickets:Ticket[]
total:integer
page:integer
page_size:integer
has_more:boolean
}