Sunbird cQube
Search…
Ad-hoc analysis
  • cQube enables download of computed metrics for analysis outside cQube by using any third party tool like Excel, METABASE, Tableau, KNIME or any other similar tool.
  • Users can download the JSON files from the S3 output bucket through the API.
  • The example spec for the download API will be as like below
API headers
1
{
2
"Authorization":"Bearer access_token",
3
"Content-Type":"application/json"
4
}
Copied!
List S3 Buckets API Endpoint
GET https://cqube_domain/data/list_s3_buckets
Output Body
1
{
2
"input":"cqube-input-bucket",
3
"output":"cqube-output-bucket",
4
"emission":"cqube-emission-bucket"
5
}
Copied!
POST https://cqube_domain/data/list_s3_files
Request Body:
1
{
2
"bucket":"cqube-output-bucket"
3
}
Copied!
POST https://cqube_domain/data/download_uri
Output Body:
1
{
2
"filename":"school_master/2020/2020-06/2020-06-04_school_master/04-06-2020_13:12:59.574_5e1 60862-c5b3-4121-9a96-ecefa34fc264_school_mst.zip",
3
"bucket":"cqube-gj-input"
4
}
Copied!
Last modified 1mo ago
Copy link