🎉 Arcadia 1.0.0-beta.8(现已发布)
Arcadia

分页查询

GET
/env/v1/page

Authorization

OpenApiToken
api-token<token>

32位令牌,在控制面板《个人设置 - 令牌管理》页面获取

In: header

Query Parameters

category*string

变量类型,分别对应普通变量、复合变量(组)、复合变量的值

Value in"ordinary" | "composite" | "composite_value"
compositeId?string

查看复合变量的值时需要指定此参数为复合变量(组)的唯一标识

enable?string

变量状态过滤,1 启用 | 0 禁用

Value in"0" | "1"
search?string

搜索内容过滤,涉及变量名称、用户标签

orderBy?string

指定排序字段,默认 sort

Value in"sort" | "update_time"
order?string

指定排序方式 0 升序 | 1 降序,默认降序

Value in"0" | "1"
page?string

指定页数,默认1

size?string

指定分页大小数量,默认20

Response Body

application/json

curl -X GET "http://localhost:5678/api/open/env/v1/page?category=ordinary"
{
  "data": [
    {
      "id": 0,
      "type": "string",
      "description": "string",
      "tag_list": "string",
      "enable": 0,
      "group_id": 0,
      "remark": "string",
      "value": "string",
      "sort": 0
    }
  ],
  "page": 0,
  "size": 0,
  "total": 0
}