Data Quality

Summarise cited sources

The registry totals, and every kind in the source hierarchy with its rank, what it means, example sites, and how many sites and citations of that kind the catalogue holds.

No API key required.

get/v1/data/sources/summary

Request

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

Response

Summarise cited sources

successboolean required

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

Example response

{
  "success": true,
  "data": {
    "totals": {
      "hosts": 1873,
      "citations": 27184,
      "authority": 556,
      "unclassified": 901
    },
    "kinds": [
      {
        "kind": "manufacturer",
        "label": "Manufacturer",
        "description": "The maker's own product page, manual, datasheet or catalogue.",
        "examples": [
          "glock.com"
        ],
        "hosts": 501,
        "citations": 5676
      }
    ]
  }
}

Changes

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