Sponsor: Do you build complex software systems? See how NServiceBus makes it easier to design, build, and manage software systems that use message queues to achieve loose coupling. Get started for free.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
Adding HyperlinksThe 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
urlproperty to indicate a link to itself
- JSON objects MAY append
_urlto properties to indicate related links