cURL
curl --request GET \
--url https://api.example.com/v1/panel/overview/dashboardimport requests
url = "https://api.example.com/v1/panel/overview/dashboard"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/panel/overview/dashboard', 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.example.com/v1/panel/overview/dashboard",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.com/v1/panel/overview/dashboard"
req, _ := http.NewRequest("GET", url, nil)
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.example.com/v1/panel/overview/dashboard")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/panel/overview/dashboard")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"windowSeconds": 123,
"generatedAt": "2023-11-07T05:31:56Z",
"timezone": "<string>",
"customers": [
{
"key": "<string>",
"definition": "<string>",
"value": 123
}
],
"subscriptions": [
{
"key": "<string>",
"definition": "<string>",
"value": 123
}
],
"payments": [
{
"key": "<string>",
"definition": "<string>",
"value": 123
}
],
"support": [
{
"key": "<string>",
"definition": "<string>",
"value": 123
}
],
"operations": [
{
"key": "<string>",
"definition": "<string>",
"value": 123
}
],
"revenue": [
{
"currency": "<string>",
"paidMinor": 123,
"walletMinor": 123,
"refundedMinor": 123,
"orderCount": 123
}
],
"attention": [
{
"key": "<string>",
"severity": "alert",
"count": 123,
"href": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"request_id": "<string>"
}panel
Get v1paneloverviewdashboard
Requires system.read. Each metric carries the identifier of its own definition, every timestamp is UTC, and revenue is reported as three separate figures rather than one that double-counts wallet credit.
GET
/
v1
/
panel
/
overview
/
dashboard
cURL
curl --request GET \
--url https://api.example.com/v1/panel/overview/dashboardimport requests
url = "https://api.example.com/v1/panel/overview/dashboard"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/panel/overview/dashboard', 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.example.com/v1/panel/overview/dashboard",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.com/v1/panel/overview/dashboard"
req, _ := http.NewRequest("GET", url, nil)
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.example.com/v1/panel/overview/dashboard")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/panel/overview/dashboard")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"windowSeconds": 123,
"generatedAt": "2023-11-07T05:31:56Z",
"timezone": "<string>",
"customers": [
{
"key": "<string>",
"definition": "<string>",
"value": 123
}
],
"subscriptions": [
{
"key": "<string>",
"definition": "<string>",
"value": 123
}
],
"payments": [
{
"key": "<string>",
"definition": "<string>",
"value": 123
}
],
"support": [
{
"key": "<string>",
"definition": "<string>",
"value": 123
}
],
"operations": [
{
"key": "<string>",
"definition": "<string>",
"value": 123
}
],
"revenue": [
{
"currency": "<string>",
"paidMinor": 123,
"walletMinor": 123,
"refundedMinor": 123,
"orderCount": 123
}
],
"attention": [
{
"key": "<string>",
"severity": "alert",
"count": 123,
"href": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"request_id": "<string>"
}Response
Operations overview
Always UTC. The panel converts for display.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes