Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support batch telemetry #196

Merged
merged 6 commits into from
Jan 18, 2019
Merged

Support batch telemetry #196

merged 6 commits into from
Jan 18, 2019

Conversation

toddapetersen
Copy link
Contributor

The submission of telemetry data is now provided on POST /vehicles/telemetry to allow for batch telemetry data upload. It will still support single telemetry point submission, but also across an entire fleet of active vehicles or data for an entire trip. The goal is to make it easier and more flexible for Providers to submit data and to design to support larger scale datasets. Telemetry data no longer requires a trip_id and will be automatically associated with trips based on timestamps.

The telemetry data for this endpoint is now structured as a simple JSON object and not GeoJSON. GeoJSON will remain for the GET (retrieval) endpoints.

The submission of telemetry data is now provided on `POST /vehicles/telemetry` to allow for batch telemetry data upload.  It will still support single telemetry point submission, but also across an entire fleet of active vehicles or data for an entire trip.  The goal is to make it easier and more flexible for Providers to submit data and to design to support larger scale datasets.  Telemetry data no longer requires a trip_id and will be automatically associated with trips based on timestamps.

The telemetry data for this endpoint is now structured as a simple JSON object and not GeoJSON.  GeoJSON will remain for the GET (retrieval) endpoints.
@hunterowens hunterowens added the Agency Specific to the Agency API label Dec 12, 2018
@hunterowens
Copy link
Collaborator

Unsure why this is targeting the restructure-restful-endpoints rather than dev

@hunterowens
Copy link
Collaborator

@toddapetersen can you have this PR target dev now?

@hunterowens hunterowens mentioned this pull request Dec 20, 2018
@toddapetersen toddapetersen changed the base branch from restructure-restful-endpoints to dev December 21, 2018 16:30
@hunterowens
Copy link
Collaborator

has conflicts with dev branch

@toddapetersen
Copy link
Contributor Author

Conflicts resolved. Review and approve merge.

}
] }
```
400 Failure Response:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably not be part of a specific section but rather be defined globally for the agency API.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The responses are specific to each endpoint. The codes are global.

agency/README.md Outdated Show resolved Hide resolved
agency/README.md Outdated Show resolved Hide resolved
@hunterowens hunterowens merged commit 4eea5fe into dev Jan 18, 2019
@hunterowens hunterowens deleted the agency-batch-telemetry branch February 28, 2019 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Agency Specific to the Agency API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants