Data Quality

Count data tasks per finding

How many remediation tasks each finding has, by state, for a page that lists the checks and wants a marker on each, and how many closed over the last week, month and all time by who closed them. A finding is a check id, or the field for a gap. Keyless, on the same reasoning as the task list; counts reveal nothing a task does not.

No API key required.

get/v1/data/tasks/summary

Request

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

Query parameters

entity'manufacturers' | 'firearms' | 'calibers' | 'attachments' | 'ammunition'

Only tasks for one catalog.

Response

Count data tasks per finding

successboolean required

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

Example response

{
  "success": true,
  "data": {
    "findings": {
      "year_introduced": {
        "open": 1840,
        "resolved": 12
      },
      "bullet-type-is-drawable": {
        "open": 9
      }
    },
    "closed": {
      "last7Days": {
        "redback": 18,
        "redback_accepted": 0,
        "team": 270
      },
      "last30Days": {
        "redback": 18,
        "redback_accepted": 0,
        "team": 276
      },
      "allTime": {
        "redback": 18,
        "redback_accepted": 0,
        "team": 276
      }
    }
  }
}

Changes

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