nmfta-repo / nmfta-opentelematics-api

API Blueprint for Open Telematics API
Apache License 2.0
13 stars 6 forks source link

Get Vehicle Flagged Events should return a collection #141

Closed BenGardiner closed 5 years ago

BenGardiner commented 5 years ago

@jmpopper : watch out for this on GET /v1.0/vehicles/{vehicleId}/flagged_events/{?startTime,stopTime} in the prototype. I should return

+ Response 200 (application/json)
    + Attributes (object)
        + data (array[Vehicle Flagged Event], fixed-type)
jmpopper commented 5 years ago

Thanks for the heads up @BenGardiner! We are presently returning an array at this endpoint in the prototype.

BenGardiner commented 5 years ago

You did it right despite the docs :) . nice