Detect, extract and map elements in hypermedia controls for use in Postman UI.
Imagine a JSON response contains some links, some plug-in code could scan the JSON for forms according to a detection pattern. Then things like the
method and perhaps a
form can be extracted and mapped to a standard Postman UI control set for enacting such actions.
It’ would be like a browser for APIs. You could ship one for the Ion media-type perhaps and let others write their own.
Of course if the API was in HTML you’d render the HTML and by supporting the PUT and DELETE methods on the form, you’re done.
All the concepts for hypermedia APIs are the same as in HTML browsers, so you’d only need a standard set of stuff for links and forms. Its just that most people eschew HTML for their APIs.