action rudder_api_general_informations { label: "List all endoints" description: "List all endpoints and their version" provider: rudder method: GET path: "/info" encoding: json output: { type: "object" required: ["action", "data", "result"] properties: { action: { type: "string" description: "The id of the action" enum: ["apiGeneralInformations"] } 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"] } } } }