{
  "info": {
    "name": "CVasAPI v1",
    "description": "Generated Postman collection for the versioned CV API, including negotiated representations and the private recruiter brief.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://www.n7.nz"
    },
    {
      "key": "recruiterToken",
      "value": ""
    }
  ],
  "item": [
    {
      "name": "CV Document (Projected)",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/api/v1/cv?sections=meta,projects&fields=meta.name,meta.title,projects.name,projects.url"
        }
      }
    },
    {
      "name": "Recruiter View Representation",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/vnd.cvasapi.recruiter.v1+json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/cv"
        }
      }
    },
    {
      "name": "JSON Resume Representation",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/vnd.cvasapi.jsonresume.v1+json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/cv"
        }
      }
    },
    {
      "name": "Search",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/api/v1/cv/search?q=aws%20integration&types=experience,skills,projects&limit=5"
        }
      }
    },
    {
      "name": "Match",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"jd\": \"Senior Integration Analyst for a health programme using AWS, Salesforce, Snowflake, REST APIs, and OpenAPI.\"\n}"
        },
        "url": {
          "raw": "{{baseUrl}}/api/v1/cv/match"
        }
      }
    },
    {
      "name": "Changelog",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/api/v1/changelog"
        }
      }
    },
    {
      "name": "Status",
      "request": {
        "method": "GET",
        "header": [],
        "url": {
          "raw": "{{baseUrl}}/api/v1/status"
        }
      }
    },
    {
      "name": "Recruiter Brief",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Authorization",
            "value": "Bearer {{recruiterToken}}"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/v1/recruiter/brief"
        }
      }
    }
  ]
}