Created
July 25, 2014 14:59
-
-
Save basilesimon/dd2cad1db159e423d888 to your computer and use it in GitHub Desktop.
Police.uk API Postman collection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "2e952df7-f894-48e4-1fb3-bc26dd3cac31", | |
"name": "Police.uk", | |
"description": "", | |
"order": [ | |
"3727f908-a368-07d7-c707-5cd6be945bf6", | |
"17ea1b33-79fe-b2d3-68f6-3112b3160304", | |
"d14f413a-0756-b3c6-0a11-b99189bf5e1c", | |
"c73977b9-e3a5-25e6-659f-a4d03f255df9", | |
"a1aecba7-a85b-4043-1d54-7abf838cce45", | |
"a451da18-78e8-64b7-0c0d-4802da1e0b71", | |
"dc6ca251-3526-daa8-8079-79d0fba26858", | |
"56407e85-eb71-b017-5b5c-52f57b4e71af", | |
"a72cd091-6c8d-7694-1858-c268883167c5", | |
"04cdb419-2dcf-f6a6-8bab-9d90ca81adcf", | |
"d786d8d3-e90a-4f3e-7978-64902c6e73b8" | |
], | |
"folders": [], | |
"timestamp": 1406288321856, | |
"synced": false, | |
"requests": [ | |
{ | |
"id": "04cdb419-2dcf-f6a6-8bab-9d90ca81adcf", | |
"headers": "", | |
"url": "{{host}}/metropolitan/00AEGW/people", | |
"pathVariables": {}, | |
"preRequestScript": "", | |
"method": "GET", | |
"data": [], | |
"dataMode": "params", | |
"name": " Neighbourhood team ", | |
"description": "", | |
"descriptionFormat": "html", | |
"time": 1406291481512, | |
"version": 2, | |
"responses": [], | |
"tests": "", | |
"collectionId": "2e952df7-f894-48e4-1fb3-bc26dd3cac31", | |
"synced": false | |
}, | |
{ | |
"id": "17ea1b33-79fe-b2d3-68f6-3112b3160304", | |
"headers": "", | |
"url": "{{host}}/forces/metropolitan", | |
"pathVariables": {}, | |
"preRequestScript": "", | |
"method": "GET", | |
"data": [], | |
"dataMode": "params", | |
"name": "Infos about specific force", | |
"description": "Self-explanatory, right?", | |
"descriptionFormat": "html", | |
"time": 1406288643203, | |
"version": 2, | |
"responses": [], | |
"tests": "", | |
"collectionId": "2e952df7-f894-48e4-1fb3-bc26dd3cac31", | |
"synced": false | |
}, | |
{ | |
"id": "3727f908-a368-07d7-c707-5cd6be945bf6", | |
"headers": "", | |
"url": "{{host}}/forces", | |
"pathVariables": {}, | |
"preRequestScript": "", | |
"method": "GET", | |
"data": [], | |
"dataMode": "params", | |
"name": "List of forces", | |
"description": "A list of all the police forces available via the API. Unique force identifiers obtained here are used in requests for force-specific data via other methods. ", | |
"descriptionFormat": "html", | |
"time": 1406288580537, | |
"version": 2, | |
"responses": [], | |
"tests": "", | |
"collectionId": "2e952df7-f894-48e4-1fb3-bc26dd3cac31", | |
"synced": false | |
}, | |
{ | |
"id": "56407e85-eb71-b017-5b5c-52f57b4e71af", | |
"headers": "", | |
"url": "{{host}}/metropolitan/neighbourhoods", | |
"pathVariables": {}, | |
"preRequestScript": "", | |
"method": "GET", | |
"data": [], | |
"dataMode": "params", | |
"name": " List of neighbourhoods for a force ", | |
"description": " Returns a list of valid categories for a given data set date. ", | |
"descriptionFormat": "html", | |
"time": 1406291334299, | |
"version": 2, | |
"responses": [], | |
"tests": "", | |
"collectionId": "2e952df7-f894-48e4-1fb3-bc26dd3cac31", | |
"synced": false | |
}, | |
{ | |
"id": "a1aecba7-a85b-4043-1d54-7abf838cce45", | |
"headers": "", | |
"url": "{{host}}/crimes-street/all-crime?poly=52.268,0.543:52.794,0.238:52.130,0.478&date=2013-01", | |
"pathVariables": {}, | |
"preRequestScript": "", | |
"method": "GET", | |
"data": [], | |
"dataMode": "params", | |
"name": "Street-level crimes (poly area)", | |
"description": "Crimes at street-level; either within a 1 mile radius of a single point, or within a custom area.\n\n*The street-level crimes returned in the API are only an approximation of where the actual crimes occurred, they are NOT the exact locations.*\n\nIf a custom area contains more than 10,000 crimes, the API will return a 503 status code.\nThe API will return a 400 status code in response to a GET request longer than 4094 characters. For submitting particularly complex poly parameters, consider using POST instead.\n\n**Parameters:**\n\n``poly``: The lat/lng pairs which define the boundary of the custom area. Pairs are separated by colons: ``[lat],[lng]:[lat],[lng]:[lat],[lng]``\n\n``date``: *Optional.* (YYYY-MM) Limit results to a specific month. Latest month shown by default.\n\n**Results:**\n\nSee [complete description](http://data.police.uk/docs/method/crime-street/) of terms used.", | |
"descriptionFormat": "html", | |
"time": 1406289267504, | |
"version": 2, | |
"responses": [], | |
"tests": "", | |
"collectionId": "2e952df7-f894-48e4-1fb3-bc26dd3cac31", | |
"synced": false | |
}, | |
{ | |
"id": "a451da18-78e8-64b7-0c0d-4802da1e0b71", | |
"headers": "", | |
"url": "{{host}}/crimes-street/outcomes-at-location?lat=51.5749601&lng=-0.1544628&date=2014-05", | |
"pathVariables": {}, | |
"preRequestScript": "", | |
"method": "GET", | |
"data": [], | |
"dataMode": "params", | |
"name": "Outcomes at location", | |
"description": "Outcomes at street-level; either at a specific location, within a 1 mile radius of a single point, or within a custom area.\n\nIf a custom area contains more than 10,000 crimes, the API will return a 503 status code.\nThe API will return a 400 status code in response to a GET request longer than 4094 characters. For submitting particularly complex poly parameters, consider using POST instead.\n\n**Parameters:**\n\n``lat``: Latitude of the requested crime area\n\n``lng``: Longitude of the requested crime area\n\n``date``: (YYYY-MM) Limit results to a specific month. Latest month shown by default.\n\n**OR** use ``poly``\n\n**Results:**\n\nSee [complete description](http://data.police.uk/docs/method/outcomes-at-location/) of terms used.", | |
"descriptionFormat": "html", | |
"time": 1406290563419, | |
"version": 2, | |
"responses": [], | |
"tests": "", | |
"collectionId": "2e952df7-f894-48e4-1fb3-bc26dd3cac31", | |
"synced": false | |
}, | |
{ | |
"id": "a72cd091-6c8d-7694-1858-c268883167c5", | |
"headers": "", | |
"url": "{{host}}/metropolitan/00AEGW/priorities", | |
"pathVariables": {}, | |
"preRequestScript": "", | |
"method": "GET", | |
"data": [], | |
"dataMode": "params", | |
"name": " Neighbourhood priorities ", | |
"description": "", | |
"descriptionFormat": "html", | |
"time": 1406291468362, | |
"version": 2, | |
"responses": [], | |
"tests": "", | |
"collectionId": "2e952df7-f894-48e4-1fb3-bc26dd3cac31", | |
"synced": false | |
}, | |
{ | |
"id": "c73977b9-e3a5-25e6-659f-a4d03f255df9", | |
"headers": "", | |
"url": "{{host}}/crimes-street/all-crime?lat=51.5749601&lng=-0.1544628&date=2014-05", | |
"pathVariables": {}, | |
"preRequestScript": "", | |
"method": "GET", | |
"data": [], | |
"dataMode": "params", | |
"name": "Street-level crimes (specific point)", | |
"description": "Crimes at street-level; either within a 1 mile radius of a single point, or within a custom area.\n\n*The street-level crimes returned in the API are only an approximation of where the actual crimes occurred, they are NOT the exact locations.*\n\nIf a custom area contains more than 10,000 crimes, the API will return a 503 status code.\nThe API will return a 400 status code in response to a GET request longer than 4094 characters. For submitting particularly complex poly parameters, consider using POST instead.\n\n**Parameters:**\n\n``lat``: Latitude of the requested crime area\n\n``lng``: Longitude of the requested crime area\n\n``date``: *Optional.* (YYYY-MM) Limit results to a specific month. Latest month shown by default.\n\n**Results:**\n\nSee [complete description](http://data.police.uk/docs/method/crime-street/) of terms used.", | |
"descriptionFormat": "html", | |
"time": 1406288905329, | |
"version": 2, | |
"responses": [], | |
"tests": "", | |
"collectionId": "2e952df7-f894-48e4-1fb3-bc26dd3cac31", | |
"synced": false | |
}, | |
{ | |
"id": "d14f413a-0756-b3c6-0a11-b99189bf5e1c", | |
"headers": "", | |
"url": "{{host}}/forces/leicestershire/people", | |
"pathVariables": {}, | |
"preRequestScript": "", | |
"method": "GET", | |
"data": [], | |
"dataMode": "params", | |
"name": "List of senior officers", | |
"description": "Results vary quite a lot, depending on the chosen force.", | |
"descriptionFormat": "html", | |
"time": 1406288715487, | |
"version": 2, | |
"responses": [], | |
"tests": "", | |
"collectionId": "2e952df7-f894-48e4-1fb3-bc26dd3cac31", | |
"synced": false | |
}, | |
{ | |
"id": "d786d8d3-e90a-4f3e-7978-64902c6e73b8", | |
"headers": "", | |
"url": "{{host}}/leicestershire/C01/events", | |
"pathVariables": {}, | |
"preRequestScript": "", | |
"method": "GET", | |
"data": [], | |
"dataMode": "params", | |
"name": "Neighbourhood events ", | |
"description": "", | |
"descriptionFormat": "html", | |
"time": 1406291523628, | |
"version": 2, | |
"responses": [], | |
"tests": "", | |
"collectionId": "2e952df7-f894-48e4-1fb3-bc26dd3cac31", | |
"synced": false | |
}, | |
{ | |
"id": "dc6ca251-3526-daa8-8079-79d0fba26858", | |
"headers": "", | |
"url": "{{host}}/outcomes-for-crime/55cf6589528767582bf0c96af1a4f99308aa66daad285c3f8317df357628bee0", | |
"pathVariables": {}, | |
"preRequestScript": "", | |
"method": "GET", | |
"data": [], | |
"dataMode": "params", | |
"name": " Outcomes for a specific crime ", | |
"description": "Returns the outcomes (case history) for the specified crime. Crime ID is 64-character identifier, as returned by other API methods.\n\n**Results:**\n\nSee [complete description](http://data.police.uk/docs/method/outcomes-for-crime/) of terms used.", | |
"descriptionFormat": "html", | |
"time": 1406290834213, | |
"version": 2, | |
"responses": [], | |
"tests": "", | |
"collectionId": "2e952df7-f894-48e4-1fb3-bc26dd3cac31", | |
"synced": false | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment