getProjectsWithHttpInfo method

Future<Response> getProjectsWithHttpInfo()

Returns every project your org owns.

Returns every project your org owns. Each row carries the slug, name, framework, visibility, status and live URL — the same rows console and the builder render, because there is only one store behind both. It requires a validated principal (403 without one) and is keyed by that principal's org, so it never contains another tenant's project.

Note: This method returns the HTTP Response.

Implementation

Future<Response> getProjectsWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/v1/projects';

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