Get a Scorecard
Changed onFetches a scorecard.
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
The id of the scorecard.
Response
A response containing a single scorecard.
Representation of a scorecard.
The human-readable name of the scorecard.
The current score for the given Scorecard. A null value indicates the scorecard has not yet been evaluated and therefore no score has been computed.
Selector used to dynamically target catalog entities that will be included in the given scorecard's evaluated score.
The name of the scorecard template used to create the scorecard. Otherwise, null.
An ISO-8601 timestamp representation of entity creation date.
An ISO-8601 timestamp representation of entity update date.
Example response
{
"id": "f3704e4c-104d-4f21-998a-20d4364c893f",
"name": "Incident Response",
"description": "Governs key metrics pertaining to teams' incident response practices.",
"score": {
"value": "88%",
"raw_value": 87.5
},
"entity_selector": {
"selector": "label",
"selector_parameters": {
"label_key": "product_area",
"operator": "eq",
"value": "cloud_platform"
}
},
"scorecard_template": "kong_best_practices",
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z",
"criteria": [
{
"id": "5c1121f9-3f3a-47c7-9bb6-c81a51128714",
"name": "Time to restore service is less than 6 hours over the last 3 months.",
"scorecard_id": "f3704e4c-104d-4f21-998a-20d4364c893f",
"enabled": true,
"template_name": "time_to_merge",
"template_parameters": {
"measure": "median",
"threshold": {
"unit": "hours",
"value": 6
},
"window": {
"unit": "months",
"value": 3
}
},
"section_name": "Documentation",
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}
]
}Changes
- warning
added the new
403.00enum value to thestatusresponse property for the response status - warning
added the new
404.00enum value to thestatusresponse property for the response status
- warning
- breaking
the response's body type changed from no type to
objectfor status
18 more changes in this revision
- breaking