for owner, author, student, and affiliate
GET /api/v1/captions
Request
Headers
Route
GET /api/v1/captions
Query Parameters
{}:
cURL
curl "http://localhost:3000/api/v1/captions" -X GET \
-H "Accept: application/json" \
-H "X-Api-Token: cJsq3LvyU3rV3FQzrik2zrSKibMzje86yA" \
-H "X-Api-Email: user-646@example.com" \
-H "Content-Type: application/json" \
-H "Host: school.worksonmy.computer"
Response
Headers
Status
200 OK
Body
{
"captions": [
],
"meta": {
"total": 0,
"page": 1,
"from": 0,
"to": 0,
"per": 25,
"number_of_pages": 1,
"query": {
"school_id": 489
}
}
}
Request
Headers
Route
GET /api/v1/captions
Query Parameters
{}:
cURL
curl "http://localhost:3000/api/v1/captions" -X GET \
-H "Accept: application/json" \
-H "X-Api-Token: cJsq3LvyU3rV3FQzrik2zrSKibMzje86yA" \
-H "X-Api-Email: user-646@example.com" \
-H "Content-Type: application/json" \
-H "Host: school.worksonmy.computer"
Response
Headers
Status
200 OK
Body
{
"captions": [
],
"meta": {
"total": 0,
"page": 1,
"from": 0,
"to": 0,
"per": 25,
"number_of_pages": 1,
"query": {
"school_id": 489
}
}
}
Request
Headers
Route
GET /api/v1/captions
Query Parameters
{}:
cURL
curl "http://localhost:3000/api/v1/captions" -X GET \
-H "Accept: application/json" \
-H "X-Api-Token: cJsq3LvyU3rV3FQzrik2zrSKibMzje86yA" \
-H "X-Api-Email: user-646@example.com" \
-H "Content-Type: application/json" \
-H "Host: school.worksonmy.computer"
Response
Headers
Status
200 OK
Body
{
"captions": [
],
"meta": {
"total": 0,
"page": 1,
"from": 0,
"to": 0,
"per": 25,
"number_of_pages": 1,
"query": {
"school_id": 489
}
}
}
Request
Headers
Route
GET /api/v1/captions
Query Parameters
{}:
cURL
curl "http://localhost:3000/api/v1/captions" -X GET \
-H "Accept: application/json" \
-H "X-Api-Token: cJsq3LvyU3rV3FQzrik2zrSKibMzje86yA" \
-H "X-Api-Email: user-646@example.com" \
-H "Content-Type: application/json" \
-H "Host: school.worksonmy.computer"
Response
Headers
Status
200 OK
Body
{
"captions": [
],
"meta": {
"total": 0,
"page": 1,
"from": 0,
"to": 0,
"per": 25,
"number_of_pages": 1,
"query": {
"school_id": 489
}
}
}