cURL
curl --request GET \ --url https://api.seamind.xyz/api/v1/ships/{ship_id} \ --header 'Authorization: Bearer <token>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "imo_number": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
Get a ship by ID.
Use ?expand=true to include enriched data like crew_count.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Include enriched data (crew_count)
Successful Response
Ship data transfer object - returned from repositories. Represents a ship as stored in the database.