Organization API: Org Staff Live
Every Organization API operation tagged Org Staff Live.
Base URL: https://api.coritan.com/api/v1. Paths below are complete.
To try these requests in the browser, open the interactive Organization API reference.
Operations
Section titled Operations| Method | Path | Summary |
|---|---|---|
| GET | /api/v1/orgs/{org_slug}/staff/live |
What is happening on the storefront right now, for the staff Live page |
What is happening on the storefront right now, for the staff Live page
Section titled What is happening on the storefront right now, for the staff Live pageGET /api/v1/orgs/{org_slug}/staff/live
What is happening on the storefront right now, for the staff Live page.
Any member of the brand's support staff (Tier 1 and above) may read it; read-only members are refused. It answers:
visitors_now: the visitors with your site open, counted until 5 minutes after their last tab closes. A visitor counts while any tab of their visit is open, visible or hidden. A phone suspends a background tab soon after it is hidden, and a tab the browser discards counts as closed. Pages must load the tracking script to be counted. Bots are left out, each person is counted once and every one of them is counted, though the lists below read the 10,000 latest.sessions_todayis the visits since the brand's day began, in the brand's own time zone.orders_todayandrevenue_today: the orders placed and the money paid in since the brand's day began.revenue_todayis incurrency, the one with the most money today. Money in another currency is never added in. These two andrecent_orderscan be up to 10 seconds old.stages: how many visitors arebrowsing, in thecart, atcheckoutorpurchased, read from the page each one is on.visitors: those visitors we could place on the map, at most 10,000:id(an opaque id that is stable for the visit),lat,lon,country(a two-letter code),city,page(the path),stage,source(where the visit came from, worded as insources, such asDirectorGoogle),channel({key, label}: the marketing channel of the visit, such as Paid Search, which Source does not say) andsince(when the visit began). A visitor with no place is left off the map and counted everywhere else. No address or email is answered.top_pages,sourcesanddevices: the most visited pages, the sources visits came from and the devices they use, as{path|source|device, visitors}.channelsranks the live visitors by marketing channel, as{key, label, visitors}.recent_orders: the last 8 orders that were paid for, newest first:id,number(the invoice number),customer,product,amount,currencyandcreated_at.players_onlineandbusiest_servers: the players connected to the brand's servers and the five servers with the most, as{uuid, name, players, node_name}. Only Tier 2 support and above see them; below thatplayers_onlineis null andbusiest_serversempty. They are also null and empty when the game proxies cannot vouch for a count.
Every figure covers this brand only. The visitors, the lists under the map
and sessions_today can be up to 5 seconds old: members of one brand who
have the page open share one read of them.
Parameters
Section titled Parameters| Name | In | Type | Required |
|---|---|---|---|
org_slug |
path | string | yes |
Responses
Section titled Responses| Status | Meaning |
|---|---|
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |