getDestinationByPlatformWithHttpInfo method
Reports one destination's card for the caller's org — its config fields, its connection state, and whether a credential resolves right now.
Reports one destination's card for the caller's org — its config fields, its connection state, and whether a credential resolves right now. A platform this deployment does not carry is not found.
Note: This method returns the HTTP Response.
Parameters:
- String platform (required): Platform is the destination to act on, from the path: ga4 | meta | tiktok | linkedin | x | reddit | insights | analytics.
Implementation
Future<Response> getDestinationByPlatformWithHttpInfo(String platform,) async {
// ignore: prefer_const_declarations
final path = r'/v1/destination/{platform}'
.replaceAll('{platform}', platform);
// 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,
);
}