📢 Release 1.0.0-beta.11(2026-06-03)现已推出
Arcadia

创建

POST
/env/v1/create

授权

Token
api-token<token>

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

位置: header

请求主体

application/json

TypeScript 定义

在 TypeScript 中使用 request body 类型。

响应主体

application/json

curl -X POST "https://example.com/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}