@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Miataru
@base http://service.miataru.com/v1
@version 1.0.0
@endpoints 5
@toc UpdateLocation(1), GetLocation(1), GetLocationGeoJSON(1), GetLocationHistory(1), GetVisitorHistory(1)

@group UpdateLocation
@endpoint POST /UpdateLocation
@required {body: any}

@endgroup

@group GetLocation
@endpoint POST /GetLocation
@required {body: any}

@endgroup

@group GetLocationGeoJSON
@endpoint GET /GetLocationGeoJSON/{deviceID}
@required {deviceID: any}

@endgroup

@group GetLocationHistory
@endpoint POST /GetLocationHistory
@required {body: any}

@endgroup

@group GetVisitorHistory
@endpoint POST /GetVisitorHistory
@required {body: any}

@endgroup

@end
