Skip to content

Patch an App version instance
Stable

Request

Security
apiKey
Path
version_idstring, (uuid)required

A UUID string identifying this app version.

application_idstring, (uuid)required

A UUID string identifying this application.

enterprise_idstringrequired

A UUID string identifying enterprise.

Body*/*
release_namestring(Release name)

Name of the Release

release_commentsstring(Release comments)

Additional comments about the release

release_trackstring(Release track)

Description of the content

Enum:"Alpha""Beta""Production"
is_enabledboolean(Is Enabled)

Is the app version enabled

min_sdk_versionstring(Minimum SDK version)

Version number of minimum SDK version that supports this app version

target_sdk_versionstring(Target SDK version)

Target SDK version that supports this app version

build_numberstring(Build Number)

Build number of this app version

version_codestring(Version Code)

Verion code of this app version

approval_statusstring(Approval Status)

Approval status of this app version

Enum:"AVAILABLE""ACCEPTED""APPROVED""REJECTED"
is_defaultboolean(Is default)

Is the app version default

cURL
curl -i -X PATCH \
  'https://develop-api.esper.io/_mock/openapi/enterprise/{enterprise_id}/application/{application_id}/version/{version_id}/' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: */*' \
  -d '{
    "release_name": "string",
    "release_comments": "string",
    "release_track": "Alpha",
    "is_enabled": true,
    "min_sdk_version": "string",
    "target_sdk_version": "string",
    "build_number": "string",
    "version_code": "string",
    "approval_status": "AVAILABLE",
    "is_default": true
  }'

Responses

successful operation

Bodyapplication/json
idstring, (uuid)(Id)read-only
installed_countinteger(Installed count)read-only
permissionsArray of objects(AppPermission)required
app_filestring, (url)(App file)read-only
app_iconstring or null, (url)(App icon)read-only
version_codestring, [ 1 .. 50 ] characters(Version code)required
build_numberstring or null, [ 1 .. 100 ] characters(Build number)
size_in_mbnumber(Size in mb)
hash_stringstring(Hash string)
release_namestring or null, [ 1 .. 255 ] characters(Release name)
release_commentsstring or null, non-empty(Release comments)
release_trackstring or null(Release track)
Enum:"Alpha""Beta""Production"
created_onstring, (date-time)(Created on)read-only
updated_onstring, (date-time)(Updated on)read-only
min_sdk_versionstring or null, [ 1 .. 10 ] characters(Min sdk version)
target_sdk_versionstring or null, [ 1 .. 10 ] characters(Target sdk version)
is_enabledboolean(Is enabled)
is_defaultboolean(Is Default)
enterprisestring, (url)(Enterprise)required
applicationstring, (url)(Application)
approval_statusstring(Application status)
Enum:"AVAILABLE""ACCEPTED""APPROVED""REJECTED"
Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "installed_count": 0, "permissions": [ {} ], "app_file": "string", "app_icon": "string", "version_code": "string", "build_number": "string", "size_in_mb": 0, "hash_string": "string", "release_name": "string", "release_comments": "string", "release_track": "Alpha", "created_on": "2019-08-24T14:15:22Z", "updated_on": "2019-08-24T14:15:22Z", "min_sdk_version": "string", "target_sdk_version": "string", "is_enabled": true, "is_default": true, "enterprise": "string", "application": "string", "approval_status": "AVAILABLE" }