{
  "info": {
    "name": "Avantsg API v1",
    "_postman_id": "api-v1-collection",
    "description": "Versioned API (v1) using environment-level variables, Basic Auth, Origin header, and grouped folders.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },

  "auth": {
    "type": "basic",
    "basic": [
      { "key": "username", "value": "{{username}}", "type": "string" },
      { "key": "password", "value": "{{password}}", "type": "string" }
    ]
  },

  "item": [
    {
      "name": "Health",
      "item": [
        {
          "name": "Health Check",
          "request": {
            "method": "GET",
            "header": [
              { "key": "Origin", "value": "{{origin}}", "type": "text" },
              { "key": "Token", "value": "{{token}}", "type": "text" },
              { "key": "Accept", "value": "{{accept}}", "type": "text" }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/health/status",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "health", "status"]
            }
          }
        },
        {
          "name": "Error Check",
          "request": {
            "method": "GET",
            "header": [
              { "key": "Origin", "value": "{{origin}}", "type": "text" },
              { "key": "Token", "value": "{{token}}", "type": "text" },
              { "key": "Accept", "value": "{{accept}}", "type": "text" }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/health/error",
              "host": ["{{baseUrl}}"],
              "path": ["v1", "health", "error"]
            }
          }
        }
      ]
    }
  ]
}
