Add Trailer API lifecycle collection - #58
Merged
Merged
Conversation
This was referenced Sep 3, 2026
- Create/retrieve assert the additive relation identifiers (vendor_id, category_id, vehicle_id), that unrequested relation objects stay absent, and that no private UUID keys leak. - Towing assertions check vehicle_id/trailer_id on connections and the attached state exposed by the vehicle trailer list. - Tracking asserts connectivity, stored coordinates and the sanitized telematics snapshot. - Document the relation identifiers, embedded collections and the extra query filters and expansions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Trailer API lifecycle coverage for the first-class Trailer feature (fleetbase/fleetops#309).
category_id,vendor_id,warranty_id,photo_id,vehicle_id), the always-presentequipment,devicesandconnectionscollections, and the sanitizedtelematicssnapshot.attachable_typecontract.withexpansions.Assertions
Assertions match the shipped responses: public IDs only (no
*uuidkeys),attachment_state,vehicle_id/trailer_idon connections, the attached state exposed byGET /vehicles/{id}/trailers, stored coordinates and connectivity after tracking, and the telematics snapshot without device identifiers. Every scenario captures its own identifiers into environment variables and cleans up the resources it creates.Validation
npm run postman:lint: 5 collections validated, Fleetbase API 219 requests, 0 errors, 0 warnings.0590548).Related PRs