Swagger Represents The API Value Possible, Postman Is Unit Readied As Transaction, And HAR Could Be Evidence Of Value Actually Having Occurred

I am working through each of my 25 APIs right now, tackling a list of changes that include some adjustment for an evolution in my service composition, generating Postman collections, APIMATIC SDKs, and API Science monitors--for each API. I was talking through the process of setting up my API monitors, and how I will be generating status pages for each API portal, with John Musser (@johnmusser), and he reminded me of the HTTP Archive (HAR) format

HAR is all about providing an archival format for HTTP transactions that can be used by a web browser to export detailed performance data about web pages it loads, which got me thinking about how we can use the existing format to record and quantify the exhaust from our increasing API activity. There are some areas of the HAR specification that wouldn't apply to this, but for the most part, it provides an existing format for collecting, evaluating, and potentially understanding the value we generate (or not) via our APIs in real-time.

As I work through each of the stops along my API lifecycles (Postman Collections, SDKs, monitors, etc), I'm working to make sure the input and output from the stop is indexed as part of the APIs.json collection. In short, you will be able to find the Postman Collections, APIMATIC SDKs, and API Science monitors via the APIs.json index for each of my 25 APIs. Right now APIMATIC SDKs and API Science monitors just link to HTML pages for getting at details, but eventually I am looking to make this detail machine readable as well--this is why John and I started discussing HAR.

To help me wrap my head around possiblities, I wanted to elevate myself and look at the the role HAR could play in the index of my APIs, and potentially the wider industries that I am building APIs.json collections for. As I look at the core of each of my APIs, Swagger very much represents the value that is possible with each of my APIs, while I see each Postman Collection as a unit of this value that is ready to be executed as a transaction, and HAR has the potential to be the evidence thta this value transaction actually occurred. 

The introduction of HAR into my APIs.json index provides an import linkage for me, in preparing each API for the API economy. Steve Willmott's and mines objective with APIs.json is to index APIs, preparing them for a more run-time engagement in the API economy, acknowledging we need a full machine readable picutre of what an API resource delivers, ranging from the what that API does, to the cost and licensing of that resources. API definitions like Swagger and API Blueprint provide an important way to quantify this value pre-transaction, Postman Collections provide the snapshot right at integration or client execution, and HAR could be used a record that this transaction occurred--think of this a trillion times over, in the context of a global API economy.

I will keep working through these thoughts, but I see API economy level potential here, and even opportunities for evolving the patent process for at least the digital side of the patent equation. Meaning, when you file a patent, diagrams aren't enough in the API economy, you need an API definition showing what is possible, a Postman Colleciton demonstrating it can be run, and a HAR file from a certified provider like API Science, as a timestamp showing that this value was demonstrated on this date and time. 

Ok, enough geeking out on that, back to preparing for my Internet of Things talk at API Days San Francisco this week.