Skip to main content

Update Platform

Update an existing platform's name.

warning

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

Endpoint

POST /platform/update

Authentication

HeaderValue
AuthorizationBearer <jwt_token>

Request Body

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

FieldTypeRequiredDescription
idstringThe ID of the platform you want to update
platformstringNew platform name

Example Request

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

Response

Success Response (200 OK)

{
"updatePlatformResult.Updated": true
}

Response Fields

FieldTypeDescription
updatePlatformResult.UpdatedbooleanIndicates whether the platform was successfully updated

Notes

  • Platform name changes should be done carefully as they may break existing client integrations
  • The change affects all future uploads and searches using this platform