Queries the list of versions to which a specified application type can be upgraded.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-beijing |
| ApplicationId |
string |
No |
The application ID. |
pa-************** |
| ApplicationType |
string |
No |
The application type. |
supabase |
| Components |
array<object> |
No |
The list of application subcomponents. |
|
|
object |
No |
|||
| ComponentType |
string |
No |
The type of the application subcomponent. |
gateway |
| ComponentClass |
string |
No |
The specifications of the application subcomponent. |
polar.app.g2.medium |
| ComponentReplica |
integer |
No |
The number of replicas for the application subcomponent. Default value: 1. |
1 |
| ComponentMaxReplica |
integer |
No |
The maximum number of application subcomponents of the same specifications. Default value: the value of ComponentReplica. This parameter is supported only by raycluster applications. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF |
| LatestVersion |
string |
The latest version. |
1.0.2 |
| Versions |
array<object> |
The list of versions. |
|
|
object |
The version details. |
||
| ReleaseType |
string |
The release type. |
Stable |
| VersionDescription |
string |
The version description. |
1.0.2 |
| Version |
string |
The version number. |
1.0.2 |
| ReleaseNote |
string |
The release notes of the version. |
release |
| ReleaseDate |
string |
The release date. |
2019-08-01T00:00:00Z |
Examples
Success response
JSON format
{
"RequestId": "3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF",
"LatestVersion": "1.0.2",
"Versions": [
{
"ReleaseType": "Stable",
"VersionDescription": "1.0.2",
"Version": "1.0.2",
"ReleaseNote": "release",
"ReleaseDate": "2019-08-01T00:00:00Z"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.