Policies

A Policy object sets the rules for how specific users can or cannot use a particular curb at designated times. Each Curb Zone's regulations are defined by a combination of multiple Policy objects. Querying Curb Policies can provide the full set of policies.

Query Curb Policies

get
Query parameters
curbiq_tokenstringRequired

The CurbIQ token provided to you when you registered for the API.

idsstring[]Optional

CDS
A list of curb policy ids to query, separated by commas.
If present, return only policies with the supplied UUIDs. Otherwise, return all policies.

zonestring · uuidOptional

CCDS
The ID of a Curb Zone.
If specified, only return Curb Policies associated with this zone.

timeinteger · int64Optional

CCDS
Filter Curb Zones based on validity at this timestamp (in ms).

Example: 1643130000000
curb_policy_idstring · uuidOptional

CCDS
Filter by a specific curb policy ID.

response_sizeintegerOptional

CCDS
Max is 250. Default is 100.

page_numintegerOptional

CCDS
Page number for paginated results. Default is 1.

Responses
200

A successful response containing Curb Policies.

application/json
get
/curbs/policies
200

A successful response containing Curb Policies.

Fetch Curb Policy

get
Path parameters
curb_policy_idstring · uuidRequired

The unique identifier for the Curb Policy.

Query parameters
curbiq_tokenstringRequired

The CurbIQ token provided to you when you registered for the API.

response_sizeintegerOptional

CCDS
Default is 100. The maximum response size is 250.

page_numintegerOptional

CCDS
Page number for paginated responses, default is 1.

Responses
200

A successful response containing Curb Policies.

application/json
get
/curbs/policies/{curb_policy_id}

Last updated