Conflicts

List armed conflicts

Returns every conflict referenced in firearm service histories, with the firearms recorded in each.

Requires Builder tier or higher.

get/v1/conflicts

Request

  • Base URL: https://api.gunspec.io
  • URL: https://api.gunspec.io/v1/conflicts
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Response

List armed conflicts

successboolean required

Always true on a successful response. Every error carries false and an error object instead.

Example response

{
  "success": true,
  "data": [
    {
      "name": "Vietnam War",
      "firearmCount": 34,
      "firearms": [
        {
          "id": "m16a1",
          "name": "M16A1"
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.