getGuideStrategiesWithHttpInfo method

Future<Response> getGuideStrategiesWithHttpInfo({
  1. String? category,
  2. String? stage,
  3. String? workload,
})

Strategies returns the ENABLED tactics corpus for the caller's org: the tactics library narrowed by the explicit category/workload filters AND by the org's OBSERVED growth stage and capability signals (a tactic's tags are preconditions, so it surfaces only once the org can act on it).

Strategies returns the ENABLED tactics corpus for the caller's org: the tactics library narrowed by the explicit category/workload filters AND by the org's OBSERVED growth stage and capability signals (a tactic's tags are preconditions, so it surfaces only once the org can act on it). Passing stage PREVIEWS the corpus at that stage instead of the observed one. The content is shared platform data — no org's records — and the read is never a billable effect.

Note: This method returns the HTTP Response.

Parameters:

  • String category: Category filters to tactics in exactly this category.

  • String stage: Stage previews the corpus at a chosen growth stage (research|formed|launched|activated|scaling), overriding the org's observed one. An unknown value is ignored and the observed stage stands.

  • String workload: Workload filters to tactics with exactly this workload.

Implementation

Future<Response> getGuideStrategiesWithHttpInfo({ String? category, String? stage, String? workload, }) async {
  // ignore: prefer_const_declarations
  final path = r'/v1/guide/strategies';

  // 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 (stage != null) {
    queryParams.addAll(_queryParams('', 'stage', stage));
  }
  if (workload != null) {
    queryParams.addAll(_queryParams('', 'workload', workload));
  }

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}