getBaseBasesByOrgWithHttpInfo method
Describes ONE org's Base — whether its store exists, and what it occupies.
Describes ONE org's Base — whether its store exists, and what it occupies. The org must be one the caller's token carries; any other is not found, so this cannot be used to learn which orgs exist. That check is the same membership set the listing is built from, which is why the two can never disagree about what a caller may see.
Note: This method returns the HTTP Response.
Parameters:
- String org (required): Org is the org whose Base to describe, from the path. An org the caller's token does not carry is not found — the same answer a nonexistent one gets, so the listing cannot be used to discover which orgs exist.
Implementation
Future<Response> getBaseBasesByOrgWithHttpInfo(String org,) async {
// ignore: prefer_const_declarations
final path = r'/v1/base/bases/{org}'
.replaceAll('{org}', org);
// 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,
);
}