Download OpenAPI specification:Download
接口目前仅提供在用户密钥认证方式,参数是 token,请求接口时可在接口 query 或表单字段中传递此字段。
https://tryzealot.ews.im/api/users?token={token}
用户密钥在用户详情最底部找到。
获取所有未归档应用列表详情,支持分页,按照最新创建时间倒序
| scope | string 应用范围 / 可选值有 all, active, archived |
| page | integer <int32> >= 1 Default: 1 页码 |
| per_page | integer <int32> [ 1 .. 100 ] Default: 25 单页数量 |
[- {
- "id": 1,
- "name": "First App",
- "archived": false,
- "schemes": [
- {
- "id": 1,
- "name": "Production",
- "new_build_callout": true,
- "retained_builds": 0,
- "channels": [
- {
- "id": 4,
- "name": "App Store",
- "slug": "Sk3y",
- "device_type": "Android",
- "bundle_id": "*",
- "has_password": false,
- "download_filename_type": "original"
}
]
}
]
}
]{- "name": "string"
}{- "id": 1,
- "name": "First App",
- "schemes": [
- {
- "id": 1,
- "name": "Production",
- "new_build_callout": true,
- "retained_builds": 0,
- "channels": [
- {
- "id": 4,
- "name": "App Store",
- "slug": "Sk3y",
- "device_type": "Android",
- "bundle_id": "*",
- "has_password": false,
- "download_filename_type": "original"
}
]
}
], - "collaborators": [
- {
- "id": 2,
- "username": "foo",
- "email": "foo@example.com",
- "role": "developer"
}
]
}根据以下两种查询条件组合查询应用单一渠道的版本是否存在:
bundle_id + 主版本号 release_version + 内部版本号 build_verionbundle_id + Git 最后提交值 git_commit| channel_key required | string 应用渠道 Key |
| bundle_id required | string 应用的包名,iOS 取 bundle_id,Android 取 package_name |
| git_commit | string Git 提交哈希值 |
| release_version | string 主版本号 |
| build_version | string 内部版本号 |
{- "id": 1,
- "name": "First App",
- "schemes": [
- {
- "id": 1,
- "name": "Production",
- "new_build_callout": true,
- "retained_builds": 0,
- "channels": [
- {
- "id": 4,
- "name": "App Store",
- "slug": "Sk3y",
- "device_type": "Android",
- "bundle_id": "*",
- "has_password": false,
- "download_filename_type": "original"
}
]
}
], - "collaborators": [
- {
- "id": 2,
- "username": "foo",
- "email": "foo@example.com",
- "role": "developer"
}
]
}查询应用单一渠道的上传版本列表,版本列表按上传时间倒序
| channel_key required | string 应用渠道 Key |
| page | integer <int32> >= 1 Default: 1 页码 |
| per_page | integer <int32> [ 1 .. 100 ] Default: 25 单页数量 |
{- "id": 1,
- "app_name": "First App",
- "bundle_id": "*",
- "app": {
- "id": 1,
- "name": "First App",
- "schemes": [
- {
- "id": 1,
- "name": "Production",
- "new_build_callout": true,
- "retained_builds": 0,
- "channels": [
- {
- "id": 4,
- "name": "App Store",
- "slug": "Sk3y",
- "device_type": "Android",
- "bundle_id": "*",
- "has_password": false,
- "download_filename_type": "original"
}
]
}
], - "collaborators": [
- {
- "id": 2,
- "username": "foo",
- "email": "foo@example.com",
- "role": "developer"
}
]
}, - "scheme": {
- "id": 1,
- "name": "Production",
- "new_build_callout": true,
- "retained_builds": 0,
- "channels": [
- {
- "id": 4,
- "name": "App Store",
- "slug": "Sk3y",
- "device_type": "Android",
- "bundle_id": "*",
- "has_password": false,
- "download_filename_type": "original"
}
]
}, - "releases": [
- {
- "version": 100,
- "app_name": "Zealot",
- "bundle_id": "im.ews.zealot",
- "source": "API",
- "branch": "develop",
- "git_commit": "bc58e308dd1caf2226a402291839afbbdabcabf0",
- "size": 392173,
- "platform": "iOS",
- "device_type": "iPhone",
- "changelog": [
- {
- "date": "2024-03-01 12:00:00 +0800",
- "author": "foo",
- "email": "foo@example.com",
- "message": "fixes bugs"
}
], - "text_changelog": "- bump 1.1\\n-n fixes bugs",
- "custom_fields": [
- {
- "icon": "fa-solid fa-flag",
- "name": "Country",
- "value": "China"
}
], - "created_at": "2024-03-01 12:00:00 +0800"
}
]
}查询应用单一渠道的最新版本列表,版本列表按上传时间倒序
| channel_key required | string 应用渠道 Key |
| bundle_id | string 应用的包名,iOS 取 bundle_id,Android 取 package_name |
| release_version | string 主版本号 |
| build_version | string 内部版本号 |
{- "id": 1,
- "app_name": "First App",
- "bundle_id": "*",
- "app": {
- "id": 1,
- "name": "First App",
- "schemes": [
- {
- "id": 1,
- "name": "Production",
- "new_build_callout": true,
- "retained_builds": 0,
- "channels": [
- {
- "id": 4,
- "name": "App Store",
- "slug": "Sk3y",
- "device_type": "Android",
- "bundle_id": "*",
- "has_password": false,
- "download_filename_type": "original"
}
]
}
], - "collaborators": [
- {
- "id": 2,
- "username": "foo",
- "email": "foo@example.com",
- "role": "developer"
}
]
}, - "scheme": {
- "id": 1,
- "name": "Production",
- "new_build_callout": true,
- "retained_builds": 0,
- "channels": [
- {
- "id": 4,
- "name": "App Store",
- "slug": "Sk3y",
- "device_type": "Android",
- "bundle_id": "*",
- "has_password": false,
- "download_filename_type": "original"
}
]
}, - "releases": [
- {
- "version": 100,
- "app_name": "Zealot",
- "bundle_id": "im.ews.zealot",
- "source": "API",
- "branch": "develop",
- "git_commit": "bc58e308dd1caf2226a402291839afbbdabcabf0",
- "size": 392173,
- "platform": "iOS",
- "device_type": "iPhone",
- "changelog": [
- {
- "date": "2024-03-01 12:00:00 +0800",
- "author": "foo",
- "email": "foo@example.com",
- "message": "fixes bugs"
}
], - "text_changelog": "- bump 1.1\\n-n fixes bugs",
- "custom_fields": [
- {
- "icon": "fa-solid fa-flag",
- "name": "Country",
- "value": "China"
}
], - "created_at": "2024-03-01 12:00:00 +0800"
}
]
}上传 iOS、Android、macOS、Linux 或 Windows 应用
| channel_key required | string 应用具体渠道的 Key,没有传此参数会字段创建对于的应用、类型和渠道 |
| file required | file 本地支持上传类型的应用文件 |
| name | string 应用名称,为空时取 App 的信息 |
| password | string 设置访问密码,为空时清除密码 |
| release_type | string 应用类型,比如 debug, beta, adhoc, release, enterprise 等 |
| source | string 上传渠道名称,默认是 |
Array of objects (ReleaseChangelog) 变更日志,接受纯文本或 JSON 格式化的数据 | |
| branch | string 代码控制软件的分支名 |
| git_commit | string 代码控制软件提交哈希值 |
| ci_url | string 持续构建系统构建 URL |
Array of objects (ReleaseCustomField) 这是一个用 JSON 字符串定义的自定义字段,图标可接受 fontawesome |
{- "id": 1,
- "name": "First App",
- "schemes": [
- {
- "id": 1,
- "name": "Production",
- "new_build_callout": true,
- "retained_builds": 0,
- "channels": [
- {
- "id": 4,
- "name": "App Store",
- "slug": "Sk3y",
- "device_type": "Android",
- "bundle_id": "*",
- "has_password": false,
- "download_filename_type": "original"
}
]
}
], - "collaborators": [
- {
- "id": 2,
- "username": "foo",
- "email": "foo@example.com",
- "role": "developer"
}
]
}{- "id": 1,
- "name": "First App",
- "schemes": [
- {
- "id": 1,
- "name": "Production",
- "new_build_callout": true,
- "retained_builds": 0,
- "channels": [
- {
- "id": 4,
- "name": "App Store",
- "slug": "Sk3y",
- "device_type": "Android",
- "bundle_id": "*",
- "has_password": false,
- "download_filename_type": "original"
}
]
}
], - "collaborators": [
- {
- "id": 2,
- "username": "foo",
- "email": "foo@example.com",
- "role": "developer"
}
]
}根据应用名创建应用
| id required | string 主键 ID |
| name required | string 应用名 |
{- "name": "string"
}{- "id": 1,
- "name": "First App",
- "schemes": [
- {
- "id": 1,
- "name": "Production",
- "new_build_callout": true,
- "retained_builds": 0,
- "channels": [
- {
- "id": 4,
- "name": "App Store",
- "slug": "Sk3y",
- "device_type": "Android",
- "bundle_id": "*",
- "has_password": false,
- "download_filename_type": "original"
}
]
}
], - "collaborators": [
- {
- "id": 2,
- "username": "foo",
- "email": "foo@example.com",
- "role": "developer"
}
]
}[- {
- "id": 4,
- "name": "App Store",
- "slug": "Sk3y",
- "device_type": "Android",
- "bundle_id": "*",
- "has_password": false,
- "download_filename_type": "original"
}
]创建应用渠道
| scheme_id required | string 应用类型 id |
| name required | string 应用渠道名 |
| device_type required | string Enum: "ios" "android" "harmonyos" "macos" "windows" "linux" 设备类型 |
| slug | string URL 唯一标示,没有填随机生成 |
| bundle_id | string 包名校验, 默认是 |
| git_url | string Git 仓库地址 |
| password | string 密码访问 |
| download_filename_type | string Enum: "version_datetime" "original_filename" 下载文件的文件名生成规则 |
{- "name": "string",
- "device_type": "ios",
- "slug": "string",
- "bundle_id": "string",
- "git_url": "string",
- "password": "string",
- "download_filename_type": "version_datetime"
}{- "id": 4,
- "name": "App Store",
- "slug": "Sk3y",
- "device_type": "Android",
- "bundle_id": "*",
- "has_password": false,
- "download_filename_type": "original"
}更新应用渠道的
| id required | string 主键 ID |
| name required | string 应用渠道名 |
| device_type required | string Enum: "ios" "android" "harmonyos" "macos" "windows" "linux" 设备类型 |
| slug | string URL 唯一标示,没有填随机生成 |
| bundle_id | string 包名校验, 默认是 |
| git_url | string Git 仓库地址 |
| password | string 密码访问 |
| download_filename_type | string Enum: "version_datetime" "original_filename" 下载文件的文件名生成规则 |
{- "name": "string",
- "device_type": "ios",
- "slug": "string",
- "bundle_id": "string",
- "git_url": "string",
- "password": "string",
- "download_filename_type": "version_datetime"
}{- "id": 4,
- "name": "App Store",
- "slug": "Sk3y",
- "device_type": "Android",
- "bundle_id": "*",
- "has_password": false,
- "download_filename_type": "original"
}更新应用成员的权限
| app_id required | string 应用 ID |
| user_id required | string 用户 ID |
| role required | string Enum: "member" "developer" "admin" 应用内成员权限 |
{- "role": "member"
}{- "id": 2,
- "username": "foo",
- "email": "foo@example.com",
- "role": "developer"
}添加指定用户到指定应用成员列表
| app_id required | string 应用 ID |
| user_id | string 用户 ID |
| role required | string Enum: "member" "developer" "admin" 应用内成员权限 |
{- "role": "member"
}{- "id": 2,
- "username": "foo",
- "email": "foo@example.com",
- "role": "developer"
}获取所有调试文件列表详情,支持分页,按照最新创建时间倒序
| channel_key required | string 应用渠道 Key |
| page | integer <int32> >= 1 Default: 1 页码 |
| per_page | integer <int32> [ 1 .. 100 ] Default: 25 单页数量 |
[- {
- "id": 31,
- "app_name": "First App",
- "device_type": "iOS",
- "release_version": "3.2.1",
- "build_version": "8621",
- "metadata": [
- {
- "id": 200,
- "category": "dSYM",
- "uuid": "2364df02-a44e-4859-9ea1-de25c93d54d5",
- "bundle_id": "im.ews.zealot.iphone.example",
- "name": "ExampleApp",
- "extension": false,
- "size": 32048613,
- "created_at": "2024-03-01 12:00:21 +0800"
}
]
}
]下载 iOS 和 Android 的调试文件
channel_key 和 release_version 作为必要条件,不传递 build_version
参数可以使用 order 获取符合排序规则的第一个调试文件地址,排序方式有:
version: 最新版本upload_date: 上传调试文件日期| channel_key required | string 应用渠道 Key |
| release_version required | string 主版本号 |
| build_version | string 内部版本号 |
| order | string 排序方式 / 可选值有 version, upload_date |
{- "id": 31,
- "app_name": "First App",
- "device_type": "iOS",
- "release_version": "3.2.1",
- "build_version": "8621",
- "metadata": [
- {
- "id": 200,
- "category": "dSYM",
- "uuid": "2364df02-a44e-4859-9ea1-de25c93d54d5",
- "bundle_id": "im.ews.zealot.iphone.example",
- "name": "ExampleApp",
- "extension": false,
- "size": 32048613,
- "created_at": "2024-03-01 12:00:21 +0800"
}
]
}上传 dSYM 或 Proguard 打包成 zip 压缩调试文件
iOS: 使用 Zip 压缩后的 dSYM 文件Android: 使用 Zip 压缩后包含 mapping.txt、R.txt 和 AndroidManifest.xml 的文件| channel_key required | string 调试文件归属的应用渠道,主要省去再传设备类型 |
| file required | file 本地的调试文件 |
| release_version | string 主版本号 (Android 类型需要填写) |
| build_version | string 内部版本号 (Android 类型需要填写) |
{- "id": 31,
- "app_name": "First App",
- "device_type": "iOS",
- "release_version": "3.2.1",
- "build_version": "8621",
- "metadata": [
- {
- "id": 200,
- "category": "dSYM",
- "uuid": "2364df02-a44e-4859-9ea1-de25c93d54d5",
- "bundle_id": "im.ews.zealot.iphone.example",
- "name": "ExampleApp",
- "extension": false,
- "size": 32048613,
- "created_at": "2024-03-01 12:00:21 +0800"
}
]
}更新应用版本的版本、自定义字段、变更日志等信息
| id required | string 主键 ID |
| build_version | string 构建版本 |
| release_version | string 发布版本 |
| release_type | string 应用类型,比如 debug, beta, adhoc, release, enterprise 等 |
| source | string 上传渠道名称,默认是 |
Array of objects (ReleaseChangelog) 变更日志,接受纯文本或 JSON 格式化的数据 | |
| branch | string 代码控制软件的分支名 |
| git_commit | string 代码控制软件提交哈希值 |
| ci_url | string 持续构建系统构建 URL |
Array of objects (ReleaseCustomField) 这是一个用 JSON 字符串定义的自定义字段,图标可接受 fontawesome |
{- "build_version": "string",
- "release_version": "string",
- "release_type": "string",
- "source": "string",
- "changelog": [
- {
- "date": "2024-03-01 12:00:00 +0800",
- "author": "foo",
- "email": "foo@example.com",
- "message": "fixes bugs"
}
], - "branch": "string",
- "git_commit": "string",
- "ci_url": "string",
- "custom_fields": [
- {
- "icon": "fa-solid fa-flag",
- "name": "Country",
- "value": "China"
}
]
}{- "version": 100,
- "app_name": "Zealot",
- "bundle_id": "im.ews.zealot",
- "source": "API",
- "branch": "develop",
- "git_commit": "bc58e308dd1caf2226a402291839afbbdabcabf0",
- "size": 392173,
- "platform": "iOS",
- "device_type": "iPhone",
- "changelog": [
- {
- "date": "2024-03-01 12:00:00 +0800",
- "author": "foo",
- "email": "foo@example.com",
- "message": "fixes bugs"
}
], - "text_changelog": "- bump 1.1\\n-n fixes bugs",
- "custom_fields": [
- {
- "icon": "fa-solid fa-flag",
- "name": "Country",
- "value": "China"
}
], - "created_at": "2024-03-01 12:00:00 +0800"
}[- {
- "id": 1,
- "name": "Production",
- "new_build_callout": true,
- "retained_builds": 0,
- "channels": [
- {
- "id": 4,
- "name": "App Store",
- "slug": "Sk3y",
- "device_type": "Android",
- "bundle_id": "*",
- "has_password": false,
- "download_filename_type": "original"
}
]
}
]创建应用类型
| app_id required | string 应用 ID |
| name required | string 应用类型名 |
| new_build_callout | boolean Default: true 是否开启新版本提示,默认开启 |
| retained_builds | integer <int32> Default: 0 最大保留版本数,设置 |
{- "name": "string",
- "new_build_callout": true,
- "retained_builds": 0
}{- "id": 1,
- "name": "Production",
- "new_build_callout": true,
- "retained_builds": 0,
- "channels": [
- {
- "id": 4,
- "name": "App Store",
- "slug": "Sk3y",
- "device_type": "Android",
- "bundle_id": "*",
- "has_password": false,
- "download_filename_type": "original"
}
]
}更新应用类型的
| id required | string 主键 ID |
| name required | string 应用类型名 |
| new_build_callout | boolean Default: true 是否开启新版本提示,默认开启 |
| retained_builds | integer <int32> Default: 0 最大保留版本数,设置 |
{- "name": "string",
- "new_build_callout": true,
- "retained_builds": 0
}{- "id": 1,
- "name": "Production",
- "new_build_callout": true,
- "retained_builds": 0,
- "channels": [
- {
- "id": 4,
- "name": "App Store",
- "slug": "Sk3y",
- "device_type": "Android",
- "bundle_id": "*",
- "has_password": false,
- "download_filename_type": "original"
}
]
}创建用户
| username required | string 用户名 |
| email required | string 电子邮箱 |
| password required | string 密码 |
| locale | string Enum: "zh-CN" "en" 语言设置 |
| appearance | string Enum: "light" "dark" "auto" 外观设置 |
| timezone | string Enum: "Etc/GMT+12" "Pacific/Pago_Pago" "Pacific/Midway" "Pacific/Honolulu" "America/Juneau" "America/Los_Angeles" "America/Tijuana" "America/Phoenix" "America/Mazatlan" "America/Denver" "America/Guatemala" "America/Chicago" "America/Chihuahua" "America/Mexico_City" "America/Monterrey" "America/Regina" "America/Bogota" "America/New_York" "America/Indiana/Indianapolis" "America/Lima" "America/Halifax" "America/Caracas" "America/Guyana" "America/La_Paz" "America/Puerto_Rico" "America/Santiago" "America/St_Johns" "America/Sao_Paulo" "America/Argentina/Buenos_Aires" "America/Montevideo" "America/Godthab" "Atlantic/South_Georgia" "Atlantic/Azores" "Atlantic/Cape_Verde" "Europe/London" "Europe/Lisbon" "Africa/Monrovia" "Etc/UTC" "Europe/Amsterdam" "Europe/Belgrade" "Europe/Berlin" "Europe/Zurich" "Europe/Bratislava" "Europe/Brussels" "Europe/Budapest" "Africa/Casablanca" "Europe/Copenhagen" "Europe/Dublin" "Europe/Ljubljana" "Europe/Madrid" "Europe/Paris" "Europe/Prague" "Europe/Rome" "Europe/Sarajevo" "Europe/Skopje" "Europe/Stockholm" "Europe/Vienna" "Europe/Warsaw" "Africa/Algiers" "Europe/Zagreb" "Europe/Athens" "Europe/Bucharest" "Africa/Cairo" "Africa/Harare" "Europe/Helsinki" "Asia/Jerusalem" "Europe/Kaliningrad" "Europe/Kiev" "Africa/Johannesburg" "Europe/Riga" "Europe/Sofia" "Europe/Tallinn" "Europe/Vilnius" "Asia/Baghdad" "Europe/Istanbul" "Asia/Kuwait" "Europe/Minsk" "Europe/Moscow" "Africa/Nairobi" "Asia/Riyadh" "Europe/Volgograd" "Asia/Tehran" "Asia/Muscat" "Asia/Baku" "Europe/Samara" "Asia/Tbilisi" "Asia/Yerevan" "Asia/Kabul" "Asia/Almaty" "Asia/Yekaterinburg" "Asia/Karachi" "Asia/Tashkent" "Asia/Kolkata" "Asia/Colombo" "Asia/Kathmandu" "Asia/Dhaka" "Asia/Urumqi" "Asia/Rangoon" "Asia/Bangkok" "Asia/Jakarta" "Asia/Krasnoyarsk" "Asia/Novosibirsk" "Asia/Shanghai" "Asia/Chongqing" "Asia/Hong_Kong" "Asia/Irkutsk" "Asia/Kuala_Lumpur" "Australia/Perth" "Asia/Singapore" "Asia/Taipei" "Asia/Ulaanbaatar" "Asia/Tokyo" "Asia/Seoul" "Asia/Yakutsk" "Australia/Adelaide" "Australia/Darwin" "Australia/Brisbane" "Australia/Canberra" "Pacific/Guam" "Australia/Hobart" "Australia/Melbourne" "Pacific/Port_Moresby" "Australia/Sydney" "Asia/Vladivostok" "Asia/Magadan" "Pacific/Noumea" "Pacific/Guadalcanal" "Asia/Srednekolymsk" "Pacific/Auckland" "Pacific/Fiji" "Asia/Kamchatka" "Pacific/Majuro" "Pacific/Chatham" "Pacific/Tongatapu" "Pacific/Apia" "Pacific/Fakaofo" 时区设置 |
| role | string Default: "user" Enum: "member" "developer" "admin" 用户权限 |
{- "username": "string",
- "email": "string",
- "password": "string",
- "locale": "zh-CN",
- "appearance": "light",
- "timezone": "Etc/GMT+12",
- "role": "member"
}{- "id": 101,
- "username": "foo",
- "email": "foo@example.com",
- "locale": "zh-CN",
- "appearance": "light",
- "timezone": "Etc/GMT+12",
- "role": "member"
}更新用户的个性化设置、密码等
| id required | string 主键 ID |
| username required | string 用户名 |
| email required | string 电子邮箱 |
| password required | string 密码 |
| locale | string Enum: "zh-CN" "en" 语言设置 |
| appearance | string Enum: "light" "dark" "auto" 外观设置 |
| timezone | string Enum: "Etc/GMT+12" "Pacific/Pago_Pago" "Pacific/Midway" "Pacific/Honolulu" "America/Juneau" "America/Los_Angeles" "America/Tijuana" "America/Phoenix" "America/Mazatlan" "America/Denver" "America/Guatemala" "America/Chicago" "America/Chihuahua" "America/Mexico_City" "America/Monterrey" "America/Regina" "America/Bogota" "America/New_York" "America/Indiana/Indianapolis" "America/Lima" "America/Halifax" "America/Caracas" "America/Guyana" "America/La_Paz" "America/Puerto_Rico" "America/Santiago" "America/St_Johns" "America/Sao_Paulo" "America/Argentina/Buenos_Aires" "America/Montevideo" "America/Godthab" "Atlantic/South_Georgia" "Atlantic/Azores" "Atlantic/Cape_Verde" "Europe/London" "Europe/Lisbon" "Africa/Monrovia" "Etc/UTC" "Europe/Amsterdam" "Europe/Belgrade" "Europe/Berlin" "Europe/Zurich" "Europe/Bratislava" "Europe/Brussels" "Europe/Budapest" "Africa/Casablanca" "Europe/Copenhagen" "Europe/Dublin" "Europe/Ljubljana" "Europe/Madrid" "Europe/Paris" "Europe/Prague" "Europe/Rome" "Europe/Sarajevo" "Europe/Skopje" "Europe/Stockholm" "Europe/Vienna" "Europe/Warsaw" "Africa/Algiers" "Europe/Zagreb" "Europe/Athens" "Europe/Bucharest" "Africa/Cairo" "Africa/Harare" "Europe/Helsinki" "Asia/Jerusalem" "Europe/Kaliningrad" "Europe/Kiev" "Africa/Johannesburg" "Europe/Riga" "Europe/Sofia" "Europe/Tallinn" "Europe/Vilnius" "Asia/Baghdad" "Europe/Istanbul" "Asia/Kuwait" "Europe/Minsk" "Europe/Moscow" "Africa/Nairobi" "Asia/Riyadh" "Europe/Volgograd" "Asia/Tehran" "Asia/Muscat" "Asia/Baku" "Europe/Samara" "Asia/Tbilisi" "Asia/Yerevan" "Asia/Kabul" "Asia/Almaty" "Asia/Yekaterinburg" "Asia/Karachi" "Asia/Tashkent" "Asia/Kolkata" "Asia/Colombo" "Asia/Kathmandu" "Asia/Dhaka" "Asia/Urumqi" "Asia/Rangoon" "Asia/Bangkok" "Asia/Jakarta" "Asia/Krasnoyarsk" "Asia/Novosibirsk" "Asia/Shanghai" "Asia/Chongqing" "Asia/Hong_Kong" "Asia/Irkutsk" "Asia/Kuala_Lumpur" "Australia/Perth" "Asia/Singapore" "Asia/Taipei" "Asia/Ulaanbaatar" "Asia/Tokyo" "Asia/Seoul" "Asia/Yakutsk" "Australia/Adelaide" "Australia/Darwin" "Australia/Brisbane" "Australia/Canberra" "Pacific/Guam" "Australia/Hobart" "Australia/Melbourne" "Pacific/Port_Moresby" "Australia/Sydney" "Asia/Vladivostok" "Asia/Magadan" "Pacific/Noumea" "Pacific/Guadalcanal" "Asia/Srednekolymsk" "Pacific/Auckland" "Pacific/Fiji" "Asia/Kamchatka" "Pacific/Majuro" "Pacific/Chatham" "Pacific/Tongatapu" "Pacific/Apia" "Pacific/Fakaofo" 时区设置 |
| role | string Default: "user" Enum: "member" "developer" "admin" 用户权限 |
{- "username": "string",
- "email": "string",
- "password": "string",
- "locale": "zh-CN",
- "appearance": "light",
- "timezone": "Etc/GMT+12",
- "role": "member"
}{- "id": 101,
- "username": "foo",
- "email": "foo@example.com",
- "locale": "zh-CN",
- "appearance": "light",
- "timezone": "Etc/GMT+12",
- "role": "member"
}