action rudder_api_sub_informations { label: "Get information on endpoint in a section" description: "Get all endpoints in the given section with their supported version." provider: rudder method: GET path: "/info/{sectionId}" encoding: json input: { type: "object" properties: { sectionId: { type: "string" } } required: ["sectionId"] additionalProperties: false } output: { type: "object" required: ["action", "data", "result"] properties: { action: { type: "string" description: "The id of the action" enum: ["apiSubInformations"] } data: { type: "object" required: ["availableVersions", "documentation", "endpoints"] properties: { availableVersions: { type: "array" items: { type: "object" properties: { all: { type: "array" description: "List of API version and status" items: { type: "object" properties: { all: { type: "array" description: "List of API version and status" items: { type: "object" required: ["version", "status"] properties: { status: { type: "object" additionalProperties: true } version: { type: "object" additionalProperties: true } } } } latest: { type: "integer" description: "Latest API version available" } } } } latest: { type: "integer" description: "Latest API version available" } } } } documentation: { type: "string" description: "Link to Rudder API description" } endpoints: { type: "array" items: { type: "array" items: { type: "object" description: "objects with two fields, the first one has the endpoint name as key and its description as value, the second one has HTTP verb to use (GET, POST PUT, DELETE) as key and the supported version an API path for value." properties: { endpointName: { type: "string" description: "The endpoint name for key and its description for value" } httpVerb: { format: "The HTTP verb for the endpoint for key and the supported version and API path for value" type: "object" } } } } } } } result: { type: "string" description: "Result of the request" enum: ["success", "error"] } } } }