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
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 platform you want to update |
platform | string | ✅ | New 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
Field | Type | Description |
---|---|---|
updatePlatformResult.Updated | boolean | Indicates 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