GET
/
fastedge
/
v1
/
admin
/
clients
/
{id}
Get status and limits for the specified client
curl --request GET \
  --url https://api.gcore.com/fastedge/v1/admin/clients/{id} \
  --header 'Authorization: <api-key>'
{
  "status": 123,
  "hourly_limit": 123,
  "hourly_consumption": 123,
  "daily_limit": 123,
  "daily_consumption": 123,
  "app_limit": 123,
  "app_count": 123,
  "monthly_consumption": 123,
  "networks": [
    {
      "name": "<string>",
      "is_default": true
    }
  ],
  "plan_id": 123,
  "plan": "<string>",
  "reseller_id": 123
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

id
integer
required

ID of the client

Response

Ok

status
integer
required

Status code:
1 - enabled
2 - disabled
3 - hourly call limit exceeded
4 - daily call limit exceeded
5 - suspended

hourly_limit
integer
required

Max allowed calls for all apps during an hour

hourly_consumption
integer
required

Actual number of calls for all apps during the current hour

daily_limit
integer
required

Max allowed calls for all apps during a day (UTC)

daily_consumption
integer
required

Actual number of calls for all apps during the current day (UTC)

app_limit
integer
required

Max allowed number of apps

app_count
integer
required

Actual allowed number of apps

monthly_consumption
integer
required

Actual number of calls for all apps during the current calendar month (UTC)

networks
object[]
required

List of enabled networks

plan_id
integer
required

Plan ID

reseller_id
integer
required

Reseller ID

plan
string

Plan name