Metrics
All three of the metric endpoints are public and do not require a Pro account.
GET /metric/pendings
Public endpoint. Provides a count of pending posts.
Endpoint Example
Below is a live example that can be copy and pasted.
curl https://sandbox.sellinpublic.com/api/v0/metric/pendings -u "demo:sip_api_sand_01234demo56789_key"
Below is the expected result from that cURL call:
{
"status": "success",
"messages": [],
"meta": {},
"data": {
"count": 1
}
}
GET /metric/posts
Public endpoint. Provides a count of published posts.
Endpoint Example
Below is a live example that can be copy and pasted.
curl https://sandbox.sellinpublic.com/api/v0/metric/posts -u "demo:sip_api_sand_01234demo56789_key"
Below is the expected result from that cURL call:
{
"status": "success",
"messages": [],
"meta": {},
"data": {
"count": 8
}
}
GET /metric/usernames
Public endpoint. Provides a count of usernames created.
Endpoint Example
Below is a live example that can be copy and pasted.
curl https://sandbox.sellinpublic.com/api/v0/metric/usernames -u "demo:sip_api_sand_01234demo56789_key"
Below is the expected result from that cURL call:
{
"status": "success",
"messages": [],
"meta": {},
"data": {
"count": 4
}
}