Warcraft Logs Analysis

Warcraft Logs Analysis · GPT-Aktionen

WarcraftLogs API

OpenAPI specification for WarcraftLogs GraphQL API

  • POST /clientExecute a GraphQL query
Ursprüngliches API-Schema
{
  "openapi": "3.1.0",
  "info": {
    "title": "WarcraftLogs API",
    "description": "OpenAPI specification for WarcraftLogs GraphQL API",
    "version": "v2.0.0"
  },
  "servers": [
    {
      "url": "https://www.warcraftlogs.com/api/v2"
    }
  ],
  "paths": {
    "/client": {
      "post": {
        "summary": "Execute a GraphQL query",
        "operationId": "executePublicGraphQLQuery",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "query": {
                    "type": "string",
                    "description": "GraphQL query string"
                  },
                  "variables": {
                    "type": "object",
                    "additionalProperties": true,
                    "description": "Variables for the GraphQL query"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "additionalProperties": true,
                      "description": "Data returned by the GraphQL query"
                    },
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true,
                        "description": "Errors returned by the GraphQL query, if any"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {}
  }
}