getPlatformAppsByAppWithHttpInfo method
Answers ONE declaration — what git says this app is, before the delivery plane has had any say in it.
Answers ONE declaration — what git says this app is, before the delivery plane has had any say in it.
Note: This method returns the HTTP Response.
Parameters:
-
String app (required): App is the DNS-1123 label of the declaration. The URL is the addressing authority — a path segment binds after the body and after the query — so the address decides which app is read whatever else is sent.
-
String org: Org names the organisation the declaration lives in, defaulting to the caller's own and subject to the same SuperAdmin rule as the listing.
Implementation
Future<Response> getPlatformAppsByAppWithHttpInfo(String app, { String? org, }) async {
// ignore: prefer_const_declarations
final path = r'/v1/platform/apps/{app}'
.replaceAll('{app}', app);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
if (org != null) {
queryParams.addAll(_queryParams('', 'org', org));
}
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}