Trip (r:trip)

http://rels.goabout.com/trip

The trip relation links both Trip selection (p:trip-selection) and Trip alternatives (p:trip-alternatives) to a Trip (p:trip). The link from the Trip selection (p:trip-selection) indicates that the related trip is selected out of a collection of Trip alternatives (p:trip-alternatives). The link from the Trip alternatives (p:trip-alternatives) indicates this trip is part of a collection of Trip (p:trip) that share the same planning parameters.

Example

{
  "_links" : {
    "http://rels.goabout.com/trip" : {
      "href" : "https://api.goabout.com/trip/514"
    }
  }
}

A GET request to the URL https://api.goabout.com/trip/514 will return the associated trip resource.

Reference

The profile of the linked resource is Trip (p:trip).