Sunbird cQube
Search…
⌃K

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
{
"Authorization":"Bearer access_token",
"Content-Type":"application/json"
}
List S3 Buckets API Endpoint
GET https://cqube_domain/data/list_s3_buckets
Output Body
{
"input":"cqube-input-bucket",
"output":"cqube-output-bucket",
"emission":"cqube-emission-bucket"
}
POST https://cqube_domain/data/list_s3_files
Request Body:
{
"bucket":"cqube-output-bucket"
}
POST https://cqube_domain/data/download_uri
Output Body:
{
"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",
"bucket":"cqube-gj-input"
}