Arrest Bookings API Reference
List Arrest Bookings
Resource Information
Method | GET |
---|---|
URL | https://data.chandlerpd.com/wp-json/open-data/v1/arrest-bookings |
Authentication | None |
Query Parameters
Parameter | Type | Description |
---|---|---|
offset | int | Optional. Offset the result set by a specific number of items. |
order | string | Optional. Order sort attribute ascending or descending. Valid values are: ASC , DESC (default). |
orderby | string | Optional. Sort collection by object attribute. Defaults to id . Other values are: event_type , agency , arrest_id , arrest_number , arrest_year , arrest_date , arrest_time , arrest_date_time , arrest_day , arrest_city , arrest_district , arrest_beat , arrest_latitude , arrest_longitude , arrest_type , arrest_class , arrest_charge , arrest_charge_count , arrest_charge_severity , arrestee_unique_number , arrestee_race , arrestee_gender , arrestee_age , arrestee_ethnicity , officer_unique_number , officer_race , officer_gender , officer_age , officer_team , officer_years_of_service |
per_page | int | Optional. Maximum number of items to be returned in result set. Defaults to 20 . Limit 100 . |
Example Request
$ curl https://data.chandlerpd.com/wp-json/open-data/v1/arrest-bookings
Get an Arrest Booking
Resource Information
Method | GET |
---|---|
URL | https://data.chandlerpd.com/wp-json/open-data/v1/arrest-bookings/{$id} |
Authentication | None |
Method Parameters
Parameter | Type | Description |
---|---|---|
$id | int | The arrest booking ID. |
Example Request
$ curl https://data.chandlerpd.com/wp-json/open-data/v1/arrest-bookings/{$id}