Firearms

List images

Returns every image associated with a firearm, with credits and licensing.

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

get/v1/firearms/{id}/images

Request

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

Path parameters

idstring required

Resource slug ID

Response

List images

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",
      "url": "https://api.gunspec.io/v1/firearms/glock-g17-gen5/images/3076",
      "source": "manufacturer",
      "license": "fair-use",
      "storage": "cdn",
      "width": 1200,
      "height": 800
    }
  ]
}

Changes

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