Slide 54
Slide 54 text
Inter API Communication
- Inter API calls are easily supported in
REST APIs based of the media type
semantics.
- In fact, Hypermedia is the under-
pinning architectural style of the
web.
GET /eventsapi/events/8 HTTP/1.1
ContentType: application/vnd.siren+json
{
"class": [ “event" ],
"properties": {
“startDate": “2017-09-18T15:00:00+10:00”,
“endDate: “2017-08-18T16:00:00+10:00”,
“availableTicketCount": 42
},
/* … other fields … */
}
Events API
Artists API