RESTful JSON: Adding Links to your APIs
There’s a new media type available, RESTful JSON, that was recently registered (Feb 1st 2018) with IANA. It’s really the simplest possible media type to use in order to start adding links to your JSON APIs. The new media type is application/vnd.restful+json Adding Hyperlinks The simplicity here is that you can start using this media type with existing APIs to start adding links to your existing objects. JSON objects MAY include a url property to indicate a link to itself JSON objects MAY append _url to properties to indicate related links Example Here’s an existing payload of a e-commerce shopping cart. It has one product… Read More »RESTful JSON: Adding Links to your APIs