GovChat - Police Data
GovChat - Police Data · Acciones GPT
Police Data API
API for querying police data.
GET /police/forcesQuery Police ForcesReturns the details of a specific Police Force.
GET /police/forces/{force_id}Query Police ForcesReturns the details of a specific Police Force.
Esquema original API
{
"openapi": "3.1.0",
"info": {
"title": "Police Data API",
"description": "API for querying police data.",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://govchat.firstliot.app"
}
],
"paths": {
"/police/forces": {
"get": {
"operationId": "PoliceForces",
"x-openai-isConsequential": false,
"summary": "Query Police Forces",
"description": "Returns the details of a specific Police Force.",
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PoliceForces"
}
}
}
}
}
}
},
"/police/forces/{force_id}": {
"get": {
"operationId": "PoliceForcebyID",
"x-openai-isConsequential": false,
"summary": "Query Police Forces",
"description": "Returns the details of a specific Police Force.",
"parameters": [
{
"in": "path",
"name": "force_id",
"schema": {
"type": "string"
},
"required": true,
"description": "Force ID."
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PoliceForceDetails"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"PoliceForces": {
"type": "object",
"properties": {
"force_id": {
"type": "string"
},
"force_name": {
"type": "string"
}
}
},
"PoliceForceDetails": {
"type": "object",
"properties": {
"force_id": {
"type": "string"
},
"force_name": {
"type": "string"
}
}
}
}
}
}