getPlatformProjectsByProjectWithHttpInfo method

Future<Response> getPlatformProjectsByProjectWithHttpInfo(
  1. String project
)

Returns one project and its app count.

Returns one project and its app count. It returns a single project of the caller's org with the number of platform applications under it. A project this org does not have is 404, which is also what another tenant's project looks like from here. 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> getPlatformProjectsByProjectWithHttpInfo(String project,) async {
  // ignore: prefer_const_declarations
  final path = r'/v1/platform/projects/{project}'
    .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,
  );
}