{
  "opencollection": "1.0.0",
  "info": {
    "name": "Unity Analytics Allocations Events API",
    "version": "v1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-api-key",
      "value": "{{x-api-key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Events",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Record Analytics Events",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://analytics.services.api.unity.com/v1/projects/:projectId/events",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Records one or more analytics events from a game client or server. Events are batched and sent together for efficiency."
        },
        {
          "info": {
            "name": "Validate Analytics Events",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://analytics.services.api.unity.com/v1/projects/:projectId/events:validate",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Validates analytics events without recording them. Used to test event schemas before publishing to production."
        }
      ]
    }
  ],
  "bundled": true
}