Skip to main content
PATCH
/
application
/
{application_id}
curl --location --request PATCH 'https://autonoma.app/api/mobile/cm7dbowr80042waka7thyjhkq' \
--header 'autonoma-client-id: YOUR_CLIENT_ID' \
--header 'autonoma-client-secret: YOUR_CLIENT_SECRET' \
--header 'x-platform: android' \
--form 'file=@"/path/to/updated_app.apk"' \
--form 'tag=main' \
--form 'appName=My Android App v2.0'
{
  "application_version_id": "cm7dbowr80042waka7thyjhks",
  "message": "App version updated successfully"
}

Authorizations

autonoma-client-id
string
header
required

Client ID for authentication

autonoma-client-secret
string
header
required

Client secret for authentication

Headers

x-platform
enum<string>
required

Application platform type

Available options:
android,
ios,
web
Example:

"android"

Path Parameters

application_id
string
required

The ID of the application to update

Example:

"cm7dbowr80042waka7thyjhkq"

Body

multipart/form-data
file
file
required

Application file (APK for Android, ZIP for iOS)

tag
enum<string>

Version tag

Available options:
main,
staging,
other
Example:

"staging"

appName
string

Updated application name

Example:

"My Mobile App v2"

cookies
string

Optional cookies for web applications

Example:

"session=xyz789"

version
string

Version string (required for web applications)

Example:

"2.0.0"

path
string

URL path (required for web applications)

Example:

"https://myapp.com/v2"

geolocation
string

JSON string containing geolocation data

Example:

"{\"latitude\": 40.7128, \"longitude\": -74.0060}"

Response

Application version created successfully

application_version_id
string
Example:

"cm7dbowr80042waka7thyjhks"

message
string
Example:

"App uploaded successfully"

I