Get Course count
curl --request GET \
  --url https://{tenant_name}.{region}.techwolf.ai/courses/metrics/count \
  --header 'Authorization: Bearer <token>'
{
  "entity_type": "Course",
  "entity_id": "a3903505-eb84-42dc-a79f-5e7b1fe897b7",
  "metric_name": "count",
  "metric_value": 1000,
  "last_update": "2020-09-01T11:45:49Z"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Response

OK

The base template for a metric. The base template for a collection metric

metric_name
string
required
Example:

"count"

metric_value
integer
required

Total number of Course objects stored inside the system.

Example:

1000

entity_type
string
required
Example:

"Course"

entity_id
string<uuid>
required

The unique ID in your system, consisting of alphanumeric characters, hyphens and underscores.

Required string length: 1 - 100
Example:

"a3903505-eb84-42dc-a79f-5e7b1fe897b7"

last_update
string<date-time>
required
Example:

"2020-09-01T11:45:49Z"