Mobile: drivers, driver actions & snapshots
What a native app needs — trailer drivers with their own permission level, idempotent arrived/departed/checklist calls that accept the client's clock, boat ticks, "my trips", and a per-trip snapshot with ETag for offline caching.
Built for the RiggerPlus mobile app (React Native) but usable by any token client. Everything here works with the bearer token and never needs a cookie or CSRF token: requests that carry
Authorization: Bearer …run without a PHP session.
Roles on a trip
| Role | Who | May |
|---|---|---|
| Editor | creator, granted editors, regatta planners (editors) | Everything on the trip |
| Driver | BC users assigned to a trailer (trip_trailer_drivers) — any number per trailer |
Read the whole trip (all trailers, load plans, route); record arrivals / departures and loaded / unloaded ticks for their own trailer(s); quick fixes on their own trailer: placement/add, placement/move, placement/remove-at-stop, item/add, item/remove-at-stop (deleting, changing drivers / vehicles and everything else stays editor-only) |
| Member | anyone affiliated with the club | Read |
Drivers are club members with a Boathouse Connect account. trip_trailers.driver_name / driver_phone stay as free text for the public page; the assignments below are what the app uses.
Assigning drivers (editors)
| Method | Endpoint | Purpose |
|---|---|---|
GET |
/v1/trip/members/{trip_id}?q= |
Club members to pick from (BC whitelabel/getWhitelabelUsers; falls back to members who have signed in to RiggerPlus, source: "mirror"). signed_in tells whether the member has used RiggerPlus yet |
GET |
/v1/trip/drivers/{trip_id} |
Drivers per trailer |
POST |
/v1/trip/add-driver/{trip_id} |
trip_trailer_id, custid[, role ∈ primary / co_driver]; re-adding changes the role (RP-902 not a club member, RP-903 bad role) |
POST |
/v1/trip/remove-driver/{trip_id} |
trip_trailer_id, custid (RP-900) |
Request
POST /v1/trip/add-driver/1
Authorization: Bearer rp_live_••••••••
Content-Type: application/json
{
"trip_trailer_id": 1,
"custid": 1002,
"role": "primary"
}
Response 201
{
"success": true,
"trip_id": 1,
"drivers": [
{
"trip_trailer_id": 1,
"drivers": [
{
"custid": 1002,
"trip_trailer_id": 1,
"name": "Alex Athlete",
"email": "[email protected]",
"phone": null,
"profile_photo_url": null,
"role": "primary",
"added_by": 1001,
"created_at": 1800000000
}
]
}
]
}
Request
GET /v1/trip/drivers/1
Authorization: Bearer rp_live_••••••••
Response 200
{
"success": true,
"trip_id": 1,
"drivers": [
{
"trip_trailer_id": 1,
"drivers": [
{
"custid": 1002,
"trip_trailer_id": 1,
"name": "Alex Athlete",
"email": "[email protected]",
"phone": null,
"profile_photo_url": null,
"role": "primary",
"added_by": 1001,
"created_at": 1800000000
}
]
}
]
}
GET /v1/trip/get/{id} now lists drivers and can_operate on every trailer plus my_trailer_ids for the caller.
My trips
GET /v1/trip/mine[?whitelabel_id=&status=] — trips across all of the caller's clubs where they are an editor or a driver, upcoming first, each with my_roles (creator, granted, planner, driver), my_trailer_ids and can_edit. This is the app's home screen; the per-club /v1/trip/list is unchanged.
Request
GET /v1/trip/mine
Authorization: Bearer rp_live_••••••••
Response 200
{
"success": true,
"custid": 1002,
"trips": [
{
"id": 1,
"whitelabel_id": 10,
"name": "Head of the River",
"status": "draft",
"bc_regatta_id": null,
"regatta_name": null,
"regatta_venue": null,
"regatta_venue_id": null,
"regatta_start_date": null,
"regatta_end_date": null,
"departure_planned_at": null,
"return_planned_at": null,
"created_by": 1001,
"notes": null,
"created_at": "2027-01-15 08:00:00",
"updated_at": "2027-01-15 08:00:00",
"club_timezone": "America/New_York",
"departure_planned_at_local": null,
"departure_planned_at_display": null,
"return_planned_at_local": null,
"return_planned_at_display": null,
"is_linked": false,
"trailer_count": 1,
"stop_count": 6,
"next_stop": {
"stop_id": 1,
"type": "origin",
"name": "Boathouse",
"planned_arrival_at": null,
"planned_arrival_at_local": null,
"planned_arrival_at_display": null,
"tz_abbr": "EST"
},
"reference_at": 1810486800,
"is_upcoming": true,
"my_roles": [
"driver"
],
"my_trailer_ids": [
1
],
"can_edit": false
}
]
}
Editing calls keep answering 403 RP-107 for drivers:
Request
POST /v1/trip/update/1
Authorization: Bearer rp_live_••••••••
Content-Type: application/json
{
"name": "Renamed by a driver"
}
Response 403
{
"success": false,
"error_code": "RP-107",
"error": "Only planners for this regatta (or trip editors) can edit this trip."
}
Driver actions
All POST, all require trip_trailer_id (the trailer the actor is working on), all refused with 409 RP-904 once the trip is completed or cancelled and with 403 RP-901 when the caller neither drives that trailer nor edits the trip.
| Endpoint | Body | Effect |
|---|---|---|
/v1/driver/arrived/{stop_id} |
trip_trailer_id[, occurred_at, client_event_id] |
Stamps actual_arrival_at on the trip's stop |
/v1/driver/departed/{stop_id} |
same | Stamps actual_departure_at |
/v1/driver/undo/{stop_id} |
trip_trailer_id, which ∈ arrival / departure |
Clears the stamp |
/v1/driver/check-item/{trip_item_id}/{from_stop_id} · uncheck-item/… |
trip_trailer_id[, state = loaded (default) / unloaded, occurred_at, client_event_id] |
Item tick for the leg departing from_stop_id |
/v1/driver/check-boat/{placement_id}/{from_stop_id} · uncheck-boat/… |
same | Boat tick; placement_id is the boat placement (id in load plans, placement_id in the boats list of /v1/item/leg) |
GET /v1/driver/events/{trip_id}?limit= |
— | Newest-first audit trail with actor names (anyone who may view the trip) |
Stop stamps are per trip stop (shared by the trailers), exactly as the web app and the driver link record them.
Location-based stamps: source, lat, lng
The app can stamp arrivals and departures from the phone's position (OS geofencing: arrived when the phone comes within ¼ mi of the stop, departed once it is 1 mi away after an arrival). Such requests send source=auto plus lat/lng; people tapping send nothing (manual). Rules on the server:
- Each stop has
auto_stamp(default on, exceptregattaandovernightstops, where drivers come and go without the trailer; planners toggle it per stop on the web trip page or viaPOST /v1/stop/update/{id}auto_stamp=0|1). Anautostamp on a stop withauto_stamp = 0is refused with RP-911. - An
autoarrival on a stop that is already arrived, or anautodeparture on a stop not yet arrived / already departed, is a no-op —200with"applied": falseand no event — so a bouncing geofence never overwrites a real time. Manual stamps still overwrite. - Every driver event carries
sourceand, for auto stamps, the phonelat/lng; the activity list and snapshotdriver_eventsexpose them so the UI can show "auto". RP-912—sourcenotmanual|auto, orlat/lngnot valid coordinates.
Offline queues: occurred_at and client_event_id
occurred_at— unix seconds on the phone when the action happened. Stored as the actual arrival / departure / tick time, so a queue replayed an hour later keeps the real times. Must not be more than 5 minutes in the future (RP-905). Omitted → server time.client_event_id— an id the app generates per queued action (≤ 64 chars ofA-Z a-z 0-9 - _ . :,RP-908), unique per user. The first request applies the action and stores its response; any repeat with the same id returns that stored response with"replayed": trueand does not touch the trip again. Keys are per actor, so two phones never collide.
Request
POST /v1/driver/arrived/4
Authorization: Bearer rp_live_••••••••
Content-Type: application/json
{
"trip_trailer_id": 1,
"occurred_at": 1799999400,
"client_event_id": "phone-7f3a:evt-12"
}
Response 200
{
"success": true,
"action": "arrived",
"which": "arrival",
"stop": {
"stop_id": 4,
"trip_id": 1,
"sort_order": 4,
"type": "regatta",
"name": "Head of the River",
"address_text": null,
"lat": null,
"lng": null,
"timezone": "America/New_York",
"planned_arrival_at": null,
"planned_departure_at": 1810486800,
"actual_arrival_at": 1799999400,
"actual_departure_at": null,
"stay_minutes": null,
"show_publicly": true,
"notes": null,
"source": "manual",
"created_at": "2027-01-15 08:00:00",
"updated_at": "2027-01-15 08:00:00",
"is_cargo_stop": true,
"effective_timezone": "America/New_York",
"planned_arrival_at_local": null,
"planned_arrival_at_display": null,
"planned_departure_at_local": "2027-05-16T13:00:00-04:00",
"planned_departure_at_display": "Sun, May 16, 2027 1:00 PM EDT",
"actual_arrival_at_local": "2027-01-15T02:50:00-05:00",
"actual_arrival_at_display": "Fri, Jan 15, 2027 2:50 AM EST",
"actual_departure_at_local": null,
"actual_departure_at_display": null,
"tz_abbr": "EDT"
},
"replayed": false,
"event_id": 1
}
Request
POST /v1/driver/arrived/4
Authorization: Bearer rp_live_••••••••
Content-Type: application/json
{
"trip_trailer_id": 1,
"occurred_at": 1799999400,
"client_event_id": "phone-7f3a:evt-12"
}
Response 200
{
"success": true,
"action": "arrived",
"which": "arrival",
"stop": {
"stop_id": 4,
"trip_id": 1,
"sort_order": 4,
"type": "regatta",
"name": "Head of the River",
"address_text": null,
"lat": null,
"lng": null,
"timezone": "America/New_York",
"planned_arrival_at": null,
"planned_departure_at": 1810486800,
"actual_arrival_at": 1799999400,
"actual_departure_at": null,
"stay_minutes": null,
"show_publicly": true,
"notes": null,
"source": "manual",
"created_at": "2027-01-15 08:00:00",
"updated_at": "2027-01-15 08:00:00",
"is_cargo_stop": true,
"effective_timezone": "America/New_York",
"planned_arrival_at_local": null,
"planned_arrival_at_display": null,
"planned_departure_at_local": "2027-05-16T13:00:00-04:00",
"planned_departure_at_display": "Sun, May 16, 2027 1:00 PM EDT",
"actual_arrival_at_local": "2027-01-15T02:50:00-05:00",
"actual_arrival_at_display": "Fri, Jan 15, 2027 2:50 AM EST",
"actual_departure_at_local": null,
"actual_departure_at_display": null,
"tz_abbr": "EDT"
},
"replayed": true,
"event_id": 1
}
Request
POST /v1/driver/check-boat/1/1
Authorization: Bearer rp_live_••••••••
Content-Type: application/json
{
"trip_trailer_id": 1,
"client_event_id": "phone-7f3a:evt-13"
}
Response 200
{
"success": true,
"action": "check",
"kind": "boat",
"placement_id": 1,
"from_stop_id": 1,
"state": "loaded",
"check": {
"from_stop_id": 1,
"note": null,
"loaded": true,
"loaded_at": 1800000000,
"loaded_at_display": "Jan 15, 3:00 AM EST",
"loaded_by": 1002,
"loaded_by_name": "Alex Athlete",
"loaded_summary": "Loaded by Alex Athlete at Jan 15, 3:00 AM EST",
"unloaded": false,
"unloaded_at": null,
"unloaded_at_display": null,
"unloaded_by": null,
"unloaded_by_name": null,
"unloaded_summary": null
},
"replayed": false,
"event_id": 2
}
Request
GET /v1/driver/events/1
Authorization: Bearer rp_live_••••••••
Response 200
{
"success": true,
"trip_id": 1,
"events": [
{
"event_id": 2,
"trip_trailer_id": 1,
"stop_id": 1,
"stop_name": "Boathouse",
"custid": 1002,
"actor_name": "Alex Athlete",
"action": "check",
"target_kind": "boat",
"trip_item_id": null,
"placement_id": 1,
"note": "loaded",
"client_event_id": "phone-7f3a:evt-13",
"occurred_at": 1800000000,
"occurred_display": "Fri, Jan 15, 2027 3:00 AM EST",
"created_at": 1800000000
},
{
"event_id": 1,
"trip_trailer_id": 1,
"stop_id": 4,
"stop_name": "Head of the River",
"custid": 1002,
"actor_name": "Alex Athlete",
"action": "arrived",
"target_kind": "stop",
"trip_item_id": null,
"placement_id": null,
"note": "",
"client_event_id": "phone-7f3a:evt-12",
"occurred_at": 1799999400,
"occurred_display": "Fri, Jan 15, 2027 2:50 AM EST",
"created_at": 1800000000
}
]
}
Boats on the checklist
GET /v1/item/leg/{trip_trailer_id}/{leg_id} now also returns boats: the placements riding that leg with a check in the same shape as items (loaded, loaded_at, loaded_by_name, unloaded, …). Editors tick boats with /v1/driver/check-boat too.
Snapshot (offline cache)
GET /v1/trip/snapshot/{trip_id} returns one document with everything the app caches for a trip:
| Key | Contents |
|---|---|
trip, stops, legs, editors, warnings, can_edit |
Same as /v1/trip/get |
trailers[] |
+ drivers, can_operate, a trailer summary (name, length) and a tow_vehicle summary (plate only when the vehicle shows it) |
me |
custid, roles, trailer_ids, can_edit for the caller |
load_plans[] |
One per trailer × leg: boats (with checks), items (with checks), item_totals, bed warnings |
renders[] |
Current stored diagram files per trailer × leg (/v1/render/status shape); download the PNG/SVG by render_id — files are immutable per version |
route_settings |
{max_speed_mph} from the trip's route settings (default 65) — lets the app estimate drive time between stops when no route is planned |
route |
The selected route or null: totals, warnings, roads (road numbers in order), and legs[] each with its decoded polyline and guidance[] — the turn-by-turn instructions (message, maneuver, street, road_numbers, route_offset_m, travel_time_s, point) that fall inside that leg, so the app can show directions per leg offline |
driver_events[] |
Last 50 driver actions |
version, generated_at |
version is a hash of the document |
The response carries ETag: "<version>". Poll with If-None-Match: "<version>" and you get 304 Not Modified with no body while nothing changed — refresh as often as you like. /v1/trip/list and /v1/trip/mine rows are the cheap way to decide which trips to re-snapshot.
Request
GET /v1/trip/snapshot/1
Authorization: Bearer rp_live_••••••••
Response 200
{
"success": true,
"version": "3ce5eba8973f267d9fda28191cec581b628aaff9",
"generated_at": 1800000000,
"trip": {
"id": 1,
"whitelabel_id": 10,
"name": "Head of the River",
"status": "draft",
"bc_regatta_id": null,
"regatta_name": null,
"regatta_venue": null,
"regatta_venue_id": null,
"regatta_start_date": null,
"regatta_end_date": null,
"departure_planned_at": null,
"return_planned_at": null,
"created_by": 1001,
"notes": null,
"created_at": "2027-01-15 08:00:00",
"updated_at": "2027-01-15 08:00:00",
"club_timezone": "America/New_York",
"departure_planned_at_local": null,
"departure_planned_at_display": null,
"return_planned_at_local": null,
"return_planned_at_display": null,
"is_linked": false
},
"trailers": [
{
"id": 1,
"trip_id": 1,
"trailer_id": 1,
"tow_vehicle_id": 1,
"driver_name": "Dana Rivers",
"driver_phone": "+1 555 0100",
"sort_order": 0,
"drivers": [
{
"custid": 1002,
"trip_trailer_id": 1,
"name": "Alex Athlete",
"email": "[email protected]",
"phone": null,
"profile_photo_url": null,
"role": "primary",
"added_by": 1001,
"created_at": 1800000000
}
],
"can_operate": true,
"trailer": {
"trailer_id": 1,
"name": "40' 4-row / 3-wide shell trailer (template)",
"manufacturer": null,
"overall_length_in": 480
},
"tow_vehicle": {
"vehicle_id": 1,
"nickname": "Big Red",
"make": null,
"model": null,
"year": null,
"color": null,
"license_plate": "ROW 4EVR"
}
}
],
"stops": [
{
"stop_id": 1,
"trip_id": 1,
"sort_order": 0,
"type": "origin",
"name": "Boathouse",
"address_text": null,
"lat": null,
"lng": null,
"timezone": null,
"planned_arrival_at": null,
"planned_departure_at": null,
"actual_arrival_at": null,
"actual_departure_at": null,
"stay_minutes": null,
"show_publicly": true,
"notes": null,
"source": "manual",
"created_at": "2027-01-15 08:00:00",
"updated_at": "2027-01-15 08:00:00",
"is_cargo_stop": true,
"effective_timezone": "America/New_York",
"planned_arrival_at_local": null,
"planned_arrival_at_display": null,
"planned_departure_at_local": null,
"planned_departure_at_display": null,
"actual_arrival_at_local": null,
"actual_arrival_at_display": null,
"actual_departure_at_local": null,
"actual_departure_at_display": null,
"tz_abbr": "EST"
},
{
"stop_id": 2,
"trip_id": 1,
"sort_order": 1,
"type": "pickup",
"name": "Podunk RC",
"address_text": null,
"lat": null,
"lng": null,
"timezone": null,
"planned_arrival_at": null,
"planned_departure_at": null,
"actual_arrival_at": 1800000000,
"actual_departure_at": null,
"stay_minutes": null,
"show_publicly": true,
"notes": null,
"source": "manual",
"created_at": "2027-01-15 08:00:00",
"updated_at": "2027-01-15 08:00:00",
"is_cargo_stop": true,
"effective_timezone": "America/New_York",
"planned_arrival_at_local": null,
"planned_arrival_at_display": null,
"planned_departure_at_local": null,
"planned_departure_at_display": null,
"actual_arrival_at_local": "2027-01-15T03:00:00-05:00",
"actual_arrival_at_display": "Fri, Jan 15, 2027 3:00 AM EST",
"actual_departure_at_local": null,
"actual_departure_at_display": null,
"tz_abbr": "EST"
},
"… 4 more"
],
"legs": [
{
"leg_id": 1,
"trip_id": 1,
"leg_index": 0,
"from_stop_id": 1,
"to_stop_id": 2,
"from_name": "Boathouse",
"to_name": "Podunk RC",
"from_type": "origin",
"to_type": "pickup",
"label": "Leg 1: Boathouse → Podunk RC",
"updated_at": "2027-01-15 08:00:00"
},
{
"leg_id": 2,
"trip_id": 1,
"leg_index": 1,
"from_stop_id": 2,
"to_stop_id": 4,
"from_name": "Podunk RC",
"to_name": "Head of the River",
"from_type": "pickup",
"to_type": "regatta",
"label": "Leg 2: Podunk RC → Head of the River",
"updated_at": "2027-01-15 08:00:00"
},
{
"leg_id": 3,
"trip_id": 1,
"leg_index": 2,
"from_stop_id": 4,
"to_stop_id": 5,
"from_name": "Head of the River",
"to_name": "Boathouse",
"from_type": "regatta",
"to_type": "destination",
"label": "Leg 3: Head of the River → Boathouse",
"updated_at": "2027-01-15 08:00:00"
}
],
"editors": [
{
"custid": 1001,
"name": "Casey Coach",
"email": "[email protected]",
"sources": [
"creator"
],
"removable": false
}
],
"warnings": [],
"can_edit": false,
"me": {
"custid": 1002,
"roles": [
"driver"
],
"trailer_ids": [
1
],
"can_edit": false
},
"load_plans": [
{
"trip_trailer_id": 1,
"leg_id": 1,
"leg_index": 0,
"from_stop_id": 1,
"to_stop_id": 2,
"boats": [
{
"id": 1,
"boat_id": 1,
"boat_name": "Alpha",
"hull_class": "8+",
"seats": 8,
"coxed": true,
"sculling": false,
"length_in": 744,
"weight_lb": 209.44,
"bow_to_gunwale_in": 60,
"gunwale_length_in": 624,
"gunwale_to_stern_in": 60,
"row_index": 1,
"side": "driver",
"position": "forward",
"slot_id": 1,
"bow_position_in": 36,
"stern_position_in": 780,
"bow_direction": "forward",
"overhang_forward_in": 0,
"overhang_aft_in": 300,
"spans_posts": [
1,
2,
"… 2 more"
],
"added_at_stop_id": 1,
"removed_at_stop_id": null,
"notes": null,
"placement_id": 1,
"warnings": [],
"check": {
"from_stop_id": 1,
"note": null,
"loaded": true,
"loaded_at": 1800000000,
"loaded_at_display": "Jan 15, 3:00 AM EST",
"loaded_by": 1002,
"loaded_by_name": "Alex Athlete",
"loaded_summary": "Loaded by Alex Athlete at Jan 15, 3:00 AM EST",
"unloaded": false,
"unloaded_at": null,
"unloaded_at_display": null,
"unloaded_by": null,
"unloaded_by_name": null,
"unloaded_summary": null
}
}
],
"items": [
{
"trip_item_id": 1,
"trip_id": 1,
"trip_trailer_id": 1,
"item_id": 6,
"is_one_off": false,
"name": "Cooler",
"category": "cooler",
"category_label": "Cooler",
"quantity": 2,
"unit_weight_lb": 35,
"unit_weight_display": "35 lb",
"total_weight_lb": 70,
"total_weight_display": "70 lb",
"total_weight_metric": "31.8 kg",
"bed_position_in": 120,
"bed_position_display": "10' 0\" from tongue",
"bed_note": "behind the toolbox",
"added_at_stop_id": 1,
"added_at_stop_name": "Boathouse",
"removed_at_stop_id": null,
"removed_at_stop_name": null,
"notes": "ESTIMATE: 50 qt cooler, packed with ice and drinks.",
"created_by": 1001,
"created_at": 1800000000,
"updated_at": 1800000000,
"check": {
"from_stop_id": null,
"note": null,
"loaded": false,
"loaded_at": null,
"loaded_at_display": null,
"loaded_by": null,
"loaded_by_name": null,
"loaded_summary": null,
"unloaded": false,
"unloaded_at": null,
"unloaded_at_display": null,
"unloaded_by": null,
"unloaded_by_name": null,
"unloaded_summary": null
}
}
],
"item_totals": {
"line_count": 1,
"count": 2,
"weight_lb": 70,
"weight_display": "70 lb",
"weight_metric": "31.8 kg"
},
"warnings": [],
"error": null
},
{
"trip_trailer_id": 1,
"leg_id": 2,
"leg_index": 1,
"from_stop_id": 2,
"to_stop_id": 4,
"boats": [
{
"id": 1,
"boat_id": 1,
"boat_name": "Alpha",
"hull_class": "8+",
"seats": 8,
"coxed": true,
"sculling": false,
"length_in": 744,
"weight_lb": 209.44,
"bow_to_gunwale_in": 60,
"gunwale_length_in": 624,
"gunwale_to_stern_in": 60,
"row_index": 1,
"side": "passenger",
"position": "forward",
"slot_id": 7,
"bow_position_in": 36,
"stern_position_in": 780,
"bow_direction": "forward",
"overhang_forward_in": 0,
"overhang_aft_in": 300,
"spans_posts": [
1,
2,
"… 2 more"
],
"added_at_stop_id": 1,
"removed_at_stop_id": null,
"notes": null,
"placement_id": 1,
"warnings": [],
"check": {
"from_stop_id": null,
"note": null,
"loaded": false,
"loaded_at": null,
"loaded_at_display": null,
"loaded_by": null,
"loaded_by_name": null,
"loaded_summary": null,
"unloaded": false,
"unloaded_at": null,
"unloaded_at_display": null,
"unloaded_by": null,
"unloaded_by_name": null,
"unloaded_summary": null
}
},
{
"id": 2,
"boat_id": 4,
"boat_name": "Delta",
"hull_class": "4+",
"seats": 4,
"coxed": true,
"sculling": false,
"length_in": 528,
"weight_lb": 115,
"bow_to_gunwale_in": 48,
"gunwale_length_in": 432,
"gunwale_to_stern_in": 48,
"row_index": 2,
"side": "passenger",
"position": "forward",
"slot_id": 16,
"bow_position_in": 48,
"stern_position_in": 576,
"bow_direction": "forward",
"overhang_forward_in": 0,
"overhang_aft_in": 96,
"spans_posts": [
1,
2,
"… 2 more"
],
"added_at_stop_id": 2,
"removed_at_stop_id": 4,
"notes": null,
"placement_id": 2,
"warnings": [],
"check": {
"from_stop_id": null,
"note": null,
"loaded": false,
"loaded_at": null,
"loaded_at_display": null,
"loaded_by": null,
"loaded_by_name": null,
"loaded_summary": null,
"unloaded": false,
"unloaded_at": null,
"unloaded_at_display": null,
"unloaded_by": null,
"unloaded_by_name": null,
"unloaded_summary": null
}
}
],
"items": [
{
"trip_item_id": 1,
"trip_id": 1,
"trip_trailer_id": 1,
"item_id": 6,
"is_one_off": false,
"name": "Cooler",
"category": "cooler",
"category_label": "Cooler",
"quantity": 2,
"unit_weight_lb": 35,
"unit_weight_display": "35 lb",
"total_weight_lb": 70,
"total_weight_display": "70 lb",
"total_weight_metric": "31.8 kg",
"bed_position_in": 120,
"bed_position_display": "10' 0\" from tongue",
"bed_note": "behind the toolbox",
"added_at_stop_id": 1,
"added_at_stop_name": "Boathouse",
"removed_at_stop_id": null,
"removed_at_stop_name": null,
"notes": "ESTIMATE: 50 qt cooler, packed with ice and drinks.",
"created_by": 1001,
"created_at": 1800000000,
"updated_at": 1800000000,
"check": {
"from_stop_id": null,
"note": null,
"loaded": false,
"loaded_at": null,
"loaded_at_display": null,
"loaded_by": null,
"loaded_by_name": null,
"loaded_summary": null,
"unloaded": false,
"unloaded_at": null,
"unloaded_at_display": null,
"unloaded_by": null,
"unloaded_by_name": null,
"unloaded_summary": null
}
}
],
"item_totals": {
"line_count": 1,
"count": 2,
"weight_lb": 70,
"weight_display": "70 lb",
"weight_metric": "31.8 kg"
},
"warnings": [],
"error": null
},
{
"trip_trailer_id": 1,
"leg_id": 3,
"leg_index": 2,
"from_stop_id": 4,
"to_stop_id": 5,
"boats": [
{
"id": 1,
"boat_id": 1,
"boat_name": "Alpha",
"hull_class": "8+",
"seats": 8,
"coxed": true,
"sculling": false,
"length_in": 744,
"weight_lb": 209.44,
"bow_to_gunwale_in": 60,
"gunwale_length_in": 624,
"gunwale_to_stern_in": 60,
"row_index": 1,
"side": "driver",
"position": "forward",
"slot_id": 1,
"bow_position_in": 36,
"stern_position_in": 780,
"bow_direction": "forward",
"overhang_forward_in": 0,
"overhang_aft_in": 300,
"spans_posts": [
1,
2,
"… 2 more"
],
"added_at_stop_id": 1,
"removed_at_stop_id": null,
"notes": null,
"placement_id": 1,
"warnings": [],
"check": {
"from_stop_id": null,
"note": null,
"loaded": false,
"loaded_at": null,
"loaded_at_display": null,
"loaded_by": null,
"loaded_by_name": null,
"loaded_summary": null,
"unloaded": false,
"unloaded_at": null,
"unloaded_at_display": null,
"unloaded_by": null,
"unloaded_by_name": null,
"unloaded_summary": null
}
}
],
"items": [
{
"trip_item_id": 1,
"trip_id": 1,
"trip_trailer_id": 1,
"item_id": 6,
"is_one_off": false,
"name": "Cooler",
"category": "cooler",
"category_label": "Cooler",
"quantity": 2,
"unit_weight_lb": 35,
"unit_weight_display": "35 lb",
"total_weight_lb": 70,
"total_weight_display": "70 lb",
"total_weight_metric": "31.8 kg",
"bed_position_in": 120,
"bed_position_display": "10' 0\" from tongue",
"bed_note": "behind the toolbox",
"added_at_stop_id": 1,
"added_at_stop_name": "Boathouse",
"removed_at_stop_id": null,
"removed_at_stop_name": null,
"notes": "ESTIMATE: 50 qt cooler, packed with ice and drinks.",
"created_by": 1001,
"created_at": 1800000000,
"updated_at": 1800000000,
"check": {
"from_stop_id": null,
"note": null,
"loaded": false,
"loaded_at": null,
"loaded_at_display": null,
"loaded_by": null,
"loaded_by_name": null,
"loaded_summary": null,
"unloaded": false,
"unloaded_at": null,
"unloaded_at_display": null,
"unloaded_by": null,
"unloaded_by_name": null,
"unloaded_summary": null
}
}
],
"item_totals": {
"line_count": 1,
"count": 2,
"weight_lb": 70,
"weight_display": "70 lb",
"weight_metric": "31.8 kg"
},
"warnings": [],
"error": null
}
],
"renders": [
{
"trip_trailer_id": 1,
"from_stop_id": 1,
"leg_id": 1,
"version": null,
"fingerprint": null,
"rendered_at": null,
"rendered_by": null,
"status": "none",
"error": null,
"png_available": false,
"files": [],
"pending": null,
"leg_index": 0,
"live_fingerprint": "83b3b3434ac8b57db47c99bb36605d9e30a5571a3203a7e7c144e1d9be758b6d",
"live_error": null,
"stale": false
},
{
"trip_trailer_id": 1,
"from_stop_id": 2,
"leg_id": 2,
"version": null,
"fingerprint": null,
"rendered_at": null,
"rendered_by": null,
"status": "none",
"error": null,
"png_available": false,
"files": [],
"pending": null,
"leg_index": 1,
"live_fingerprint": "26d95a13482070bda20169c9baa8dc79186833200983e6b5d2d26bfd049c860c",
"live_error": null,
"stale": false
},
{
"trip_trailer_id": 1,
"from_stop_id": 4,
"leg_id": 3,
"version": null,
"fingerprint": null,
"rendered_at": null,
"rendered_by": null,
"status": "none",
"error": null,
"png_available": false,
"files": [],
"pending": null,
"leg_index": 2,
"live_fingerprint": "12af2661cffcfab524e5be59cade0aa0970f9f2b7fff5d4581928e3785e53bc0",
"live_error": null,
"stale": false
}
],
"route": null,
"driver_events": [
{
"event_id": 2,
"trip_trailer_id": 1,
"stop_id": 1,
"stop_name": "Boathouse",
"custid": 1002,
"actor_name": "Alex Athlete",
"action": "check",
"target_kind": "boat",
"trip_item_id": null,
"placement_id": 1,
"note": "loaded",
"client_event_id": "phone-7f3a:evt-13",
"occurred_at": 1800000000,
"occurred_display": "Fri, Jan 15, 2027 3:00 AM EST",
"created_at": 1800000000
},
{
"event_id": 1,
"trip_trailer_id": 1,
"stop_id": 4,
"stop_name": "Head of the River",
"custid": 1002,
"actor_name": "Alex Athlete",
"action": "arrived",
"target_kind": "stop",
"trip_item_id": null,
"placement_id": null,
"note": "",
"client_event_id": "phone-7f3a:evt-12",
"occurred_at": 1799999400,
"occurred_display": "Fri, Jan 15, 2027 2:50 AM EST",
"created_at": 1800000000
}
]
}
App version gate
GET /v1/service/ping reports api_version and min_app_version (config mobile.min_app_version, semver). An app older than min_app_version should ask the user to update before calling anything else.
Request
GET /v1/service/ping
Response 200
{
"success": true,
"product": "RiggerPlus (TEST)",
"env": "TEST",
"time": 1793329053,
"api_version": 1,
"min_app_version": "0.0.0"
}