Update application
Update an existing application's metadata including name, logo, and description.
warning
Changing the application name might prevent existing apps from checking for new versions, as the application name will have changed.
Endpoint
POST /app/update
Authentication
| Header | Value |
|---|---|
Authorization | Bearer <jwt_token> |
Request Body
The request uses multipart/form-data format with the following fields:
| Field | Type | Required | Description |
|---|---|---|---|
id | string | ✅ | The ID of the application you want to update |
app | string | ❌ | New application name |
file | file | ❌ | New logo for the application |
description | string | ❌ | New application description |
tuf | boolean | ❌ | Enable TUF framework for application |
cdn | boolean | ❌ | Enable or disable API response caching on S3. Cannot be enabled for private apps |
download_mode | string | ❌ | Private apps only: unlisted or strict, who may download artifacts and check for updates |
Example Request
curl --location 'http://localhost:9000/app/update' \
-H "Authorization: Bearer <jwt_token>" \
--form 'data="{\"id\":\"66ae13fe5b663c058367f893\", \"app\":\"new_name\", \"tuf\": \"true\", \"cdn\": \"true\"}"'
Response
Success Response (200 OK)
{
"updateAppResult.Updated": true
}
Response Fields
| Field | Type | Description |
|---|---|---|
updateAppResult.Updated | boolean | Indicates whether the application was successfully updated |
Notes
- Only the fields you provide will be updated - omitted fields remain unchanged
- The
filefield accepts common image formats (PNG, JPG, etc.) - Application name changes should be done carefully as they may break existing client integrations
- Set
cdntotrueto cache API responses on S3, orfalseto disable this caching cdn: trueon a private app is rejected with400download_modeon a public app, or with a value other thanunlisted/strict, is rejected with400. A change takes effect on the next request: responses of private apps are never cachedprivateitself cannot be changed after creation