ackDB

List score definitions

Every definition (both grains), newest first. ?grain= narrows to one grain.

get/api/v1/ackdb/scores

Request

  • Base URL
    http://localhost:3009
  • Auth
    HTTP bearer

Query parameters

grain'company' | 'person'

Disambiguates a scoreKey that exists on both grains (400 without it in that case).

Response

The definitions.

Example response

{
  "scores": [
    {
      "scoreKey": "pql",
      "name": "PQL score",
      "groups": [
        {
          "key": "fit",
          "weight": 0.4
        }
      ],
      "criteria": [
        {
          "field": "event:slack.message",
          "valueField": "employee_count"
        }
      ],
      "labels": [
        {
          "label": "Excellent"
        }
      ]
    }
  ]
}

Changes

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