Track a ship
Follows a ship into the harbor, one position at a time, until it docks. Press Try it and watch them arrive.
GET
/ships/{shipId}/track
Authorization
harborAuth
Authorization: Bearer <token>
Get a token the way a real API hands one out. The client ID is harbor-docs, and for client credentials the secret is harbor-docs-secret.
bearerAuth
Authorization: Bearer <token>
Or skip signing in. Any token will do here. Without one the answer is a 401.
Path parameters
Responses
200
A
position event every half a second, then one docked.
text/event-stream
Sent as a stream, one event at a time. Each event: