getPlatformProjectsByProjectAppsWithHttpInfo method

Future<Response> getPlatformProjectsByProjectAppsWithHttpInfo(
  1. String project
)

Returns the applications in one project, with what the cluster says about them.

Returns the applications in one project, with what the cluster says about them. It lists the caller org's applications under one project. Each row carries the stored record and, for an app that is live or deploying, the LIVE phase and health read from its operator Service CR; an app with sealed env also carries its secret-sync state. Those cluster reads are best-effort — an unreachable cluster leaves those fields empty and never blocks the listing. The project must exist in IAM for this org, or the answer is 404; the default project is implicit and always accepted, because it is part of what an org IS. Requires a validated principal; 403 without one.

Note: This method returns the HTTP Response.

Parameters:

  • String project (required): Project is the project's name, from the path.

Implementation

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

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