getHelpArticlesWithHttpInfo method
Returns the public knowledge base: the help center's Published, publicly-visible articles as cards.
Returns the public knowledge base: the help center's Published, publicly-visible articles as cards. The org is server-fixed and the status/is_public filter is server-set, so neither the tenant nor the visibility can be widened by the caller. A deployment with no help center answers 404.
Note: This method returns the HTTP Response.
Parameters:
Implementation
Future<Response> getHelpArticlesWithHttpInfo({ String? category, int? limit, }) async {
// ignore: prefer_const_declarations
final path = r'/v1/help/articles';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
if (category != null) {
queryParams.addAll(_queryParams('', 'category', category));
}
if (limit != null) {
queryParams.addAll(_queryParams('', 'limit', limit));
}
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}