Skip to main content

Update Arch

Update an existing architecture's identifier.

warning

Changing the architecture name might prevent existing apps from checking for new versions, as the architecture identifier will have changed.

Endpoint

POST /arch/update

Authentication

HeaderValue
AuthorizationBearer <jwt_token>

Request Body

The request uses multipart/form-data format with the following fields:

FieldTypeRequiredDescription
idstringThe ID of the architecture you want to update
archstringNew architecture identifier

Example Request

curl --location 'http://localhost:9000/arch/update' \
-H "Authorization: Bearer <jwt_token>" \
--form 'data="{\"id\":\"66ae13fe5b663c058367f893\", \"arch\":\"new_name\"}"'

Response

Success Response (200 OK)

{
"updateArchResult.Updated": true
}

Response Fields

FieldTypeDescription
updateArchResult.UpdatedbooleanIndicates whether the architecture was successfully updated

Notes

  • Architecture name changes should be done carefully as they may break existing client integrations
  • The change affects all future uploads using this architecture