Bulletin Analytics
Bulletin report sign-off status breakdown
Powers the Reports pending KPI card on the Bulletins screen and the executive alert on the Overview screen (‘N bulletin reports pending sign-off’).
Returns report_status counts for both platforms. Frontend should sum report_status = awaiting_review across platforms to derive the alert count.
Report status values:
draft— editor has not yet signed offawaiting_review— editor signed off, head of news review pendingreviewed— head of news review completesigned_off— fully closed
GET
/
api
/
v1
/
analytics
/
bulletins
/
report-status
Bulletin report sign-off status breakdown
curl --request GET \
--url https://api.capedigital.co.ke/content/api/v1/analytics/bulletins/report-status \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.capedigital.co.ke/content/api/v1/analytics/bulletins/report-status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.capedigital.co.ke/content/api/v1/analytics/bulletins/report-status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.capedigital.co.ke/content/api/v1/analytics/bulletins/report-status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.capedigital.co.ke/content/api/v1/analytics/bulletins/report-status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.capedigital.co.ke/content/api/v1/analytics/bulletins/report-status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.capedigital.co.ke/content/api/v1/analytics/bulletins/report-status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
[
{
"platform": "television",
"report_status": "reviewed",
"count": 84,
"share_pct": "68.3"
},
{
"platform": "television",
"report_status": "awaiting_review",
"count": 18,
"share_pct": "14.6"
},
{
"platform": "television",
"report_status": "draft",
"count": 21,
"share_pct": "17.1"
},
{
"platform": "radio",
"report_status": "reviewed",
"count": 310,
"share_pct": "82.7"
},
{
"platform": "radio",
"report_status": "awaiting_review",
"count": 32,
"share_pct": "8.5"
},
{
"platform": "radio",
"report_status": "draft",
"count": 33,
"share_pct": "8.8"
}
]
]Authorizations
Enter your JWT token in the format: Bearer
Query Parameters
Period string. Accepted formats:
2026-05— calendar monthQ2-2026— quarter (Q1–Q4)YTD-2026— year to date
⌘I
Bulletin report sign-off status breakdown
curl --request GET \
--url https://api.capedigital.co.ke/content/api/v1/analytics/bulletins/report-status \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.capedigital.co.ke/content/api/v1/analytics/bulletins/report-status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.capedigital.co.ke/content/api/v1/analytics/bulletins/report-status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.capedigital.co.ke/content/api/v1/analytics/bulletins/report-status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.capedigital.co.ke/content/api/v1/analytics/bulletins/report-status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.capedigital.co.ke/content/api/v1/analytics/bulletins/report-status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.capedigital.co.ke/content/api/v1/analytics/bulletins/report-status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
[
{
"platform": "television",
"report_status": "reviewed",
"count": 84,
"share_pct": "68.3"
},
{
"platform": "television",
"report_status": "awaiting_review",
"count": 18,
"share_pct": "14.6"
},
{
"platform": "television",
"report_status": "draft",
"count": 21,
"share_pct": "17.1"
},
{
"platform": "radio",
"report_status": "reviewed",
"count": 310,
"share_pct": "82.7"
},
{
"platform": "radio",
"report_status": "awaiting_review",
"count": 32,
"share_pct": "8.5"
},
{
"platform": "radio",
"report_status": "draft",
"count": 33,
"share_pct": "8.8"
}
]
]