Skip to content

Instantly share code, notes, and snippets.

@beyondxscratch
Created August 13, 2020 20:55
Show Gist options
  • Save beyondxscratch/73f3e2dfe988abece257ed47353c9b40 to your computer and use it in GitHub Desktop.
Save beyondxscratch/73f3e2dfe988abece257ed47353c9b40 to your computer and use it in GitHub Desktop.
{
"criteria": {
"journeys": [
{
"departureSpacePortId": "http://localhost:1865/spaceports/ddf86b0b-94e3-3566-8486-fd076b9686a6",
"departureSchedule": "2020-08-18T10:00",
"arrivalSpacePortId": "http://localhost:1865/spaceports/4ed3116c-e359-3245-b8d0-cec742551507"
},
{
"departureSpacePortId": "http://localhost:1865/spaceports/4ed3116c-e359-3245-b8d0-cec742551507",
"departureSchedule": "2020-08-28T10:00",
"arrivalSpacePortId": "http://localhost:1865/spaceports/ddf86b0b-94e3-3566-8486-fd076b9686a6"
}
]
},
"_links": {
"self": {
"href": "http://localhost:1865/searches/4227c50c-9723-45d1-908d-c945eece273a"
},
"selection": {
"href": "http://localhost:1865/searches/4227c50c-9723-45d1-908d-c945eece273a/selection"
},
"all-outbounds": {
"href": "http://localhost:1865/searches/4227c50c-9723-45d1-908d-c945eece273a/spacetrains?bound=OUTBOUND&onlySelectable=false"
},
"all-inbounds": {
"href": "http://localhost:1865/searches/4227c50c-9723-45d1-908d-c945eece273a/spacetrains?bound=INBOUND&onlySelectable=false"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment