2020 Police Brutality · Capability

2020 Police Brutality API — Incidents

2020 Police Brutality API — Incidents. 3 operations. Lead operation: 2020 Police Brutality Get All Incidents V2. Self-contained Naftiko capability covering one 2020 Police Brutality business surface.

Run with Naftiko 2020 Police BrutalityIncidents

What You Can Do

GET
Getallincidentsv2 — 2020 Police Brutality Get All Incidents V2
/v1/all-locations-v2-json
GET
Getallincidentscsv — 2020 Police Brutality Get All Incidents as CSV
/v1/all-locations-csv
GET
Getallincidents — 2020 Police Brutality Get All Incidents
/v1/all-locations-json

MCP Tools

2020-police-brutality-get-all

2020 Police Brutality Get All Incidents V2

read-only idempotent
2020-police-brutality-get-all-2

2020 Police Brutality Get All Incidents as CSV

read-only idempotent
2020-police-brutality-get-all-3

2020 Police Brutality Get All Incidents

read-only idempotent

Capability Spec

2020-police-brutality-incidents.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 2020 Police Brutality API — Incidents
  description: '2020 Police Brutality API — Incidents. 3 operations. Lead operation: 2020 Police Brutality Get All Incidents
    V2. Self-contained Naftiko capability covering one 2020 Police Brutality business surface.'
  tags:
  - 2020 Police Brutality
  - Incidents
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    2020_POLICE_BRUTALITY_API_KEY: 2020_POLICE_BRUTALITY_API_KEY
capability:
  consumes:
  - type: http
    namespace: 2020-police-brutality-incidents
    baseUri: https://raw.githubusercontent.com/2020PB/police-brutality/data_build
    description: 2020 Police Brutality API — Incidents business capability. Self-contained, no shared references.
    resources:
    - name: all-locations-v2.json
      path: /all-locations-v2.json
      operations:
      - name: getallincidentsv2
        method: GET
        description: 2020 Police Brutality Get All Incidents V2
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: all-locations.csv
      path: /all-locations.csv
      operations:
      - name: getallincidentscsv
        method: GET
        description: 2020 Police Brutality Get All Incidents as CSV
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: all-locations.json
      path: /all-locations.json
      operations:
      - name: getallincidents
        method: GET
        description: 2020 Police Brutality Get All Incidents
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: 2020-police-brutality-incidents-rest
    port: 8080
    description: REST adapter for 2020 Police Brutality API — Incidents. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/all-locations-v2-json
      name: all-locations-v2-json
      description: REST surface for all-locations-v2.json.
      operations:
      - method: GET
        name: getallincidentsv2
        description: 2020 Police Brutality Get All Incidents V2
        call: 2020-police-brutality-incidents.getallincidentsv2
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/all-locations-csv
      name: all-locations-csv
      description: REST surface for all-locations.csv.
      operations:
      - method: GET
        name: getallincidentscsv
        description: 2020 Police Brutality Get All Incidents as CSV
        call: 2020-police-brutality-incidents.getallincidentscsv
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/all-locations-json
      name: all-locations-json
      description: REST surface for all-locations.json.
      operations:
      - method: GET
        name: getallincidents
        description: 2020 Police Brutality Get All Incidents
        call: 2020-police-brutality-incidents.getallincidents
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: 2020-police-brutality-incidents-mcp
    port: 9090
    transport: http
    description: MCP adapter for 2020 Police Brutality API — Incidents. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: 2020-police-brutality-get-all
      description: 2020 Police Brutality Get All Incidents V2
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: 2020-police-brutality-incidents.getallincidentsv2
      outputParameters:
      - type: object
        mapping: $.
    - name: 2020-police-brutality-get-all-2
      description: 2020 Police Brutality Get All Incidents as CSV
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: 2020-police-brutality-incidents.getallincidentscsv
      outputParameters:
      - type: object
        mapping: $.
    - name: 2020-police-brutality-get-all-3
      description: 2020 Police Brutality Get All Incidents
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: 2020-police-brutality-incidents.getallincidents
      outputParameters:
      - type: object
        mapping: $.