action rudder_list_techniques_directives { label: "List all directives based on a technique" description: "List all directives based on all version of a technique" provider: rudder method: GET path: "/techniques/{techniqueId}/directives" encoding: json output: { type: "object" required: ["action", "data", "result"] properties: { action: { type: "string" description: "The id of the action" enum: ["listTechniquesDirectives"] } data: { type: "object" required: ["directives"] properties: { directives: { type: "array" items: { type: "object" properties: { displayName: { type: "string" description: "Human readable name of the directive" } enabled: { type: "boolean" description: "Is the directive enabled" } id: { type: "string" format: "uuid" description: "Directive id" } longDescription: { type: "string" format: "markdown" description: "Description of the technique (rendered as markdown)" } parameters: { type: "object" description: "Directive parameters (depends on the source technique)" } policyMode: { type: "string" description: "Policy mode of the directive" enum: ["enforce", "audit"] } priority: { type: "integer" description: "Directive priority. `0` has highest priority." } shortDescription: { type: "string" description: "One line directive description" } system: { type: "boolean" description: "If true it is an internal Rudder directive" } tags: { type: "array" items: { type: "object" properties: { name: { type: "string" description: "Value of the `name` key" } } } } techniqueName: { type: "string" description: "Directive id" } techniqueVersion: { type: "string" description: "Directive id" } } } } } } result: { type: "string" description: "Result of the request" enum: ["success", "error"] } } } }