getFeedPostsStatsWithHttpInfo method
Performs an HTTP 'GET /feed-posts/{tenantId}/stats' operation and returns the Response.
Parameters:
-
String tenantId (required):
-
List<String> postIds (required):
-
String sso:
Implementation
Future<Response> getFeedPostsStatsWithHttpInfo(String tenantId, List<String> postIds, [ String? sso ]) async {
// ignore: prefer_const_declarations
final path = r'/feed-posts/{tenantId}/stats'
.replaceAll('{tenantId}', tenantId);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
queryParams.addAll(_queryParams('multi', 'postIds', postIds));
if (sso != null) {
queryParams.addAll(_queryParams('', 'sso', sso));
}
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}