getPlatformReleasesWithHttpInfo method
Returns the versions that actually reached the cluster.
Returns the versions that actually reached the cluster. It lists the org's releases: the deployments that were genuinely applied to the cluster, with the app they belong to, their version, environment, status and when they were released. A deployment that failed or is still building is NOT a release and is excluded — reaching the cluster is what makes one. Requires a validated principal; 403 without one.
Note: This method returns the HTTP Response.
Implementation
Future<Response> getPlatformReleasesWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/v1/platform/releases';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}