跳转到主要内容
POST
/
team
/
list
团队列表
curl --request POST \
  --url 'https://api.flashcat.cloud/team/list?app_key=' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "p": 123,
  "limit": 123,
  "asc": true,
  "orderby": "<string>",
  "query": "<string>",
  "person_id": 123
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>"
  },
  "data": {
    "items": [
      {
        "team_id": 123,
        "team_name": "<string>",
        "created_at": 123,
        "updated_at": 123,
        "creator_id": "<string>",
        "updated_by": 123,
        "person_ids": [
          123
        ],
        "ref_id": "<string>",
        "description": "<string>",
        "updated_by_name": "<string>"
      }
    ],
    "p": 123,
    "limit": 123,
    "total": 123
  }
}

授权

app_key
string
query
必填

请求头

Content-Type
string
必填

请求体

application/json
p
integer

页码,从1开始

limit
integer

分页条数

asc
boolean

是否升序

orderby
string

排序字段

query
string

查询语句,模糊匹配名称和描述

person_id
integer

人员ID,查询包含此人员的团队,人员可以为account或member

响应

200 - application/json
error
object

仅出现错误时返回

data
object

响应数据