{
  "name": "Playground API (Bruno) — Auth",
  "version": "1",
  "variables": [
    {
      "name": "baseUrl",
      "value": "http://playground-api-xi.vercel.app"
    }
  ],
  "items": [
    {
      "name": "POST /auth/login",
      "type": "http",
      "request": {
        "method": "POST",
        "url": "{{baseUrl}}/auth/login",
        "headers": [
          {
            "name": "Content-Type",
            "value": "application/json"
          }
        ],
        "body": {
          "mode": "json",
          "json": "{\n  \"username\": \"Bret\",\n  \"password\": \"password123\"\n}"
        }
      }
    },
    {
      "name": "POST /auth/register",
      "type": "http",
      "request": {
        "method": "POST",
        "url": "{{baseUrl}}/auth/register",
        "headers": [
          {
            "name": "Content-Type",
            "value": "application/json"
          }
        ],
        "body": {
          "mode": "json",
          "json": "{\n  \"name\": \"Alice Smith\",\n  \"username\": \"alice\",\n  \"email\": \"alice@example.com\",\n  \"password\": \"password123\"\n}"
        }
      }
    },
    {
      "name": "POST /auth/refresh",
      "type": "http",
      "request": {
        "method": "POST",
        "url": "{{baseUrl}}/auth/refresh",
        "headers": [
          {
            "name": "Content-Type",
            "value": "application/json"
          }
        ],
        "body": {
          "mode": "json",
          "json": "{\n  \"refreshToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6...\"\n}"
        }
      }
    },
    {
      "name": "GET /auth/me",
      "type": "http",
      "request": {
        "method": "GET",
        "url": "{{baseUrl}}/auth/me",
        "headers": [
          {
            "name": "Content-Type",
            "value": "application/json"
          }
        ],
        "body": null
      }
    },
    {
      "name": "PATCH /auth/me",
      "type": "http",
      "request": {
        "method": "PATCH",
        "url": "{{baseUrl}}/auth/me",
        "headers": [
          {
            "name": "Content-Type",
            "value": "application/json"
          }
        ],
        "body": {
          "mode": "json",
          "json": "{\n  \"name\": \"Bret - Updated Profile\",\n  \"email\": \"bret.new@example.com\"\n}"
        }
      }
    }
  ]
}