getPlatformProjectsByProjectAppsByAppDeploymentsByIdWithHttpInfo method

Future<Response> getPlatformProjectsByProjectAppsByAppDeploymentsByIdWithHttpInfo(
  1. String project,
  2. String app,
  3. String id
)

Returns one deployment of one app.

Returns one deployment of one app. It returns a single deployment by id, scoped to the named application of the caller's org — so an id belonging to another app or another tenant is 404, not a read. Requires a validated principal; 403 without one.

Note: This method returns the HTTP Response.

Parameters:

  • String project (required): Project is the project the application lives under, from the path.

  • String app (required): App is the application's slug, from the path.

  • String id (required): ID is the deployment's id, from the path.

Implementation

Future<Response> getPlatformProjectsByProjectAppsByAppDeploymentsByIdWithHttpInfo(String project, String app, String id,) async {
  // ignore: prefer_const_declarations
  final path = r'/v1/platform/projects/{project}/apps/{app}/deployments/{id}'
    .replaceAll('{project}', project)
    .replaceAll('{app}', app)
    .replaceAll('{id}', id);

  // 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,
  );
}