getPlatformProjectsByProjectAppsByAppDeploymentsWithHttpInfo method
Returns an app's deployment history.
Returns an app's deployment history. It lists every deployment recorded for one of the caller org's applications, newest version first, each with its version, status, source, commit and image. Failed and superseded attempts are included — that is the point of a history. Requires a validated principal; 403 without one.
Note: This method returns the HTTP Response.
Parameters:
Implementation
Future<Response> getPlatformProjectsByProjectAppsByAppDeploymentsWithHttpInfo(String project, String app,) async {
// ignore: prefer_const_declarations
final path = r'/v1/platform/projects/{project}/apps/{app}/deployments'
.replaceAll('{project}', project)
.replaceAll('{app}', app);
// 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,
);
}