📢 Release 1.0.0-beta.10(2026-04-08)现已推出
Arcadia

创建

POST
/env/v1/create

授权

Token
api-token<token>

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

位置: header

请求体

application/json

TypeScript 类型定义

在 TypeScript 中使用 request body 类型。

响应体

application/json

curl -X POST "http://localhost:5678/api/open/env/v1/create" \  -H "Content-Type: application/json" \  -d '{    "category": "ordinary",    "data": {}  }'
{
  "id": 0,
  "group_id": 0,
  "type": "string",
  "description": "string",
  "tag_list": "string",
  "remark": "string",
  "value": "string",
  "sort": 0,
  "enable": 0
}