Skip to content
Virendra VyasSenior full-stack .NET engineer

Portfolio API, version 1

This portfolio is also an API

I build API gateways for a living, so this site has one too. Everything you can read here is also available as versioned JSON, described by an OpenAPI 3.1 document. Send a request below, or use curl.

How it works

  • Each endpoint is generated at build time from the same typed content files the pages render, so the JSON and the pages can't disagree.
  • Every response uses one envelope: data, plus links to related resources and the matching page.
  • After every build, a contract test validates each response against the OpenAPI document. Objects are closed, so an added, missing or renamed field fails the build.
  • Static files on a CDN: no server, no authentication, no cookies and no tracking.

Endpoints

  • GET/api/v1/index.json

    API index

    Entry point. Links to every other resource.

    curl -s /api/v1/index.json
  • GET/api/v1/profile.json

    Profile

    Who I am, where I'm based, right to work, availability and how to reach me.

    curl -s /api/v1/profile.json
  • GET/api/v1/case-studies.json

    Case studies

    Summaries of every case study, in the order the Work page shows them.

    curl -s /api/v1/case-studies.json
  • GET/api/v1/case-studies/{slug}.json

    One case study

    The full write-up: problem, what I did, outcome and honest status.

    curl -s /api/v1/case-studies/govbridge.json
  • GET/api/v1/timeline.json

    Career timeline

    Roles with start and end months (YYYY-MM). Current roles have a null end.

    curl -s /api/v1/timeline.json
  • GET/api/v1/skills.json

    Skills, with evidence

    Skill groups, each linking to the work where the skill was used.

    curl -s /api/v1/skills.json
  • GET/api/v1/writing.json

    Writing and open source

    Articles and merged open-source contributions.

    curl -s /api/v1/writing.json