Firearms

List known users

Returns the military and law-enforcement operators recorded as using this firearm.

Available on every plan. Requires an API key; Explorer keys receive a reduced field set.

get/v1/firearms/{id}/users

Request

  • Base URL: https://api.gunspec.io
  • URL: https://api.gunspec.io/v1/firearms/{id}/users
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

idstring required

Resource slug ID

Response

List known users

successboolean required

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

Example response

{
  "success": true,
  "data": [
    {
      "id": 1,
      "firearmId": "glock-g17-gen5",
      "userName": "Austrian Armed Forces",
      "userType": "military",
      "countryCode": "AT",
      "adoptedYear": 1982,
      "designation": "Pistole 80"
    }
  ]
}

Changes

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