Update existing app

Update existing app

POST https://APITOKEN@api.appetize.io/v1/apps/:publicKey

Updates existing app with a new build while maintaining same publicKey, or changes app settings. Your API token must be provisioned to the same account where the app was uploaded. To unset a previously set field, use a value of

null

. The POST body must be a JSON object.

Path Parameters

NameTypeDescription

publicKey

string

publicKey for the app

Request Body

NameTypeDescription

url

string

A publicly accessible link to your .zip, .tar.gz, or .apk file.

platform

string

ios or android, defaults to the current app platform.

fileType

string

The type of file that the url points to. Must be zip, tar.gz, or apk. Default is zip for ios, apk for android.

note

string

A note for your own purposes, will appear on your management dashboard.

timeout

number

The number of seconds to wait until automatically ending the session due to user inactivity. Must be 30, 60, 90, 120, 180, 300, 600, 1800, 3600 or 7200. Default is 120 or the account default if set.

disabled

boolean

Disables streaming for this app.

disableHome

boolean

Disables the home button on the iOS simulator when available.

useLastFrame

boolean

Show the last image on the screen in the simulator after session ends.

buttonText

string

Customize the message prompting the user to start the session, default is "Tap to play".

postSessionButtonText

string

Customize the message prompting the user to restart the session, default is "Tap to play".

launchUrl

string

Specify a deep link to bring your users to a specific location when your app is launched.

appPermissions

object

Values for each field determine who can perform the specified action.

See App Permissions for more information.

Values

authenticated - must be authenticated into your account

public - anybody with app's publicKey

null - resets to default

Fields

run

Run your app.

networkProxy

Specify a network proxy when running app.

networkIntercept

Use Appetize's intercepting proxy when running the app.

debugLog

View your app's NSLog/Logger or Logcat output.

adbConnect

Debug your app by connecting ADB to the hosted emulator.

androidPackageManager

Allow the installation of additional APK's while your app is running.

{
    "publicKey": "p7nww3n6ubq73r1nh9jtauqy8w",
    "created": "2016-02-10T17:46:14.089Z",
    "updated": "2016-02-10T17:46:14.089Z",
    "platform": "ios",
    "versionCode": 2 // increments with each update
}

Last updated