List General Offense Reports
Resource Information
Method |
GET |
URL |
https://data.chandlerpd.com/wp-json/open-data/v1/general-offenses |
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:
|
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/general-offenses
Get a General Offense Report
Resource Information
Method |
GET |
URL |
https://data.chandlerpd.com/wp-json/open-data/v1/general-offenses/{$id} |
Authentication |
None |
Method Parameters
Parameter |
Type |
Description |
$id |
int |
The general offense report ID. |
Example Request
$ curl https://data.chandlerpd.com/wp-json/open-data/v1/general-offenses/{$id}