Get a ship
GET
/ships/{shipId}
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
The ship.
application/json
name*
string
Range 2 ≤ value ≤ 80
id?
integer
Format int64
captain?
object
Whoever is in command right now.
escort?
Ship
registeredAt?
string
Format date-time