@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api City of Surrey Open511 API
@base http://data.surrey.ca/open511
@version 0.1
@endpoints 4
@toc events(1), jurisdiction(1), jurisdictiongeography(1), areas(1)

@group events
@endpoint GET /events
@optional {format: any, status: any, severity: any, jurisdiction: any, event_type: any, created: any, updated: any, road_name: any, area_id: any, bbox: any}
@returns(200)

@endgroup

@group jurisdiction
@endpoint GET /jurisdiction
@optional {format: any}
@returns(200)

@endgroup

@group jurisdictiongeography
@endpoint GET /jurisdictiongeography
@optional {format: any}
@returns(200)

@endgroup

@group areas
@endpoint GET /areas
@optional {format: any}
@returns(200)

@endgroup

@end
