getPlatformPipelinesWithHttpInfo method

Future<Response> getPlatformPipelinesWithHttpInfo()

Returns one build-and-deploy pipeline per app, with its latest run.

Returns one build-and-deploy pipeline per app, with its latest run. It returns one pipeline per application in the caller's org — its repo or image source, its current status, and when its most recent deployment ran and how long it took. A pipeline is a PROJECTION of an app plus its newest deployment, not a separate record: it comes into existence with the app and is triggered only through /deploy, never here. Requires a validated principal; 403 without one.

Note: This method returns the HTTP Response.

Implementation

Future<Response> getPlatformPipelinesWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/v1/platform/pipelines';

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