Course Stats API

for owner and author

GET /api/v1/courses/stats

Request

Headers

Accept: application/json
X-Api-Token: w--rMjBKTJ7Gq2s8NMfoRUboyF4XmBTHYg
X-Api-Email: user-148@example.com

Route

GET /api/v1/courses/stats

Query Parameters

{}: 

cURL

curl "http://localhost:3000/api/v1/courses/stats" -X GET \
	-H "Accept: application/json" \
	-H "X-Api-Token: w--rMjBKTJ7Gq2s8NMfoRUboyF4XmBTHYg" \
	-H "X-Api-Email: user-148@example.com" \
	-H "Content-Type: application/json" \
	-H "Host: school.worksonmy.computer"

Response

Headers

Content-Type: application/json; charset=utf-8
Content-Length: 2

Status

200 OK

Body

{
}

Request

Headers

Accept: application/json
X-Api-Token: w--rMjBKTJ7Gq2s8NMfoRUboyF4XmBTHYg
X-Api-Email: user-148@example.com

Route

GET /api/v1/courses/stats

Query Parameters

{}: 

cURL

curl "http://localhost:3000/api/v1/courses/stats" -X GET \
	-H "Accept: application/json" \
	-H "X-Api-Token: w--rMjBKTJ7Gq2s8NMfoRUboyF4XmBTHYg" \
	-H "X-Api-Email: user-148@example.com" \
	-H "Content-Type: application/json" \
	-H "Host: school.worksonmy.computer"

Response

Headers

Content-Type: application/json; charset=utf-8
Content-Length: 2

Status

200 OK

Body

{
}