action rudder_get_group_tree { label: "Get groups tree" description: "Get all available groups and their categories in a tree" provider: rudder method: GET path: "/groups/tree" encoding: json output: { type: "object" required: ["action", "data", "result"] properties: { action: { type: "string" description: "The id of the action" enum: ["GetGroupTree"] } data: { type: "object" required: ["groupCategories"] properties: { groupCategories: { type: "object" description: "Group tree" } } } result: { type: "string" description: "Result of the request" enum: ["success", "error"] } } } }