api-docs icon indicating copy to clipboard operation
api-docs copied to clipboard

Samsara's OpenAPI spec

Results 16 api-docs issues
Sort by recently updated
recently updated
newest added

When invoking the daily logs endpoint, the documentation states that RFC3339 is the expected format: > A start date in RFC 3339 format. This is a date only without an...

If you attempt to execute the daily logs endpoint from the API docs section without specifying a start date or end date, you'll get an error back from the API,...

Most list items collapse if you click another list item. The gateways list item does not: ![image](https://user-images.githubusercontent.com/65432314/130507471-5c7376d9-9acb-4914-b437-ae46141c9de2.png) Also, the "active" text color is dark, not light like the others.

There are two fixes required to the OpenAPI specification. F First is that the container of enums shouldn't be array because it causes the type to be interpreted as `Seq[MyEnum]`....

/fleet/hos_logs_summary returns different data than the example response set, provided in the documentation. Documentation shows: "cycleRemaining": 252000000, "cycleTomorrow": 252000000, "driverId": 444, "driverName": "Fred Jacobs", "drivingInViolationCycle": 50400000, "drivingInViolationToday": 39600000, "dutyStatus": "OFF_DUTY",...

Please consider adding an API endpoint to add/remove/update Fleet Viewer/Live Share links.

now that the active and inactive fleet driver list endpoints are returning the same response, the `DriversResponse` can be made to use the `Driver` object

Modified all spots where `driver_id` and `vehicle_id` appears in response payload and added a `driver` or `vehicle` object that duplicates the `id` field but also contains and `external_ids` dictionary.

The documentation says this will be returned: "mechanicOrAgentSignature": { "type": "driver", "name": "driver", "username": "driver", "email": "driver", "signedAt": 12535500000 }, However, all I am seeing is: "mechanicOrAgentSignature":{ "signedAt": 1539577229078 }...