Add a JSON endpoint for pulling data out of the adoption scanner
Problem to solve
We want to start making the Pajamas Adoption a KPI so we'll need a way to track it outside of the adoption scanner in Tableau or similar. In order to maintain the adoption scanner as the SSOT we'll need a way to export this data to any other sources.
Proposal
Add a new route at /adoption_by_group.json
or similar that uses the scanning results to generate a JSON output. Use this structure:
{
"minimumFindings": 10,
"bounds": {
"low": 0.8,
"high": 0.95
},
"groups": [{
"name": "group::foundations",
"adopted": 71,
"notAdopted": 9
}, {
"name": "group::project management",
"adopted": 102,
"notAdopted": 213
},
...
]
}
Edited by Mark Florian