Zealot API (v1.4)
Download OpenAPI specification:Download
This documentation doesn't provide a way to test our API. In order to facilitate testing, we recommend the following tools:
- cURL (recommended, command-line)
- Bruno
- Postman
- Your web browser, if you don't need to send headers or a request body
Once you have a working client, you can test that it works by making a GET request to {host}/version:
{
"version": "5.3.7",
"vcs_ref": "effe99c25b79fd55d3e1959ea3af0bcb6b75ba1d",
"build_date": "2024-05-23T06:04:48.989Z"
}
This API only accepts one options for authentication: Personal access tokens.
All tokens are tied to a Zealot user and use the token
query of the request.
Example:
https://tryzealot.ews.im/api/users?token={token}
Personal access tokens
Personal access tokens (PATs) can be found in from the user settings.
List Apps
Lists all apps, paginated and sorted by created date (newest first)
Authorizations:
query Parameters
page | integer <int32> >= 1 Default: 1 Pagination page |
per_page | integer <int32> [ 1 .. 100 ] Default: 25 Page size |
Responses
Response samples
- 200
- 401
[- {
- "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
}
]
}
]
}
]
Create an App
Create an App
Authorizations:
Request Body schema: required
name required | string App name |
Responses
Request samples
- Payload
{- "name": "string"
}
Response samples
- 201
- 401
{- "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
}
]
}
], - "collaborators": [
- {
- "id": 2,
- "username": "foo",
- "email": "foo@example.com",
- "role": "developer"
}
]
}
Check version build exists
Allows you to check the Release exists by given query, query accepts two combo group:
bundle_id
,release_version
andbuild_verion
bundle_id
andgit_commit
query Parameters
channel_key required | string Channel key |
bundle_id required | string
|
git_commit | string Git Commit SHA |
release_version | string Release version |
build_version | string Build version |
Responses
Response samples
- 200
- 404
{- "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
}
]
}
], - "collaborators": [
- {
- "id": 2,
- "username": "foo",
- "email": "foo@example.com",
- "role": "developer"
}
]
}
Get version builds
Query the list of uploaded versions of the single channel and the version list downwards
query Parameters
channel_key required | string Channel key |
page | integer <int32> >= 1 Default: 1 Pagination page |
per_page | integer <int32> [ 1 .. 100 ] Default: 25 Page size |
Responses
Response samples
- 200
- 404
{- "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
}
]
}
], - "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
}
]
}, - "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": "fas fa-flag",
- "name": "Country",
- "value": "China"
}
], - "created_at": "2024-03-01 12:00:00 +0800"
}
]
}
Get the latest builds
Query a list of latest versions of the single channel of the application and reverse the upload date
query Parameters
channel_key required | string Channel key |
bundle_id | string |
release_version required | string |
build_version required | string |
Responses
Response samples
- 200
- 404
{- "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
}
]
}
], - "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
}
]
}, - "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": "fas fa-flag",
- "name": "Country",
- "value": "China"
}
], - "created_at": "2024-03-01 12:00:00 +0800"
}
]
}
Upload build of App
Upload a iOS, Android, macOS, Windows or Linux App
Authorizations:
Request Body schema: multipart/form-data
channel_key required | string Channel key, keep it empty to create a new App |
file required | file The location of upload App binary file |
name | string the name of App. Use app name from parsed metadata in given file if leave it empty |
password | string visit password, clear it if leave it empty |
release_type | string Release type, for example, debug, beta, adhoc, release, enterprise etc |
source | string the source of upload (default is |
Array of objects (ReleaseChangelog) Change log, accept plain text or JSON formatted data | |
branch | string a branch name from source control tool |
git_commit | string Git Commit SHA value |
ci_url | string the build url of a CI service |
Array of objects (ReleaseCustomField) JSON formatted custom fields, icon only accepts fontawesome. |
Responses
Response samples
- 201
- 401
- 404
{- "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
}
]
}
], - "collaborators": [
- {
- "id": 2,
- "username": "foo",
- "email": "foo@example.com",
- "role": "developer"
}
]
}
Response samples
- 200
- 401
- 404
{- "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
}
]
}
], - "collaborators": [
- {
- "id": 2,
- "username": "foo",
- "email": "foo@example.com",
- "role": "developer"
}
]
}
Update an App
Rename the App's name
Authorizations:
path Parameters
id required | string |
Request Body schema: required
name required | string App name |
Responses
Request samples
- Payload
{- "name": "string"
}
Response samples
- 200
- 401
- 404
{- "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
}
]
}
], - "collaborators": [
- {
- "id": 2,
- "username": "foo",
- "email": "foo@example.com",
- "role": "developer"
}
]
}
Response samples
- 200
- 401
- 404
[- {
- "id": 4,
- "name": "App Store",
- "slug": "Sk3y",
- "device_type": "Android",
- "bundle_id": "*",
- "has_password": false
}
]
Create a channel
Create a scheme's channel
Authorizations:
path Parameters
scheme_id required | string |
Request Body schema: required
name required | string Channel name |
device_type required | string Enum: "ios" "android" "harmonyos" "macos" "windows" "linux" Device type |
slug | string The slug of Channel, random it if not given |
bundle_id | string identifier valid check, set |
git_url | string Git repository URL |
password | string Enable password visit |
Responses
Request samples
- Payload
{- "name": "string",
- "device_type": "ios",
- "slug": "string",
- "bundle_id": "string",
- "git_url": "string",
- "password": "string"
}
Response samples
- 201
- 401
- 404
{- "id": 4,
- "name": "App Store",
- "slug": "Sk3y",
- "device_type": "Android",
- "bundle_id": "*",
- "has_password": false
}
Update a channel
Update a channel
Authorizations:
path Parameters
id required | string |
Request Body schema: required
name required | string Channel name |
device_type required | string Enum: "ios" "android" "harmonyos" "macos" "windows" "linux" Device type |
slug | string The slug of Channel, random it if not given |
bundle_id | string identifier valid check, set |
git_url | string Git repository URL |
password | string Enable password visit |
Responses
Request samples
- Payload
{- "name": "string",
- "device_type": "ios",
- "slug": "string",
- "bundle_id": "string",
- "git_url": "string",
- "password": "string"
}
Response samples
- 200
- 401
- 404
{- "id": 4,
- "name": "App Store",
- "slug": "Sk3y",
- "device_type": "Android",
- "bundle_id": "*",
- "has_password": false
}
Add a collaborator to an App
Add a collaborator to an App
Authorizations:
path Parameters
app_id required | string |
user_id required | string |
Request Body schema: required
role required | string Enum: "member" "developer" "admin" Role name |
Responses
Request samples
- Payload
{- "role": "member"
}
Response samples
- 201
- 401
- 404
{- "id": 2,
- "username": "foo",
- "email": "foo@example.com",
- "role": "developer"
}
Update a collaborator's role
Update a Collaborator's role
Authorizations:
path Parameters
app_id required | string |
user_id required | string |
Request Body schema: required
role required | string Enum: "member" "developer" "admin" Role name |
Responses
Request samples
- Payload
{- "role": "member"
}
Response samples
- 200
- 401
- 404
{- "id": 2,
- "username": "foo",
- "email": "foo@example.com",
- "role": "developer"
}
List debug files
List debug files by an App's channel key.
query Parameters
channel_key required | string Channel key |
page | integer <int32> >= 1 Default: 1 Pagination page |
per_page | integer <int32> [ 1 .. 100 ] Default: 25 Page size |
Responses
Response samples
- 200
- 401
[- {
- "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"
}
]
}
]
Download debug file
Download a single iOS or Android debug file.
To query based on channel_key and release_version as necessary conditions, without passing the build_version parameter, you can use order to get the first debug file address that meets the sorting criteria. The sorting methods are:
version
: latest versionupload_date
: last uploaded date
query Parameters
channel_key required | string Channel key |
release_version required | string Release version |
build_version | string Build version |
order | string Sort by order / Supported values in version, upload_date |
Responses
Response samples
- 200
- 401
- 404
{- "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"
}
]
}
Upload a debug file
Upload a dSYM or Proguard file which it was archived with zip formatted whit it accepts:
iOS
: a Zipped dSYM fileAndroid
: a Zipped file includes mapping.txt, R.txt or AndroidManifest.xml files.
Authorizations:
Request Body schema: multipart/form-data
channel_key required | string Channel key |
file required | file Zip arichved file (dSYM or Proguard) |
release_version | string Release version (requires if Android's Proguard file) |
build_version | string Build version (requires if Android's Proguard file) |
Responses
Response samples
- 200
- 401
- 404
{- "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"
}
]
}
Update a build metedata
Update a build of app verison, custom_fileds, changelog etc
Authorizations:
path Parameters
id required | string |
Request Body schema: required
build_version | string Build version |
release_version | string Release version |
release_type | string Translation missing: en.api.definitions.release_options.properties.release_type |
source | string the source of upload (default is |
Array of objects (ReleaseChangelog) Change log, accept plain text or JSON formatted data | |
branch | string a branch name from source control tool |
git_commit | string Git Commit SHA value |
ci_url | string the build url of a CI service |
Array of objects (ReleaseCustomField) JSON formatted custom fields, icon only accepts fontawesome. |
Responses
Request samples
- Payload
{- "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": "fas fa-flag",
- "name": "Country",
- "value": "China"
}
]
}
Response samples
- 200
- 401
- 404
{- "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": "fas fa-flag",
- "name": "Country",
- "value": "China"
}
], - "created_at": "2024-03-01 12:00:00 +0800"
}
Response samples
- 200
- 401
- 404
[- {
- "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
}
]
}
]
Create an App's scheme
Create an App's scheme
Authorizations:
path Parameters
app_id required | string |
Request Body schema: required
name required | string Scheme name |
new_build_callout | boolean Default: true Whether to send a notification when a new build is available |
retained_builds | integer <int32> Default: 0 The number of builds to retain for this scheme, set |
Responses
Request samples
- Payload
{- "name": "string",
- "new_build_callout": true,
- "retained_builds": 0
}
Response samples
- 201
- 401
- 404
{- "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
}
]
}
Update a scheme
Update an App's scheme
Authorizations:
path Parameters
id required | string |
Request Body schema: required
name required | string Scheme name |
new_build_callout | boolean Default: true Whether to send a notification when a new build is available |
retained_builds | integer <int32> Default: 0 The number of builds to retain for this scheme, set |
Responses
Request samples
- Payload
{- "name": "string",
- "new_build_callout": true,
- "retained_builds": 0
}
Response samples
- 200
- 401
- 404
{- "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
}
]
}
List users
List users without secreted value (password)
Authorizations:
path Parameters
id required | string |
Responses
Response samples
- 200
- 401
- 404
[- {
- "id": 101,
- "username": "foo",
- "email": "foo@example.com",
- "locale": "zh-CN",
- "appearance": "light",
- "timezone": "Etc/GMT+12",
- "role": "member"
}
]
Create a user
Create an user
Authorizations:
Request Body schema: required
username required | string Username |
email required | string |
password required | string Password |
locale | string Enum: "zh-CN" "en" Language |
appearance | string Enum: "light" "dark" "auto" Appearance |
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" Time zone |
role | string Default: "user" Enum: "member" "developer" "admin" User role |
Responses
Request samples
- Payload
{- "username": "string",
- "email": "string",
- "password": "string",
- "locale": "zh-CN",
- "appearance": "light",
- "timezone": "Etc/GMT+12",
- "role": "member"
}
Response samples
- 201
- 401
- 404
{- "id": 101,
- "username": "foo",
- "email": "foo@example.com",
- "locale": "zh-CN",
- "appearance": "light",
- "timezone": "Etc/GMT+12",
- "role": "member"
}
Get a user
Get a user metadata, personal data and customize settings
Authorizations:
path Parameters
id required | string |
Responses
Response samples
- 200
- 401
- 404
{- "id": 101,
- "username": "foo",
- "email": "foo@example.com",
- "locale": "zh-CN",
- "appearance": "light",
- "timezone": "Etc/GMT+12",
- "role": "member"
}
Update a user
Update user personalized settings, password, etc.
Authorizations:
path Parameters
id required | string |
Request Body schema: required
username required | string Username |
email required | string |
password required | string Password |
locale | string Enum: "zh-CN" "en" Language |
appearance | string Enum: "light" "dark" "auto" Appearance |
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" Time zone |
role | string Default: "user" Enum: "member" "developer" "admin" User role |
Responses
Request samples
- Payload
{- "username": "string",
- "email": "string",
- "password": "string",
- "locale": "zh-CN",
- "appearance": "light",
- "timezone": "Etc/GMT+12",
- "role": "member"
}
Response samples
- 200
- 401
- 404
{- "id": 101,
- "username": "foo",
- "email": "foo@example.com",
- "locale": "zh-CN",
- "appearance": "light",
- "timezone": "Etc/GMT+12",
- "role": "member"
}
Search user
Search user by given an email address
Authorizations:
query Parameters
email required | path |
Responses
Response samples
- 200
- 401
- 404
[- {
- "id": 101,
- "username": "foo",
- "email": "foo@example.com",
- "locale": "zh-CN",
- "appearance": "light",
- "timezone": "Etc/GMT+12",
- "role": "member"
}
]