API GraphQL C1DO1
Documentación generada automáticamente a partir del schema GraphQL. Incluye todos los tipos, queries, mutations y descripciones declaradas en el backend.
API Endpoints
http://localhost:3000/graphql
Queries
AllCourseTypes
Response
Returns [lmsCourseType]!
Example
Query
query AllCourseTypes {
AllCourseTypes {
description
id
title
}
}
Response
{
"data": {
"AllCourseTypes": [
{
"description": "xyz789",
"id": "4",
"title": "xyz789"
}
]
}
}
Answer
Example
Query
query Answer($id: ID!) {
Answer(id: $id) {
created_at
evaluated
evaluation_group {
...EvaluationGroupFragment
}
evaluation_group_id
everyone_evaluate_student_feedbacks {
...FeedbackFragment
}
exercise {
...ExerciseFragment
}
exercise_id
feedback {
...FeedbackFragment
}
id
notes
question_answers {
...QuestionAnswerFragment
}
seen_by_teacher
try_number
updated_at
user {
...UserFragment
}
user_course_status_stage {
...UserCourseStatusStageFragment
}
user_id
video_duration
video_link
video_size
video_size_without_compress
}
}
Variables
{"id": 4}
Response
{
"data": {
"Answer": {
"created_at": 987,
"evaluated": false,
"evaluation_group": EvaluationGroup,
"evaluation_group_id": 4,
"everyone_evaluate_student_feedbacks": [Feedback],
"exercise": Exercise,
"exercise_id": "4",
"feedback": Feedback,
"id": 4,
"notes": "xyz789",
"question_answers": [QuestionAnswer],
"seen_by_teacher": true,
"try_number": 987,
"updated_at": 123,
"user": User,
"user_course_status_stage": [UserCourseStatusStage],
"user_id": "4",
"video_duration": 123,
"video_link": ["xyz789"],
"video_size": 987.65,
"video_size_without_compress": 987.65
}
}
}
Category
Example
Query
query Category($id: ID!) {
Category(id: $id) {
courses {
...CourseFragment
}
en
es
id
name
}
}
Variables
{"id": "4"}
Response
{
"data": {
"Category": {
"courses": [Course],
"en": "abc123",
"es": "xyz789",
"id": 4,
"name": "xyz789"
}
}
}
CommonMistake
Response
Returns a CommonMistake
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
query CommonMistake($id: ID!) {
CommonMistake(id: $id) {
approved
author {
...UserFragment
}
author_id
course {
...CourseFragment
}
course_id
description
id
link
locale_descriptions
locale_titles
title
video_duration
video_size
video_size_without_compress
}
}
Variables
{"id": "4"}
Response
{
"data": {
"CommonMistake": {
"approved": false,
"author": User,
"author_id": "4",
"course": Course,
"course_id": 4,
"description": {},
"id": "4",
"link": "abc123",
"locale_descriptions": {},
"locale_titles": {},
"title": {},
"video_duration": 123,
"video_size": 123.45,
"video_size_without_compress": 987.65
}
}
}
Course
Example
Query
query Course($id: ID!) {
Course(id: $id) {
accepted_terms_payments
active_students {
...UserFragment
}
active_students_count
admin {
...UserFragment
}
admin_id
admissions_fee
ai_available_by_courses {
...AiAvailableByCourseTypeFragment
}
answers_count
available_languages
available_throughout_faculty
blind_evaluation
categories {
...CategoryFragment
}
category_ids
common_mistakes {
...CommonMistakeFragment
}
course_preview_images {
...PreviewImageFragment
}
created_at
default_language
description
discount_code {
...DiscountCodeFragment
}
discount_code_id
double_video_answers
duration
end_date
establishment {
...EstablishmentFragment
}
everyone_evaluate_id
failed_students {
...UserFragment
}
goal
has_evaluation_group_stages
has_everyone_evaluate_stages
id
is_closed_course
is_train_the_trainer
learn_list
lms_academic_period
lms_course_id
lms_course_type_id
lms_event_id
lms_id
lms_master_id
locale_descriptions
locale_learn_list
locale_titles
next_course {
...CourseFragment
}
number_of_students
parent_course {
...CourseFragment
}
passed_students {
...UserFragment
}
peer_review
pending_answer_to_evaluate_by_user
pending_request
pending_requests {
...RequestFragment
}
position
presentation_video
privacy_rule
published
random_student_assigment
requests {
...RequestFragment
}
requirement_course {
...CourseFragment
}
requirements {
...RequirementTypeFragment
}
review_avg
reviews {
...ReviewFragment
}
score
second_admin_id
sequential_stages
stages {
...StageFragment
}
start_date
student_capacity
student_upload
teachers {
...UserFragment
}
teachers_in_training {
...UserFragment
}
title
updated_at
updated_at_table
user {
...UserFragment
}
user_requests {
...UserFragment
}
video_duration
video_size
video_size_without_compress
}
}
Variables
{"id": "4"}
Response
{
"data": {
"Course": {
"accepted_terms_payments": false,
"active_students": [User],
"active_students_count": 987,
"admin": User,
"admin_id": 123,
"admissions_fee": 123.45,
"ai_available_by_courses": [
AiAvailableByCourseType
],
"answers_count": 123,
"available_languages": ["abc123"],
"available_throughout_faculty": 987,
"blind_evaluation": false,
"categories": [Category],
"category_ids": ["4"],
"common_mistakes": [CommonMistake],
"course_preview_images": [PreviewImage],
"created_at": 987,
"default_language": "abc123",
"description": {},
"discount_code": DiscountCode,
"discount_code_id": 987,
"double_video_answers": false,
"duration": "abc123",
"end_date": "xyz789",
"establishment": Establishment,
"everyone_evaluate_id": 123,
"failed_students": [User],
"goal": "abc123",
"has_evaluation_group_stages": false,
"has_everyone_evaluate_stages": false,
"id": 4,
"is_closed_course": true,
"is_train_the_trainer": false,
"learn_list": {},
"lms_academic_period": "xyz789",
"lms_course_id": "xyz789",
"lms_course_type_id": 987,
"lms_event_id": "xyz789",
"lms_id": "abc123",
"lms_master_id": "xyz789",
"locale_descriptions": {},
"locale_learn_list": {},
"locale_titles": {},
"next_course": [Course],
"number_of_students": 123,
"parent_course": Course,
"passed_students": [User],
"peer_review": true,
"pending_answer_to_evaluate_by_user": 123,
"pending_request": 123,
"pending_requests": [Request],
"position": 123,
"presentation_video": "xyz789",
"privacy_rule": "abc123",
"published": false,
"random_student_assigment": false,
"requests": [Request],
"requirement_course": [Course],
"requirements": [RequirementType],
"review_avg": 987.65,
"reviews": [Review],
"score": 987,
"second_admin_id": 987,
"sequential_stages": false,
"stages": [Stage],
"start_date": "abc123",
"student_capacity": 987,
"student_upload": true,
"teachers": [User],
"teachers_in_training": [User],
"title": {},
"updated_at": "xyz789",
"updated_at_table": 987,
"user": [User],
"user_requests": [User],
"video_duration": 123,
"video_size": 987.65,
"video_size_without_compress": 987.65
}
}
}
Exercise
Example
Query
query Exercise($id: ID!) {
Exercise(id: $id) {
answers {
...AnswerFragment
}
automatic_evaluation
description
evaluation_group_setting {
...EvaluationGroupSettingTypeFragment
}
evaluation_items {
...EvaluationItemFragment
}
evaluation_type
id
is_locked
is_multiple_choice_poll
locale_descriptions
period_of_time_enabled
questions {
...QuestionFragment
}
questions_to_approve
random_questions
stage {
...StageFragment
}
stage_id
train_the_trainer_exercise {
...TrainTheTrainerExerciseFragment
}
unlock_date
}
}
Variables
{"id": 4}
Response
{
"data": {
"Exercise": {
"answers": [Answer],
"automatic_evaluation": false,
"description": {},
"evaluation_group_setting": EvaluationGroupSettingType,
"evaluation_items": [EvaluationItem],
"evaluation_type": "abc123",
"id": "4",
"is_locked": false,
"is_multiple_choice_poll": false,
"locale_descriptions": {},
"period_of_time_enabled": "abc123",
"questions": [Question],
"questions_to_approve": 987,
"random_questions": 123,
"stage": Stage,
"stage_id": "4",
"train_the_trainer_exercise": TrainTheTrainerExercise,
"unlock_date": "abc123"
}
}
}
Feedback
Example
Query
query Feedback($id: ID!) {
Feedback(id: $id) {
answer {
...AnswerFragment
}
answer_id
approved
belong_to_feedback_id
comments
evaluated_at
everyone_evaluate_answer {
...AnswerFragment
}
everyone_evaluate_answer_id
feedback_audios {
...FeedbackAudioFragment
}
feedback_common_mistakes {
...FeedbackCommonMistakeFragment
}
feedback_drawings {
...FeedbackDrawingFragment
}
feedback_feedback {
...FeedbackFeedbackFragment
}
feedback_scores {
...FeedbackScoreFragment
}
feedback_summaries {
...FeedbackSummaryFragment
}
feedback_texts {
...FeedbackTextFragment
}
feedbacks {
...FeedbackFragment
}
finished
ia_was_requested_resume
id
is_open_feedback
seen_by_student
teacher {
...UserFragment
}
teacher_id
train_the_trainer_feedback {
...TrainTheTrainerFeedbackFragment
}
}
}
Variables
{"id": 4}
Response
{
"data": {
"Feedback": {
"answer": Answer,
"answer_id": "4",
"approved": false,
"belong_to_feedback_id": "4",
"comments": "xyz789",
"evaluated_at": "xyz789",
"everyone_evaluate_answer": Answer,
"everyone_evaluate_answer_id": 4,
"feedback_audios": [FeedbackAudio],
"feedback_common_mistakes": [FeedbackCommonMistake],
"feedback_drawings": [FeedbackDrawing],
"feedback_feedback": FeedbackFeedback,
"feedback_scores": [FeedbackScore],
"feedback_summaries": [FeedbackSummary],
"feedback_texts": [FeedbackText],
"feedbacks": [Feedback],
"finished": true,
"ia_was_requested_resume": 987,
"id": "4",
"is_open_feedback": false,
"seen_by_student": 987.65,
"teacher": User,
"teacher_id": 4,
"train_the_trainer_feedback": TrainTheTrainerFeedback
}
}
}
GetFeedbackTextCriteria
Response
Returns [FeedbackTextCriteria]
Arguments
Name | Description |
---|---|
feedback_text_id - ID
|
Example
Query
query GetFeedbackTextCriteria($feedback_text_id: ID) {
GetFeedbackTextCriteria(feedback_text_id: $feedback_text_id) {
approved
criteria_id
feedback_text {
...FeedbackTextFragment
}
feedback_text_id
id
reason
text
time
}
}
Variables
{"feedback_text_id": 4}
Response
{
"data": {
"GetFeedbackTextCriteria": [
{
"approved": false,
"criteria_id": 123,
"feedback_text": FeedbackText,
"feedback_text_id": 987,
"id": 4,
"reason": "abc123",
"text": "xyz789",
"time": 123.45
}
]
}
}
Request
Example
Query
query Request($id: ID!) {
Request(id: $id) {
course {
...CourseFragment
}
course_id
id
request_message
status
user {
...UserFragment
}
user_id
}
}
Variables
{"id": 4}
Response
{
"data": {
"Request": {
"course": Course,
"course_id": "4",
"id": 4,
"request_message": "xyz789",
"status": "xyz789",
"user": User,
"user_id": 4
}
}
}
Scale
Example
Query
query Scale($id: ID!) {
Scale(id: $id) {
description
id
max_value
min_value
name
required_value
requires_description
value_type
}
}
Variables
{"id": 4}
Response
{
"data": {
"Scale": {
"description": "xyz789",
"id": "4",
"max_value": 123,
"min_value": 123,
"name": "xyz789",
"required_value": 987,
"requires_description": true,
"value_type": "xyz789"
}
}
}
Stage
Example
Query
query Stage($id: ID!) {
Stage(id: $id) {
audios {
...TutorialAudioFragment
}
course {
...CourseFragment
}
course_id
description
docs {
...TutorialDocFragment
}
exercise {
...ExerciseFragment
}
id
images {
...TutorialImageFragment
}
is_everyone_evaluate
locale_descriptions
locale_titles
next_stage {
...StageFragment
}
position
previous_stage {
...StageFragment
}
stage_preview_images {
...PreviewImageFragment
}
title
tutorial_articulate {
...TutorialArticulateFragment
}
tutorial_videos {
...TutorialVideoFragment
}
}
}
Variables
{"id": 4}
Response
{
"data": {
"Stage": {
"audios": [TutorialAudio],
"course": Course,
"course_id": "4",
"description": {},
"docs": [TutorialDoc],
"exercise": Exercise,
"id": 4,
"images": [TutorialImage],
"is_everyone_evaluate": false,
"locale_descriptions": {},
"locale_titles": {},
"next_stage": Stage,
"position": 987,
"previous_stage": Stage,
"stage_preview_images": [PreviewImage],
"title": {},
"tutorial_articulate": [TutorialArticulate],
"tutorial_videos": [TutorialVideo]
}
}
}
SuperAdminUserByType
TutorialVideo
Response
Returns a TutorialVideo
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
query TutorialVideo($id: ID!) {
TutorialVideo(id: $id) {
description
id
link
locale_descriptions
locale_titles
stage_id
title
tutorial_audios {
...TutorialAudioFragment
}
tutorial_docs {
...TutorialDocFragment
}
tutorial_images {
...TutorialImageFragment
}
updated_at
video_duration
video_size
video_size_without_compress
}
}
Variables
{"id": 4}
Response
{
"data": {
"TutorialVideo": {
"description": {},
"id": 4,
"link": "xyz789",
"locale_descriptions": {},
"locale_titles": {},
"stage_id": "4",
"title": {},
"tutorial_audios": [TutorialAudio],
"tutorial_docs": [TutorialDoc],
"tutorial_images": [TutorialImage],
"updated_at": 987,
"video_duration": 987,
"video_size": 987.65,
"video_size_without_compress": 123.45
}
}
}
User
Example
Query
query User($id: ID!) {
User(id: $id) {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Variables
{"id": "4"}
Response
{
"data": {
"User": {
"about": "xyz789",
"academic_degree": "xyz789",
"accepted_requests": [Course],
"accepted_terms": true,
"address": "abc123",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": false,
"authorized_create_course_by_establishments": false,
"available_courses": 123,
"available_licenses": 123,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 987,
"birth_date": "xyz789",
"color": "xyz789",
"country": "abc123",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "xyz789",
"dynamic_labels": [DynamicLabel],
"email": "abc123",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": 4,
"identity_number": "abc123",
"image": "abc123",
"in_training_courses": [Course],
"institution": "xyz789",
"institution_code": "xyz789",
"internal_users": [User],
"is_superadmin": false,
"last_login": "xyz789",
"lastname": "abc123",
"licenses": 123,
"linkedin": "xyz789",
"lms_user_id": "xyz789",
"locale": "xyz789",
"max_courses": 987,
"name": "abc123",
"notifications": [Notification],
"onboarding": true,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "xyz789",
"pending_requests": [Course],
"presentation_video": "xyz789",
"profession": "xyz789",
"profile_image_link": "abc123",
"provider": "abc123",
"rating": 987,
"rejected_requests": [Course],
"requests": [Request],
"role": "xyz789",
"role_id": 987,
"second_admin_courses": [Course],
"sex": "xyz789",
"state": "abc123",
"status_id": "abc123",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 987,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 123,
"video_size": 123.45,
"video_size_without_compress": 123.45,
"work_place": "xyz789"
}
}
}
UserCourseInfoType
Example
Query
query UserCourseInfoType($user_id: Int!) {
UserCourseInfoType(user_id: $user_id) {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Variables
{"user_id": 123}
Response
{
"data": {
"UserCourseInfoType": {
"about": "abc123",
"academic_degree": "xyz789",
"accepted_requests": [Course],
"accepted_terms": false,
"address": "xyz789",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": true,
"authorized_create_course_by_establishments": true,
"available_courses": 987,
"available_licenses": 123,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 123,
"birth_date": "abc123",
"color": "xyz789",
"country": "abc123",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "abc123",
"dynamic_labels": [DynamicLabel],
"email": "abc123",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": 4,
"identity_number": "abc123",
"image": "xyz789",
"in_training_courses": [Course],
"institution": "abc123",
"institution_code": "xyz789",
"internal_users": [User],
"is_superadmin": false,
"last_login": "xyz789",
"lastname": "abc123",
"licenses": 987,
"linkedin": "abc123",
"lms_user_id": "abc123",
"locale": "abc123",
"max_courses": 987,
"name": "xyz789",
"notifications": [Notification],
"onboarding": true,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "xyz789",
"pending_requests": [Course],
"presentation_video": "xyz789",
"profession": "abc123",
"profile_image_link": "abc123",
"provider": "abc123",
"rating": 987,
"rejected_requests": [Course],
"requests": [Request],
"role": "xyz789",
"role_id": 123,
"second_admin_courses": [Course],
"sex": "xyz789",
"state": "abc123",
"status_id": "xyz789",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 123,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 123,
"video_size": 123.45,
"video_size_without_compress": 123.45,
"work_place": "abc123"
}
}
}
_allAnswersMeta
Response
Returns a ListMetadata
Arguments
Name | Description |
---|---|
page - Int
|
|
perPage - Int
|
|
sortField - String
|
|
sortOrder - String
|
|
filter - AnswerFilter
|
Example
Query
query _allAnswersMeta(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: AnswerFilter
) {
_allAnswersMeta(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter
) {
count
}
}
Variables
{
"page": 987,
"perPage": 123,
"sortField": "xyz789",
"sortOrder": "xyz789",
"filter": AnswerFilter
}
Response
{"data": {"_allAnswersMeta": {"count": 987}}}
_allCategoriesMeta
Response
Returns a ListMetadata
Arguments
Name | Description |
---|---|
page - Int
|
|
perPage - Int
|
|
sortField - String
|
|
sortOrder - String
|
|
filter - CategoryFilter
|
Example
Query
query _allCategoriesMeta(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: CategoryFilter
) {
_allCategoriesMeta(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter
) {
count
}
}
Variables
{
"page": 123,
"perPage": 123,
"sortField": "abc123",
"sortOrder": "xyz789",
"filter": CategoryFilter
}
Response
{"data": {"_allCategoriesMeta": {"count": 123}}}
_allCommonMistakesMeta
Response
Returns a ListMetadata
Arguments
Name | Description |
---|---|
page - Int
|
|
perPage - Int
|
|
sortField - String
|
|
sortOrder - String
|
|
filter - CommonMistakeFilter
|
Example
Query
query _allCommonMistakesMeta(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: CommonMistakeFilter
) {
_allCommonMistakesMeta(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter
) {
count
}
}
Variables
{
"page": 123,
"perPage": 987,
"sortField": "abc123",
"sortOrder": "abc123",
"filter": CommonMistakeFilter
}
Response
{"data": {"_allCommonMistakesMeta": {"count": 123}}}
_allCoursesMeta
Response
Returns a ListMetadata
Arguments
Name | Description |
---|---|
page - Int
|
|
perPage - Int
|
|
sortField - String
|
|
sortOrder - String
|
|
filter - CourseFilter
|
Example
Query
query _allCoursesMeta(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: CourseFilter
) {
_allCoursesMeta(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter
) {
count
}
}
Variables
{
"page": 987,
"perPage": 987,
"sortField": "abc123",
"sortOrder": "xyz789",
"filter": CourseFilter
}
Response
{"data": {"_allCoursesMeta": {"count": 987}}}
_allExercisesMeta
Response
Returns a ListMetadata
Arguments
Name | Description |
---|---|
page - Int
|
|
perPage - Int
|
|
sortField - String
|
|
sortOrder - String
|
|
filter - ExerciseFilter
|
Example
Query
query _allExercisesMeta(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: ExerciseFilter
) {
_allExercisesMeta(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter
) {
count
}
}
Variables
{
"page": 987,
"perPage": 123,
"sortField": "abc123",
"sortOrder": "abc123",
"filter": ExerciseFilter
}
Response
{"data": {"_allExercisesMeta": {"count": 987}}}
_allFeedbacksMeta
Response
Returns a ListMetadata
Arguments
Name | Description |
---|---|
page - Int
|
|
perPage - Int
|
|
sortField - String
|
|
sortOrder - String
|
|
filter - FeedbackFilter
|
Example
Query
query _allFeedbacksMeta(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: FeedbackFilter
) {
_allFeedbacksMeta(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter
) {
count
}
}
Variables
{
"page": 987,
"perPage": 987,
"sortField": "xyz789",
"sortOrder": "xyz789",
"filter": FeedbackFilter
}
Response
{"data": {"_allFeedbacksMeta": {"count": 987}}}
_allRequestsMeta
Response
Returns a ListMetadata
Arguments
Name | Description |
---|---|
page - Int
|
|
perPage - Int
|
|
sortField - String
|
|
sortOrder - String
|
|
filter - RequestFilter
|
Example
Query
query _allRequestsMeta(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: RequestFilter
) {
_allRequestsMeta(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter
) {
count
}
}
Variables
{
"page": 123,
"perPage": 987,
"sortField": "abc123",
"sortOrder": "abc123",
"filter": RequestFilter
}
Response
{"data": {"_allRequestsMeta": {"count": 123}}}
_allScalesMeta
Response
Returns a ListMetadata
Arguments
Name | Description |
---|---|
page - Int
|
|
perPage - Int
|
|
sortField - String
|
|
sortOrder - String
|
|
filter - ScaleFilter
|
Example
Query
query _allScalesMeta(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: ScaleFilter
) {
_allScalesMeta(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter
) {
count
}
}
Variables
{
"page": 123,
"perPage": 123,
"sortField": "xyz789",
"sortOrder": "abc123",
"filter": ScaleFilter
}
Response
{"data": {"_allScalesMeta": {"count": 123}}}
_allStagesMeta
Response
Returns a ListMetadata
Arguments
Name | Description |
---|---|
page - Int
|
|
perPage - Int
|
|
sortField - String
|
|
sortOrder - String
|
|
filter - StageFilter
|
Example
Query
query _allStagesMeta(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: StageFilter
) {
_allStagesMeta(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter
) {
count
}
}
Variables
{
"page": 123,
"perPage": 123,
"sortField": "abc123",
"sortOrder": "abc123",
"filter": StageFilter
}
Response
{"data": {"_allStagesMeta": {"count": 123}}}
_allTutorialVideosMeta
Response
Returns a ListMetadata
Arguments
Name | Description |
---|---|
page - Int
|
|
perPage - Int
|
|
sortField - String
|
|
sortOrder - String
|
|
filter - TutorialVideoFilter
|
Example
Query
query _allTutorialVideosMeta(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: TutorialVideoFilter
) {
_allTutorialVideosMeta(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter
) {
count
}
}
Variables
{
"page": 987,
"perPage": 123,
"sortField": "xyz789",
"sortOrder": "xyz789",
"filter": TutorialVideoFilter
}
Response
{"data": {"_allTutorialVideosMeta": {"count": 987}}}
_allUsersMeta
Response
Returns a ListMetadata
Arguments
Name | Description |
---|---|
page - Int
|
|
perPage - Int
|
|
sortField - String
|
|
sortOrder - String
|
|
filter - UserFilter
|
Example
Query
query _allUsersMeta(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: UserFilter
) {
_allUsersMeta(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter
) {
count
}
}
Variables
{
"page": 123,
"perPage": 123,
"sortField": "xyz789",
"sortOrder": "abc123",
"filter": UserFilter
}
Response
{"data": {"_allUsersMeta": {"count": 123}}}
achievementIndicatorDashboard
Response
Returns a String
Example
Query
query achievementIndicatorDashboard(
$year: Int,
$academic_period_id: ID,
$headquarter_id: ID,
$career_id: ID,
$course_id: ID,
$faculty_id: ID,
$limit: Int,
$page: Int
) {
achievementIndicatorDashboard(
year: $year,
academic_period_id: $academic_period_id,
headquarter_id: $headquarter_id,
career_id: $career_id,
course_id: $course_id,
faculty_id: $faculty_id,
limit: $limit,
page: $page
)
}
Variables
{
"year": 987,
"academic_period_id": "4",
"headquarter_id": 4,
"career_id": "4",
"course_id": "4",
"faculty_id": 4,
"limit": 123,
"page": 123
}
Response
{
"data": {
"achievementIndicatorDashboard": "abc123"
}
}
allAcademicPeriodsByUser
Response
Returns [AcademicPeriod]
Arguments
Name | Description |
---|---|
user_id - Int!
|
Example
Query
query allAcademicPeriodsByUser($user_id: Int!) {
allAcademicPeriodsByUser(user_id: $user_id) {
created_at
id
name
user_id
}
}
Variables
{"user_id": 987}
Response
{
"data": {
"allAcademicPeriodsByUser": [
{
"created_at": 123,
"id": 4,
"name": "xyz789",
"user_id": 4
}
]
}
}
allAnswers
Response
Returns [Answer]
Arguments
Name | Description |
---|---|
page - Int
|
|
perPage - Int
|
|
sortField - String
|
|
sortOrder - String
|
|
filter - AnswerFilter
|
Example
Query
query allAnswers(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: AnswerFilter
) {
allAnswers(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter
) {
created_at
evaluated
evaluation_group {
...EvaluationGroupFragment
}
evaluation_group_id
everyone_evaluate_student_feedbacks {
...FeedbackFragment
}
exercise {
...ExerciseFragment
}
exercise_id
feedback {
...FeedbackFragment
}
id
notes
question_answers {
...QuestionAnswerFragment
}
seen_by_teacher
try_number
updated_at
user {
...UserFragment
}
user_course_status_stage {
...UserCourseStatusStageFragment
}
user_id
video_duration
video_link
video_size
video_size_without_compress
}
}
Variables
{
"page": 987,
"perPage": 123,
"sortField": "xyz789",
"sortOrder": "abc123",
"filter": AnswerFilter
}
Response
{
"data": {
"allAnswers": [
{
"created_at": 123,
"evaluated": true,
"evaluation_group": EvaluationGroup,
"evaluation_group_id": "4",
"everyone_evaluate_student_feedbacks": [Feedback],
"exercise": Exercise,
"exercise_id": 4,
"feedback": Feedback,
"id": "4",
"notes": "xyz789",
"question_answers": [QuestionAnswer],
"seen_by_teacher": false,
"try_number": 123,
"updated_at": 987,
"user": User,
"user_course_status_stage": [
UserCourseStatusStage
],
"user_id": 4,
"video_duration": 987,
"video_link": ["abc123"],
"video_size": 987.65,
"video_size_without_compress": 987.65
}
]
}
}
allCareers
Response
Returns [User]
Example
Query
query allCareers {
allCareers {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Response
{
"data": {
"allCareers": [
{
"about": "xyz789",
"academic_degree": "abc123",
"accepted_requests": [Course],
"accepted_terms": true,
"address": "abc123",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": false,
"authorized_create_course_by_establishments": true,
"available_courses": 987,
"available_licenses": 123,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 987,
"birth_date": "xyz789",
"color": "abc123",
"country": "abc123",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "xyz789",
"dynamic_labels": [DynamicLabel],
"email": "xyz789",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": 4,
"identity_number": "abc123",
"image": "abc123",
"in_training_courses": [Course],
"institution": "abc123",
"institution_code": "abc123",
"internal_users": [User],
"is_superadmin": true,
"last_login": "abc123",
"lastname": "abc123",
"licenses": 987,
"linkedin": "xyz789",
"lms_user_id": "xyz789",
"locale": "abc123",
"max_courses": 123,
"name": "abc123",
"notifications": [Notification],
"onboarding": true,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "abc123",
"pending_requests": [Course],
"presentation_video": "xyz789",
"profession": "abc123",
"profile_image_link": "abc123",
"provider": "xyz789",
"rating": 123,
"rejected_requests": [Course],
"requests": [Request],
"role": "xyz789",
"role_id": 123,
"second_admin_courses": [Course],
"sex": "abc123",
"state": "abc123",
"status_id": "abc123",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 123,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 123,
"video_size": 987.65,
"video_size_without_compress": 987.65,
"work_place": "xyz789"
}
]
}
}
allCareersByUniversity
Example
Query
query allCareersByUniversity($university_user_id: ID!) {
allCareersByUniversity(university_user_id: $university_user_id)
}
Variables
{"university_user_id": 4}
Response
{
"data": {
"allCareersByUniversity": "xyz789"
}
}
allCategories
Response
Returns [Category]
Arguments
Name | Description |
---|---|
page - Int
|
|
perPage - Int
|
|
sortField - String
|
|
sortOrder - String
|
|
filter - CategoryFilter
|
Example
Query
query allCategories(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: CategoryFilter
) {
allCategories(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter
) {
courses {
...CourseFragment
}
en
es
id
name
}
}
Variables
{
"page": 123,
"perPage": 123,
"sortField": "xyz789",
"sortOrder": "xyz789",
"filter": CategoryFilter
}
Response
{
"data": {
"allCategories": [
{
"courses": [Course],
"en": "abc123",
"es": "abc123",
"id": 4,
"name": "abc123"
}
]
}
}
allCommonMistakes
Response
Returns [CommonMistake]
Arguments
Name | Description |
---|---|
page - Int
|
|
perPage - Int
|
|
sortField - String
|
|
sortOrder - String
|
|
filter - CommonMistakeFilter
|
Example
Query
query allCommonMistakes(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: CommonMistakeFilter
) {
allCommonMistakes(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter
) {
approved
author {
...UserFragment
}
author_id
course {
...CourseFragment
}
course_id
description
id
link
locale_descriptions
locale_titles
title
video_duration
video_size
video_size_without_compress
}
}
Variables
{
"page": 987,
"perPage": 987,
"sortField": "abc123",
"sortOrder": "abc123",
"filter": CommonMistakeFilter
}
Response
{
"data": {
"allCommonMistakes": [
{
"approved": true,
"author": User,
"author_id": 4,
"course": Course,
"course_id": 4,
"description": {},
"id": 4,
"link": "xyz789",
"locale_descriptions": {},
"locale_titles": {},
"title": {},
"video_duration": 987,
"video_size": 123.45,
"video_size_without_compress": 123.45
}
]
}
}
allCoursePaymentInformations
Response
Returns [CoursePaymentInformationType]!
Arguments
Name | Description |
---|---|
page - Int
|
|
perPage - Int
|
|
sortField - String
|
|
sortOrder - String
|
|
filter - CoursePaymentInformationFilter
|
Example
Query
query allCoursePaymentInformations(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: CoursePaymentInformationFilter
) {
allCoursePaymentInformations(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter
) {
course_id
created_at
full_pay
full_pay_amount
id
is_active
max_payed_session
pay_by_session
pay_per_approved
pay_per_rejected
updated_at
}
}
Variables
{
"page": 123,
"perPage": 987,
"sortField": "abc123",
"sortOrder": "abc123",
"filter": CoursePaymentInformationFilter
}
Response
{
"data": {
"allCoursePaymentInformations": [
{
"course_id": 4,
"created_at": "xyz789",
"full_pay": false,
"full_pay_amount": 987.65,
"id": 4,
"is_active": true,
"max_payed_session": 123,
"pay_by_session": false,
"pay_per_approved": 987.65,
"pay_per_rejected": 987.65,
"updated_at": "xyz789"
}
]
}
}
allCourses
Response
Returns [Course]!
Example
Query
query allCourses(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: CourseFilter,
$faculty_id: ID,
$career_id: ID,
$institution_id: ID,
$year: Int
) {
allCourses(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter,
faculty_id: $faculty_id,
career_id: $career_id,
institution_id: $institution_id,
year: $year
) {
accepted_terms_payments
active_students {
...UserFragment
}
active_students_count
admin {
...UserFragment
}
admin_id
admissions_fee
ai_available_by_courses {
...AiAvailableByCourseTypeFragment
}
answers_count
available_languages
available_throughout_faculty
blind_evaluation
categories {
...CategoryFragment
}
category_ids
common_mistakes {
...CommonMistakeFragment
}
course_preview_images {
...PreviewImageFragment
}
created_at
default_language
description
discount_code {
...DiscountCodeFragment
}
discount_code_id
double_video_answers
duration
end_date
establishment {
...EstablishmentFragment
}
everyone_evaluate_id
failed_students {
...UserFragment
}
goal
has_evaluation_group_stages
has_everyone_evaluate_stages
id
is_closed_course
is_train_the_trainer
learn_list
lms_academic_period
lms_course_id
lms_course_type_id
lms_event_id
lms_id
lms_master_id
locale_descriptions
locale_learn_list
locale_titles
next_course {
...CourseFragment
}
number_of_students
parent_course {
...CourseFragment
}
passed_students {
...UserFragment
}
peer_review
pending_answer_to_evaluate_by_user
pending_request
pending_requests {
...RequestFragment
}
position
presentation_video
privacy_rule
published
random_student_assigment
requests {
...RequestFragment
}
requirement_course {
...CourseFragment
}
requirements {
...RequirementTypeFragment
}
review_avg
reviews {
...ReviewFragment
}
score
second_admin_id
sequential_stages
stages {
...StageFragment
}
start_date
student_capacity
student_upload
teachers {
...UserFragment
}
teachers_in_training {
...UserFragment
}
title
updated_at
updated_at_table
user {
...UserFragment
}
user_requests {
...UserFragment
}
video_duration
video_size
video_size_without_compress
}
}
Variables
{
"page": 123,
"perPage": 123,
"sortField": "xyz789",
"sortOrder": "abc123",
"filter": CourseFilter,
"faculty_id": 4,
"career_id": 4,
"institution_id": 4,
"year": 123
}
Response
{
"data": {
"allCourses": [
{
"accepted_terms_payments": true,
"active_students": [User],
"active_students_count": 987,
"admin": User,
"admin_id": 987,
"admissions_fee": 987.65,
"ai_available_by_courses": [
AiAvailableByCourseType
],
"answers_count": 987,
"available_languages": ["abc123"],
"available_throughout_faculty": 987,
"blind_evaluation": true,
"categories": [Category],
"category_ids": [4],
"common_mistakes": [CommonMistake],
"course_preview_images": [PreviewImage],
"created_at": 123,
"default_language": "abc123",
"description": {},
"discount_code": DiscountCode,
"discount_code_id": 123,
"double_video_answers": true,
"duration": "xyz789",
"end_date": "xyz789",
"establishment": Establishment,
"everyone_evaluate_id": 123,
"failed_students": [User],
"goal": "abc123",
"has_evaluation_group_stages": false,
"has_everyone_evaluate_stages": true,
"id": 4,
"is_closed_course": false,
"is_train_the_trainer": true,
"learn_list": {},
"lms_academic_period": "abc123",
"lms_course_id": "xyz789",
"lms_course_type_id": 987,
"lms_event_id": "xyz789",
"lms_id": "xyz789",
"lms_master_id": "abc123",
"locale_descriptions": {},
"locale_learn_list": {},
"locale_titles": {},
"next_course": [Course],
"number_of_students": 123,
"parent_course": Course,
"passed_students": [User],
"peer_review": true,
"pending_answer_to_evaluate_by_user": 123,
"pending_request": 987,
"pending_requests": [Request],
"position": 123,
"presentation_video": "xyz789",
"privacy_rule": "xyz789",
"published": true,
"random_student_assigment": true,
"requests": [Request],
"requirement_course": [Course],
"requirements": [RequirementType],
"review_avg": 987.65,
"reviews": [Review],
"score": 123,
"second_admin_id": 123,
"sequential_stages": false,
"stages": [Stage],
"start_date": "xyz789",
"student_capacity": 123,
"student_upload": true,
"teachers": [User],
"teachers_in_training": [User],
"title": {},
"updated_at": "xyz789",
"updated_at_table": 987,
"user": [User],
"user_requests": [User],
"video_duration": 123,
"video_size": 123.45,
"video_size_without_compress": 123.45
}
]
}
}
allCoursesBasic
Response
Returns [courseBasicType]!
Example
Query
query allCoursesBasic {
allCoursesBasic {
admin {
...adminBasicTypeFragment
}
id
title
}
}
Response
{
"data": {
"allCoursesBasic": [
{"admin": adminBasicType, "id": 987, "title": {}}
]
}
}
allCoursesByCurrentUser
Response
Returns a String
Example
Query
query allCoursesByCurrentUser {
allCoursesByCurrentUser
}
Response
{
"data": {
"allCoursesByCurrentUser": "abc123"
}
}
allCoursesByUniversity
Example
Query
query allCoursesByUniversity($university_user_id: ID!) {
allCoursesByUniversity(university_user_id: $university_user_id)
}
Variables
{"university_user_id": 4}
Response
{
"data": {
"allCoursesByUniversity": "abc123"
}
}
allCoursesFilter
Response
Returns [resultType]!
Example
Query
query allCoursesFilter {
allCoursesFilter {
id
title
}
}
Response
{
"data": {
"allCoursesFilter": [
{"id": "4", "title": {}}
]
}
}
allDynamicLabelsByDefault
Response
Returns [DynamicLabel]
Example
Query
query allDynamicLabelsByDefault {
allDynamicLabelsByDefault {
available_languages
category
default_language
id
label
owner_name
plural_label
}
}
Response
{
"data": {
"allDynamicLabelsByDefault": [
{
"available_languages": ["abc123"],
"category": "abc123",
"default_language": "xyz789",
"id": 4,
"label": {},
"owner_name": "abc123",
"plural_label": {}
}
]
}
}
allEstablishmentByUser
Example
Query
query allEstablishmentByUser($belong_to_user_id: Int) {
allEstablishmentByUser(belong_to_user_id: $belong_to_user_id) {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Variables
{"belong_to_user_id": 123}
Response
{
"data": {
"allEstablishmentByUser": [
{
"about": "abc123",
"academic_degree": "xyz789",
"accepted_requests": [Course],
"accepted_terms": false,
"address": "xyz789",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": false,
"authorized_create_course_by_establishments": false,
"available_courses": 987,
"available_licenses": 987,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 987,
"birth_date": "xyz789",
"color": "abc123",
"country": "xyz789",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "xyz789",
"dynamic_labels": [DynamicLabel],
"email": "abc123",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": "4",
"identity_number": "abc123",
"image": "abc123",
"in_training_courses": [Course],
"institution": "xyz789",
"institution_code": "abc123",
"internal_users": [User],
"is_superadmin": true,
"last_login": "abc123",
"lastname": "abc123",
"licenses": 987,
"linkedin": "xyz789",
"lms_user_id": "abc123",
"locale": "xyz789",
"max_courses": 123,
"name": "abc123",
"notifications": [Notification],
"onboarding": false,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "abc123",
"pending_requests": [Course],
"presentation_video": "xyz789",
"profession": "abc123",
"profile_image_link": "xyz789",
"provider": "xyz789",
"rating": 123,
"rejected_requests": [Course],
"requests": [Request],
"role": "abc123",
"role_id": 123,
"second_admin_courses": [Course],
"sex": "abc123",
"state": "xyz789",
"status_id": "xyz789",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 123,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 123,
"video_size": 987.65,
"video_size_without_compress": 123.45,
"work_place": "abc123"
}
]
}
}
allExercises
Response
Returns [Exercise]!
Arguments
Name | Description |
---|---|
page - Int
|
|
perPage - Int
|
|
sortField - String
|
|
sortOrder - String
|
|
filter - ExerciseFilter
|
Example
Query
query allExercises(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: ExerciseFilter
) {
allExercises(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter
) {
answers {
...AnswerFragment
}
automatic_evaluation
description
evaluation_group_setting {
...EvaluationGroupSettingTypeFragment
}
evaluation_items {
...EvaluationItemFragment
}
evaluation_type
id
is_locked
is_multiple_choice_poll
locale_descriptions
period_of_time_enabled
questions {
...QuestionFragment
}
questions_to_approve
random_questions
stage {
...StageFragment
}
stage_id
train_the_trainer_exercise {
...TrainTheTrainerExerciseFragment
}
unlock_date
}
}
Variables
{
"page": 123,
"perPage": 123,
"sortField": "abc123",
"sortOrder": "abc123",
"filter": ExerciseFilter
}
Response
{
"data": {
"allExercises": [
{
"answers": [Answer],
"automatic_evaluation": false,
"description": {},
"evaluation_group_setting": EvaluationGroupSettingType,
"evaluation_items": [EvaluationItem],
"evaluation_type": "abc123",
"id": 4,
"is_locked": false,
"is_multiple_choice_poll": false,
"locale_descriptions": {},
"period_of_time_enabled": "abc123",
"questions": [Question],
"questions_to_approve": 123,
"random_questions": 123,
"stage": Stage,
"stage_id": "4",
"train_the_trainer_exercise": TrainTheTrainerExercise,
"unlock_date": "xyz789"
}
]
}
}
allFaculties
Response
Returns [User]
Example
Query
query allFaculties {
allFaculties {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Response
{
"data": {
"allFaculties": [
{
"about": "xyz789",
"academic_degree": "xyz789",
"accepted_requests": [Course],
"accepted_terms": true,
"address": "xyz789",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": true,
"authorized_create_course_by_establishments": false,
"available_courses": 987,
"available_licenses": 987,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 123,
"birth_date": "xyz789",
"color": "abc123",
"country": "abc123",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "abc123",
"dynamic_labels": [DynamicLabel],
"email": "xyz789",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": "4",
"identity_number": "abc123",
"image": "xyz789",
"in_training_courses": [Course],
"institution": "abc123",
"institution_code": "xyz789",
"internal_users": [User],
"is_superadmin": true,
"last_login": "xyz789",
"lastname": "xyz789",
"licenses": 123,
"linkedin": "xyz789",
"lms_user_id": "abc123",
"locale": "abc123",
"max_courses": 987,
"name": "abc123",
"notifications": [Notification],
"onboarding": false,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "xyz789",
"pending_requests": [Course],
"presentation_video": "abc123",
"profession": "abc123",
"profile_image_link": "abc123",
"provider": "xyz789",
"rating": 123,
"rejected_requests": [Course],
"requests": [Request],
"role": "abc123",
"role_id": 123,
"second_admin_courses": [Course],
"sex": "xyz789",
"state": "xyz789",
"status_id": "abc123",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 123,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 123,
"video_size": 987.65,
"video_size_without_compress": 123.45,
"work_place": "abc123"
}
]
}
}
allFacultiesByUniversity
Example
Query
query allFacultiesByUniversity($university_user_id: ID!) {
allFacultiesByUniversity(university_user_id: $university_user_id)
}
Variables
{"university_user_id": "4"}
Response
{
"data": {
"allFacultiesByUniversity": "xyz789"
}
}
allFeedbacks
Response
Returns [Feedback]
Arguments
Name | Description |
---|---|
page - Int
|
|
perPage - Int
|
|
sortField - String
|
|
sortOrder - String
|
|
filter - FeedbackFilter
|
Example
Query
query allFeedbacks(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: FeedbackFilter
) {
allFeedbacks(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter
) {
answer {
...AnswerFragment
}
answer_id
approved
belong_to_feedback_id
comments
evaluated_at
everyone_evaluate_answer {
...AnswerFragment
}
everyone_evaluate_answer_id
feedback_audios {
...FeedbackAudioFragment
}
feedback_common_mistakes {
...FeedbackCommonMistakeFragment
}
feedback_drawings {
...FeedbackDrawingFragment
}
feedback_feedback {
...FeedbackFeedbackFragment
}
feedback_scores {
...FeedbackScoreFragment
}
feedback_summaries {
...FeedbackSummaryFragment
}
feedback_texts {
...FeedbackTextFragment
}
feedbacks {
...FeedbackFragment
}
finished
ia_was_requested_resume
id
is_open_feedback
seen_by_student
teacher {
...UserFragment
}
teacher_id
train_the_trainer_feedback {
...TrainTheTrainerFeedbackFragment
}
}
}
Variables
{
"page": 123,
"perPage": 123,
"sortField": "abc123",
"sortOrder": "xyz789",
"filter": FeedbackFilter
}
Response
{
"data": {
"allFeedbacks": [
{
"answer": Answer,
"answer_id": 4,
"approved": false,
"belong_to_feedback_id": "4",
"comments": "abc123",
"evaluated_at": "abc123",
"everyone_evaluate_answer": Answer,
"everyone_evaluate_answer_id": 4,
"feedback_audios": [FeedbackAudio],
"feedback_common_mistakes": [
FeedbackCommonMistake
],
"feedback_drawings": [FeedbackDrawing],
"feedback_feedback": FeedbackFeedback,
"feedback_scores": [FeedbackScore],
"feedback_summaries": [FeedbackSummary],
"feedback_texts": [FeedbackText],
"feedbacks": [Feedback],
"finished": true,
"ia_was_requested_resume": 123,
"id": "4",
"is_open_feedback": true,
"seen_by_student": 123.45,
"teacher": User,
"teacher_id": "4",
"train_the_trainer_feedback": TrainTheTrainerFeedback
}
]
}
}
allHeadquarterByUser
Response
Returns [Headquarter]
Arguments
Name | Description |
---|---|
user_id - Int!
|
Example
Query
query allHeadquarterByUser($user_id: Int!) {
allHeadquarterByUser(user_id: $user_id) {
created_at
id
initials
name
user_id
}
}
Variables
{"user_id": 123}
Response
{
"data": {
"allHeadquarterByUser": [
{
"created_at": 987,
"id": 4,
"initials": "xyz789",
"name": "abc123",
"user_id": "4"
}
]
}
}
allInstitutions
Response
Returns [User]
Example
Query
query allInstitutions {
allInstitutions {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Response
{
"data": {
"allInstitutions": [
{
"about": "xyz789",
"academic_degree": "abc123",
"accepted_requests": [Course],
"accepted_terms": false,
"address": "abc123",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": true,
"authorized_create_course_by_establishments": true,
"available_courses": 987,
"available_licenses": 123,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 123,
"birth_date": "abc123",
"color": "abc123",
"country": "abc123",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "xyz789",
"dynamic_labels": [DynamicLabel],
"email": "xyz789",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": "4",
"identity_number": "abc123",
"image": "abc123",
"in_training_courses": [Course],
"institution": "xyz789",
"institution_code": "xyz789",
"internal_users": [User],
"is_superadmin": false,
"last_login": "abc123",
"lastname": "abc123",
"licenses": 987,
"linkedin": "abc123",
"lms_user_id": "xyz789",
"locale": "abc123",
"max_courses": 123,
"name": "abc123",
"notifications": [Notification],
"onboarding": true,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "xyz789",
"pending_requests": [Course],
"presentation_video": "abc123",
"profession": "abc123",
"profile_image_link": "abc123",
"provider": "xyz789",
"rating": 123,
"rejected_requests": [Course],
"requests": [Request],
"role": "abc123",
"role_id": 987,
"second_admin_courses": [Course],
"sex": "xyz789",
"state": "xyz789",
"status_id": "xyz789",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 987,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 987,
"video_size": 123.45,
"video_size_without_compress": 987.65,
"work_place": "abc123"
}
]
}
}
allOurClients
Response
Returns [OurClientType]
Arguments
Name | Description |
---|---|
level - Int
|
Example
Query
query allOurClients($level: Int) {
allOurClients(level: $level) {
id
level
logo_img_link
name
position
}
}
Variables
{"level": 123}
Response
{
"data": {
"allOurClients": [
{
"id": 4,
"level": 123,
"logo_img_link": "xyz789",
"name": "abc123",
"position": 123
}
]
}
}
allPaymentReceipts
Response
Returns [PaymentReceiptType]!
Arguments
Name | Description |
---|---|
page - Int
|
|
perPage - Int
|
|
sortField - String
|
|
sortOrder - String
|
|
filter - PaymentReceiptFilter
|
Example
Query
query allPaymentReceipts(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: PaymentReceiptFilter
) {
allPaymentReceipts(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter
) {
course_id
created_at
id
subtotal
total
updated_at
user_id
wallet_id
}
}
Variables
{
"page": 987,
"perPage": 987,
"sortField": "abc123",
"sortOrder": "xyz789",
"filter": PaymentReceiptFilter
}
Response
{
"data": {
"allPaymentReceipts": [
{
"course_id": "4",
"created_at": "abc123",
"id": "4",
"subtotal": 987.65,
"total": 123.45,
"updated_at": "xyz789",
"user_id": 4,
"wallet_id": "4"
}
]
}
}
allRequests
Response
Returns [Request]
Arguments
Name | Description |
---|---|
page - Int
|
|
perPage - Int
|
|
sortField - String
|
|
sortOrder - String
|
|
filter - RequestFilter
|
Example
Query
query allRequests(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: RequestFilter
) {
allRequests(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter
) {
course {
...CourseFragment
}
course_id
id
request_message
status
user {
...UserFragment
}
user_id
}
}
Variables
{
"page": 123,
"perPage": 123,
"sortField": "abc123",
"sortOrder": "xyz789",
"filter": RequestFilter
}
Response
{
"data": {
"allRequests": [
{
"course": Course,
"course_id": "4",
"id": 4,
"request_message": "xyz789",
"status": "abc123",
"user": User,
"user_id": "4"
}
]
}
}
allScales
Response
Returns [Scale]
Arguments
Name | Description |
---|---|
page - Int
|
|
perPage - Int
|
|
sortField - String
|
|
sortOrder - String
|
|
filter - ScaleFilter
|
Example
Query
query allScales(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: ScaleFilter
) {
allScales(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter
) {
description
id
max_value
min_value
name
required_value
requires_description
value_type
}
}
Variables
{
"page": 123,
"perPage": 987,
"sortField": "abc123",
"sortOrder": "abc123",
"filter": ScaleFilter
}
Response
{
"data": {
"allScales": [
{
"description": "abc123",
"id": "4",
"max_value": 123,
"min_value": 123,
"name": "abc123",
"required_value": 123,
"requires_description": false,
"value_type": "abc123"
}
]
}
}
allStages
Response
Returns [Stage]
Arguments
Name | Description |
---|---|
page - Int
|
|
perPage - Int
|
|
sortField - String
|
|
sortOrder - String
|
|
filter - StageFilter
|
Example
Query
query allStages(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: StageFilter
) {
allStages(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter
) {
audios {
...TutorialAudioFragment
}
course {
...CourseFragment
}
course_id
description
docs {
...TutorialDocFragment
}
exercise {
...ExerciseFragment
}
id
images {
...TutorialImageFragment
}
is_everyone_evaluate
locale_descriptions
locale_titles
next_stage {
...StageFragment
}
position
previous_stage {
...StageFragment
}
stage_preview_images {
...PreviewImageFragment
}
title
tutorial_articulate {
...TutorialArticulateFragment
}
tutorial_videos {
...TutorialVideoFragment
}
}
}
Variables
{
"page": 123,
"perPage": 987,
"sortField": "abc123",
"sortOrder": "xyz789",
"filter": StageFilter
}
Response
{
"data": {
"allStages": [
{
"audios": [TutorialAudio],
"course": Course,
"course_id": "4",
"description": {},
"docs": [TutorialDoc],
"exercise": Exercise,
"id": 4,
"images": [TutorialImage],
"is_everyone_evaluate": true,
"locale_descriptions": {},
"locale_titles": {},
"next_stage": Stage,
"position": 987,
"previous_stage": Stage,
"stage_preview_images": [PreviewImage],
"title": {},
"tutorial_articulate": [TutorialArticulate],
"tutorial_videos": [TutorialVideo]
}
]
}
}
allStudentsByCourse
Example
Query
query allStudentsByCourse(
$course_id: ID!,
$teacher_id: ID
) {
allStudentsByCourse(
course_id: $course_id,
teacher_id: $teacher_id
)
}
Variables
{"course_id": 4, "teacher_id": "4"}
Response
{"data": {"allStudentsByCourse": "abc123"}}
allStudentsByUniversity
Example
Query
query allStudentsByUniversity($university_user_id: ID!) {
allStudentsByUniversity(university_user_id: $university_user_id)
}
Variables
{"university_user_id": "4"}
Response
{
"data": {
"allStudentsByUniversity": "xyz789"
}
}
allTeacherPaymentInformations
Response
Returns [TeacherPaymentInformationType]!
Arguments
Name | Description |
---|---|
page - Int
|
|
perPage - Int
|
|
sortField - String
|
|
sortOrder - String
|
|
filter - TeacherPaymentInformationFilter
|
Example
Query
query allTeacherPaymentInformations(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: TeacherPaymentInformationFilter
) {
allTeacherPaymentInformations(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter
) {
course {
...CourseFragment
}
course_id
course_payment_information {
...CoursePaymentInformationTypeFragment
}
created_at
evaluation_amount
id
profitable
stars_average
status
student {
...UserFragment
}
student_id
subtotal
teacher_id
total
updated_at
wallet_id
}
}
Variables
{
"page": 123,
"perPage": 987,
"sortField": "xyz789",
"sortOrder": "abc123",
"filter": TeacherPaymentInformationFilter
}
Response
{
"data": {
"allTeacherPaymentInformations": [
{
"course": Course,
"course_id": 4,
"course_payment_information": CoursePaymentInformationType,
"created_at": "xyz789",
"evaluation_amount": 987,
"id": 4,
"profitable": false,
"stars_average": 987.65,
"status": "xyz789",
"student": User,
"student_id": "4",
"subtotal": 987.65,
"teacher_id": "4",
"total": 123.45,
"updated_at": "abc123",
"wallet_id": "4"
}
]
}
}
allTutorialVideos
Response
Returns [TutorialVideo]
Arguments
Name | Description |
---|---|
page - Int
|
|
perPage - Int
|
|
sortField - String
|
|
sortOrder - String
|
|
filter - TutorialVideoFilter
|
Example
Query
query allTutorialVideos(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: TutorialVideoFilter
) {
allTutorialVideos(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter
) {
description
id
link
locale_descriptions
locale_titles
stage_id
title
tutorial_audios {
...TutorialAudioFragment
}
tutorial_docs {
...TutorialDocFragment
}
tutorial_images {
...TutorialImageFragment
}
updated_at
video_duration
video_size
video_size_without_compress
}
}
Variables
{
"page": 987,
"perPage": 123,
"sortField": "abc123",
"sortOrder": "abc123",
"filter": TutorialVideoFilter
}
Response
{
"data": {
"allTutorialVideos": [
{
"description": {},
"id": "4",
"link": "abc123",
"locale_descriptions": {},
"locale_titles": {},
"stage_id": 4,
"title": {},
"tutorial_audios": [TutorialAudio],
"tutorial_docs": [TutorialDoc],
"tutorial_images": [TutorialImage],
"updated_at": 987,
"video_duration": 123,
"video_size": 123.45,
"video_size_without_compress": 123.45
}
]
}
}
allUniversities
Example
Query
query allUniversities(
$role_id: Int,
$belong_to_user_id: Int,
$role: Int
) {
allUniversities(
role_id: $role_id,
belong_to_user_id: $belong_to_user_id,
role: $role
) {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Variables
{"role_id": 123, "belong_to_user_id": 987, "role": 987}
Response
{
"data": {
"allUniversities": [
{
"about": "xyz789",
"academic_degree": "xyz789",
"accepted_requests": [Course],
"accepted_terms": false,
"address": "abc123",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": true,
"authorized_create_course_by_establishments": false,
"available_courses": 987,
"available_licenses": 123,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 987,
"birth_date": "xyz789",
"color": "abc123",
"country": "xyz789",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "xyz789",
"dynamic_labels": [DynamicLabel],
"email": "xyz789",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": 4,
"identity_number": "abc123",
"image": "xyz789",
"in_training_courses": [Course],
"institution": "xyz789",
"institution_code": "xyz789",
"internal_users": [User],
"is_superadmin": true,
"last_login": "xyz789",
"lastname": "xyz789",
"licenses": 987,
"linkedin": "xyz789",
"lms_user_id": "abc123",
"locale": "abc123",
"max_courses": 987,
"name": "xyz789",
"notifications": [Notification],
"onboarding": false,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "xyz789",
"pending_requests": [Course],
"presentation_video": "xyz789",
"profession": "xyz789",
"profile_image_link": "xyz789",
"provider": "xyz789",
"rating": 123,
"rejected_requests": [Course],
"requests": [Request],
"role": "abc123",
"role_id": 987,
"second_admin_courses": [Course],
"sex": "abc123",
"state": "abc123",
"status_id": "xyz789",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 123,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 987,
"video_size": 123.45,
"video_size_without_compress": 123.45,
"work_place": "xyz789"
}
]
}
}
allUsers
Response
Returns [User]
Arguments
Name | Description |
---|---|
page - Int
|
|
perPage - Int
|
|
sortField - String
|
|
sortOrder - String
|
|
filter - UserFilter
|
Example
Query
query allUsers(
$page: Int,
$perPage: Int,
$sortField: String,
$sortOrder: String,
$filter: UserFilter
) {
allUsers(
page: $page,
perPage: $perPage,
sortField: $sortField,
sortOrder: $sortOrder,
filter: $filter
) {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Variables
{
"page": 987,
"perPage": 987,
"sortField": "abc123",
"sortOrder": "xyz789",
"filter": UserFilter
}
Response
{
"data": {
"allUsers": [
{
"about": "abc123",
"academic_degree": "abc123",
"accepted_requests": [Course],
"accepted_terms": true,
"address": "xyz789",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": false,
"authorized_create_course_by_establishments": true,
"available_courses": 123,
"available_licenses": 123,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 123,
"birth_date": "xyz789",
"color": "xyz789",
"country": "abc123",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "xyz789",
"dynamic_labels": [DynamicLabel],
"email": "xyz789",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": 4,
"identity_number": "abc123",
"image": "abc123",
"in_training_courses": [Course],
"institution": "abc123",
"institution_code": "xyz789",
"internal_users": [User],
"is_superadmin": false,
"last_login": "abc123",
"lastname": "xyz789",
"licenses": 123,
"linkedin": "abc123",
"lms_user_id": "xyz789",
"locale": "abc123",
"max_courses": 123,
"name": "xyz789",
"notifications": [Notification],
"onboarding": true,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "abc123",
"pending_requests": [Course],
"presentation_video": "xyz789",
"profession": "abc123",
"profile_image_link": "abc123",
"provider": "xyz789",
"rating": 123,
"rejected_requests": [Course],
"requests": [Request],
"role": "abc123",
"role_id": 123,
"second_admin_courses": [Course],
"sex": "xyz789",
"state": "abc123",
"status_id": "abc123",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 987,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 987,
"video_size": 123.45,
"video_size_without_compress": 123.45,
"work_place": "xyz789"
}
]
}
}
allUsersPerformanceByCourse
Response
Returns a dataPerformanceByCourseInfoType!
Arguments
Name | Description |
---|---|
course_id - ID!
|
Example
Query
query allUsersPerformanceByCourse($course_id: ID!) {
allUsersPerformanceByCourse(course_id: $course_id) {
course_groups
multiple_choices
multiple_choices_poll
video_answers
video_answers_evaluation_grup
video_answers_evaluation_items
video_answers_everyone_evaluate
}
}
Variables
{"course_id": 4}
Response
{
"data": {
"allUsersPerformanceByCourse": {
"course_groups": "xyz789",
"multiple_choices": "xyz789",
"multiple_choices_poll": "xyz789",
"video_answers": "xyz789",
"video_answers_evaluation_grup": "xyz789",
"video_answers_evaluation_items": "abc123",
"video_answers_everyone_evaluate": "abc123"
}
}
}
allUsersPerformanceByCourseDetailed
Response
Returns a dataPerformanceByCourse!
Arguments
Name | Description |
---|---|
course_id - ID!
|
Example
Query
query allUsersPerformanceByCourseDetailed($course_id: ID!) {
allUsersPerformanceByCourseDetailed(course_id: $course_id) {
multiple_choices
video_answers
watch_videos
}
}
Variables
{"course_id": "4"}
Response
{
"data": {
"allUsersPerformanceByCourseDetailed": {
"multiple_choices": "xyz789",
"video_answers": "xyz789",
"watch_videos": "abc123"
}
}
}
allWallets
Response
Returns [WalletType]!
Arguments
Name | Description |
---|---|
page - Int
|
Default = 1 |
per_page - Int
|
Default = 10 |
sort_field - String
|
Default = "created_at" |
sort_order - String
|
Default = "desc" |
filter - WalletFilter
|
Example
Query
query allWallets(
$page: Int,
$per_page: Int,
$sort_field: String,
$sort_order: String,
$filter: WalletFilter
) {
allWallets(
page: $page,
per_page: $per_page,
sort_field: $sort_field,
sort_order: $sort_order,
filter: $filter
) {
balance
course {
...CourseFragment
}
course_id
created_at
feedback_count
id
is_active
on_hold
payed
teacher {
...UserFragment
}
teacher_id
total
transactions
updated_at
withdrawn
}
}
Variables
{
"page": 1,
"per_page": 10,
"sort_field": "created_at",
"sort_order": "desc",
"filter": WalletFilter
}
Response
{
"data": {
"allWallets": [
{
"balance": 987.65,
"course": Course,
"course_id": 4,
"created_at": "xyz789",
"feedback_count": 987,
"id": "4",
"is_active": true,
"on_hold": 123.45,
"payed": 987.65,
"teacher": User,
"teacher_id": "4",
"total": 123.45,
"transactions": 987,
"updated_at": "abc123",
"withdrawn": 987.65
}
]
}
}
answerTrainTheTrainer
Example
Query
query answerTrainTheTrainer($answer_id: ID!) {
answerTrainTheTrainer(answer_id: $answer_id) {
created_at
evaluated
evaluation_group {
...EvaluationGroupFragment
}
evaluation_group_id
everyone_evaluate_student_feedbacks {
...FeedbackFragment
}
exercise {
...ExerciseFragment
}
exercise_id
feedback {
...FeedbackFragment
}
id
notes
question_answers {
...QuestionAnswerFragment
}
seen_by_teacher
try_number
updated_at
user {
...UserFragment
}
user_course_status_stage {
...UserCourseStatusStageFragment
}
user_id
video_duration
video_link
video_size
video_size_without_compress
}
}
Variables
{"answer_id": 4}
Response
{
"data": {
"answerTrainTheTrainer": [
{
"created_at": 987,
"evaluated": true,
"evaluation_group": EvaluationGroup,
"evaluation_group_id": 4,
"everyone_evaluate_student_feedbacks": [Feedback],
"exercise": Exercise,
"exercise_id": 4,
"feedback": Feedback,
"id": 4,
"notes": "abc123",
"question_answers": [QuestionAnswer],
"seen_by_teacher": true,
"try_number": 987,
"updated_at": 123,
"user": User,
"user_course_status_stage": [
UserCourseStatusStage
],
"user_id": 4,
"video_duration": 123,
"video_link": ["xyz789"],
"video_size": 123.45,
"video_size_without_compress": 123.45
}
]
}
}
answers
Response
Returns [Answer]!
Arguments
Name | Description |
---|---|
where - AnswerFilterProvider
|
Example
Query
query answers($where: AnswerFilterProvider) {
answers(where: $where) {
created_at
evaluated
evaluation_group {
...EvaluationGroupFragment
}
evaluation_group_id
everyone_evaluate_student_feedbacks {
...FeedbackFragment
}
exercise {
...ExerciseFragment
}
exercise_id
feedback {
...FeedbackFragment
}
id
notes
question_answers {
...QuestionAnswerFragment
}
seen_by_teacher
try_number
updated_at
user {
...UserFragment
}
user_course_status_stage {
...UserCourseStatusStageFragment
}
user_id
video_duration
video_link
video_size
video_size_without_compress
}
}
Variables
{"where": AnswerFilterProvider}
Response
{
"data": {
"answers": [
{
"created_at": 123,
"evaluated": true,
"evaluation_group": EvaluationGroup,
"evaluation_group_id": "4",
"everyone_evaluate_student_feedbacks": [Feedback],
"exercise": Exercise,
"exercise_id": "4",
"feedback": Feedback,
"id": "4",
"notes": "abc123",
"question_answers": [QuestionAnswer],
"seen_by_teacher": false,
"try_number": 123,
"updated_at": 987,
"user": User,
"user_course_status_stage": [
UserCourseStatusStage
],
"user_id": 4,
"video_duration": 123,
"video_link": ["xyz789"],
"video_size": 123.45,
"video_size_without_compress": 123.45
}
]
}
}
answersAdmin
Response
Returns [Answer]!
Arguments
Name | Description |
---|---|
where - SuperadminFilterAnswersByFilterProvider
|
Example
Query
query answersAdmin($where: SuperadminFilterAnswersByFilterProvider) {
answersAdmin(where: $where) {
created_at
evaluated
evaluation_group {
...EvaluationGroupFragment
}
evaluation_group_id
everyone_evaluate_student_feedbacks {
...FeedbackFragment
}
exercise {
...ExerciseFragment
}
exercise_id
feedback {
...FeedbackFragment
}
id
notes
question_answers {
...QuestionAnswerFragment
}
seen_by_teacher
try_number
updated_at
user {
...UserFragment
}
user_course_status_stage {
...UserCourseStatusStageFragment
}
user_id
video_duration
video_link
video_size
video_size_without_compress
}
}
Variables
{"where": SuperadminFilterAnswersByFilterProvider}
Response
{
"data": {
"answersAdmin": [
{
"created_at": 987,
"evaluated": false,
"evaluation_group": EvaluationGroup,
"evaluation_group_id": "4",
"everyone_evaluate_student_feedbacks": [Feedback],
"exercise": Exercise,
"exercise_id": 4,
"feedback": Feedback,
"id": "4",
"notes": "abc123",
"question_answers": [QuestionAnswer],
"seen_by_teacher": false,
"try_number": 123,
"updated_at": 987,
"user": User,
"user_course_status_stage": [
UserCourseStatusStage
],
"user_id": 4,
"video_duration": 123,
"video_link": ["abc123"],
"video_size": 123.45,
"video_size_without_compress": 123.45
}
]
}
}
answersList
Response
Returns [Answer]!
Arguments
Name | Description |
---|---|
where - AnswerEvaluationsFilterProvider
|
Example
Query
query answersList($where: AnswerEvaluationsFilterProvider) {
answersList(where: $where) {
created_at
evaluated
evaluation_group {
...EvaluationGroupFragment
}
evaluation_group_id
everyone_evaluate_student_feedbacks {
...FeedbackFragment
}
exercise {
...ExerciseFragment
}
exercise_id
feedback {
...FeedbackFragment
}
id
notes
question_answers {
...QuestionAnswerFragment
}
seen_by_teacher
try_number
updated_at
user {
...UserFragment
}
user_course_status_stage {
...UserCourseStatusStageFragment
}
user_id
video_duration
video_link
video_size
video_size_without_compress
}
}
Variables
{"where": AnswerEvaluationsFilterProvider}
Response
{
"data": {
"answersList": [
{
"created_at": 987,
"evaluated": false,
"evaluation_group": EvaluationGroup,
"evaluation_group_id": "4",
"everyone_evaluate_student_feedbacks": [Feedback],
"exercise": Exercise,
"exercise_id": 4,
"feedback": Feedback,
"id": 4,
"notes": "abc123",
"question_answers": [QuestionAnswer],
"seen_by_teacher": true,
"try_number": 123,
"updated_at": 987,
"user": User,
"user_course_status_stage": [
UserCourseStatusStage
],
"user_id": "4",
"video_duration": 987,
"video_link": ["xyz789"],
"video_size": 123.45,
"video_size_without_compress": 987.65
}
]
}
}
answersListByCourse
Example
Query
query answersListByCourse(
$evaluated: Boolean!,
$course_id: ID!
) {
answersListByCourse(
evaluated: $evaluated,
course_id: $course_id
)
}
Variables
{"evaluated": true, "course_id": 4}
Response
{"data": {"answersListByCourse": "xyz789"}}
answersListByCourseEveryoneEvaluate
Example
Query
query answersListByCourseEveryoneEvaluate(
$evaluated: Boolean!,
$course_id: ID!
) {
answersListByCourseEveryoneEvaluate(
evaluated: $evaluated,
course_id: $course_id
)
}
Variables
{"evaluated": true, "course_id": 4}
Response
{
"data": {
"answersListByCourseEveryoneEvaluate": "xyz789"
}
}
answersListByCoursePaged
Response
Returns a String
Example
Query
query answersListByCoursePaged(
$evaluated: Boolean!,
$course_id: ID!,
$fromDate: String
) {
answersListByCoursePaged(
evaluated: $evaluated,
course_id: $course_id,
fromDate: $fromDate
)
}
Variables
{
"evaluated": true,
"course_id": 4,
"fromDate": "xyz789"
}
Response
{
"data": {
"answersListByCoursePaged": "abc123"
}
}
answersTrainTheTrainerList
Response
Returns [Answer]!
Example
Query
query answersTrainTheTrainerList(
$course_id: ID!,
$fromDate: String,
$finished: Boolean,
$teacherAnswers: Boolean
) {
answersTrainTheTrainerList(
course_id: $course_id,
fromDate: $fromDate,
finished: $finished,
teacherAnswers: $teacherAnswers
) {
created_at
evaluated
evaluation_group {
...EvaluationGroupFragment
}
evaluation_group_id
everyone_evaluate_student_feedbacks {
...FeedbackFragment
}
exercise {
...ExerciseFragment
}
exercise_id
feedback {
...FeedbackFragment
}
id
notes
question_answers {
...QuestionAnswerFragment
}
seen_by_teacher
try_number
updated_at
user {
...UserFragment
}
user_course_status_stage {
...UserCourseStatusStageFragment
}
user_id
video_duration
video_link
video_size
video_size_without_compress
}
}
Variables
{
"course_id": "4",
"fromDate": "abc123",
"finished": false,
"teacherAnswers": true
}
Response
{
"data": {
"answersTrainTheTrainerList": [
{
"created_at": 123,
"evaluated": true,
"evaluation_group": EvaluationGroup,
"evaluation_group_id": 4,
"everyone_evaluate_student_feedbacks": [Feedback],
"exercise": Exercise,
"exercise_id": 4,
"feedback": Feedback,
"id": 4,
"notes": "abc123",
"question_answers": [QuestionAnswer],
"seen_by_teacher": false,
"try_number": 123,
"updated_at": 987,
"user": User,
"user_course_status_stage": [
UserCourseStatusStage
],
"user_id": "4",
"video_duration": 123,
"video_link": ["abc123"],
"video_size": 987.65,
"video_size_without_compress": 123.45
}
]
}
}
answersTrainTheTrainerListByCourse
Response
Returns a String
Example
Query
query answersTrainTheTrainerListByCourse(
$teacherAnswers: Boolean,
$evaluated: Boolean!,
$course_id: ID!
) {
answersTrainTheTrainerListByCourse(
teacherAnswers: $teacherAnswers,
evaluated: $evaluated,
course_id: $course_id
)
}
Variables
{"teacherAnswers": false, "evaluated": true, "course_id": 4}
Response
{
"data": {
"answersTrainTheTrainerListByCourse": "xyz789"
}
}
avgTimeToPassCourse
Example
Query
query avgTimeToPassCourse(
$course_id: ID!,
$teacher_id: ID
) {
avgTimeToPassCourse(
course_id: $course_id,
teacher_id: $teacher_id
)
}
Variables
{"course_id": "4", "teacher_id": 4}
Response
{"data": {"avgTimeToPassCourse": "abc123"}}
categories
Response
Returns [Category]!
Arguments
Name | Description |
---|---|
where - CategoryFilterProvider
|
Example
Query
query categories($where: CategoryFilterProvider) {
categories(where: $where) {
courses {
...CourseFragment
}
en
es
id
name
}
}
Variables
{"where": CategoryFilterProvider}
Response
{
"data": {
"categories": [
{
"courses": [Course],
"en": "abc123",
"es": "xyz789",
"id": 4,
"name": "xyz789"
}
]
}
}
certificateInfo
Response
Returns a UserCertificateType
Arguments
Name | Description |
---|---|
token - String!
|
Example
Query
query certificateInfo($token: String!) {
certificateInfo(token: $token) {
certificate_link
course_id
course_title
id
name
token
user_id
}
}
Variables
{"token": "abc123"}
Response
{
"data": {
"certificateInfo": {
"certificate_link": "abc123",
"course_id": 4,
"course_title": "abc123",
"id": 4,
"name": "xyz789",
"token": "abc123",
"user_id": "4"
}
}
}
chatMessages
Response
Returns [ChatMessageType]!
Example
Query
query chatMessages(
$chat_id: ID,
$fromId: ID
) {
chatMessages(
chat_id: $chat_id,
fromId: $fromId
) {
chat_id
created_at
id
text
user {
...UserFragment
}
}
}
Variables
{"chat_id": "4", "fromId": 4}
Response
{
"data": {
"chatMessages": [
{
"chat_id": "4",
"created_at": 987,
"id": 4,
"text": "abc123",
"user": User
}
]
}
}
chatsByCourse
Response
Returns [ChatType]!
Example
Query
query chatsByCourse(
$course_id: ID!,
$user_id: ID
) {
chatsByCourse(
course_id: $course_id,
user_id: $user_id
) {
admin_course_id
admin_user {
...UserFragment
}
chat_members {
...ChatMemberTypeFragment
}
course {
...CourseFragment
}
course_id
group
id
last_message {
...ChatMessageTypeFragment
}
unread_messages_admin
}
}
Variables
{"course_id": 4, "user_id": 4}
Response
{
"data": {
"chatsByCourse": [
{
"admin_course_id": 4,
"admin_user": User,
"chat_members": [ChatMemberType],
"course": Course,
"course_id": 4,
"group": true,
"id": "4",
"last_message": ChatMessageType,
"unread_messages_admin": 987
}
]
}
}
checkAnswer
Example
Query
query checkAnswer($course_id: ID) {
checkAnswer(course_id: $course_id) {
accepted_terms_payments
active_students {
...UserFragment
}
active_students_count
admin {
...UserFragment
}
admin_id
admissions_fee
ai_available_by_courses {
...AiAvailableByCourseTypeFragment
}
answers_count
available_languages
available_throughout_faculty
blind_evaluation
categories {
...CategoryFragment
}
category_ids
common_mistakes {
...CommonMistakeFragment
}
course_preview_images {
...PreviewImageFragment
}
created_at
default_language
description
discount_code {
...DiscountCodeFragment
}
discount_code_id
double_video_answers
duration
end_date
establishment {
...EstablishmentFragment
}
everyone_evaluate_id
failed_students {
...UserFragment
}
goal
has_evaluation_group_stages
has_everyone_evaluate_stages
id
is_closed_course
is_train_the_trainer
learn_list
lms_academic_period
lms_course_id
lms_course_type_id
lms_event_id
lms_id
lms_master_id
locale_descriptions
locale_learn_list
locale_titles
next_course {
...CourseFragment
}
number_of_students
parent_course {
...CourseFragment
}
passed_students {
...UserFragment
}
peer_review
pending_answer_to_evaluate_by_user
pending_request
pending_requests {
...RequestFragment
}
position
presentation_video
privacy_rule
published
random_student_assigment
requests {
...RequestFragment
}
requirement_course {
...CourseFragment
}
requirements {
...RequirementTypeFragment
}
review_avg
reviews {
...ReviewFragment
}
score
second_admin_id
sequential_stages
stages {
...StageFragment
}
start_date
student_capacity
student_upload
teachers {
...UserFragment
}
teachers_in_training {
...UserFragment
}
title
updated_at
updated_at_table
user {
...UserFragment
}
user_requests {
...UserFragment
}
video_duration
video_size
video_size_without_compress
}
}
Variables
{"course_id": 4}
Response
{
"data": {
"checkAnswer": {
"accepted_terms_payments": false,
"active_students": [User],
"active_students_count": 987,
"admin": User,
"admin_id": 123,
"admissions_fee": 123.45,
"ai_available_by_courses": [
AiAvailableByCourseType
],
"answers_count": 123,
"available_languages": ["abc123"],
"available_throughout_faculty": 123,
"blind_evaluation": false,
"categories": [Category],
"category_ids": [4],
"common_mistakes": [CommonMistake],
"course_preview_images": [PreviewImage],
"created_at": 123,
"default_language": "abc123",
"description": {},
"discount_code": DiscountCode,
"discount_code_id": 987,
"double_video_answers": true,
"duration": "abc123",
"end_date": "xyz789",
"establishment": Establishment,
"everyone_evaluate_id": 123,
"failed_students": [User],
"goal": "xyz789",
"has_evaluation_group_stages": false,
"has_everyone_evaluate_stages": false,
"id": 4,
"is_closed_course": false,
"is_train_the_trainer": true,
"learn_list": {},
"lms_academic_period": "xyz789",
"lms_course_id": "xyz789",
"lms_course_type_id": 987,
"lms_event_id": "xyz789",
"lms_id": "xyz789",
"lms_master_id": "xyz789",
"locale_descriptions": {},
"locale_learn_list": {},
"locale_titles": {},
"next_course": [Course],
"number_of_students": 123,
"parent_course": Course,
"passed_students": [User],
"peer_review": false,
"pending_answer_to_evaluate_by_user": 987,
"pending_request": 987,
"pending_requests": [Request],
"position": 987,
"presentation_video": "abc123",
"privacy_rule": "xyz789",
"published": false,
"random_student_assigment": true,
"requests": [Request],
"requirement_course": [Course],
"requirements": [RequirementType],
"review_avg": 987.65,
"reviews": [Review],
"score": 987,
"second_admin_id": 987,
"sequential_stages": true,
"stages": [Stage],
"start_date": "abc123",
"student_capacity": 123,
"student_upload": false,
"teachers": [User],
"teachers_in_training": [User],
"title": {},
"updated_at": "xyz789",
"updated_at_table": 987,
"user": [User],
"user_requests": [User],
"video_duration": 123,
"video_size": 987.65,
"video_size_without_compress": 123.45
}
}
}
checkFavouriteItem
Response
Returns [FavouriteItemType]
Arguments
Name | Description |
---|---|
item_id - ID
|
Example
Query
query checkFavouriteItem($item_id: ID) {
checkFavouriteItem(item_id: $item_id) {
descriptions
descriptions_values
id
item_id
locale_descriptions
locale_names
max_value
min_value
name
req_value
scale_id
user_id
}
}
Variables
{"item_id": "4"}
Response
{
"data": {
"checkFavouriteItem": [
{
"descriptions": {},
"descriptions_values": ["xyz789"],
"id": "4",
"item_id": 123,
"locale_descriptions": {},
"locale_names": {},
"max_value": 123.45,
"min_value": 123.45,
"name": {},
"req_value": 987.65,
"scale_id": "abc123",
"user_id": 987
}
]
}
}
checkUserView
Example
Query
query checkUserView(
$user_id: ID!,
$view: String!
) {
checkUserView(
user_id: $user_id,
view: $view
) {
id
readyTutorial
user_id
view
}
}
Variables
{
"user_id": "4",
"view": "xyz789"
}
Response
{
"data": {
"checkUserView": {
"id": "4",
"readyTutorial": true,
"user_id": 4,
"view": "xyz789"
}
}
}
commonMistakeLink
Example
Query
query commonMistakeLink(
$exercise_id: ID!,
$extension: String!
) {
commonMistakeLink(
exercise_id: $exercise_id,
extension: $extension
) {
acl
key
policy
success_action_status
url
x_amz_algorithm
x_amz_credential
x_amz_date
x_amz_signature
}
}
Variables
{
"exercise_id": "4",
"extension": "abc123"
}
Response
{
"data": {
"commonMistakeLink": {
"acl": "abc123",
"key": "abc123",
"policy": "abc123",
"success_action_status": "xyz789",
"url": "abc123",
"x_amz_algorithm": "xyz789",
"x_amz_credential": "xyz789",
"x_amz_date": "abc123",
"x_amz_signature": "xyz789"
}
}
}
commonMistakes
Response
Returns [CommonMistake]!
Arguments
Name | Description |
---|---|
where - CommonMistakeFilterProvider
|
Example
Query
query commonMistakes($where: CommonMistakeFilterProvider) {
commonMistakes(where: $where) {
approved
author {
...UserFragment
}
author_id
course {
...CourseFragment
}
course_id
description
id
link
locale_descriptions
locale_titles
title
video_duration
video_size
video_size_without_compress
}
}
Variables
{"where": CommonMistakeFilterProvider}
Response
{
"data": {
"commonMistakes": [
{
"approved": false,
"author": User,
"author_id": "4",
"course": Course,
"course_id": "4",
"description": {},
"id": 4,
"link": "abc123",
"locale_descriptions": {},
"locale_titles": {},
"title": {},
"video_duration": 123,
"video_size": 123.45,
"video_size_without_compress": 123.45
}
]
}
}
courseImageLink
Example
Query
query courseImageLink(
$course_id: ID!,
$extension: String!
) {
courseImageLink(
course_id: $course_id,
extension: $extension
) {
acl
key
policy
success_action_status
url
x_amz_algorithm
x_amz_credential
x_amz_date
x_amz_signature
}
}
Variables
{"course_id": 4, "extension": "xyz789"}
Response
{
"data": {
"courseImageLink": {
"acl": "abc123",
"key": "abc123",
"policy": "xyz789",
"success_action_status": "abc123",
"url": "xyz789",
"x_amz_algorithm": "xyz789",
"x_amz_credential": "xyz789",
"x_amz_date": "xyz789",
"x_amz_signature": "xyz789"
}
}
}
courseScoresByCourse
Response
Returns [CourseScoreType]!
Arguments
Name | Description |
---|---|
course_id - ID!
|
Example
Query
query courseScoresByCourse($course_id: ID!) {
courseScoresByCourse(course_id: $course_id) {
course_id
id
issue_labels {
...IssueLabelTypeFragment
}
message
score
user {
...UserFragment
}
user_id
}
}
Variables
{"course_id": 4}
Response
{
"data": {
"courseScoresByCourse": [
{
"course_id": 4,
"id": 4,
"issue_labels": [IssueLabelType],
"message": "xyz789",
"score": 123,
"user": User,
"user_id": 4
}
]
}
}
courseStudentProgress
Response
Returns [progressByUsers]!
Arguments
Name | Description |
---|---|
course_id - ID!
|
Example
Query
query courseStudentProgress($course_id: ID!) {
courseStudentProgress(course_id: $course_id) {
passed_stages
student_id
total_stages
}
}
Variables
{"course_id": "4"}
Response
{
"data": {
"courseStudentProgress": [
{"passed_stages": 123, "student_id": 123, "total_stages": 123}
]
}
}
courses
Response
Returns [Course]!
Arguments
Name | Description |
---|---|
where - CourseFilterProvider
|
|
search_text - String
|
|
offset - Int
|
|
limit - Int
|
Example
Query
query courses(
$where: CourseFilterProvider,
$search_text: String,
$offset: Int,
$limit: Int
) {
courses(
where: $where,
search_text: $search_text,
offset: $offset,
limit: $limit
) {
accepted_terms_payments
active_students {
...UserFragment
}
active_students_count
admin {
...UserFragment
}
admin_id
admissions_fee
ai_available_by_courses {
...AiAvailableByCourseTypeFragment
}
answers_count
available_languages
available_throughout_faculty
blind_evaluation
categories {
...CategoryFragment
}
category_ids
common_mistakes {
...CommonMistakeFragment
}
course_preview_images {
...PreviewImageFragment
}
created_at
default_language
description
discount_code {
...DiscountCodeFragment
}
discount_code_id
double_video_answers
duration
end_date
establishment {
...EstablishmentFragment
}
everyone_evaluate_id
failed_students {
...UserFragment
}
goal
has_evaluation_group_stages
has_everyone_evaluate_stages
id
is_closed_course
is_train_the_trainer
learn_list
lms_academic_period
lms_course_id
lms_course_type_id
lms_event_id
lms_id
lms_master_id
locale_descriptions
locale_learn_list
locale_titles
next_course {
...CourseFragment
}
number_of_students
parent_course {
...CourseFragment
}
passed_students {
...UserFragment
}
peer_review
pending_answer_to_evaluate_by_user
pending_request
pending_requests {
...RequestFragment
}
position
presentation_video
privacy_rule
published
random_student_assigment
requests {
...RequestFragment
}
requirement_course {
...CourseFragment
}
requirements {
...RequirementTypeFragment
}
review_avg
reviews {
...ReviewFragment
}
score
second_admin_id
sequential_stages
stages {
...StageFragment
}
start_date
student_capacity
student_upload
teachers {
...UserFragment
}
teachers_in_training {
...UserFragment
}
title
updated_at
updated_at_table
user {
...UserFragment
}
user_requests {
...UserFragment
}
video_duration
video_size
video_size_without_compress
}
}
Variables
{
"where": CourseFilterProvider,
"search_text": "abc123",
"offset": 987,
"limit": 123
}
Response
{
"data": {
"courses": [
{
"accepted_terms_payments": true,
"active_students": [User],
"active_students_count": 123,
"admin": User,
"admin_id": 123,
"admissions_fee": 123.45,
"ai_available_by_courses": [
AiAvailableByCourseType
],
"answers_count": 987,
"available_languages": ["abc123"],
"available_throughout_faculty": 123,
"blind_evaluation": false,
"categories": [Category],
"category_ids": ["4"],
"common_mistakes": [CommonMistake],
"course_preview_images": [PreviewImage],
"created_at": 987,
"default_language": "abc123",
"description": {},
"discount_code": DiscountCode,
"discount_code_id": 987,
"double_video_answers": true,
"duration": "xyz789",
"end_date": "xyz789",
"establishment": Establishment,
"everyone_evaluate_id": 987,
"failed_students": [User],
"goal": "abc123",
"has_evaluation_group_stages": false,
"has_everyone_evaluate_stages": true,
"id": "4",
"is_closed_course": true,
"is_train_the_trainer": true,
"learn_list": {},
"lms_academic_period": "xyz789",
"lms_course_id": "xyz789",
"lms_course_type_id": 123,
"lms_event_id": "xyz789",
"lms_id": "xyz789",
"lms_master_id": "xyz789",
"locale_descriptions": {},
"locale_learn_list": {},
"locale_titles": {},
"next_course": [Course],
"number_of_students": 123,
"parent_course": Course,
"passed_students": [User],
"peer_review": true,
"pending_answer_to_evaluate_by_user": 123,
"pending_request": 123,
"pending_requests": [Request],
"position": 123,
"presentation_video": "abc123",
"privacy_rule": "xyz789",
"published": true,
"random_student_assigment": false,
"requests": [Request],
"requirement_course": [Course],
"requirements": [RequirementType],
"review_avg": 987.65,
"reviews": [Review],
"score": 987,
"second_admin_id": 987,
"sequential_stages": true,
"stages": [Stage],
"start_date": "abc123",
"student_capacity": 987,
"student_upload": false,
"teachers": [User],
"teachers_in_training": [User],
"title": {},
"updated_at": "abc123",
"updated_at_table": 123,
"user": [User],
"user_requests": [User],
"video_duration": 987,
"video_size": 987.65,
"video_size_without_compress": 123.45
}
]
}
}
coursesByUniversity
Response
Returns [Course]!
Example
Query
query coursesByUniversity(
$where: CourseRoleFilterProvider,
$search_text: String,
$offset: Int,
$limit: Int,
$university_id: Int,
$establishment_id: Int
) {
coursesByUniversity(
where: $where,
search_text: $search_text,
offset: $offset,
limit: $limit,
university_id: $university_id,
establishment_id: $establishment_id
) {
accepted_terms_payments
active_students {
...UserFragment
}
active_students_count
admin {
...UserFragment
}
admin_id
admissions_fee
ai_available_by_courses {
...AiAvailableByCourseTypeFragment
}
answers_count
available_languages
available_throughout_faculty
blind_evaluation
categories {
...CategoryFragment
}
category_ids
common_mistakes {
...CommonMistakeFragment
}
course_preview_images {
...PreviewImageFragment
}
created_at
default_language
description
discount_code {
...DiscountCodeFragment
}
discount_code_id
double_video_answers
duration
end_date
establishment {
...EstablishmentFragment
}
everyone_evaluate_id
failed_students {
...UserFragment
}
goal
has_evaluation_group_stages
has_everyone_evaluate_stages
id
is_closed_course
is_train_the_trainer
learn_list
lms_academic_period
lms_course_id
lms_course_type_id
lms_event_id
lms_id
lms_master_id
locale_descriptions
locale_learn_list
locale_titles
next_course {
...CourseFragment
}
number_of_students
parent_course {
...CourseFragment
}
passed_students {
...UserFragment
}
peer_review
pending_answer_to_evaluate_by_user
pending_request
pending_requests {
...RequestFragment
}
position
presentation_video
privacy_rule
published
random_student_assigment
requests {
...RequestFragment
}
requirement_course {
...CourseFragment
}
requirements {
...RequirementTypeFragment
}
review_avg
reviews {
...ReviewFragment
}
score
second_admin_id
sequential_stages
stages {
...StageFragment
}
start_date
student_capacity
student_upload
teachers {
...UserFragment
}
teachers_in_training {
...UserFragment
}
title
updated_at
updated_at_table
user {
...UserFragment
}
user_requests {
...UserFragment
}
video_duration
video_size
video_size_without_compress
}
}
Variables
{
"where": CourseRoleFilterProvider,
"search_text": "abc123",
"offset": 987,
"limit": 987,
"university_id": 987,
"establishment_id": 987
}
Response
{
"data": {
"coursesByUniversity": [
{
"accepted_terms_payments": true,
"active_students": [User],
"active_students_count": 987,
"admin": User,
"admin_id": 987,
"admissions_fee": 987.65,
"ai_available_by_courses": [
AiAvailableByCourseType
],
"answers_count": 987,
"available_languages": ["abc123"],
"available_throughout_faculty": 987,
"blind_evaluation": false,
"categories": [Category],
"category_ids": [4],
"common_mistakes": [CommonMistake],
"course_preview_images": [PreviewImage],
"created_at": 123,
"default_language": "abc123",
"description": {},
"discount_code": DiscountCode,
"discount_code_id": 987,
"double_video_answers": true,
"duration": "abc123",
"end_date": "xyz789",
"establishment": Establishment,
"everyone_evaluate_id": 123,
"failed_students": [User],
"goal": "xyz789",
"has_evaluation_group_stages": true,
"has_everyone_evaluate_stages": true,
"id": 4,
"is_closed_course": false,
"is_train_the_trainer": true,
"learn_list": {},
"lms_academic_period": "xyz789",
"lms_course_id": "xyz789",
"lms_course_type_id": 987,
"lms_event_id": "abc123",
"lms_id": "abc123",
"lms_master_id": "xyz789",
"locale_descriptions": {},
"locale_learn_list": {},
"locale_titles": {},
"next_course": [Course],
"number_of_students": 987,
"parent_course": Course,
"passed_students": [User],
"peer_review": true,
"pending_answer_to_evaluate_by_user": 123,
"pending_request": 987,
"pending_requests": [Request],
"position": 987,
"presentation_video": "xyz789",
"privacy_rule": "xyz789",
"published": true,
"random_student_assigment": false,
"requests": [Request],
"requirement_course": [Course],
"requirements": [RequirementType],
"review_avg": 123.45,
"reviews": [Review],
"score": 123,
"second_admin_id": 987,
"sequential_stages": true,
"stages": [Stage],
"start_date": "abc123",
"student_capacity": 987,
"student_upload": true,
"teachers": [User],
"teachers_in_training": [User],
"title": {},
"updated_at": "abc123",
"updated_at_table": 123,
"user": [User],
"user_requests": [User],
"video_duration": 987,
"video_size": 123.45,
"video_size_without_compress": 987.65
}
]
}
}
coursesByUserRole
Response
Returns [Course]!
Arguments
Name | Description |
---|---|
where - CourseByUserRoleFilterProvider
|
|
search_text - String
|
|
offset - Int
|
|
limit - Int
|
|
belong_to_user_id - Int
|
Example
Query
query coursesByUserRole(
$where: CourseByUserRoleFilterProvider,
$search_text: String,
$offset: Int,
$limit: Int,
$belong_to_user_id: Int
) {
coursesByUserRole(
where: $where,
search_text: $search_text,
offset: $offset,
limit: $limit,
belong_to_user_id: $belong_to_user_id
) {
accepted_terms_payments
active_students {
...UserFragment
}
active_students_count
admin {
...UserFragment
}
admin_id
admissions_fee
ai_available_by_courses {
...AiAvailableByCourseTypeFragment
}
answers_count
available_languages
available_throughout_faculty
blind_evaluation
categories {
...CategoryFragment
}
category_ids
common_mistakes {
...CommonMistakeFragment
}
course_preview_images {
...PreviewImageFragment
}
created_at
default_language
description
discount_code {
...DiscountCodeFragment
}
discount_code_id
double_video_answers
duration
end_date
establishment {
...EstablishmentFragment
}
everyone_evaluate_id
failed_students {
...UserFragment
}
goal
has_evaluation_group_stages
has_everyone_evaluate_stages
id
is_closed_course
is_train_the_trainer
learn_list
lms_academic_period
lms_course_id
lms_course_type_id
lms_event_id
lms_id
lms_master_id
locale_descriptions
locale_learn_list
locale_titles
next_course {
...CourseFragment
}
number_of_students
parent_course {
...CourseFragment
}
passed_students {
...UserFragment
}
peer_review
pending_answer_to_evaluate_by_user
pending_request
pending_requests {
...RequestFragment
}
position
presentation_video
privacy_rule
published
random_student_assigment
requests {
...RequestFragment
}
requirement_course {
...CourseFragment
}
requirements {
...RequirementTypeFragment
}
review_avg
reviews {
...ReviewFragment
}
score
second_admin_id
sequential_stages
stages {
...StageFragment
}
start_date
student_capacity
student_upload
teachers {
...UserFragment
}
teachers_in_training {
...UserFragment
}
title
updated_at
updated_at_table
user {
...UserFragment
}
user_requests {
...UserFragment
}
video_duration
video_size
video_size_without_compress
}
}
Variables
{
"where": CourseByUserRoleFilterProvider,
"search_text": "abc123",
"offset": 987,
"limit": 123,
"belong_to_user_id": 123
}
Response
{
"data": {
"coursesByUserRole": [
{
"accepted_terms_payments": true,
"active_students": [User],
"active_students_count": 123,
"admin": User,
"admin_id": 123,
"admissions_fee": 123.45,
"ai_available_by_courses": [
AiAvailableByCourseType
],
"answers_count": 987,
"available_languages": ["xyz789"],
"available_throughout_faculty": 123,
"blind_evaluation": true,
"categories": [Category],
"category_ids": ["4"],
"common_mistakes": [CommonMistake],
"course_preview_images": [PreviewImage],
"created_at": 123,
"default_language": "xyz789",
"description": {},
"discount_code": DiscountCode,
"discount_code_id": 987,
"double_video_answers": true,
"duration": "xyz789",
"end_date": "xyz789",
"establishment": Establishment,
"everyone_evaluate_id": 123,
"failed_students": [User],
"goal": "abc123",
"has_evaluation_group_stages": false,
"has_everyone_evaluate_stages": true,
"id": "4",
"is_closed_course": true,
"is_train_the_trainer": true,
"learn_list": {},
"lms_academic_period": "abc123",
"lms_course_id": "abc123",
"lms_course_type_id": 987,
"lms_event_id": "abc123",
"lms_id": "abc123",
"lms_master_id": "xyz789",
"locale_descriptions": {},
"locale_learn_list": {},
"locale_titles": {},
"next_course": [Course],
"number_of_students": 987,
"parent_course": Course,
"passed_students": [User],
"peer_review": false,
"pending_answer_to_evaluate_by_user": 123,
"pending_request": 123,
"pending_requests": [Request],
"position": 987,
"presentation_video": "abc123",
"privacy_rule": "abc123",
"published": false,
"random_student_assigment": false,
"requests": [Request],
"requirement_course": [Course],
"requirements": [RequirementType],
"review_avg": 123.45,
"reviews": [Review],
"score": 987,
"second_admin_id": 123,
"sequential_stages": false,
"stages": [Stage],
"start_date": "abc123",
"student_capacity": 987,
"student_upload": false,
"teachers": [User],
"teachers_in_training": [User],
"title": {},
"updated_at": "abc123",
"updated_at_table": 123,
"user": [User],
"user_requests": [User],
"video_duration": 123,
"video_size": 123.45,
"video_size_without_compress": 987.65
}
]
}
}
discountCodesInfo
Response
Returns [DiscountCode]!
Example
Query
query discountCodesInfo {
discountCodesInfo {
code
description
id
max_courses
percentage_amount_to_pay
}
}
Response
{
"data": {
"discountCodesInfo": [
{
"code": "xyz789",
"description": "abc123",
"id": "4",
"max_courses": 987,
"percentage_amount_to_pay": 123.45
}
]
}
}
establishmentAuthorizedUsers
Response
Returns [User]
Example
Query
query establishmentAuthorizedUsers {
establishmentAuthorizedUsers {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Response
{
"data": {
"establishmentAuthorizedUsers": [
{
"about": "xyz789",
"academic_degree": "xyz789",
"accepted_requests": [Course],
"accepted_terms": false,
"address": "xyz789",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": false,
"authorized_create_course_by_establishments": true,
"available_courses": 987,
"available_licenses": 987,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 987,
"birth_date": "xyz789",
"color": "xyz789",
"country": "abc123",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "abc123",
"dynamic_labels": [DynamicLabel],
"email": "xyz789",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": "4",
"identity_number": "abc123",
"image": "abc123",
"in_training_courses": [Course],
"institution": "xyz789",
"institution_code": "xyz789",
"internal_users": [User],
"is_superadmin": false,
"last_login": "abc123",
"lastname": "xyz789",
"licenses": 987,
"linkedin": "xyz789",
"lms_user_id": "abc123",
"locale": "xyz789",
"max_courses": 987,
"name": "abc123",
"notifications": [Notification],
"onboarding": false,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "xyz789",
"pending_requests": [Course],
"presentation_video": "abc123",
"profession": "xyz789",
"profile_image_link": "abc123",
"provider": "xyz789",
"rating": 123,
"rejected_requests": [Course],
"requests": [Request],
"role": "abc123",
"role_id": 987,
"second_admin_courses": [Course],
"sex": "xyz789",
"state": "xyz789",
"status_id": "abc123",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 987,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 123,
"video_size": 123.45,
"video_size_without_compress": 123.45,
"work_place": "xyz789"
}
]
}
}
establishments
Response
Returns [Establishment]!
Arguments
Name | Description |
---|---|
where - EstablishmentFilterProvider
|
Example
Query
query establishments($where: EstablishmentFilterProvider) {
establishments(where: $where) {
available_courses
available_licenses
courses {
...CourseFragment
}
id
image
licenses
max_courses
name
university {
...UniversityFragment
}
university_id
user {
...UserFragment
}
user_id
}
}
Variables
{"where": EstablishmentFilterProvider}
Response
{
"data": {
"establishments": [
{
"available_courses": 987,
"available_licenses": 123,
"courses": [Course],
"id": 4,
"image": "xyz789",
"licenses": 987,
"max_courses": 123,
"name": "xyz789",
"university": University,
"university_id": 4,
"user": User,
"user_id": 4
}
]
}
}
evaluationVideoLink
Response
Returns a S3Link!
Example
Query
query evaluationVideoLink(
$exercise_id: ID!,
$extension: String!,
$user_id: ID
) {
evaluationVideoLink(
exercise_id: $exercise_id,
extension: $extension,
user_id: $user_id
) {
acl
key
policy
success_action_status
url
x_amz_algorithm
x_amz_credential
x_amz_date
x_amz_signature
}
}
Variables
{
"exercise_id": "4",
"extension": "xyz789",
"user_id": "4"
}
Response
{
"data": {
"evaluationVideoLink": {
"acl": "xyz789",
"key": "xyz789",
"policy": "xyz789",
"success_action_status": "xyz789",
"url": "abc123",
"x_amz_algorithm": "abc123",
"x_amz_credential": "abc123",
"x_amz_date": "xyz789",
"x_amz_signature": "xyz789"
}
}
}
evaluationsByStageByCourse
Example
Query
query evaluationsByStageByCourse(
$course_id: ID!,
$teacher_id: ID
) {
evaluationsByStageByCourse(
course_id: $course_id,
teacher_id: $teacher_id
)
}
Variables
{"course_id": "4", "teacher_id": 4}
Response
{
"data": {
"evaluationsByStageByCourse": "xyz789"
}
}
everyoneEvaluateFeedbacksAndScoresByAnswer
Response
Returns an allFeedbacksType
Example
Query
query everyoneEvaluateFeedbacksAndScoresByAnswer(
$answer_id: ID!,
$course_id: ID!
) {
everyoneEvaluateFeedbacksAndScoresByAnswer(
answer_id: $answer_id,
course_id: $course_id
) {
audios
avg_evaluation_items
commonMistakes
drawings
status_stage
texts
}
}
Variables
{
"answer_id": "4",
"course_id": "4"
}
Response
{
"data": {
"everyoneEvaluateFeedbacksAndScoresByAnswer": {
"audios": "abc123",
"avg_evaluation_items": "xyz789",
"commonMistakes": "abc123",
"drawings": "abc123",
"status_stage": "abc123",
"texts": "abc123"
}
}
}
everyoneEvaluateInfo
Response
Returns an EveryoneEvaluate
Arguments
Name | Description |
---|---|
stage_id - ID!
|
Example
Query
query everyoneEvaluateInfo($stage_id: ID!) {
everyoneEvaluateInfo(stage_id: $stage_id) {
course_id
evaluation_waiting_days
evaluations_needed
id
is_automatic_assignment
is_teacher_definitive
stage_id
}
}
Variables
{"stage_id": 4}
Response
{
"data": {
"everyoneEvaluateInfo": {
"course_id": "4",
"evaluation_waiting_days": 987,
"evaluations_needed": 987,
"id": 4,
"is_automatic_assignment": false,
"is_teacher_definitive": true,
"stage_id": 4
}
}
}
everyoneEvaluateTeacherAssignmentAnswersStatus
Example
Query
query everyoneEvaluateTeacherAssignmentAnswersStatus($stage_id: ID!) {
everyoneEvaluateTeacherAssignmentAnswersStatus(stage_id: $stage_id)
}
Variables
{"stage_id": 4}
Response
{
"data": {
"everyoneEvaluateTeacherAssignmentAnswersStatus": "xyz789"
}
}
everyoneEvaluateTeacherAssignmentInfo
Example
Query
query everyoneEvaluateTeacherAssignmentInfo($stage_id: ID!) {
everyoneEvaluateTeacherAssignmentInfo(stage_id: $stage_id)
}
Variables
{"stage_id": 4}
Response
{
"data": {
"everyoneEvaluateTeacherAssignmentInfo": "abc123"
}
}
everyoneEvaluateTeacherAssignmentStatusByAnswer
Example
Query
query everyoneEvaluateTeacherAssignmentStatusByAnswer(
$answer_id: ID!,
$course_id: ID!
) {
everyoneEvaluateTeacherAssignmentStatusByAnswer(
answer_id: $answer_id,
course_id: $course_id
)
}
Variables
{"answer_id": 4, "course_id": 4}
Response
{
"data": {
"everyoneEvaluateTeacherAssignmentStatusByAnswer": "abc123"
}
}
exercises
Response
Returns [Exercise]
Arguments
Name | Description |
---|---|
where - ExerciseFilterProvider
|
Example
Query
query exercises($where: ExerciseFilterProvider) {
exercises(where: $where) {
answers {
...AnswerFragment
}
automatic_evaluation
description
evaluation_group_setting {
...EvaluationGroupSettingTypeFragment
}
evaluation_items {
...EvaluationItemFragment
}
evaluation_type
id
is_locked
is_multiple_choice_poll
locale_descriptions
period_of_time_enabled
questions {
...QuestionFragment
}
questions_to_approve
random_questions
stage {
...StageFragment
}
stage_id
train_the_trainer_exercise {
...TrainTheTrainerExerciseFragment
}
unlock_date
}
}
Variables
{"where": ExerciseFilterProvider}
Response
{
"data": {
"exercises": [
{
"answers": [Answer],
"automatic_evaluation": false,
"description": {},
"evaluation_group_setting": EvaluationGroupSettingType,
"evaluation_items": [EvaluationItem],
"evaluation_type": "abc123",
"id": 4,
"is_locked": true,
"is_multiple_choice_poll": true,
"locale_descriptions": {},
"period_of_time_enabled": "xyz789",
"questions": [Question],
"questions_to_approve": 987,
"random_questions": 123,
"stage": Stage,
"stage_id": 4,
"train_the_trainer_exercise": TrainTheTrainerExercise,
"unlock_date": "abc123"
}
]
}
}
favouriteItemInfo
Response
Returns [FavouriteItemType]
Arguments
Name | Description |
---|---|
user_id - ID
|
Example
Query
query favouriteItemInfo($user_id: ID) {
favouriteItemInfo(user_id: $user_id) {
descriptions
descriptions_values
id
item_id
locale_descriptions
locale_names
max_value
min_value
name
req_value
scale_id
user_id
}
}
Variables
{"user_id": 4}
Response
{
"data": {
"favouriteItemInfo": [
{
"descriptions": {},
"descriptions_values": ["abc123"],
"id": "4",
"item_id": 987,
"locale_descriptions": {},
"locale_names": {},
"max_value": 987.65,
"min_value": 123.45,
"name": {},
"req_value": 123.45,
"scale_id": "abc123",
"user_id": 987
}
]
}
}
featuredCoursesInfo
Example
Query
query featuredCoursesInfo(
$offset: Int,
$limit: Int
) {
featuredCoursesInfo(
offset: $offset,
limit: $limit
) {
accepted_terms_payments
active_students {
...UserFragment
}
active_students_count
admin {
...UserFragment
}
admin_id
admissions_fee
ai_available_by_courses {
...AiAvailableByCourseTypeFragment
}
answers_count
available_languages
available_throughout_faculty
blind_evaluation
categories {
...CategoryFragment
}
category_ids
common_mistakes {
...CommonMistakeFragment
}
course_preview_images {
...PreviewImageFragment
}
created_at
default_language
description
discount_code {
...DiscountCodeFragment
}
discount_code_id
double_video_answers
duration
end_date
establishment {
...EstablishmentFragment
}
everyone_evaluate_id
failed_students {
...UserFragment
}
goal
has_evaluation_group_stages
has_everyone_evaluate_stages
id
is_closed_course
is_train_the_trainer
learn_list
lms_academic_period
lms_course_id
lms_course_type_id
lms_event_id
lms_id
lms_master_id
locale_descriptions
locale_learn_list
locale_titles
next_course {
...CourseFragment
}
number_of_students
parent_course {
...CourseFragment
}
passed_students {
...UserFragment
}
peer_review
pending_answer_to_evaluate_by_user
pending_request
pending_requests {
...RequestFragment
}
position
presentation_video
privacy_rule
published
random_student_assigment
requests {
...RequestFragment
}
requirement_course {
...CourseFragment
}
requirements {
...RequirementTypeFragment
}
review_avg
reviews {
...ReviewFragment
}
score
second_admin_id
sequential_stages
stages {
...StageFragment
}
start_date
student_capacity
student_upload
teachers {
...UserFragment
}
teachers_in_training {
...UserFragment
}
title
updated_at
updated_at_table
user {
...UserFragment
}
user_requests {
...UserFragment
}
video_duration
video_size
video_size_without_compress
}
}
Variables
{"offset": 987, "limit": 987}
Response
{
"data": {
"featuredCoursesInfo": [
{
"accepted_terms_payments": true,
"active_students": [User],
"active_students_count": 987,
"admin": User,
"admin_id": 123,
"admissions_fee": 123.45,
"ai_available_by_courses": [
AiAvailableByCourseType
],
"answers_count": 987,
"available_languages": ["abc123"],
"available_throughout_faculty": 987,
"blind_evaluation": true,
"categories": [Category],
"category_ids": [4],
"common_mistakes": [CommonMistake],
"course_preview_images": [PreviewImage],
"created_at": 123,
"default_language": "abc123",
"description": {},
"discount_code": DiscountCode,
"discount_code_id": 987,
"double_video_answers": true,
"duration": "xyz789",
"end_date": "abc123",
"establishment": Establishment,
"everyone_evaluate_id": 123,
"failed_students": [User],
"goal": "xyz789",
"has_evaluation_group_stages": false,
"has_everyone_evaluate_stages": false,
"id": 4,
"is_closed_course": true,
"is_train_the_trainer": false,
"learn_list": {},
"lms_academic_period": "abc123",
"lms_course_id": "abc123",
"lms_course_type_id": 123,
"lms_event_id": "abc123",
"lms_id": "xyz789",
"lms_master_id": "abc123",
"locale_descriptions": {},
"locale_learn_list": {},
"locale_titles": {},
"next_course": [Course],
"number_of_students": 123,
"parent_course": Course,
"passed_students": [User],
"peer_review": true,
"pending_answer_to_evaluate_by_user": 123,
"pending_request": 123,
"pending_requests": [Request],
"position": 987,
"presentation_video": "xyz789",
"privacy_rule": "abc123",
"published": true,
"random_student_assigment": false,
"requests": [Request],
"requirement_course": [Course],
"requirements": [RequirementType],
"review_avg": 987.65,
"reviews": [Review],
"score": 987,
"second_admin_id": 123,
"sequential_stages": false,
"stages": [Stage],
"start_date": "xyz789",
"student_capacity": 987,
"student_upload": false,
"teachers": [User],
"teachers_in_training": [User],
"title": {},
"updated_at": "abc123",
"updated_at_table": 123,
"user": [User],
"user_requests": [User],
"video_duration": 123,
"video_size": 123.45,
"video_size_without_compress": 987.65
}
]
}
}
feedbackEveryoneEvaluateByUser
Example
Query
query feedbackEveryoneEvaluateByUser(
$answer_id: ID!,
$course_id: ID!
) {
feedbackEveryoneEvaluateByUser(
answer_id: $answer_id,
course_id: $course_id
) {
answer {
...AnswerFragment
}
answer_id
approved
belong_to_feedback_id
comments
evaluated_at
everyone_evaluate_answer {
...AnswerFragment
}
everyone_evaluate_answer_id
feedback_audios {
...FeedbackAudioFragment
}
feedback_common_mistakes {
...FeedbackCommonMistakeFragment
}
feedback_drawings {
...FeedbackDrawingFragment
}
feedback_feedback {
...FeedbackFeedbackFragment
}
feedback_scores {
...FeedbackScoreFragment
}
feedback_summaries {
...FeedbackSummaryFragment
}
feedback_texts {
...FeedbackTextFragment
}
feedbacks {
...FeedbackFragment
}
finished
ia_was_requested_resume
id
is_open_feedback
seen_by_student
teacher {
...UserFragment
}
teacher_id
train_the_trainer_feedback {
...TrainTheTrainerFeedbackFragment
}
}
}
Variables
{
"answer_id": "4",
"course_id": "4"
}
Response
{
"data": {
"feedbackEveryoneEvaluateByUser": {
"answer": Answer,
"answer_id": 4,
"approved": true,
"belong_to_feedback_id": 4,
"comments": "abc123",
"evaluated_at": "abc123",
"everyone_evaluate_answer": Answer,
"everyone_evaluate_answer_id": 4,
"feedback_audios": [FeedbackAudio],
"feedback_common_mistakes": [FeedbackCommonMistake],
"feedback_drawings": [FeedbackDrawing],
"feedback_feedback": FeedbackFeedback,
"feedback_scores": [FeedbackScore],
"feedback_summaries": [FeedbackSummary],
"feedback_texts": [FeedbackText],
"feedbacks": [Feedback],
"finished": false,
"ia_was_requested_resume": 123,
"id": "4",
"is_open_feedback": true,
"seen_by_student": 123.45,
"teacher": User,
"teacher_id": "4",
"train_the_trainer_feedback": TrainTheTrainerFeedback
}
}
}
feedbackFeedbacks
Response
Returns [FeedbackFeedback]!
Arguments
Name | Description |
---|---|
where - FeedbackFeedbackFilterProvider
|
|
course_id - ID!
|
Example
Query
query feedbackFeedbacks(
$where: FeedbackFeedbackFilterProvider,
$course_id: ID!
) {
feedbackFeedbacks(
where: $where,
course_id: $course_id
) {
comments
feedback {
...FeedbackFragment
}
feedback_id
id
score
technical_quality_comments
technical_quality_score
}
}
Variables
{
"where": FeedbackFeedbackFilterProvider,
"course_id": "4"
}
Response
{
"data": {
"feedbackFeedbacks": [
{
"comments": "xyz789",
"feedback": Feedback,
"feedback_id": 4,
"id": 4,
"score": 987.65,
"technical_quality_comments": "xyz789",
"technical_quality_score": 123.45
}
]
}
}
feedbackFileLink
Example
Query
query feedbackFileLink(
$extension: String!,
$feedback_id: ID!
) {
feedbackFileLink(
extension: $extension,
feedback_id: $feedback_id
) {
acl
key
policy
success_action_status
url
x_amz_algorithm
x_amz_credential
x_amz_date
x_amz_signature
}
}
Variables
{"extension": "xyz789", "feedback_id": 4}
Response
{
"data": {
"feedbackFileLink": {
"acl": "abc123",
"key": "xyz789",
"policy": "abc123",
"success_action_status": "abc123",
"url": "abc123",
"x_amz_algorithm": "abc123",
"x_amz_credential": "abc123",
"x_amz_date": "xyz789",
"x_amz_signature": "xyz789"
}
}
}
feedbackType
Response
Returns [feedbacksTypesType]!
Arguments
Name | Description |
---|---|
university_courses_id - [ID]
|
Example
Query
query feedbackType($university_courses_id: [ID]) {
feedbackType(university_courses_id: $university_courses_id) {
id
total_audios
total_common_mistakes
total_drawings
total_texts
}
}
Variables
{"university_courses_id": ["4"]}
Response
{
"data": {
"feedbackType": [
{
"id": 4,
"total_audios": 987.65,
"total_common_mistakes": 987.65,
"total_drawings": 987.65,
"total_texts": 123.45
}
]
}
}
feedbacks
Response
Returns [Feedback]!
Arguments
Name | Description |
---|---|
where - FeedbackFilterProvider
|
Example
Query
query feedbacks($where: FeedbackFilterProvider) {
feedbacks(where: $where) {
answer {
...AnswerFragment
}
answer_id
approved
belong_to_feedback_id
comments
evaluated_at
everyone_evaluate_answer {
...AnswerFragment
}
everyone_evaluate_answer_id
feedback_audios {
...FeedbackAudioFragment
}
feedback_common_mistakes {
...FeedbackCommonMistakeFragment
}
feedback_drawings {
...FeedbackDrawingFragment
}
feedback_feedback {
...FeedbackFeedbackFragment
}
feedback_scores {
...FeedbackScoreFragment
}
feedback_summaries {
...FeedbackSummaryFragment
}
feedback_texts {
...FeedbackTextFragment
}
feedbacks {
...FeedbackFragment
}
finished
ia_was_requested_resume
id
is_open_feedback
seen_by_student
teacher {
...UserFragment
}
teacher_id
train_the_trainer_feedback {
...TrainTheTrainerFeedbackFragment
}
}
}
Variables
{"where": FeedbackFilterProvider}
Response
{
"data": {
"feedbacks": [
{
"answer": Answer,
"answer_id": "4",
"approved": true,
"belong_to_feedback_id": 4,
"comments": "abc123",
"evaluated_at": "xyz789",
"everyone_evaluate_answer": Answer,
"everyone_evaluate_answer_id": 4,
"feedback_audios": [FeedbackAudio],
"feedback_common_mistakes": [
FeedbackCommonMistake
],
"feedback_drawings": [FeedbackDrawing],
"feedback_feedback": FeedbackFeedback,
"feedback_scores": [FeedbackScore],
"feedback_summaries": [FeedbackSummary],
"feedback_texts": [FeedbackText],
"feedbacks": [Feedback],
"finished": true,
"ia_was_requested_resume": 987,
"id": 4,
"is_open_feedback": true,
"seen_by_student": 987.65,
"teacher": User,
"teacher_id": 4,
"train_the_trainer_feedback": TrainTheTrainerFeedback
}
]
}
}
feedbacksByExercise
Response
Returns [feedbackByExerciseType]!
Example
Query
query feedbacksByExercise {
feedbacksByExercise {
average
exercise {
...ExerciseFragment
}
total_feedbacks
total_students
}
}
Response
{
"data": {
"feedbacksByExercise": [
{
"average": 987.65,
"exercise": Exercise,
"total_feedbacks": 123.45,
"total_students": 123.45
}
]
}
}
feedbacksByTime
Example
Query
query feedbacksByTime(
$course_id: ID!,
$teacher_id: ID
) {
feedbacksByTime(
course_id: $course_id,
teacher_id: $teacher_id
)
}
Variables
{"course_id": "4", "teacher_id": 4}
Response
{"data": {"feedbacksByTime": "abc123"}}
forgotPassword
Example
Query
query forgotPassword($email: String!) {
forgotPassword(email: $email) {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Variables
{"email": "abc123"}
Response
{
"data": {
"forgotPassword": {
"about": "xyz789",
"academic_degree": "xyz789",
"accepted_requests": [Course],
"accepted_terms": false,
"address": "xyz789",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": false,
"authorized_create_course_by_establishments": false,
"available_courses": 123,
"available_licenses": 123,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 123,
"birth_date": "xyz789",
"color": "abc123",
"country": "xyz789",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "xyz789",
"dynamic_labels": [DynamicLabel],
"email": "abc123",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": 4,
"identity_number": "xyz789",
"image": "xyz789",
"in_training_courses": [Course],
"institution": "abc123",
"institution_code": "xyz789",
"internal_users": [User],
"is_superadmin": true,
"last_login": "xyz789",
"lastname": "xyz789",
"licenses": 123,
"linkedin": "abc123",
"lms_user_id": "xyz789",
"locale": "abc123",
"max_courses": 987,
"name": "xyz789",
"notifications": [Notification],
"onboarding": false,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "xyz789",
"pending_requests": [Course],
"presentation_video": "abc123",
"profession": "xyz789",
"profile_image_link": "abc123",
"provider": "abc123",
"rating": 987,
"rejected_requests": [Course],
"requests": [Request],
"role": "abc123",
"role_id": 123,
"second_admin_courses": [Course],
"sex": "abc123",
"state": "xyz789",
"status_id": "xyz789",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 123,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 123,
"video_size": 123.45,
"video_size_without_compress": 987.65,
"work_place": "xyz789"
}
}
}
forumMessages
Response
Returns [ForumMessage]!
Example
Query
query forumMessages(
$forum_id: ID!,
$forum_message_id: ID,
$from_forum_message_id: ID
) {
forumMessages(
forum_id: $forum_id,
forum_message_id: $forum_message_id,
from_forum_message_id: $from_forum_message_id
) {
created_at
forum_id
forum_message_id
forum_messages {
...ForumMessageFragment
}
id
text
user {
...UserFragment
}
user_id
}
}
Variables
{
"forum_id": "4",
"forum_message_id": "4",
"from_forum_message_id": 4
}
Response
{
"data": {
"forumMessages": [
{
"created_at": 987,
"forum_id": 4,
"forum_message_id": "4",
"forum_messages": [ForumMessage],
"id": 4,
"text": "xyz789",
"user": User,
"user_id": 4
}
]
}
}
forumsByCourse
Example
Query
query forumsByCourse($course_id: ID!) {
forumsByCourse(course_id: $course_id) {
course {
...CourseFragment
}
course_id
created_at
id
number_of_messages
text
title
user {
...UserFragment
}
user_id
}
}
Variables
{"course_id": "4"}
Response
{
"data": {
"forumsByCourse": [
{
"course": Course,
"course_id": "4",
"created_at": 987,
"id": "4",
"number_of_messages": 987,
"text": "xyz789",
"title": "abc123",
"user": User,
"user_id": 4
}
]
}
}
generalPayments
Response
Returns [generalPaymentType]!
Example
Query
query generalPayments {
generalPayments {
id
title
total
total_mercadopago
total_training_competence
total_user
}
}
Response
{
"data": {
"generalPayments": [
{
"id": 123,
"title": "xyz789",
"total": 123.45,
"total_mercadopago": 987.65,
"total_training_competence": 987.65,
"total_user": 987.65
}
]
}
}
generateS3AccessCredentials
Response
Returns an AwsRole
Example
Query
query generateS3AccessCredentials {
generateS3AccessCredentials {
access_key_id
arn
assumed_role_id
expiration
packed_policy_size
secret_access_key
session_token
}
}
Response
{
"data": {
"generateS3AccessCredentials": {
"access_key_id": "abc123",
"arn": "xyz789",
"assumed_role_id": "xyz789",
"expiration": "xyz789",
"packed_policy_size": "abc123",
"secret_access_key": "abc123",
"session_token": "xyz789"
}
}
}
getAcademicPeriodsByYear
Response
Returns [AcademicPeriod]
Arguments
Name | Description |
---|---|
year - Int
|
Example
Query
query getAcademicPeriodsByYear($year: Int) {
getAcademicPeriodsByYear(year: $year) {
created_at
id
name
user_id
}
}
Variables
{"year": 123}
Response
{
"data": {
"getAcademicPeriodsByYear": [
{
"created_at": 987,
"id": 4,
"name": "abc123",
"user_id": 4
}
]
}
}
getAcademicYears
Response
Returns [AcademicPeriod]
Example
Query
query getAcademicYears {
getAcademicYears {
created_at
id
name
user_id
}
}
Response
{
"data": {
"getAcademicYears": [
{
"created_at": 123,
"id": "4",
"name": "xyz789",
"user_id": 4
}
]
}
}
getAchievementReportByCourse
getActiveCoursesDashboardData
Response
Returns a String
Example
Query
query getActiveCoursesDashboardData(
$year: Int,
$academic_period_id: ID,
$headquarter_id: ID,
$career_id: ID,
$course_id: ID,
$faculty_id: ID,
$limit: Int,
$offset: Int,
$is_duoc: Boolean
) {
getActiveCoursesDashboardData(
year: $year,
academic_period_id: $academic_period_id,
headquarter_id: $headquarter_id,
career_id: $career_id,
course_id: $course_id,
faculty_id: $faculty_id,
limit: $limit,
offset: $offset,
is_duoc: $is_duoc
)
}
Variables
{
"year": 987,
"academic_period_id": 4,
"headquarter_id": "4",
"career_id": 4,
"course_id": "4",
"faculty_id": "4",
"limit": 987,
"offset": 987,
"is_duoc": true
}
Response
{
"data": {
"getActiveCoursesDashboardData": "abc123"
}
}
getAiAvailableByCourse
Response
Returns an AiAvailableByCourseType
Arguments
Name | Description |
---|---|
course_id - ID!
|
Example
Query
query getAiAvailableByCourse($course_id: ID!) {
getAiAvailableByCourse(course_id: $course_id) {
ai_available {
...AiAvailableTypeFragment
}
ai_available_id
course_id
created_at
id
is_enabled
prompt_if_needed
updated_at
}
}
Variables
{"course_id": 4}
Response
{
"data": {
"getAiAvailableByCourse": {
"ai_available": AiAvailableType,
"ai_available_id": 123,
"course_id": 123,
"created_at": 987,
"id": 4,
"is_enabled": false,
"prompt_if_needed": "xyz789",
"updated_at": 123
}
}
}
getAiTeach1Processing
Response
Returns an AiTeach1Processing
Arguments
Name | Description |
---|---|
answer_id - ID!
|
Example
Query
query getAiTeach1Processing($answer_id: ID!) {
getAiTeach1Processing(answer_id: $answer_id) {
ai_teach1_processing_results {
...AiTeach1ProcessingResultFragment
}
answer {
...AnswerFragment
}
answer_id
created_at
detailed_description
id
key_elements
language
model
status
summary
updated_at
video_link
video_size_bytes
}
}
Variables
{"answer_id": 4}
Response
{
"data": {
"getAiTeach1Processing": {
"ai_teach1_processing_results": [
AiTeach1ProcessingResult
],
"answer": Answer,
"answer_id": "4",
"created_at": 123,
"detailed_description": "abc123",
"id": "4",
"key_elements": {},
"language": "abc123",
"model": "xyz789",
"status": "xyz789",
"summary": "xyz789",
"updated_at": 987,
"video_link": "xyz789",
"video_size_bytes": 987
}
}
}
getAllAchievementIndicatorByCourse
Response
Returns [AchievementIndicator]
Arguments
Name | Description |
---|---|
course_id - ID!
|
Example
Query
query getAllAchievementIndicatorByCourse($course_id: ID!) {
getAllAchievementIndicatorByCourse(course_id: $course_id) {
course_id
id
label
name
percentage
}
}
Variables
{"course_id": "4"}
Response
{
"data": {
"getAllAchievementIndicatorByCourse": [
{
"course_id": "abc123",
"id": 4,
"label": "abc123",
"name": "abc123",
"percentage": 987.65
}
]
}
}
getAllEvaluationGroupsByCourse
Response
Returns [EvaluationGroup]
Arguments
Name | Description |
---|---|
course_id - ID!
|
Example
Query
query getAllEvaluationGroupsByCourse($course_id: ID!) {
getAllEvaluationGroupsByCourse(course_id: $course_id) {
evaluation_group_setting {
...EvaluationGroupSettingTypeFragment
}
evaluation_group_setting_id
id
user_evaluation_groups {
...UserEvaluationGroupFragment
}
}
}
Variables
{"course_id": 4}
Response
{
"data": {
"getAllEvaluationGroupsByCourse": [
{
"evaluation_group_setting": EvaluationGroupSettingType,
"evaluation_group_setting_id": 987,
"id": 4,
"user_evaluation_groups": [UserEvaluationGroup]
}
]
}
}
getAllStatusByCourse
Response
Returns [statusStageByCourseType]!
Arguments
Name | Description |
---|---|
course_id - ID!
|
Example
Query
query getAllStatusByCourse($course_id: ID!) {
getAllStatusByCourse(course_id: $course_id) {
passed_stages
user_id
}
}
Variables
{"course_id": 4}
Response
{"data": {"getAllStatusByCourse": [{"passed_stages": 123, "user_id": 987}]}}
getCareerByAdministrators
Response
Returns [User]
Example
Query
query getCareerByAdministrators {
getCareerByAdministrators {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Response
{
"data": {
"getCareerByAdministrators": [
{
"about": "xyz789",
"academic_degree": "abc123",
"accepted_requests": [Course],
"accepted_terms": true,
"address": "xyz789",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": false,
"authorized_create_course_by_establishments": true,
"available_courses": 987,
"available_licenses": 987,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 987,
"birth_date": "abc123",
"color": "xyz789",
"country": "abc123",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "abc123",
"dynamic_labels": [DynamicLabel],
"email": "xyz789",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": 4,
"identity_number": "xyz789",
"image": "abc123",
"in_training_courses": [Course],
"institution": "xyz789",
"institution_code": "abc123",
"internal_users": [User],
"is_superadmin": true,
"last_login": "abc123",
"lastname": "abc123",
"licenses": 123,
"linkedin": "abc123",
"lms_user_id": "abc123",
"locale": "abc123",
"max_courses": 123,
"name": "xyz789",
"notifications": [Notification],
"onboarding": true,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "xyz789",
"pending_requests": [Course],
"presentation_video": "abc123",
"profession": "abc123",
"profile_image_link": "xyz789",
"provider": "xyz789",
"rating": 987,
"rejected_requests": [Course],
"requests": [Request],
"role": "abc123",
"role_id": 987,
"second_admin_courses": [Course],
"sex": "xyz789",
"state": "xyz789",
"status_id": "abc123",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 987,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 123,
"video_size": 123.45,
"video_size_without_compress": 987.65,
"work_place": "xyz789"
}
]
}
}
getCareerDashboardData
Response
Returns a String
Example
Query
query getCareerDashboardData(
$year: Int,
$academic_period_id: ID,
$headquarter_id: ID,
$career_id: ID,
$course_id: ID,
$faculty_id: ID
) {
getCareerDashboardData(
year: $year,
academic_period_id: $academic_period_id,
headquarter_id: $headquarter_id,
career_id: $career_id,
course_id: $course_id,
faculty_id: $faculty_id
)
}
Variables
{
"year": 987,
"academic_period_id": 4,
"headquarter_id": "4",
"career_id": "4",
"course_id": 4,
"faculty_id": "4"
}
Response
{
"data": {
"getCareerDashboardData": "abc123"
}
}
getCareersByFaculty
Example
Query
query getCareersByFaculty($faculty_id: ID) {
getCareersByFaculty(faculty_id: $faculty_id) {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Variables
{"faculty_id": "4"}
Response
{
"data": {
"getCareersByFaculty": [
{
"about": "xyz789",
"academic_degree": "abc123",
"accepted_requests": [Course],
"accepted_terms": false,
"address": "xyz789",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": false,
"authorized_create_course_by_establishments": true,
"available_courses": 123,
"available_licenses": 987,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 987,
"birth_date": "abc123",
"color": "abc123",
"country": "xyz789",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "abc123",
"dynamic_labels": [DynamicLabel],
"email": "xyz789",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": 4,
"identity_number": "xyz789",
"image": "abc123",
"in_training_courses": [Course],
"institution": "abc123",
"institution_code": "abc123",
"internal_users": [User],
"is_superadmin": true,
"last_login": "xyz789",
"lastname": "xyz789",
"licenses": 987,
"linkedin": "abc123",
"lms_user_id": "xyz789",
"locale": "abc123",
"max_courses": 123,
"name": "xyz789",
"notifications": [Notification],
"onboarding": false,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "abc123",
"pending_requests": [Course],
"presentation_video": "abc123",
"profession": "abc123",
"profile_image_link": "xyz789",
"provider": "xyz789",
"rating": 123,
"rejected_requests": [Course],
"requests": [Request],
"role": "abc123",
"role_id": 987,
"second_admin_courses": [Course],
"sex": "abc123",
"state": "abc123",
"status_id": "xyz789",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 123,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 987,
"video_size": 987.65,
"video_size_without_compress": 123.45,
"work_place": "abc123"
}
]
}
}
getColumnBookFromLmsProviderByCourse
Response
Returns [providerColumnBookType]
Arguments
Name | Description |
---|---|
course_id - ID
|
Example
Query
query getColumnBookFromLmsProviderByCourse($course_id: ID) {
getColumnBookFromLmsProviderByCourse(course_id: $course_id) {
contentId
id
name
}
}
Variables
{"course_id": "4"}
Response
{
"data": {
"getColumnBookFromLmsProviderByCourse": [
{
"contentId": "xyz789",
"id": "xyz789",
"name": "abc123"
}
]
}
}
getCourseDashboardData
Response
Returns a String
Example
Query
query getCourseDashboardData(
$year: Int,
$academic_period_id: ID,
$headquarter_id: ID,
$career_id: ID,
$course_id: ID,
$faculty_id: ID,
$is_duoc: Boolean
) {
getCourseDashboardData(
year: $year,
academic_period_id: $academic_period_id,
headquarter_id: $headquarter_id,
career_id: $career_id,
course_id: $course_id,
faculty_id: $faculty_id,
is_duoc: $is_duoc
)
}
Variables
{
"year": 123,
"academic_period_id": "4",
"headquarter_id": "4",
"career_id": "4",
"course_id": 4,
"faculty_id": 4,
"is_duoc": true
}
Response
{
"data": {
"getCourseDashboardData": "xyz789"
}
}
getCourseInfoByName
Example
Query
query getCourseInfoByName($course_name: String) {
getCourseInfoByName(course_name: $course_name) {
accepted_terms_payments
active_students {
...UserFragment
}
active_students_count
admin {
...UserFragment
}
admin_id
admissions_fee
ai_available_by_courses {
...AiAvailableByCourseTypeFragment
}
answers_count
available_languages
available_throughout_faculty
blind_evaluation
categories {
...CategoryFragment
}
category_ids
common_mistakes {
...CommonMistakeFragment
}
course_preview_images {
...PreviewImageFragment
}
created_at
default_language
description
discount_code {
...DiscountCodeFragment
}
discount_code_id
double_video_answers
duration
end_date
establishment {
...EstablishmentFragment
}
everyone_evaluate_id
failed_students {
...UserFragment
}
goal
has_evaluation_group_stages
has_everyone_evaluate_stages
id
is_closed_course
is_train_the_trainer
learn_list
lms_academic_period
lms_course_id
lms_course_type_id
lms_event_id
lms_id
lms_master_id
locale_descriptions
locale_learn_list
locale_titles
next_course {
...CourseFragment
}
number_of_students
parent_course {
...CourseFragment
}
passed_students {
...UserFragment
}
peer_review
pending_answer_to_evaluate_by_user
pending_request
pending_requests {
...RequestFragment
}
position
presentation_video
privacy_rule
published
random_student_assigment
requests {
...RequestFragment
}
requirement_course {
...CourseFragment
}
requirements {
...RequirementTypeFragment
}
review_avg
reviews {
...ReviewFragment
}
score
second_admin_id
sequential_stages
stages {
...StageFragment
}
start_date
student_capacity
student_upload
teachers {
...UserFragment
}
teachers_in_training {
...UserFragment
}
title
updated_at
updated_at_table
user {
...UserFragment
}
user_requests {
...UserFragment
}
video_duration
video_size
video_size_without_compress
}
}
Variables
{"course_name": "xyz789"}
Response
{
"data": {
"getCourseInfoByName": {
"accepted_terms_payments": true,
"active_students": [User],
"active_students_count": 987,
"admin": User,
"admin_id": 987,
"admissions_fee": 123.45,
"ai_available_by_courses": [
AiAvailableByCourseType
],
"answers_count": 987,
"available_languages": ["abc123"],
"available_throughout_faculty": 987,
"blind_evaluation": false,
"categories": [Category],
"category_ids": [4],
"common_mistakes": [CommonMistake],
"course_preview_images": [PreviewImage],
"created_at": 123,
"default_language": "xyz789",
"description": {},
"discount_code": DiscountCode,
"discount_code_id": 123,
"double_video_answers": false,
"duration": "abc123",
"end_date": "xyz789",
"establishment": Establishment,
"everyone_evaluate_id": 987,
"failed_students": [User],
"goal": "abc123",
"has_evaluation_group_stages": false,
"has_everyone_evaluate_stages": false,
"id": 4,
"is_closed_course": false,
"is_train_the_trainer": true,
"learn_list": {},
"lms_academic_period": "abc123",
"lms_course_id": "abc123",
"lms_course_type_id": 987,
"lms_event_id": "xyz789",
"lms_id": "xyz789",
"lms_master_id": "xyz789",
"locale_descriptions": {},
"locale_learn_list": {},
"locale_titles": {},
"next_course": [Course],
"number_of_students": 987,
"parent_course": Course,
"passed_students": [User],
"peer_review": true,
"pending_answer_to_evaluate_by_user": 987,
"pending_request": 123,
"pending_requests": [Request],
"position": 987,
"presentation_video": "abc123",
"privacy_rule": "abc123",
"published": false,
"random_student_assigment": true,
"requests": [Request],
"requirement_course": [Course],
"requirements": [RequirementType],
"review_avg": 123.45,
"reviews": [Review],
"score": 123,
"second_admin_id": 123,
"sequential_stages": false,
"stages": [Stage],
"start_date": "abc123",
"student_capacity": 987,
"student_upload": true,
"teachers": [User],
"teachers_in_training": [User],
"title": {},
"updated_at": "xyz789",
"updated_at_table": 123,
"user": [User],
"user_requests": [User],
"video_duration": 987,
"video_size": 987.65,
"video_size_without_compress": 987.65
}
}
}
getCourseVacants
Response
Returns a courseVacants
Arguments
Name | Description |
---|---|
course_id - ID!
|
Example
Query
query getCourseVacants($course_id: ID!) {
getCourseVacants(course_id: $course_id) {
course {
...CourseFragment
}
max_capacity
vacants
}
}
Variables
{"course_id": 4}
Response
{
"data": {
"getCourseVacants": {
"course": Course,
"max_capacity": 123,
"vacants": 123
}
}
}
getCoursesByCareer
Response
Returns [Course]
Example
Query
query getCoursesByCareer(
$career_id: ID,
$headquarter_id: ID,
$academic_period_id: ID
) {
getCoursesByCareer(
career_id: $career_id,
headquarter_id: $headquarter_id,
academic_period_id: $academic_period_id
) {
accepted_terms_payments
active_students {
...UserFragment
}
active_students_count
admin {
...UserFragment
}
admin_id
admissions_fee
ai_available_by_courses {
...AiAvailableByCourseTypeFragment
}
answers_count
available_languages
available_throughout_faculty
blind_evaluation
categories {
...CategoryFragment
}
category_ids
common_mistakes {
...CommonMistakeFragment
}
course_preview_images {
...PreviewImageFragment
}
created_at
default_language
description
discount_code {
...DiscountCodeFragment
}
discount_code_id
double_video_answers
duration
end_date
establishment {
...EstablishmentFragment
}
everyone_evaluate_id
failed_students {
...UserFragment
}
goal
has_evaluation_group_stages
has_everyone_evaluate_stages
id
is_closed_course
is_train_the_trainer
learn_list
lms_academic_period
lms_course_id
lms_course_type_id
lms_event_id
lms_id
lms_master_id
locale_descriptions
locale_learn_list
locale_titles
next_course {
...CourseFragment
}
number_of_students
parent_course {
...CourseFragment
}
passed_students {
...UserFragment
}
peer_review
pending_answer_to_evaluate_by_user
pending_request
pending_requests {
...RequestFragment
}
position
presentation_video
privacy_rule
published
random_student_assigment
requests {
...RequestFragment
}
requirement_course {
...CourseFragment
}
requirements {
...RequirementTypeFragment
}
review_avg
reviews {
...ReviewFragment
}
score
second_admin_id
sequential_stages
stages {
...StageFragment
}
start_date
student_capacity
student_upload
teachers {
...UserFragment
}
teachers_in_training {
...UserFragment
}
title
updated_at
updated_at_table
user {
...UserFragment
}
user_requests {
...UserFragment
}
video_duration
video_size
video_size_without_compress
}
}
Variables
{
"career_id": "4",
"headquarter_id": null,
"academic_period_id": null
}
Response
{
"data": {
"getCoursesByCareer": [
{
"accepted_terms_payments": false,
"active_students": [User],
"active_students_count": 987,
"admin": User,
"admin_id": 123,
"admissions_fee": 123.45,
"ai_available_by_courses": [
AiAvailableByCourseType
],
"answers_count": 123,
"available_languages": ["xyz789"],
"available_throughout_faculty": 123,
"blind_evaluation": true,
"categories": [Category],
"category_ids": [4],
"common_mistakes": [CommonMistake],
"course_preview_images": [PreviewImage],
"created_at": 123,
"default_language": "xyz789",
"description": {},
"discount_code": DiscountCode,
"discount_code_id": 987,
"double_video_answers": false,
"duration": "abc123",
"end_date": "abc123",
"establishment": Establishment,
"everyone_evaluate_id": 987,
"failed_students": [User],
"goal": "xyz789",
"has_evaluation_group_stages": false,
"has_everyone_evaluate_stages": true,
"id": 4,
"is_closed_course": false,
"is_train_the_trainer": true,
"learn_list": {},
"lms_academic_period": "xyz789",
"lms_course_id": "abc123",
"lms_course_type_id": 987,
"lms_event_id": "xyz789",
"lms_id": "xyz789",
"lms_master_id": "xyz789",
"locale_descriptions": {},
"locale_learn_list": {},
"locale_titles": {},
"next_course": [Course],
"number_of_students": 123,
"parent_course": Course,
"passed_students": [User],
"peer_review": false,
"pending_answer_to_evaluate_by_user": 987,
"pending_request": 123,
"pending_requests": [Request],
"position": 987,
"presentation_video": "abc123",
"privacy_rule": "abc123",
"published": true,
"random_student_assigment": true,
"requests": [Request],
"requirement_course": [Course],
"requirements": [RequirementType],
"review_avg": 987.65,
"reviews": [Review],
"score": 123,
"second_admin_id": 123,
"sequential_stages": true,
"stages": [Stage],
"start_date": "abc123",
"student_capacity": 987,
"student_upload": true,
"teachers": [User],
"teachers_in_training": [User],
"title": {},
"updated_at": "xyz789",
"updated_at_table": 987,
"user": [User],
"user_requests": [User],
"video_duration": 987,
"video_size": 987.65,
"video_size_without_compress": 123.45
}
]
}
}
getEstablishments
Example
Query
query getEstablishments($university_user_id: ID) {
getEstablishments(university_user_id: $university_user_id) {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Variables
{"university_user_id": "4"}
Response
{
"data": {
"getEstablishments": [
{
"about": "xyz789",
"academic_degree": "abc123",
"accepted_requests": [Course],
"accepted_terms": true,
"address": "xyz789",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": false,
"authorized_create_course_by_establishments": true,
"available_courses": 123,
"available_licenses": 987,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 987,
"birth_date": "xyz789",
"color": "xyz789",
"country": "abc123",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "xyz789",
"dynamic_labels": [DynamicLabel],
"email": "abc123",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": "4",
"identity_number": "xyz789",
"image": "xyz789",
"in_training_courses": [Course],
"institution": "abc123",
"institution_code": "abc123",
"internal_users": [User],
"is_superadmin": true,
"last_login": "xyz789",
"lastname": "abc123",
"licenses": 987,
"linkedin": "xyz789",
"lms_user_id": "abc123",
"locale": "xyz789",
"max_courses": 987,
"name": "abc123",
"notifications": [Notification],
"onboarding": false,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "abc123",
"pending_requests": [Course],
"presentation_video": "abc123",
"profession": "xyz789",
"profile_image_link": "xyz789",
"provider": "abc123",
"rating": 987,
"rejected_requests": [Course],
"requests": [Request],
"role": "abc123",
"role_id": 123,
"second_admin_courses": [Course],
"sex": "abc123",
"state": "abc123",
"status_id": "abc123",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 987,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 123,
"video_size": 987.65,
"video_size_without_compress": 987.65,
"work_place": "abc123"
}
]
}
}
getEvaluationGroupSetting
Response
Returns an EvaluationGroupSettingType
Arguments
Name | Description |
---|---|
exercise_id - ID!
|
Example
Query
query getEvaluationGroupSetting($exercise_id: ID!) {
getEvaluationGroupSetting(exercise_id: $exercise_id) {
assignment_type
exercise {
...ExerciseFragment
}
exercise_id
id
max_number_of_members
}
}
Variables
{"exercise_id": 4}
Response
{
"data": {
"getEvaluationGroupSetting": {
"assignment_type": "xyz789",
"exercise": Exercise,
"exercise_id": 123,
"id": "4",
"max_number_of_members": 987
}
}
}
getEvaluationGroupsByStage
Response
Returns [EvaluationGroup]
Arguments
Name | Description |
---|---|
stage_id - ID!
|
Example
Query
query getEvaluationGroupsByStage($stage_id: ID!) {
getEvaluationGroupsByStage(stage_id: $stage_id) {
evaluation_group_setting {
...EvaluationGroupSettingTypeFragment
}
evaluation_group_setting_id
id
user_evaluation_groups {
...UserEvaluationGroupFragment
}
}
}
Variables
{"stage_id": "4"}
Response
{
"data": {
"getEvaluationGroupsByStage": [
{
"evaluation_group_setting": EvaluationGroupSettingType,
"evaluation_group_setting_id": 987,
"id": 4,
"user_evaluation_groups": [UserEvaluationGroup]
}
]
}
}
getEvaluationItemsByStages
Response
Returns [EvaluationItem]!
Arguments
Name | Description |
---|---|
stage_ids - [ID]
|
Example
Query
query getEvaluationItemsByStages($stage_ids: [ID]) {
getEvaluationItemsByStages(stage_ids: $stage_ids) {
aditional_text
compound_score
compound_score_achievements_associated
compound_score_percentage
compound_score_percentage_for_achievement
descriptions
descriptions_values
exercise {
...ExerciseFragment
}
exercise_id
id
locale_aditional_text
locale_descriptions
locale_names
max_value
min_value
name
position
req_value
scale_id
}
}
Variables
{"stage_ids": ["4"]}
Response
{
"data": {
"getEvaluationItemsByStages": [
{
"aditional_text": {},
"compound_score": ["xyz789"],
"compound_score_achievements_associated": [
"xyz789"
],
"compound_score_percentage": [
"xyz789"
],
"compound_score_percentage_for_achievement": [
"xyz789"
],
"descriptions": {},
"descriptions_values": ["abc123"],
"exercise": Exercise,
"exercise_id": "4",
"id": 4,
"locale_aditional_text": {},
"locale_descriptions": {},
"locale_names": {},
"max_value": 123.45,
"min_value": 987.65,
"name": {},
"position": 123,
"req_value": 987.65,
"scale_id": "4"
}
]
}
}
getFacultiesByInstitution
Response
Returns [User]
Example
Query
query getFacultiesByInstitution {
getFacultiesByInstitution {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Response
{
"data": {
"getFacultiesByInstitution": [
{
"about": "xyz789",
"academic_degree": "abc123",
"accepted_requests": [Course],
"accepted_terms": true,
"address": "abc123",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": false,
"authorized_create_course_by_establishments": true,
"available_courses": 987,
"available_licenses": 123,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 123,
"birth_date": "abc123",
"color": "abc123",
"country": "xyz789",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "xyz789",
"dynamic_labels": [DynamicLabel],
"email": "abc123",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": "4",
"identity_number": "abc123",
"image": "xyz789",
"in_training_courses": [Course],
"institution": "abc123",
"institution_code": "abc123",
"internal_users": [User],
"is_superadmin": true,
"last_login": "xyz789",
"lastname": "xyz789",
"licenses": 987,
"linkedin": "xyz789",
"lms_user_id": "xyz789",
"locale": "abc123",
"max_courses": 987,
"name": "abc123",
"notifications": [Notification],
"onboarding": true,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "xyz789",
"pending_requests": [Course],
"presentation_video": "abc123",
"profession": "abc123",
"profile_image_link": "abc123",
"provider": "abc123",
"rating": 123,
"rejected_requests": [Course],
"requests": [Request],
"role": "xyz789",
"role_id": 123,
"second_admin_courses": [Course],
"sex": "xyz789",
"state": "xyz789",
"status_id": "xyz789",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 987,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 123,
"video_size": 123.45,
"video_size_without_compress": 987.65,
"work_place": "abc123"
}
]
}
}
getFacultiesByInstitutionId
Example
Query
query getFacultiesByInstitutionId($institution_id: ID) {
getFacultiesByInstitutionId(institution_id: $institution_id) {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Variables
{"institution_id": "4"}
Response
{
"data": {
"getFacultiesByInstitutionId": [
{
"about": "xyz789",
"academic_degree": "xyz789",
"accepted_requests": [Course],
"accepted_terms": true,
"address": "xyz789",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": false,
"authorized_create_course_by_establishments": false,
"available_courses": 123,
"available_licenses": 987,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 987,
"birth_date": "abc123",
"color": "xyz789",
"country": "xyz789",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "xyz789",
"dynamic_labels": [DynamicLabel],
"email": "abc123",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": "4",
"identity_number": "xyz789",
"image": "xyz789",
"in_training_courses": [Course],
"institution": "xyz789",
"institution_code": "abc123",
"internal_users": [User],
"is_superadmin": true,
"last_login": "xyz789",
"lastname": "xyz789",
"licenses": 123,
"linkedin": "abc123",
"lms_user_id": "xyz789",
"locale": "abc123",
"max_courses": 987,
"name": "xyz789",
"notifications": [Notification],
"onboarding": false,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "xyz789",
"pending_requests": [Course],
"presentation_video": "abc123",
"profession": "xyz789",
"profile_image_link": "xyz789",
"provider": "abc123",
"rating": 987,
"rejected_requests": [Course],
"requests": [Request],
"role": "xyz789",
"role_id": 123,
"second_admin_courses": [Course],
"sex": "abc123",
"state": "abc123",
"status_id": "xyz789",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 123,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 987,
"video_size": 987.65,
"video_size_without_compress": 123.45,
"work_place": "abc123"
}
]
}
}
getFacultyDashboardData
Response
Returns a String
Example
Query
query getFacultyDashboardData(
$year: Int,
$academic_period_id: ID,
$headquarter_id: ID,
$career_id: ID,
$course_id: ID,
$faculty_id: ID
) {
getFacultyDashboardData(
year: $year,
academic_period_id: $academic_period_id,
headquarter_id: $headquarter_id,
career_id: $career_id,
course_id: $course_id,
faculty_id: $faculty_id
)
}
Variables
{
"year": 123,
"academic_period_id": 4,
"headquarter_id": "4",
"career_id": 4,
"course_id": "4",
"faculty_id": 4
}
Response
{
"data": {
"getFacultyDashboardData": "abc123"
}
}
getFavouriteTeachers
Response
Returns [User]
Example
Query
query getFavouriteTeachers {
getFavouriteTeachers {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Response
{
"data": {
"getFavouriteTeachers": [
{
"about": "abc123",
"academic_degree": "xyz789",
"accepted_requests": [Course],
"accepted_terms": false,
"address": "abc123",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": false,
"authorized_create_course_by_establishments": false,
"available_courses": 987,
"available_licenses": 123,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 123,
"birth_date": "abc123",
"color": "abc123",
"country": "abc123",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "abc123",
"dynamic_labels": [DynamicLabel],
"email": "abc123",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": 4,
"identity_number": "abc123",
"image": "xyz789",
"in_training_courses": [Course],
"institution": "abc123",
"institution_code": "xyz789",
"internal_users": [User],
"is_superadmin": false,
"last_login": "abc123",
"lastname": "abc123",
"licenses": 123,
"linkedin": "abc123",
"lms_user_id": "xyz789",
"locale": "xyz789",
"max_courses": 123,
"name": "xyz789",
"notifications": [Notification],
"onboarding": false,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "abc123",
"pending_requests": [Course],
"presentation_video": "xyz789",
"profession": "abc123",
"profile_image_link": "xyz789",
"provider": "xyz789",
"rating": 123,
"rejected_requests": [Course],
"requests": [Request],
"role": "abc123",
"role_id": 987,
"second_admin_courses": [Course],
"sex": "xyz789",
"state": "xyz789",
"status_id": "abc123",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 987,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 123,
"video_size": 123.45,
"video_size_without_compress": 123.45,
"work_place": "xyz789"
}
]
}
}
getFeedbackAssistance
Response
Returns a FeedbackAssistance
Example
Query
query getFeedbackAssistance(
$text: String!,
$criterion: String!
) {
getFeedbackAssistance(
text: $text,
criterion: $criterion
) {
reason
score
}
}
Variables
{
"text": "xyz789",
"criterion": "abc123"
}
Response
{
"data": {
"getFeedbackAssistance": {
"reason": "abc123",
"score": 123.45
}
}
}
getFeedbackSummary
Response
Returns a FeedbackSummary
Example
Query
query getFeedbackSummary(
$text: String!,
$version: String!
) {
getFeedbackSummary(
text: $text,
version: $version
) {
choice_id
created_at
feedback {
...FeedbackFragment
}
id
recommendation1
recommendation2
text
updated_at
user {
...UserFragment
}
}
}
Variables
{
"text": "abc123",
"version": "abc123"
}
Response
{
"data": {
"getFeedbackSummary": {
"choice_id": 4,
"created_at": "abc123",
"feedback": Feedback,
"id": 4,
"recommendation1": "abc123",
"recommendation2": "xyz789",
"text": "xyz789",
"updated_at": "xyz789",
"user": User
}
}
}
getFeedbackSummaryById
Response
Returns a FeedbackSummary
Arguments
Name | Description |
---|---|
feedback_id - ID
|
Example
Query
query getFeedbackSummaryById($feedback_id: ID) {
getFeedbackSummaryById(feedback_id: $feedback_id) {
choice_id
created_at
feedback {
...FeedbackFragment
}
id
recommendation1
recommendation2
text
updated_at
user {
...UserFragment
}
}
}
Variables
{"feedback_id": "4"}
Response
{
"data": {
"getFeedbackSummaryById": {
"choice_id": "4",
"created_at": "xyz789",
"feedback": Feedback,
"id": "4",
"recommendation1": "abc123",
"recommendation2": "abc123",
"text": "abc123",
"updated_at": "abc123",
"user": User
}
}
}
getGeneralDashboardData
Response
Returns a String
Example
Query
query getGeneralDashboardData(
$year: Int,
$academic_period_id: ID,
$headquarter_id: ID,
$career_id: ID,
$course_id: ID,
$faculty_id: ID
) {
getGeneralDashboardData(
year: $year,
academic_period_id: $academic_period_id,
headquarter_id: $headquarter_id,
career_id: $career_id,
course_id: $course_id,
faculty_id: $faculty_id
)
}
Variables
{
"year": 987,
"academic_period_id": 4,
"headquarter_id": 4,
"career_id": 4,
"course_id": "4",
"faculty_id": 4
}
Response
{
"data": {
"getGeneralDashboardData": "xyz789"
}
}
getHeadquartersByCareer
Response
Returns [Headquarter]
Arguments
Name | Description |
---|---|
career_id - ID
|
Default = null |
Example
Query
query getHeadquartersByCareer($career_id: ID) {
getHeadquartersByCareer(career_id: $career_id) {
created_at
id
initials
name
user_id
}
}
Variables
{"career_id": null}
Response
{
"data": {
"getHeadquartersByCareer": [
{
"created_at": 987,
"id": 4,
"initials": "abc123",
"name": "xyz789",
"user_id": 4
}
]
}
}
getInstitutionalAdministrators
Response
Returns [InstitutionalAdministrator]
Example
Query
query getInstitutionalAdministrators(
$user_id: Int,
$type: String
) {
getInstitutionalAdministrators(
user_id: $user_id,
type: $type
) {
administrator {
...UserFragment
}
created_at
id
institution {
...UserFragment
}
institutional_user_id
read_only
user_id
}
}
Variables
{"user_id": 123, "type": "xyz789"}
Response
{
"data": {
"getInstitutionalAdministrators": [
{
"administrator": User,
"created_at": 123,
"id": "4",
"institution": User,
"institutional_user_id": "4",
"read_only": true,
"user_id": 4
}
]
}
}
getIsEveryoneEvaluateStage
getLikes
Response
Returns [likeCourseType]
Arguments
Name | Description |
---|---|
course_id - ID
|
Example
Query
query getLikes($course_id: ID) {
getLikes(course_id: $course_id) {
did_like
total_like
}
}
Variables
{"course_id": 4}
Response
{"data": {"getLikes": [{"did_like": true, "total_like": 987}]}}
getLmsScoreBookByCourse
Response
Returns [LmsScoreBook]
Arguments
Name | Description |
---|---|
course_id - ID!
|
Example
Query
query getLmsScoreBookByCourse($course_id: ID!) {
getLmsScoreBookByCourse(course_id: $course_id) {
course_id
id
lms_resource
lms_score_book_student_grades {
...LmsScoreBookStudentGradeFragment
}
lms_score_stage_items {
...LmsScoreStageItemFragment
}
max_value
min_value
}
}
Variables
{"course_id": 4}
Response
{
"data": {
"getLmsScoreBookByCourse": [
{
"course_id": 123,
"id": 4,
"lms_resource": "abc123",
"lms_score_book_student_grades": [
LmsScoreBookStudentGrade
],
"lms_score_stage_items": [LmsScoreStageItem],
"max_value": 123.45,
"min_value": 123.45
}
]
}
}
getLmsScoreBookStudentGradesInfo
getLtiClients
Response
Returns [LtiClient]
Example
Query
query getLtiClients {
getLtiClients {
api_client_id
api_secret
client_id
id
iss
name
placement_handle
platform_id
platform_version
roles {
...LtiRoleFragment
}
url
url_c1do1
user {
...UserFragment
}
user_id
}
}
Response
{
"data": {
"getLtiClients": [
{
"api_client_id": "abc123",
"api_secret": "abc123",
"client_id": "abc123",
"id": "4",
"iss": "abc123",
"name": "abc123",
"placement_handle": "xyz789",
"platform_id": "xyz789",
"platform_version": "abc123",
"roles": [LtiRole],
"url": "xyz789",
"url_c1do1": "abc123",
"user": User,
"user_id": 4
}
]
}
}
getLtiRoles
Response
Returns [LtiRole]
Example
Query
query getLtiRoles {
getLtiRoles {
course_user_role
description
id
lti_client {
...LtiClientFragment
}
lti_client_id
name
}
}
Response
{
"data": {
"getLtiRoles": [
{
"course_user_role": 123,
"description": "abc123",
"id": "4",
"lti_client": LtiClient,
"lti_client_id": 4,
"name": 4
}
]
}
}
getPassedStudents
Response
Returns [studentPassedData]!
Arguments
Name | Description |
---|---|
course_id - ID!
|
Example
Query
query getPassedStudents($course_id: ID!) {
getPassedStudents(course_id: $course_id) {
countAll
countPassed
countUnfinished
passedStudent
unfinishedStudent
}
}
Variables
{"course_id": "4"}
Response
{
"data": {
"getPassedStudents": [
{
"countAll": 987,
"countPassed": 987,
"countUnfinished": 987,
"passedStudent": ["xyz789"],
"unfinishedStudent": ["abc123"]
}
]
}
}
getPendingInvitations
Response
Returns [UserPendingInvitation]!
Example
Query
query getPendingInvitations(
$course_id: ID!,
$email: String
) {
getPendingInvitations(
course_id: $course_id,
email: $email
) {
course_id
email
id
}
}
Variables
{"course_id": 4, "email": "abc123"}
Response
{
"data": {
"getPendingInvitations": [
{
"course_id": 123,
"email": "xyz789",
"id": "4"
}
]
}
}
getPendingSurveyByUser
Response
Returns a PlatformSurvey
Arguments
Name | Description |
---|---|
process - String!
|
Example
Query
query getPendingSurveyByUser($process: String!) {
getPendingSurveyByUser(process: $process) {
created_at
current_version
description
id
is_enabled
platform_survey_questions {
...PlatformSurveyQuestionFragment
}
process
role_id
title
user_role
versions
}
}
Variables
{"process": "xyz789"}
Response
{
"data": {
"getPendingSurveyByUser": {
"created_at": 987,
"current_version": "abc123",
"description": {},
"id": "4",
"is_enabled": false,
"platform_survey_questions": [
PlatformSurveyQuestion
],
"process": "xyz789",
"role_id": 987,
"title": {},
"user_role": 123,
"versions": ["xyz789"]
}
}
}
getRequirements
Response
Returns [RequirementType]
Arguments
Name | Description |
---|---|
course_id - ID
|
Example
Query
query getRequirements($course_id: ID) {
getRequirements(course_id: $course_id) {
description
id
locale_titles
title
}
}
Variables
{"course_id": 4}
Response
{
"data": {
"getRequirements": [
{
"description": "abc123",
"id": "4",
"locale_titles": {},
"title": {}
}
]
}
}
getStagesDashboardData
getTeacherByCourseDashboardData
Response
Returns a String
Example
Query
query getTeacherByCourseDashboardData(
$year: Int,
$academic_period_id: ID,
$headquarter_id: ID,
$career_id: ID,
$course_id: ID,
$faculty_id: ID,
$limit: Int,
$offset: Int,
$is_duoc: Boolean
) {
getTeacherByCourseDashboardData(
year: $year,
academic_period_id: $academic_period_id,
headquarter_id: $headquarter_id,
career_id: $career_id,
course_id: $course_id,
faculty_id: $faculty_id,
limit: $limit,
offset: $offset,
is_duoc: $is_duoc
)
}
Variables
{
"year": 123,
"academic_period_id": 4,
"headquarter_id": 4,
"career_id": 4,
"course_id": "4",
"faculty_id": 4,
"limit": 987,
"offset": 123,
"is_duoc": false
}
Response
{
"data": {
"getTeacherByCourseDashboardData": "abc123"
}
}
getTeachersDashboardData
getTotalVideoAnswersDashboardData
Response
Returns a String
Example
Query
query getTotalVideoAnswersDashboardData(
$year: Int,
$academic_period_id: ID,
$headquarter_id: ID,
$career_id: ID,
$course_id: ID,
$faculty_id: ID
) {
getTotalVideoAnswersDashboardData(
year: $year,
academic_period_id: $academic_period_id,
headquarter_id: $headquarter_id,
career_id: $career_id,
course_id: $course_id,
faculty_id: $faculty_id
)
}
Variables
{
"year": 123,
"academic_period_id": 4,
"headquarter_id": "4",
"career_id": "4",
"course_id": 4,
"faculty_id": 4
}
Response
{
"data": {
"getTotalVideoAnswersDashboardData": "xyz789"
}
}
getUserCourseStatusStage
Response
Returns [UserCourseStatusStage]
Example
Query
query getUserCourseStatusStage(
$course_id: ID!,
$user_id: ID
) {
getUserCourseStatusStage(
course_id: $course_id,
user_id: $user_id
) {
answer_id
definitive_by
evaluation_type
evaluations_made
evaluations_received
number_attempt
result
stage {
...StageFragment
}
stage_id
status
user_course {
...UserCourseFragment
}
user_course_id
}
}
Variables
{"course_id": 4, "user_id": "4"}
Response
{
"data": {
"getUserCourseStatusStage": [
{
"answer_id": 987,
"definitive_by": "xyz789",
"evaluation_type": "abc123",
"evaluations_made": 123,
"evaluations_received": 987,
"number_attempt": 123,
"result": "abc123",
"stage": Stage,
"stage_id": 987,
"status": "xyz789",
"user_course": UserCourse,
"user_course_id": 123
}
]
}
}
getVideoAnswersDashboardData
Response
Returns a String
Example
Query
query getVideoAnswersDashboardData(
$year: Int,
$academic_period_id: ID,
$headquarter_id: ID,
$career_id: ID,
$course_id: ID,
$faculty_id: ID,
$limit: Int,
$offset: Int,
$is_duoc: Boolean
) {
getVideoAnswersDashboardData(
year: $year,
academic_period_id: $academic_period_id,
headquarter_id: $headquarter_id,
career_id: $career_id,
course_id: $course_id,
faculty_id: $faculty_id,
limit: $limit,
offset: $offset,
is_duoc: $is_duoc
)
}
Variables
{
"year": 123,
"academic_period_id": 4,
"headquarter_id": "4",
"career_id": 4,
"course_id": 4,
"faculty_id": 4,
"limit": 987,
"offset": 987,
"is_duoc": true
}
Response
{
"data": {
"getVideoAnswersDashboardData": "abc123"
}
}
health
Response
Returns a Boolean
Example
Query
query health {
health
}
Response
{"data": {"health": false}}
imageFromVideo
Example
Query
query imageFromVideo(
$url: String!,
$timestamp: Float!
) {
imageFromVideo(
url: $url,
timestamp: $timestamp
)
}
Variables
{"url": "abc123", "timestamp": 987.65}
Response
{"data": {"imageFromVideo": "xyz789"}}
inactiveUsersByCourses
Example
Query
query inactiveUsersByCourses(
$course_id: ID!,
$teacher_id: ID
) {
inactiveUsersByCourses(
course_id: $course_id,
teacher_id: $teacher_id
)
}
Variables
{
"course_id": "4",
"teacher_id": "4"
}
Response
{
"data": {
"inactiveUsersByCourses": "abc123"
}
}
institutions
Response
Returns [User]
Arguments
Name | Description |
---|---|
where - InstitutionFilterProvider
|
|
search_text - String
|
|
offset - Int
|
|
limit - Int
|
Example
Query
query institutions(
$where: InstitutionFilterProvider,
$search_text: String,
$offset: Int,
$limit: Int
) {
institutions(
where: $where,
search_text: $search_text,
offset: $offset,
limit: $limit
) {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Variables
{
"where": InstitutionFilterProvider,
"search_text": "xyz789",
"offset": 987,
"limit": 123
}
Response
{
"data": {
"institutions": [
{
"about": "abc123",
"academic_degree": "xyz789",
"accepted_requests": [Course],
"accepted_terms": true,
"address": "abc123",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": false,
"authorized_create_course_by_establishments": true,
"available_courses": 987,
"available_licenses": 123,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 123,
"birth_date": "xyz789",
"color": "xyz789",
"country": "abc123",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "xyz789",
"dynamic_labels": [DynamicLabel],
"email": "xyz789",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": "4",
"identity_number": "abc123",
"image": "abc123",
"in_training_courses": [Course],
"institution": "xyz789",
"institution_code": "abc123",
"internal_users": [User],
"is_superadmin": true,
"last_login": "xyz789",
"lastname": "xyz789",
"licenses": 987,
"linkedin": "xyz789",
"lms_user_id": "abc123",
"locale": "xyz789",
"max_courses": 987,
"name": "abc123",
"notifications": [Notification],
"onboarding": true,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "xyz789",
"pending_requests": [Course],
"presentation_video": "xyz789",
"profession": "xyz789",
"profile_image_link": "abc123",
"provider": "xyz789",
"rating": 123,
"rejected_requests": [Course],
"requests": [Request],
"role": "abc123",
"role_id": 987,
"second_admin_courses": [Course],
"sex": "xyz789",
"state": "abc123",
"status_id": "xyz789",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 987,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 987,
"video_size": 987.65,
"video_size_without_compress": 123.45,
"work_place": "xyz789"
}
]
}
}
issueLabels
Response
Returns [IssueLabelType]!
Example
Query
query issueLabels {
issueLabels {
en
es
id
}
}
Response
{
"data": {
"issueLabels": [
{
"en": "abc123",
"es": "xyz789",
"id": "4"
}
]
}
}
lastAnswers
Response
Returns [Answer]!
Arguments
Name | Description |
---|---|
where - LastAnswerFilterProvider
|
Example
Query
query lastAnswers($where: LastAnswerFilterProvider) {
lastAnswers(where: $where) {
created_at
evaluated
evaluation_group {
...EvaluationGroupFragment
}
evaluation_group_id
everyone_evaluate_student_feedbacks {
...FeedbackFragment
}
exercise {
...ExerciseFragment
}
exercise_id
feedback {
...FeedbackFragment
}
id
notes
question_answers {
...QuestionAnswerFragment
}
seen_by_teacher
try_number
updated_at
user {
...UserFragment
}
user_course_status_stage {
...UserCourseStatusStageFragment
}
user_id
video_duration
video_link
video_size
video_size_without_compress
}
}
Variables
{"where": LastAnswerFilterProvider}
Response
{
"data": {
"lastAnswers": [
{
"created_at": 123,
"evaluated": false,
"evaluation_group": EvaluationGroup,
"evaluation_group_id": 4,
"everyone_evaluate_student_feedbacks": [Feedback],
"exercise": Exercise,
"exercise_id": 4,
"feedback": Feedback,
"id": "4",
"notes": "abc123",
"question_answers": [QuestionAnswer],
"seen_by_teacher": true,
"try_number": 123,
"updated_at": 123,
"user": User,
"user_course_status_stage": [
UserCourseStatusStage
],
"user_id": 4,
"video_duration": 987,
"video_link": ["xyz789"],
"video_size": 123.45,
"video_size_without_compress": 987.65
}
]
}
}
likes
Example
Query
query likes($course_id: ID) {
likes(course_id: $course_id) {
course_id {
...CourseFragment
}
id
user_id {
...UserFragment
}
}
}
Variables
{"course_id": 4}
Response
{
"data": {
"likes": {
"course_id": Course,
"id": 4,
"user_id": User
}
}
}
ltiSignInUser
Response
Returns a LtiSignInPayloadOutput
Example
Query
query ltiSignInUser(
$lms_course_id: String!,
$lms_course_label: String!,
$lms_course_title: String!,
$client_id: String!,
$platform_id: String!,
$roles: JSON!,
$user_info: UserLtiObject
) {
ltiSignInUser(
lms_course_id: $lms_course_id,
lms_course_label: $lms_course_label,
lms_course_title: $lms_course_title,
client_id: $client_id,
platform_id: $platform_id,
roles: $roles,
user_info: $user_info
) {
courses {
...CustomCourseTypeFragment
}
token
university_user_id
user {
...UserFragment
}
}
}
Variables
{
"lms_course_id": "xyz789",
"lms_course_label": "xyz789",
"lms_course_title": "abc123",
"client_id": "abc123",
"platform_id": "xyz789",
"roles": {},
"user_info": UserLtiObject
}
Response
{
"data": {
"ltiSignInUser": {
"courses": [CustomCourseType],
"token": "xyz789",
"university_user_id": 4,
"user": User
}
}
}
mockAdminFeedbackFileLink
Response
Returns a S3Link!
Example
Query
query mockAdminFeedbackFileLink(
$extension: String!,
$mock_admin_feedback_id: ID!
) {
mockAdminFeedbackFileLink(
extension: $extension,
mock_admin_feedback_id: $mock_admin_feedback_id
) {
acl
key
policy
success_action_status
url
x_amz_algorithm
x_amz_credential
x_amz_date
x_amz_signature
}
}
Variables
{
"extension": "xyz789",
"mock_admin_feedback_id": "4"
}
Response
{
"data": {
"mockAdminFeedbackFileLink": {
"acl": "xyz789",
"key": "abc123",
"policy": "xyz789",
"success_action_status": "xyz789",
"url": "abc123",
"x_amz_algorithm": "xyz789",
"x_amz_credential": "xyz789",
"x_amz_date": "abc123",
"x_amz_signature": "xyz789"
}
}
}
mockAnswerVideoLink
Example
Query
query mockAnswerVideoLink(
$exercise_id: ID!,
$extension: String!
) {
mockAnswerVideoLink(
exercise_id: $exercise_id,
extension: $extension
) {
acl
key
policy
success_action_status
url
x_amz_algorithm
x_amz_credential
x_amz_date
x_amz_signature
}
}
Variables
{"exercise_id": 4, "extension": "abc123"}
Response
{
"data": {
"mockAnswerVideoLink": {
"acl": "abc123",
"key": "xyz789",
"policy": "xyz789",
"success_action_status": "abc123",
"url": "xyz789",
"x_amz_algorithm": "abc123",
"x_amz_credential": "xyz789",
"x_amz_date": "abc123",
"x_amz_signature": "abc123"
}
}
}
mockAnswers
Response
Returns [MockAnswer]!
Arguments
Name | Description |
---|---|
where - MockAnswerFilterProvider!
|
Example
Query
query mockAnswers($where: MockAnswerFilterProvider!) {
mockAnswers(where: $where) {
created_at
exercise {
...ExerciseFragment
}
exercise_id
id
mock_admin_feedback {
...MockAdminFeedbackFragment
}
video_link
}
}
Variables
{"where": MockAnswerFilterProvider}
Response
{
"data": {
"mockAnswers": [
{
"created_at": 123,
"exercise": Exercise,
"exercise_id": 4,
"id": 4,
"mock_admin_feedback": MockAdminFeedback,
"video_link": "abc123"
}
]
}
}
mockFeedbackFileLink
Example
Query
query mockFeedbackFileLink(
$extension: String!,
$mock_feedback_id: ID!
) {
mockFeedbackFileLink(
extension: $extension,
mock_feedback_id: $mock_feedback_id
) {
acl
key
policy
success_action_status
url
x_amz_algorithm
x_amz_credential
x_amz_date
x_amz_signature
}
}
Variables
{
"extension": "xyz789",
"mock_feedback_id": "4"
}
Response
{
"data": {
"mockFeedbackFileLink": {
"acl": "abc123",
"key": "xyz789",
"policy": "xyz789",
"success_action_status": "abc123",
"url": "xyz789",
"x_amz_algorithm": "abc123",
"x_amz_credential": "xyz789",
"x_amz_date": "abc123",
"x_amz_signature": "abc123"
}
}
}
mockFeedbacks
Response
Returns [MockFeedback]!
Arguments
Name | Description |
---|---|
where - MockFeedbackFilterProvider
|
Example
Query
query mockFeedbacks($where: MockFeedbackFilterProvider) {
mockFeedbacks(where: $where) {
approved
comments
evaluated_at
finished
id
is_correct
mock_answer {
...MockAnswerFragment
}
mock_answer_id
mock_feedback_audios {
...MockFeedbackAudioFragment
}
mock_feedback_common_mistakes {
...MockFeedbackCommonMistakeFragment
}
mock_feedback_drawings {
...MockFeedbackDrawingFragment
}
mock_feedback_scores {
...MockFeedbackScoreFragment
}
mock_feedback_texts {
...MockFeedbackTextFragment
}
teacher_in_training {
...UserFragment
}
teacher_in_training_id
}
}
Variables
{"where": MockFeedbackFilterProvider}
Response
{
"data": {
"mockFeedbacks": [
{
"approved": true,
"comments": "abc123",
"evaluated_at": "xyz789",
"finished": false,
"id": "4",
"is_correct": false,
"mock_answer": MockAnswer,
"mock_answer_id": 4,
"mock_feedback_audios": [MockFeedbackAudio],
"mock_feedback_common_mistakes": [
MockFeedbackCommonMistake
],
"mock_feedback_drawings": [MockFeedbackDrawing],
"mock_feedback_scores": [MockFeedbackScore],
"mock_feedback_texts": [MockFeedbackText],
"teacher_in_training": User,
"teacher_in_training_id": 4
}
]
}
}
multipleChoicePerformanceInfo
Example
Query
query multipleChoicePerformanceInfo(
$user_id: Int,
$course_id: Int,
$answer_id: Int
) {
multipleChoicePerformanceInfo(
user_id: $user_id,
course_id: $course_id,
answer_id: $answer_id
)
}
Variables
{"user_id": 987, "course_id": 987, "answer_id": 987}
Response
{
"data": {
"multipleChoicePerformanceInfo": "abc123"
}
}
notifications
Response
Returns [Notification]
Example
Query
query notifications {
notifications {
answer_id
course_id
data
exercise_id
feedback_id
id
notification_type
read
stage_id
user {
...UserFragment
}
user_id
}
}
Response
{
"data": {
"notifications": [
{
"answer_id": 4,
"course_id": "4",
"data": {},
"exercise_id": "4",
"feedback_id": 4,
"id": 4,
"notification_type": "xyz789",
"read": true,
"stage_id": 4,
"user": User,
"user_id": "4"
}
]
}
}
numberPendingAnswersEveryoneEvaluateCourse
Example
Query
query numberPendingAnswersEveryoneEvaluateCourse($course_id: ID) {
numberPendingAnswersEveryoneEvaluateCourse(course_id: $course_id)
}
Variables
{"course_id": 4}
Response
{"data": {"numberPendingAnswersEveryoneEvaluateCourse": 987}}
ownFeedback
Response
Returns [Feedback]!
Arguments
Name | Description |
---|---|
where - FeedbackFilterProvider
|
Example
Query
query ownFeedback($where: FeedbackFilterProvider) {
ownFeedback(where: $where) {
answer {
...AnswerFragment
}
answer_id
approved
belong_to_feedback_id
comments
evaluated_at
everyone_evaluate_answer {
...AnswerFragment
}
everyone_evaluate_answer_id
feedback_audios {
...FeedbackAudioFragment
}
feedback_common_mistakes {
...FeedbackCommonMistakeFragment
}
feedback_drawings {
...FeedbackDrawingFragment
}
feedback_feedback {
...FeedbackFeedbackFragment
}
feedback_scores {
...FeedbackScoreFragment
}
feedback_summaries {
...FeedbackSummaryFragment
}
feedback_texts {
...FeedbackTextFragment
}
feedbacks {
...FeedbackFragment
}
finished
ia_was_requested_resume
id
is_open_feedback
seen_by_student
teacher {
...UserFragment
}
teacher_id
train_the_trainer_feedback {
...TrainTheTrainerFeedbackFragment
}
}
}
Variables
{"where": FeedbackFilterProvider}
Response
{
"data": {
"ownFeedback": [
{
"answer": Answer,
"answer_id": 4,
"approved": true,
"belong_to_feedback_id": 4,
"comments": "abc123",
"evaluated_at": "abc123",
"everyone_evaluate_answer": Answer,
"everyone_evaluate_answer_id": 4,
"feedback_audios": [FeedbackAudio],
"feedback_common_mistakes": [
FeedbackCommonMistake
],
"feedback_drawings": [FeedbackDrawing],
"feedback_feedback": FeedbackFeedback,
"feedback_scores": [FeedbackScore],
"feedback_summaries": [FeedbackSummary],
"feedback_texts": [FeedbackText],
"feedbacks": [Feedback],
"finished": false,
"ia_was_requested_resume": 123,
"id": 4,
"is_open_feedback": false,
"seen_by_student": 123.45,
"teacher": User,
"teacher_id": "4",
"train_the_trainer_feedback": TrainTheTrainerFeedback
}
]
}
}
ownFeedbackFeedback
Response
Returns [FeedbackFeedback]!
Arguments
Name | Description |
---|---|
where - FeedbackFeedbackFilterProvider
|
Example
Query
query ownFeedbackFeedback($where: FeedbackFeedbackFilterProvider) {
ownFeedbackFeedback(where: $where) {
comments
feedback {
...FeedbackFragment
}
feedback_id
id
score
technical_quality_comments
technical_quality_score
}
}
Variables
{"where": FeedbackFeedbackFilterProvider}
Response
{
"data": {
"ownFeedbackFeedback": [
{
"comments": "xyz789",
"feedback": Feedback,
"feedback_id": 4,
"id": 4,
"score": 123.45,
"technical_quality_comments": "abc123",
"technical_quality_score": 123.45
}
]
}
}
paymentsByCourse
Response
Returns [Payment]!
Arguments
Name | Description |
---|---|
course_id - ID
|
Example
Query
query paymentsByCourse($course_id: ID) {
paymentsByCourse(course_id: $course_id) {
back_url
course_id
created_at
discount
external_reference
finished
from_user_id
from_user_name
id
merchant_account_id
merchant_order_id
payment_course_owner_id
payment_id
payment_status
payment_status_detail
percentage_mercadopago
percentage_training_competence
percentage_user
preference_id
processing_mode
quantity
sent_to_owner
title
to_user_id
to_user_name
total_mercadopago
total_training_competence
total_user
unit_price
}
}
Variables
{"course_id": 4}
Response
{
"data": {
"paymentsByCourse": [
{
"back_url": "xyz789",
"course_id": 987,
"created_at": 987,
"discount": "abc123",
"external_reference": "abc123",
"finished": false,
"from_user_id": 123,
"from_user_name": "xyz789",
"id": 4,
"merchant_account_id": "xyz789",
"merchant_order_id": "abc123",
"payment_course_owner_id": 4,
"payment_id": "abc123",
"payment_status": "xyz789",
"payment_status_detail": "xyz789",
"percentage_mercadopago": 123.45,
"percentage_training_competence": 987.65,
"percentage_user": 987.65,
"preference_id": "abc123",
"processing_mode": "xyz789",
"quantity": 987,
"sent_to_owner": true,
"title": "xyz789",
"to_user_id": 123,
"to_user_name": "xyz789",
"total_mercadopago": 987.65,
"total_training_competence": 987.65,
"total_user": 987.65,
"unit_price": 987.65
}
]
}
}
paymentsByMonthCourse
Response
Returns [PaymentCourseOwner]!
Arguments
Name | Description |
---|---|
course_id - ID
|
Example
Query
query paymentsByMonthCourse($course_id: ID) {
paymentsByMonthCourse(course_id: $course_id) {
amount
course_id
course_title
created_at
description
email_account
file
financial_entity_account
id
month
number_account
payment_id
sender_user_name
sender_user_rut
user_id
user_name
user_name_account
user_rut_account
year
}
}
Variables
{"course_id": "4"}
Response
{
"data": {
"paymentsByMonthCourse": [
{
"amount": 987.65,
"course_id": 987,
"course_title": "xyz789",
"created_at": 123,
"description": "xyz789",
"email_account": "abc123",
"file": "abc123",
"financial_entity_account": "abc123",
"id": 4,
"month": 123,
"number_account": "abc123",
"payment_id": "abc123",
"sender_user_name": "xyz789",
"sender_user_rut": "abc123",
"user_id": 987,
"user_name": "abc123",
"user_name_account": "xyz789",
"user_rut_account": "xyz789",
"year": 987
}
]
}
}
paymentsTotalByMonth
Response
Returns a monthPaymentType
Example
Query
query paymentsTotalByMonth(
$course_id: ID,
$year: Int,
$month: Int
) {
paymentsTotalByMonth(
course_id: $course_id,
year: $year,
month: $month
) {
debt
total_month {
...monthTotalTypeFragment
}
total_sent {
...sentPaymentTypeFragment
}
}
}
Variables
{
"course_id": "4",
"year": 987,
"month": 987
}
Response
{
"data": {
"paymentsTotalByMonth": {
"debt": 987.65,
"total_month": [monthTotalType],
"total_sent": [sentPaymentType]
}
}
}
pendingAnswers
pendingsByTeacher
Example
Query
query pendingsByTeacher(
$course_id: ID!,
$teacher_id: ID
) {
pendingsByTeacher(
course_id: $course_id,
teacher_id: $teacher_id
)
}
Variables
{
"course_id": "4",
"teacher_id": "4"
}
Response
{"data": {"pendingsByTeacher": "xyz789"}}
performanceUserInCourse
Response
Returns [userPerformance]
Example
Query
query performanceUserInCourse(
$course_id: ID,
$user_id: ID
) {
performanceUserInCourse(
course_id: $course_id,
user_id: $user_id
) {
passed
rating
stage {
...StageFragment
}
}
}
Variables
{"course_id": "4", "user_id": 4}
Response
{
"data": {
"performanceUserInCourse": [
{
"passed": false,
"rating": "abc123",
"stage": Stage
}
]
}
}
reindexInElasticsearch
requests
Example
Query
query requests($course_id: ID) {
requests(course_id: $course_id) {
course {
...CourseFragment
}
course_id
id
request_message
status
user {
...UserFragment
}
user_id
}
}
Variables
{"course_id": 4}
Response
{
"data": {
"requests": [
{
"course": Course,
"course_id": "4",
"id": 4,
"request_message": "abc123",
"status": "xyz789",
"user": User,
"user_id": "4"
}
]
}
}
reviews
Response
Returns [Review]
Arguments
Name | Description |
---|---|
where - ReviewFilterProvider
|
Example
Query
query reviews($where: ReviewFilterProvider) {
reviews(where: $where) {
course {
...CourseFragment
}
course_id
description
id
stars
user {
...UserFragment
}
user_id
}
}
Variables
{"where": ReviewFilterProvider}
Response
{
"data": {
"reviews": [
{
"course": Course,
"course_id": 4,
"description": "abc123",
"id": "4",
"stars": 123,
"user": User,
"user_id": 4
}
]
}
}
scaleInfo
Example
Query
query scaleInfo($id: ID) {
scaleInfo(id: $id) {
description
id
max_value
min_value
name
required_value
requires_description
value_type
}
}
Variables
{"id": 4}
Response
{
"data": {
"scaleInfo": [
{
"description": "xyz789",
"id": "4",
"max_value": 987,
"min_value": 987,
"name": "xyz789",
"required_value": 123,
"requires_description": true,
"value_type": "xyz789"
}
]
}
}
scales
Example
Query
query scales($id: ID) {
scales(id: $id) {
description
id
max_value
min_value
name
required_value
requires_description
value_type
}
}
Variables
{"id": "4"}
Response
{
"data": {
"scales": [
{
"description": "xyz789",
"id": "4",
"max_value": 987,
"min_value": 987,
"name": "abc123",
"required_value": 987,
"requires_description": true,
"value_type": "abc123"
}
]
}
}
stageFileLink
Example
Query
query stageFileLink(
$stage_id: ID!,
$extension: String!
) {
stageFileLink(
stage_id: $stage_id,
extension: $extension
) {
acl
key
policy
success_action_status
url
x_amz_algorithm
x_amz_credential
x_amz_date
x_amz_signature
}
}
Variables
{
"stage_id": "4",
"extension": "abc123"
}
Response
{
"data": {
"stageFileLink": {
"acl": "xyz789",
"key": "abc123",
"policy": "xyz789",
"success_action_status": "xyz789",
"url": "abc123",
"x_amz_algorithm": "xyz789",
"x_amz_credential": "xyz789",
"x_amz_date": "xyz789",
"x_amz_signature": "abc123"
}
}
}
stageImageLink
Example
Query
query stageImageLink(
$stage_id: ID!,
$extension: String!
) {
stageImageLink(
stage_id: $stage_id,
extension: $extension
) {
acl
key
policy
success_action_status
url
x_amz_algorithm
x_amz_credential
x_amz_date
x_amz_signature
}
}
Variables
{"stage_id": 4, "extension": "xyz789"}
Response
{
"data": {
"stageImageLink": {
"acl": "xyz789",
"key": "abc123",
"policy": "xyz789",
"success_action_status": "xyz789",
"url": "xyz789",
"x_amz_algorithm": "xyz789",
"x_amz_credential": "abc123",
"x_amz_date": "abc123",
"x_amz_signature": "abc123"
}
}
}
stages
Response
Returns [Stage]
Arguments
Name | Description |
---|---|
where - StageFilterProvider
|
Example
Query
query stages($where: StageFilterProvider) {
stages(where: $where) {
audios {
...TutorialAudioFragment
}
course {
...CourseFragment
}
course_id
description
docs {
...TutorialDocFragment
}
exercise {
...ExerciseFragment
}
id
images {
...TutorialImageFragment
}
is_everyone_evaluate
locale_descriptions
locale_titles
next_stage {
...StageFragment
}
position
previous_stage {
...StageFragment
}
stage_preview_images {
...PreviewImageFragment
}
title
tutorial_articulate {
...TutorialArticulateFragment
}
tutorial_videos {
...TutorialVideoFragment
}
}
}
Variables
{"where": StageFilterProvider}
Response
{
"data": {
"stages": [
{
"audios": [TutorialAudio],
"course": Course,
"course_id": 4,
"description": {},
"docs": [TutorialDoc],
"exercise": Exercise,
"id": "4",
"images": [TutorialImage],
"is_everyone_evaluate": true,
"locale_descriptions": {},
"locale_titles": {},
"next_stage": Stage,
"position": 123,
"previous_stage": Stage,
"stage_preview_images": [PreviewImage],
"title": {},
"tutorial_articulate": [TutorialArticulate],
"tutorial_videos": [TutorialVideo]
}
]
}
}
statusUserByCourse
Response
Returns a statusUserType
Arguments
Name | Description |
---|---|
course_id - ID!
|
Example
Query
query statusUserByCourse($course_id: ID!) {
statusUserByCourse(course_id: $course_id) {
inTraining
isAdministrator
isEstablishmentOrUniversity
isGuest
isStudent
isStudentFailed
isStudentPass
isTeacher
privacy_rule
published
}
}
Variables
{"course_id": 4}
Response
{
"data": {
"statusUserByCourse": {
"inTraining": false,
"isAdministrator": true,
"isEstablishmentOrUniversity": false,
"isGuest": false,
"isStudent": true,
"isStudentFailed": false,
"isStudentPass": false,
"isTeacher": true,
"privacy_rule": "xyz789",
"published": true
}
}
}
studentAndTeacherByCourse
Response
Returns [usersAndTeacherByCourseType]!
Arguments
Name | Description |
---|---|
course_id - Int
|
Example
Query
query studentAndTeacherByCourse($course_id: Int) {
studentAndTeacherByCourse(course_id: $course_id) {
student {
...assignUserTypeFragment
}
teacher {
...assignUserTypeFragment
}
}
}
Variables
{"course_id": 987}
Response
{
"data": {
"studentAndTeacherByCourse": [
{
"student": assignUserType,
"teacher": assignUserType
}
]
}
}
studentByCourses
Response
Returns [studentPerCourseType]!
Example
Query
query studentByCourses {
studentByCourses {
course_id
name
students
}
}
Response
{
"data": {
"studentByCourses": [
{
"course_id": 987,
"name": "abc123",
"students": 123
}
]
}
}
studentPerCourses
Response
Returns [studentPerCoursesType]!
Arguments
Name | Description |
---|---|
courses_id - [ID]
|
Example
Query
query studentPerCourses($courses_id: [ID]) {
studentPerCourses(courses_id: $courses_id) {
name
students
}
}
Variables
{"courses_id": [4]}
Response
{
"data": {
"studentPerCourses": [
{"name": "xyz789", "students": 987}
]
}
}
studentPerEstablishment
Response
Returns [studentPerEstablishmentType]!
Arguments
Name | Description |
---|---|
university_user_id - ID
|
Example
Query
query studentPerEstablishment($university_user_id: ID) {
studentPerEstablishment(university_user_id: $university_user_id) {
name
number_of_students
students
}
}
Variables
{"university_user_id": "4"}
Response
{
"data": {
"studentPerEstablishment": [
{
"name": "xyz789",
"number_of_students": "xyz789",
"students": 987
}
]
}
}
studentProgress
Response
Returns a UserProgress!
Example
Query
query studentProgress(
$course_id: ID!,
$user_id: ID
) {
studentProgress(
course_id: $course_id,
user_id: $user_id
) {
passed_stages
stages {
...StageProgressFragment
}
total_stages
}
}
Variables
{"course_id": 4, "user_id": "4"}
Response
{
"data": {
"studentProgress": {
"passed_stages": 987,
"stages": [StageProgress],
"total_stages": 123
}
}
}
studentsApprovedByCourses
Response
Returns [StudentsApprovedPerCourseType]!
Example
Query
query studentsApprovedByCourses {
studentsApprovedByCourses {
name
students
}
}
Response
{
"data": {
"studentsApprovedByCourses": [
{"name": "xyz789", "students": 987}
]
}
}
studentsBySex
Response
Returns [studentBySexType]!
Arguments
Name | Description |
---|---|
courses_id - [ID]
|
Example
Query
query studentsBySex($courses_id: [ID]) {
studentsBySex(courses_id: $courses_id) {
female
male
name
undefined
}
}
Variables
{"courses_id": ["4"]}
Response
{
"data": {
"studentsBySex": [
{
"female": 123,
"male": 987,
"name": "abc123",
"undefined": 987
}
]
}
}
superadminAllCareerByUniversity
Response
Returns a String
Example
Query
query superadminAllCareerByUniversity {
superadminAllCareerByUniversity
}
Response
{
"data": {
"superadminAllCareerByUniversity": "xyz789"
}
}
teacherStudents
Example
Query
query teacherStudents(
$course_id: ID!,
$teacher_id: ID!
) {
teacherStudents(
course_id: $course_id,
teacher_id: $teacher_id
) {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Variables
{
"course_id": "4",
"teacher_id": "4"
}
Response
{
"data": {
"teacherStudents": [
{
"about": "abc123",
"academic_degree": "abc123",
"accepted_requests": [Course],
"accepted_terms": false,
"address": "abc123",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": true,
"authorized_create_course_by_establishments": false,
"available_courses": 987,
"available_licenses": 123,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 123,
"birth_date": "abc123",
"color": "abc123",
"country": "abc123",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "xyz789",
"dynamic_labels": [DynamicLabel],
"email": "abc123",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": 4,
"identity_number": "abc123",
"image": "xyz789",
"in_training_courses": [Course],
"institution": "abc123",
"institution_code": "xyz789",
"internal_users": [User],
"is_superadmin": true,
"last_login": "xyz789",
"lastname": "xyz789",
"licenses": 123,
"linkedin": "xyz789",
"lms_user_id": "xyz789",
"locale": "xyz789",
"max_courses": 987,
"name": "abc123",
"notifications": [Notification],
"onboarding": false,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "xyz789",
"pending_requests": [Course],
"presentation_video": "xyz789",
"profession": "xyz789",
"profile_image_link": "xyz789",
"provider": "xyz789",
"rating": 987,
"rejected_requests": [Course],
"requests": [Request],
"role": "xyz789",
"role_id": 987,
"second_admin_courses": [Course],
"sex": "abc123",
"state": "xyz789",
"status_id": "abc123",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 123,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 987,
"video_size": 123.45,
"video_size_without_compress": 123.45,
"work_place": "abc123"
}
]
}
}
timeByFeedback
Response
Returns [EvaluationTimeFeedback]
Arguments
Name | Description |
---|---|
feedback_id - ID!
|
Example
Query
query timeByFeedback($feedback_id: ID!) {
timeByFeedback(feedback_id: $feedback_id) {
evaluation_time_exercise_id
final_time
id
initial_time
name
value
}
}
Variables
{"feedback_id": "4"}
Response
{
"data": {
"timeByFeedback": [
{
"evaluation_time_exercise_id": 123,
"final_time": 123.45,
"id": 4,
"initial_time": 987.65,
"name": "xyz789",
"value": 987
}
]
}
}
timeExerciseAndFeedback
Response
Returns [timeByExerciseFeedback]
Arguments
Name | Description |
---|---|
answer_id - ID
|
Example
Query
query timeExerciseAndFeedback($answer_id: ID) {
timeExerciseAndFeedback(answer_id: $answer_id) {
exercise {
...exerciseSectionsTypeFragment
}
feedback_sections {
...feedbackSectionsTypeFragment
}
required
}
}
Variables
{"answer_id": 4}
Response
{
"data": {
"timeExerciseAndFeedback": [
{
"exercise": exerciseSectionsType,
"feedback_sections": [feedbackSectionsType],
"required": true
}
]
}
}
timeExerciseEvaluations
Response
Returns [EvaluationTimeExercise]
Arguments
Name | Description |
---|---|
exercise_id - ID!
|
Example
Query
query timeExerciseEvaluations($exercise_id: ID!) {
timeExerciseEvaluations(exercise_id: $exercise_id) {
exercise_id
id
locale_names
name
required
total_required
}
}
Variables
{"exercise_id": "4"}
Response
{
"data": {
"timeExerciseEvaluations": [
{
"exercise_id": 123,
"id": 4,
"locale_names": {},
"name": {},
"required": true,
"total_required": 987
}
]
}
}
totalEvaluationsByUser
Response
Returns a TotalEvaluationsType
Arguments
Name | Description |
---|---|
user_id - ID
|
Example
Query
query totalEvaluationsByUser($user_id: ID) {
totalEvaluationsByUser(user_id: $user_id) {
multiple_choice
video_answer
video_answers_approved
watch_videos
}
}
Variables
{"user_id": 4}
Response
{
"data": {
"totalEvaluationsByUser": {
"multiple_choice": 123,
"video_answer": 123,
"video_answers_approved": 987,
"watch_videos": 987
}
}
}
totalFeedbackByCourse
Example
Query
query totalFeedbackByCourse(
$course_id: ID!,
$teacher_id: ID
) {
totalFeedbackByCourse(
course_id: $course_id,
teacher_id: $teacher_id
)
}
Variables
{"course_id": "4", "teacher_id": 4}
Response
{
"data": {
"totalFeedbackByCourse": "xyz789"
}
}
totalFeedbackByTypeByUser
totalFeedbackGeneral
Response
Returns [totalFeedbackGeneralType]!
Arguments
Name | Description |
---|---|
university_courses_id - [ID]
|
Example
Query
query totalFeedbackGeneral($university_courses_id: [ID]) {
totalFeedbackGeneral(university_courses_id: $university_courses_id) {
total
}
}
Variables
{"university_courses_id": [4]}
Response
{"data": {"totalFeedbackGeneral": [{"total": 987.65}]}}
totalFeedbacks
Response
Returns [totalFeedbacksType]!
Arguments
Name | Description |
---|---|
courses_id - [ID]
|
Example
Query
query totalFeedbacks($courses_id: [ID]) {
totalFeedbacks(courses_id: $courses_id) {
name
total_feedbacks
}
}
Variables
{"courses_id": ["4"]}
Response
{
"data": {
"totalFeedbacks": [
{
"name": "abc123",
"total_feedbacks": 123.45
}
]
}
}
totalFeedbacksApproved
Response
Returns [totalFeedbacksApprovedType]!
Example
Query
query totalFeedbacksApproved(
$university_courses_id: [ID],
$approved: String
) {
totalFeedbacksApproved(
university_courses_id: $university_courses_id,
approved: $approved
) {
id
total
}
}
Variables
{
"university_courses_id": ["4"],
"approved": "xyz789"
}
Response
{
"data": {
"totalFeedbacksApproved": [
{
"id": "4",
"total": "xyz789"
}
]
}
}
totalInstitutions
Response
Returns a String
Example
Query
query totalInstitutions {
totalInstitutions
}
Response
{"data": {"totalInstitutions": "xyz789"}}
totalUsersTypes
Response
Returns a usersTotalByRoleType
Example
Query
query totalUsersTypes {
totalUsersTypes {
total_inactives
total_students
total_teachers
total_users
}
}
Response
{
"data": {
"totalUsersTypes": {
"total_inactives": 123,
"total_students": 987,
"total_teachers": 123,
"total_users": 987
}
}
}
tutorialApp
Response
Returns [TutorialApp]!
Example
Query
query tutorialApp {
tutorialApp {
description
id
link
title
}
}
Response
{
"data": {
"tutorialApp": [
{
"description": {},
"id": "4",
"link": "abc123",
"title": {}
}
]
}
}
tutorialTooltipsBySection
Response
Returns [TutorialTooltip]
Arguments
Name | Description |
---|---|
section - String
|
Example
Query
query tutorialTooltipsBySection($section: String) {
tutorialTooltipsBySection(section: $section) {
arrowPosition
available_languages
default_language
detail
id
image
left
name
number
section
title
top
video
}
}
Variables
{"section": "abc123"}
Response
{
"data": {
"tutorialTooltipsBySection": [
{
"arrowPosition": "abc123",
"available_languages": ["abc123"],
"default_language": "abc123",
"detail": {},
"id": 4,
"image": "abc123",
"left": "abc123",
"name": "xyz789",
"number": 987,
"section": "xyz789",
"title": {},
"top": "xyz789",
"video": "xyz789"
}
]
}
}
universityDashboard
Example
Query
query universityDashboard($university_user_id: ID) {
universityDashboard(university_user_id: $university_user_id) {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Variables
{"university_user_id": 4}
Response
{
"data": {
"universityDashboard": [
{
"about": "abc123",
"academic_degree": "abc123",
"accepted_requests": [Course],
"accepted_terms": true,
"address": "abc123",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": false,
"authorized_create_course_by_establishments": false,
"available_courses": 987,
"available_licenses": 123,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 123,
"birth_date": "xyz789",
"color": "abc123",
"country": "xyz789",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "xyz789",
"dynamic_labels": [DynamicLabel],
"email": "xyz789",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": "4",
"identity_number": "abc123",
"image": "abc123",
"in_training_courses": [Course],
"institution": "abc123",
"institution_code": "abc123",
"internal_users": [User],
"is_superadmin": true,
"last_login": "abc123",
"lastname": "abc123",
"licenses": 987,
"linkedin": "xyz789",
"lms_user_id": "xyz789",
"locale": "abc123",
"max_courses": 987,
"name": "abc123",
"notifications": [Notification],
"onboarding": false,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "abc123",
"pending_requests": [Course],
"presentation_video": "abc123",
"profession": "xyz789",
"profile_image_link": "abc123",
"provider": "abc123",
"rating": 123,
"rejected_requests": [Course],
"requests": [Request],
"role": "xyz789",
"role_id": 987,
"second_admin_courses": [Course],
"sex": "abc123",
"state": "abc123",
"status_id": "xyz789",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 987,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 123,
"video_size": 123.45,
"video_size_without_compress": 987.65,
"work_place": "xyz789"
}
]
}
}
universityInfo
Example
Query
query universityInfo($id: ID!) {
universityInfo(id: $id) {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Variables
{"id": 4}
Response
{
"data": {
"universityInfo": {
"about": "xyz789",
"academic_degree": "abc123",
"accepted_requests": [Course],
"accepted_terms": false,
"address": "xyz789",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": false,
"authorized_create_course_by_establishments": false,
"available_courses": 987,
"available_licenses": 123,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 987,
"birth_date": "xyz789",
"color": "xyz789",
"country": "abc123",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "xyz789",
"dynamic_labels": [DynamicLabel],
"email": "abc123",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": 4,
"identity_number": "xyz789",
"image": "xyz789",
"in_training_courses": [Course],
"institution": "xyz789",
"institution_code": "xyz789",
"internal_users": [User],
"is_superadmin": false,
"last_login": "abc123",
"lastname": "xyz789",
"licenses": 987,
"linkedin": "abc123",
"lms_user_id": "xyz789",
"locale": "abc123",
"max_courses": 123,
"name": "abc123",
"notifications": [Notification],
"onboarding": false,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "abc123",
"pending_requests": [Course],
"presentation_video": "abc123",
"profession": "xyz789",
"profile_image_link": "abc123",
"provider": "abc123",
"rating": 987,
"rejected_requests": [Course],
"requests": [Request],
"role": "xyz789",
"role_id": 123,
"second_admin_courses": [Course],
"sex": "abc123",
"state": "xyz789",
"status_id": "abc123",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 123,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 987,
"video_size": 123.45,
"video_size_without_compress": 987.65,
"work_place": "abc123"
}
}
}
unreadNotifications
Response
Returns [Notification]
Example
Query
query unreadNotifications {
unreadNotifications {
answer_id
course_id
data
exercise_id
feedback_id
id
notification_type
read
stage_id
user {
...UserFragment
}
user_id
}
}
Response
{
"data": {
"unreadNotifications": [
{
"answer_id": "4",
"course_id": 4,
"data": {},
"exercise_id": "4",
"feedback_id": 4,
"id": 4,
"notification_type": "xyz789",
"read": false,
"stage_id": "4",
"user": User,
"user_id": 4
}
]
}
}
userByType
Example
Query
query userByType($type: Int) {
userByType(type: $type) {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Variables
{"type": 987}
Response
{
"data": {
"userByType": [
{
"about": "xyz789",
"academic_degree": "xyz789",
"accepted_requests": [Course],
"accepted_terms": true,
"address": "abc123",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": false,
"authorized_create_course_by_establishments": true,
"available_courses": 123,
"available_licenses": 123,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 123,
"birth_date": "xyz789",
"color": "xyz789",
"country": "abc123",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "xyz789",
"dynamic_labels": [DynamicLabel],
"email": "xyz789",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": 4,
"identity_number": "xyz789",
"image": "abc123",
"in_training_courses": [Course],
"institution": "abc123",
"institution_code": "abc123",
"internal_users": [User],
"is_superadmin": false,
"last_login": "abc123",
"lastname": "abc123",
"licenses": 987,
"linkedin": "xyz789",
"lms_user_id": "xyz789",
"locale": "xyz789",
"max_courses": 123,
"name": "abc123",
"notifications": [Notification],
"onboarding": false,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "abc123",
"pending_requests": [Course],
"presentation_video": "xyz789",
"profession": "abc123",
"profile_image_link": "xyz789",
"provider": "abc123",
"rating": 123,
"rejected_requests": [Course],
"requests": [Request],
"role": "abc123",
"role_id": 123,
"second_admin_courses": [Course],
"sex": "abc123",
"state": "xyz789",
"status_id": "abc123",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 123,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 987,
"video_size": 987.65,
"video_size_without_compress": 987.65,
"work_place": "abc123"
}
]
}
}
userCourse
Response
Returns [UserCourse]
Arguments
Name | Description |
---|---|
where - UserCourseFilterProvider
|
Example
Query
query userCourse($where: UserCourseFilterProvider) {
userCourse(where: $where) {
course {
...CourseFragment
}
course_id
id
teacher_id
user {
...UserFragment
}
user_id
}
}
Variables
{"where": UserCourseFilterProvider}
Response
{
"data": {
"userCourse": [
{
"course": Course,
"course_id": 123,
"id": 987,
"teacher_id": 123,
"user": User,
"user_id": 123
}
]
}
}
userCourseScore
Response
Returns [CourseScoreType]!
Arguments
Name | Description |
---|---|
course_id - ID!
|
Example
Query
query userCourseScore($course_id: ID!) {
userCourseScore(course_id: $course_id) {
course_id
id
issue_labels {
...IssueLabelTypeFragment
}
message
score
user {
...UserFragment
}
user_id
}
}
Variables
{"course_id": "4"}
Response
{
"data": {
"userCourseScore": [
{
"course_id": "4",
"id": "4",
"issue_labels": [IssueLabelType],
"message": "abc123",
"score": 123,
"user": User,
"user_id": "4"
}
]
}
}
userEstablishmentsAuthorized
Response
Returns [User]
Example
Query
query userEstablishmentsAuthorized {
userEstablishmentsAuthorized {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Response
{
"data": {
"userEstablishmentsAuthorized": [
{
"about": "abc123",
"academic_degree": "abc123",
"accepted_requests": [Course],
"accepted_terms": false,
"address": "abc123",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": false,
"authorized_create_course_by_establishments": true,
"available_courses": 987,
"available_licenses": 123,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 123,
"birth_date": "xyz789",
"color": "abc123",
"country": "abc123",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "abc123",
"dynamic_labels": [DynamicLabel],
"email": "xyz789",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": "4",
"identity_number": "abc123",
"image": "abc123",
"in_training_courses": [Course],
"institution": "abc123",
"institution_code": "xyz789",
"internal_users": [User],
"is_superadmin": true,
"last_login": "abc123",
"lastname": "abc123",
"licenses": 123,
"linkedin": "xyz789",
"lms_user_id": "abc123",
"locale": "xyz789",
"max_courses": 987,
"name": "xyz789",
"notifications": [Notification],
"onboarding": true,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "xyz789",
"pending_requests": [Course],
"presentation_video": "abc123",
"profession": "abc123",
"profile_image_link": "xyz789",
"provider": "abc123",
"rating": 123,
"rejected_requests": [Course],
"requests": [Request],
"role": "abc123",
"role_id": 987,
"second_admin_courses": [Course],
"sex": "xyz789",
"state": "abc123",
"status_id": "xyz789",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 987,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 123,
"video_size": 987.65,
"video_size_without_compress": 123.45,
"work_place": "xyz789"
}
]
}
}
userImageLink
Example
Query
query userImageLink(
$user_id: ID!,
$extension: String!
) {
userImageLink(
user_id: $user_id,
extension: $extension
) {
acl
key
policy
success_action_status
url
x_amz_algorithm
x_amz_credential
x_amz_date
x_amz_signature
}
}
Variables
{
"user_id": "4",
"extension": "abc123"
}
Response
{
"data": {
"userImageLink": {
"acl": "xyz789",
"key": "xyz789",
"policy": "xyz789",
"success_action_status": "abc123",
"url": "xyz789",
"x_amz_algorithm": "xyz789",
"x_amz_credential": "xyz789",
"x_amz_date": "xyz789",
"x_amz_signature": "abc123"
}
}
}
userPerformanceByCourse
Response
Returns [UserCourseStatusStage]
Example
Query
query userPerformanceByCourse(
$course_id: ID,
$user_id: ID
) {
userPerformanceByCourse(
course_id: $course_id,
user_id: $user_id
) {
answer_id
definitive_by
evaluation_type
evaluations_made
evaluations_received
number_attempt
result
stage {
...StageFragment
}
stage_id
status
user_course {
...UserCourseFragment
}
user_course_id
}
}
Variables
{"course_id": 4, "user_id": 4}
Response
{
"data": {
"userPerformanceByCourse": [
{
"answer_id": 123,
"definitive_by": "abc123",
"evaluation_type": "xyz789",
"evaluations_made": 987,
"evaluations_received": 123,
"number_attempt": 987,
"result": "abc123",
"stage": Stage,
"stage_id": 123,
"status": "xyz789",
"user_course": UserCourse,
"user_course_id": 123
}
]
}
}
userScoreByCourse
Example
Query
query userScoreByCourse(
$course_id: ID!,
$user_id: ID!
) {
userScoreByCourse(
course_id: $course_id,
user_id: $user_id
)
}
Variables
{
"course_id": "4",
"user_id": "4"
}
Response
{"data": {"userScoreByCourse": "xyz789"}}
userStage
Example
Query
query userStage($stage_id: ID) {
userStage(stage_id: $stage_id) {
accepted_terms
stage {
...StageFragment
}
}
}
Variables
{"stage_id": "4"}
Response
{
"data": {
"userStage": {"accepted_terms": true, "stage": Stage}
}
}
users
Response
Returns [User]
Arguments
Name | Description |
---|---|
where - UserFilterProvider
|
Example
Query
query users($where: UserFilterProvider) {
users(where: $where) {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Variables
{"where": UserFilterProvider}
Response
{
"data": {
"users": [
{
"about": "xyz789",
"academic_degree": "xyz789",
"accepted_requests": [Course],
"accepted_terms": true,
"address": "abc123",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": true,
"authorized_create_course_by_establishments": true,
"available_courses": 123,
"available_licenses": 123,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 987,
"birth_date": "xyz789",
"color": "xyz789",
"country": "abc123",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "abc123",
"dynamic_labels": [DynamicLabel],
"email": "xyz789",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": 4,
"identity_number": "abc123",
"image": "xyz789",
"in_training_courses": [Course],
"institution": "abc123",
"institution_code": "xyz789",
"internal_users": [User],
"is_superadmin": false,
"last_login": "abc123",
"lastname": "abc123",
"licenses": 987,
"linkedin": "xyz789",
"lms_user_id": "xyz789",
"locale": "xyz789",
"max_courses": 987,
"name": "xyz789",
"notifications": [Notification],
"onboarding": false,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "xyz789",
"pending_requests": [Course],
"presentation_video": "xyz789",
"profession": "xyz789",
"profile_image_link": "abc123",
"provider": "xyz789",
"rating": 987,
"rejected_requests": [Course],
"requests": [Request],
"role": "abc123",
"role_id": 123,
"second_admin_courses": [Course],
"sex": "xyz789",
"state": "xyz789",
"status_id": "abc123",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 987,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 987,
"video_size": 987.65,
"video_size_without_compress": 123.45,
"work_place": "abc123"
}
]
}
}
verifyApiToken
Response
Returns a SigninPayload
Example
Query
query verifyApiToken(
$authorization_code: String!,
$client_id: String!,
$secret_key: String!
) {
verifyApiToken(
authorization_code: $authorization_code,
client_id: $client_id,
secret_key: $secret_key
) {
token
user {
...UserFragment
}
}
}
Variables
{
"authorization_code": "abc123",
"client_id": "abc123",
"secret_key": "abc123"
}
Response
{
"data": {
"verifyApiToken": {
"token": "abc123",
"user": User
}
}
}
verifyCertificate
Response
Returns a verifyCertificate
Arguments
Name | Description |
---|---|
course_id - ID!
|
Example
Query
query verifyCertificate($course_id: ID!) {
verifyCertificate(course_id: $course_id) {
available
link
}
}
Variables
{"course_id": 4}
Response
{
"data": {
"verifyCertificate": {
"available": false,
"link": "xyz789"
}
}
}
videoAnswerPerformanceInfo
Example
Query
query videoAnswerPerformanceInfo(
$course_id: Int,
$answer_id: Int
) {
videoAnswerPerformanceInfo(
course_id: $course_id,
answer_id: $answer_id
)
}
Variables
{"course_id": 123, "answer_id": 123}
Response
{
"data": {
"videoAnswerPerformanceInfo": "abc123"
}
}
viewerInfo
Response
Returns a User
Example
Query
query viewerInfo {
viewerInfo {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Response
{
"data": {
"viewerInfo": {
"about": "xyz789",
"academic_degree": "xyz789",
"accepted_requests": [Course],
"accepted_terms": false,
"address": "abc123",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": false,
"authorized_create_course_by_establishments": true,
"available_courses": 123,
"available_licenses": 987,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 123,
"birth_date": "xyz789",
"color": "abc123",
"country": "abc123",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "abc123",
"dynamic_labels": [DynamicLabel],
"email": "abc123",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": "4",
"identity_number": "abc123",
"image": "xyz789",
"in_training_courses": [Course],
"institution": "abc123",
"institution_code": "xyz789",
"internal_users": [User],
"is_superadmin": true,
"last_login": "abc123",
"lastname": "abc123",
"licenses": 987,
"linkedin": "abc123",
"lms_user_id": "xyz789",
"locale": "abc123",
"max_courses": 987,
"name": "abc123",
"notifications": [Notification],
"onboarding": false,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "abc123",
"pending_requests": [Course],
"presentation_video": "xyz789",
"profession": "xyz789",
"profile_image_link": "abc123",
"provider": "xyz789",
"rating": 987,
"rejected_requests": [Course],
"requests": [Request],
"role": "abc123",
"role_id": 123,
"second_admin_courses": [Course],
"sex": "xyz789",
"state": "xyz789",
"status_id": "xyz789",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 123,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 123,
"video_size": 123.45,
"video_size_without_compress": 987.65,
"work_place": "xyz789"
}
}
}
waitingTimeByExercise
Example
Query
query waitingTimeByExercise(
$course_id: ID,
$teacher_id: ID
) {
waitingTimeByExercise(
course_id: $course_id,
teacher_id: $teacher_id
)
}
Variables
{
"course_id": "4",
"teacher_id": "4"
}
Response
{
"data": {
"waitingTimeByExercise": "xyz789"
}
}
Mutations
CreateFeedbackTextCriteria
Response
Returns a FeedbackTextCriteria!
Example
Query
mutation CreateFeedbackTextCriteria(
$feedback_text_id: ID!,
$criteria_id: Int!,
$approved: Boolean,
$time: Float,
$reason: String,
$text: String!
) {
CreateFeedbackTextCriteria(
feedback_text_id: $feedback_text_id,
criteria_id: $criteria_id,
approved: $approved,
time: $time,
reason: $reason,
text: $text
) {
approved
criteria_id
feedback_text {
...FeedbackTextFragment
}
feedback_text_id
id
reason
text
time
}
}
Variables
{
"feedback_text_id": 4,
"criteria_id": 123,
"approved": false,
"time": 987.65,
"reason": "abc123",
"text": "xyz789"
}
Response
{
"data": {
"CreateFeedbackTextCriteria": {
"approved": false,
"criteria_id": 987,
"feedback_text": FeedbackText,
"feedback_text_id": 123,
"id": "4",
"reason": "abc123",
"text": "xyz789",
"time": 123.45
}
}
}
CreateFeedbackTextCriteriaBulk
Response
Returns [FeedbackTextCriteria]!
Arguments
Name | Description |
---|---|
feedback_text_criteria - [FeedbackTextCriteriaInput]
|
Example
Query
mutation CreateFeedbackTextCriteriaBulk($feedback_text_criteria: [FeedbackTextCriteriaInput]) {
CreateFeedbackTextCriteriaBulk(feedback_text_criteria: $feedback_text_criteria) {
approved
criteria_id
feedback_text {
...FeedbackTextFragment
}
feedback_text_id
id
reason
text
time
}
}
Variables
{"feedback_text_criteria": [FeedbackTextCriteriaInput]}
Response
{
"data": {
"CreateFeedbackTextCriteriaBulk": [
{
"approved": false,
"criteria_id": 123,
"feedback_text": FeedbackText,
"feedback_text_id": 123,
"id": "4",
"reason": "abc123",
"text": "xyz789",
"time": 123.45
}
]
}
}
EditFeedbackTextCriteria
Response
Returns a FeedbackTextCriteria
Example
Query
mutation EditFeedbackTextCriteria(
$id: ID!,
$criteria_id: Int,
$feedback_text_id: Int,
$approved: Boolean,
$time: Float,
$reason: String
) {
EditFeedbackTextCriteria(
id: $id,
criteria_id: $criteria_id,
feedback_text_id: $feedback_text_id,
approved: $approved,
time: $time,
reason: $reason
) {
approved
criteria_id
feedback_text {
...FeedbackTextFragment
}
feedback_text_id
id
reason
text
time
}
}
Variables
{
"id": "4",
"criteria_id": 123,
"feedback_text_id": 987,
"approved": false,
"time": 987.65,
"reason": "abc123"
}
Response
{
"data": {
"EditFeedbackTextCriteria": {
"approved": true,
"criteria_id": 987,
"feedback_text": FeedbackText,
"feedback_text_id": 123,
"id": 4,
"reason": "abc123",
"text": "xyz789",
"time": 987.65
}
}
}
acceptRequest
Example
Query
mutation acceptRequest(
$request_id: ID!,
$require_payment: Boolean
) {
acceptRequest(
request_id: $request_id,
require_payment: $require_payment
) {
course {
...CourseFragment
}
course_id
id
request_message
status
user {
...UserFragment
}
user_id
}
}
Variables
{"request_id": 4, "require_payment": true}
Response
{
"data": {
"acceptRequest": {
"course": Course,
"course_id": "4",
"id": 4,
"request_message": "xyz789",
"status": "xyz789",
"user": User,
"user_id": "4"
}
}
}
acceptTerms
Response
Returns a User!
Example
Query
mutation acceptTerms {
acceptTerms {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Response
{
"data": {
"acceptTerms": {
"about": "xyz789",
"academic_degree": "xyz789",
"accepted_requests": [Course],
"accepted_terms": true,
"address": "abc123",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": true,
"authorized_create_course_by_establishments": false,
"available_courses": 123,
"available_licenses": 987,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 987,
"birth_date": "abc123",
"color": "xyz789",
"country": "abc123",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "xyz789",
"dynamic_labels": [DynamicLabel],
"email": "xyz789",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": "4",
"identity_number": "xyz789",
"image": "xyz789",
"in_training_courses": [Course],
"institution": "xyz789",
"institution_code": "xyz789",
"internal_users": [User],
"is_superadmin": false,
"last_login": "abc123",
"lastname": "abc123",
"licenses": 987,
"linkedin": "xyz789",
"lms_user_id": "xyz789",
"locale": "xyz789",
"max_courses": 123,
"name": "xyz789",
"notifications": [Notification],
"onboarding": false,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "abc123",
"pending_requests": [Course],
"presentation_video": "abc123",
"profession": "xyz789",
"profile_image_link": "abc123",
"provider": "xyz789",
"rating": 123,
"rejected_requests": [Course],
"requests": [Request],
"role": "xyz789",
"role_id": 987,
"second_admin_courses": [Course],
"sex": "abc123",
"state": "xyz789",
"status_id": "xyz789",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 123,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 123,
"video_size": 123.45,
"video_size_without_compress": 987.65,
"work_place": "xyz789"
}
}
}
addAllStudentEmailsToCourse
Example
Query
mutation addAllStudentEmailsToCourse(
$data: JSON!,
$course_id: ID!
) {
addAllStudentEmailsToCourse(
data: $data,
course_id: $course_id
)
}
Variables
{"data": {}, "course_id": 4}
Response
{"data": {"addAllStudentEmailsToCourse": false}}
addArticulateToStage
Response
Returns a TutorialArticulate!
Example
Query
mutation addArticulateToStage(
$stage_id: ID!,
$link: String,
$title: JSON,
$description: JSON
) {
addArticulateToStage(
stage_id: $stage_id,
link: $link,
title: $title,
description: $description
) {
description
id
link
locale_descriptions
locale_titles
stage_id
title
tutorial_audios {
...TutorialAudioFragment
}
tutorial_docs {
...TutorialDocFragment
}
tutorial_images {
...TutorialImageFragment
}
}
}
Variables
{
"stage_id": "4",
"link": "xyz789",
"title": {},
"description": {}
}
Response
{
"data": {
"addArticulateToStage": {
"description": {},
"id": 4,
"link": "abc123",
"locale_descriptions": {},
"locale_titles": {},
"stage_id": "4",
"title": {},
"tutorial_audios": [TutorialAudio],
"tutorial_docs": [TutorialDoc],
"tutorial_images": [TutorialImage]
}
}
}
addCourseScore
Response
Returns a CourseScoreType
Example
Query
mutation addCourseScore(
$course_id: ID!,
$message: String!,
$score: Int!,
$issue_labels: [ID]!
) {
addCourseScore(
course_id: $course_id,
message: $message,
score: $score,
issue_labels: $issue_labels
) {
course_id
id
issue_labels {
...IssueLabelTypeFragment
}
message
score
user {
...UserFragment
}
user_id
}
}
Variables
{
"course_id": "4",
"message": "abc123",
"score": 987,
"issue_labels": [4]
}
Response
{
"data": {
"addCourseScore": {
"course_id": 4,
"id": "4",
"issue_labels": [IssueLabelType],
"message": "abc123",
"score": 987,
"user": User,
"user_id": 4
}
}
}
addDiscountToCourse
Response
Returns a DiscountCode
Example
Query
mutation addDiscountToCourse(
$course_id: ID!,
$discount_code: String!
) {
addDiscountToCourse(
course_id: $course_id,
discount_code: $discount_code
) {
code
description
id
max_courses
percentage_amount_to_pay
}
}
Variables
{
"course_id": "4",
"discount_code": "xyz789"
}
Response
{
"data": {
"addDiscountToCourse": {
"code": "xyz789",
"description": "abc123",
"id": 4,
"max_courses": 123,
"percentage_amount_to_pay": 987.65
}
}
}
addEstablishmentAuthorizedUser
Example
Query
mutation addEstablishmentAuthorizedUser($authorized_user_email: String!) {
addEstablishmentAuthorizedUser(authorized_user_email: $authorized_user_email)
}
Variables
{"authorized_user_email": "abc123"}
Response
{"data": {"addEstablishmentAuthorizedUser": true}}
addEvaluationItemOsats
addEvaluationItemToExercise
Response
Returns an EvaluationItem
Arguments
Name | Description |
---|---|
exercise_id - ID!
|
|
scale_id - ID!
|
|
name - JSON!
|
|
min_value - Float!
|
|
max_value - Float!
|
|
req_value - Float!
|
|
descriptions - JSON
|
|
descriptions_values - [String]
|
|
position - Int
|
|
aditional_text - JSON
|
|
compound_score - [String]
|
|
compound_score_achievements_associated - [String]
|
|
compound_score_percentage_for_achievement - [String]
|
|
compound_score_percentage - [String]
|
Example
Query
mutation addEvaluationItemToExercise(
$exercise_id: ID!,
$scale_id: ID!,
$name: JSON!,
$min_value: Float!,
$max_value: Float!,
$req_value: Float!,
$descriptions: JSON,
$descriptions_values: [String],
$position: Int,
$aditional_text: JSON,
$compound_score: [String],
$compound_score_achievements_associated: [String],
$compound_score_percentage_for_achievement: [String],
$compound_score_percentage: [String]
) {
addEvaluationItemToExercise(
exercise_id: $exercise_id,
scale_id: $scale_id,
name: $name,
min_value: $min_value,
max_value: $max_value,
req_value: $req_value,
descriptions: $descriptions,
descriptions_values: $descriptions_values,
position: $position,
aditional_text: $aditional_text,
compound_score: $compound_score,
compound_score_achievements_associated: $compound_score_achievements_associated,
compound_score_percentage_for_achievement: $compound_score_percentage_for_achievement,
compound_score_percentage: $compound_score_percentage
) {
aditional_text
compound_score
compound_score_achievements_associated
compound_score_percentage
compound_score_percentage_for_achievement
descriptions
descriptions_values
exercise {
...ExerciseFragment
}
exercise_id
id
locale_aditional_text
locale_descriptions
locale_names
max_value
min_value
name
position
req_value
scale_id
}
}
Variables
{
"exercise_id": "4",
"scale_id": 4,
"name": {},
"min_value": 123.45,
"max_value": 123.45,
"req_value": 987.65,
"descriptions": {},
"descriptions_values": ["xyz789"],
"position": 987,
"aditional_text": {},
"compound_score": ["xyz789"],
"compound_score_achievements_associated": [
"abc123"
],
"compound_score_percentage_for_achievement": [
"abc123"
],
"compound_score_percentage": ["xyz789"]
}
Response
{
"data": {
"addEvaluationItemToExercise": {
"aditional_text": {},
"compound_score": ["abc123"],
"compound_score_achievements_associated": [
"abc123"
],
"compound_score_percentage": [
"abc123"
],
"compound_score_percentage_for_achievement": [
"xyz789"
],
"descriptions": {},
"descriptions_values": ["xyz789"],
"exercise": Exercise,
"exercise_id": 4,
"id": 4,
"locale_aditional_text": {},
"locale_descriptions": {},
"locale_names": {},
"max_value": 987.65,
"min_value": 987.65,
"name": {},
"position": 123,
"req_value": 123.45,
"scale_id": "4"
}
}
}
addEveryoneEvaluateTeacherAssignment
Response
Returns an EveryoneEvaluateTeacherAssignment
Example
Query
mutation addEveryoneEvaluateTeacherAssignment(
$student_id: ID!,
$teacher_id: ID!,
$stage_id: ID!
) {
addEveryoneEvaluateTeacherAssignment(
student_id: $student_id,
teacher_id: $teacher_id,
stage_id: $stage_id
) {
course_id
everyone_evaluate_id
id
student_id
teacher_id
}
}
Variables
{
"student_id": 4,
"teacher_id": "4",
"stage_id": 4
}
Response
{
"data": {
"addEveryoneEvaluateTeacherAssignment": {
"course_id": 4,
"everyone_evaluate_id": "4",
"id": 4,
"student_id": 987,
"teacher_id": 123
}
}
}
addFileToStage
Response
Returns a TutorialExtra!
Example
Query
mutation addFileToStage(
$stage_id: ID!,
$link: String!,
$title: String
) {
addFileToStage(
stage_id: $stage_id,
link: $link,
title: $title
) {
id
link
title
}
}
Variables
{
"stage_id": "4",
"link": "xyz789",
"title": "xyz789"
}
Response
{
"data": {
"addFileToStage": {
"id": "4",
"link": "abc123",
"title": "xyz789"
}
}
}
addFileToStageArticulate
Response
Returns a TutorialExtra!
Example
Query
mutation addFileToStageArticulate(
$articulate_id: ID!,
$link: String!,
$title: String
) {
addFileToStageArticulate(
articulate_id: $articulate_id,
link: $link,
title: $title
) {
id
link
title
}
}
Variables
{
"articulate_id": "4",
"link": "abc123",
"title": "abc123"
}
Response
{
"data": {
"addFileToStageArticulate": {
"id": "4",
"link": "abc123",
"title": "abc123"
}
}
}
addFileToStageVideo
Response
Returns a TutorialExtra!
Example
Query
mutation addFileToStageVideo(
$video_id: ID!,
$link: String!,
$title: String
) {
addFileToStageVideo(
video_id: $video_id,
link: $link,
title: $title
) {
id
link
title
}
}
Variables
{
"video_id": 4,
"link": "xyz789",
"title": "abc123"
}
Response
{
"data": {
"addFileToStageVideo": {
"id": "4",
"link": "xyz789",
"title": "abc123"
}
}
}
addIaFeedbackLog
Response
Returns an IaFeedbackLog
Example
Query
mutation addIaFeedbackLog(
$feedback_text_id: ID!,
$ia_id: String,
$text_original: String!,
$text_ia: String,
$tone: String
) {
addIaFeedbackLog(
feedback_text_id: $feedback_text_id,
ia_id: $ia_id,
text_original: $text_original,
text_ia: $text_ia,
tone: $tone
) {
feedback_text_id
ia_id
id
text_ia
text_original
tone
}
}
Variables
{
"feedback_text_id": 4,
"ia_id": "xyz789",
"text_original": "abc123",
"text_ia": "xyz789",
"tone": "xyz789"
}
Response
{
"data": {
"addIaFeedbackLog": {
"feedback_text_id": 4,
"ia_id": "abc123",
"id": "4",
"text_ia": "abc123",
"text_original": "abc123",
"tone": "abc123"
}
}
}
addInstitutionalAdministrator
Response
Returns an InstitutionalAdministrator
Example
Query
mutation addInstitutionalAdministrator(
$user_id: ID,
$user_email: String,
$institutional_user_id: ID!,
$read_only: Boolean
) {
addInstitutionalAdministrator(
user_id: $user_id,
user_email: $user_email,
institutional_user_id: $institutional_user_id,
read_only: $read_only
) {
administrator {
...UserFragment
}
created_at
id
institution {
...UserFragment
}
institutional_user_id
read_only
user_id
}
}
Variables
{
"user_id": "4",
"user_email": "xyz789",
"institutional_user_id": 4,
"read_only": true
}
Response
{
"data": {
"addInstitutionalAdministrator": {
"administrator": User,
"created_at": 123,
"id": "4",
"institution": User,
"institutional_user_id": "4",
"read_only": true,
"user_id": 4
}
}
}
addLtiRole
Response
Returns an Option
Example
Query
mutation addLtiRole(
$lti_client_id: ID!,
$course_user_role: Int!,
$name: String!,
$description: String
) {
addLtiRole(
lti_client_id: $lti_client_id,
course_user_role: $course_user_role,
name: $name,
description: $description
) {
id
locale_reasons
locale_texts
question {
...QuestionFragment
}
question_id
reason
text
}
}
Variables
{
"lti_client_id": 4,
"course_user_role": 123,
"name": "xyz789",
"description": "abc123"
}
Response
{
"data": {
"addLtiRole": {
"id": "4",
"locale_reasons": {},
"locale_texts": {},
"question": Question,
"question_id": 4,
"reason": {},
"text": {}
}
}
}
addOptionToQuestion
Response
Returns an Option
Example
Query
mutation addOptionToQuestion(
$question_id: ID!,
$text: JSON!,
$reason: JSON!,
$correct: Boolean
) {
addOptionToQuestion(
question_id: $question_id,
text: $text,
reason: $reason,
correct: $correct
) {
id
locale_reasons
locale_texts
question {
...QuestionFragment
}
question_id
reason
text
}
}
Variables
{"question_id": 4, "text": {}, "reason": {}, "correct": false}
Response
{
"data": {
"addOptionToQuestion": {
"id": 4,
"locale_reasons": {},
"locale_texts": {},
"question": Question,
"question_id": "4",
"reason": {},
"text": {}
}
}
}
addQuestionToExercise
Example
Query
mutation addQuestionToExercise(
$exercise_id: ID!,
$text: JSON!
) {
addQuestionToExercise(
exercise_id: $exercise_id,
text: $text
) {
correct_option {
...OptionFragment
}
correct_option_id
exercise {
...ExerciseFragment
}
exercise_id
id
locale_texts
options {
...OptionFragment
}
text
}
}
Variables
{"exercise_id": "4", "text": {}}
Response
{
"data": {
"addQuestionToExercise": {
"correct_option": Option,
"correct_option_id": "4",
"exercise": Exercise,
"exercise_id": 4,
"id": "4",
"locale_texts": {},
"options": [Option],
"text": {}
}
}
}
addStudentToCourse
Response
Returns a User
Example
Query
mutation addStudentToCourse(
$user_id: ID,
$email: String,
$course_id: ID!,
$name: String,
$lastname: String
) {
addStudentToCourse(
user_id: $user_id,
email: $email,
course_id: $course_id,
name: $name,
lastname: $lastname
) {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Variables
{
"user_id": 4,
"email": "abc123",
"course_id": "4",
"name": "abc123",
"lastname": "xyz789"
}
Response
{
"data": {
"addStudentToCourse": {
"about": "abc123",
"academic_degree": "xyz789",
"accepted_requests": [Course],
"accepted_terms": false,
"address": "abc123",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": true,
"authorized_create_course_by_establishments": true,
"available_courses": 987,
"available_licenses": 987,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 987,
"birth_date": "abc123",
"color": "abc123",
"country": "xyz789",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "xyz789",
"dynamic_labels": [DynamicLabel],
"email": "xyz789",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": 4,
"identity_number": "xyz789",
"image": "xyz789",
"in_training_courses": [Course],
"institution": "abc123",
"institution_code": "abc123",
"internal_users": [User],
"is_superadmin": true,
"last_login": "xyz789",
"lastname": "abc123",
"licenses": 987,
"linkedin": "xyz789",
"lms_user_id": "xyz789",
"locale": "abc123",
"max_courses": 987,
"name": "xyz789",
"notifications": [Notification],
"onboarding": true,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "xyz789",
"pending_requests": [Course],
"presentation_video": "abc123",
"profession": "xyz789",
"profile_image_link": "xyz789",
"provider": "abc123",
"rating": 987,
"rejected_requests": [Course],
"requests": [Request],
"role": "abc123",
"role_id": 987,
"second_admin_courses": [Course],
"sex": "abc123",
"state": "xyz789",
"status_id": "abc123",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 123,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 123,
"video_size": 987.65,
"video_size_without_compress": 123.45,
"work_place": "xyz789"
}
}
}
addTeacherInTrainingToCourse
Example
Query
mutation addTeacherInTrainingToCourse(
$user_id: ID,
$email: String,
$course_id: ID!
) {
addTeacherInTrainingToCourse(
user_id: $user_id,
email: $email,
course_id: $course_id
) {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Variables
{
"user_id": "4",
"email": "abc123",
"course_id": "4"
}
Response
{
"data": {
"addTeacherInTrainingToCourse": {
"about": "xyz789",
"academic_degree": "abc123",
"accepted_requests": [Course],
"accepted_terms": false,
"address": "abc123",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": true,
"authorized_create_course_by_establishments": false,
"available_courses": 987,
"available_licenses": 123,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 987,
"birth_date": "xyz789",
"color": "abc123",
"country": "xyz789",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "abc123",
"dynamic_labels": [DynamicLabel],
"email": "xyz789",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": 4,
"identity_number": "abc123",
"image": "xyz789",
"in_training_courses": [Course],
"institution": "abc123",
"institution_code": "xyz789",
"internal_users": [User],
"is_superadmin": false,
"last_login": "abc123",
"lastname": "xyz789",
"licenses": 987,
"linkedin": "abc123",
"lms_user_id": "abc123",
"locale": "abc123",
"max_courses": 123,
"name": "xyz789",
"notifications": [Notification],
"onboarding": false,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "xyz789",
"pending_requests": [Course],
"presentation_video": "xyz789",
"profession": "abc123",
"profile_image_link": "abc123",
"provider": "abc123",
"rating": 123,
"rejected_requests": [Course],
"requests": [Request],
"role": "abc123",
"role_id": 987,
"second_admin_courses": [Course],
"sex": "abc123",
"state": "xyz789",
"status_id": "abc123",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 987,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 987,
"video_size": 123.45,
"video_size_without_compress": 123.45,
"work_place": "xyz789"
}
}
}
addTeacherToCourse
Example
Query
mutation addTeacherToCourse(
$user_id: ID,
$email: String,
$course_id: ID!
) {
addTeacherToCourse(
user_id: $user_id,
email: $email,
course_id: $course_id
) {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Variables
{
"user_id": "4",
"email": "abc123",
"course_id": "4"
}
Response
{
"data": {
"addTeacherToCourse": {
"about": "xyz789",
"academic_degree": "xyz789",
"accepted_requests": [Course],
"accepted_terms": true,
"address": "abc123",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": true,
"authorized_create_course_by_establishments": false,
"available_courses": 987,
"available_licenses": 987,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 123,
"birth_date": "xyz789",
"color": "xyz789",
"country": "abc123",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "xyz789",
"dynamic_labels": [DynamicLabel],
"email": "abc123",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": "4",
"identity_number": "abc123",
"image": "abc123",
"in_training_courses": [Course],
"institution": "abc123",
"institution_code": "abc123",
"internal_users": [User],
"is_superadmin": true,
"last_login": "abc123",
"lastname": "xyz789",
"licenses": 123,
"linkedin": "xyz789",
"lms_user_id": "xyz789",
"locale": "abc123",
"max_courses": 123,
"name": "xyz789",
"notifications": [Notification],
"onboarding": false,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "xyz789",
"pending_requests": [Course],
"presentation_video": "abc123",
"profession": "abc123",
"profile_image_link": "xyz789",
"provider": "abc123",
"rating": 123,
"rejected_requests": [Course],
"requests": [Request],
"role": "xyz789",
"role_id": 987,
"second_admin_courses": [Course],
"sex": "abc123",
"state": "xyz789",
"status_id": "xyz789",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 123,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 987,
"video_size": 987.65,
"video_size_without_compress": 123.45,
"work_place": "abc123"
}
}
}
addToFavouriteItem
Response
Returns a FavouriteItemType
Example
Query
mutation addToFavouriteItem(
$name: JSON!,
$scale_id: Int!,
$user_id: Int!,
$descriptions: JSON,
$descriptions_values: [String],
$max_value: Float!,
$min_value: Float!,
$req_value: Float!,
$item_id: Int!
) {
addToFavouriteItem(
name: $name,
scale_id: $scale_id,
user_id: $user_id,
descriptions: $descriptions,
descriptions_values: $descriptions_values,
max_value: $max_value,
min_value: $min_value,
req_value: $req_value,
item_id: $item_id
) {
descriptions
descriptions_values
id
item_id
locale_descriptions
locale_names
max_value
min_value
name
req_value
scale_id
user_id
}
}
Variables
{
"name": {},
"scale_id": 987,
"user_id": 987,
"descriptions": {},
"descriptions_values": ["xyz789"],
"max_value": 987.65,
"min_value": 123.45,
"req_value": 987.65,
"item_id": 987
}
Response
{
"data": {
"addToFavouriteItem": {
"descriptions": {},
"descriptions_values": ["xyz789"],
"id": 4,
"item_id": 123,
"locale_descriptions": {},
"locale_names": {},
"max_value": 123.45,
"min_value": 123.45,
"name": {},
"req_value": 987.65,
"scale_id": "abc123",
"user_id": 123
}
}
}
addTutorialApp
Response
Returns a TutorialApp!
Example
Query
mutation addTutorialApp(
$link: String!,
$title: String,
$description: String
) {
addTutorialApp(
link: $link,
title: $title,
description: $description
) {
description
id
link
title
}
}
Variables
{
"link": "abc123",
"title": "xyz789",
"description": "xyz789"
}
Response
{
"data": {
"addTutorialApp": {
"description": {},
"id": 4,
"link": "xyz789",
"title": {}
}
}
}
addUserSurveyAnswer
Response
Returns a Boolean
Example
Query
mutation addUserSurveyAnswer(
$platform_survey_question_id: String!,
$platform_survey_id: String!,
$selected_option: String,
$current_version: String!
) {
addUserSurveyAnswer(
platform_survey_question_id: $platform_survey_question_id,
platform_survey_id: $platform_survey_id,
selected_option: $selected_option,
current_version: $current_version
)
}
Variables
{
"platform_survey_question_id": "abc123",
"platform_survey_id": "abc123",
"selected_option": "xyz789",
"current_version": "xyz789"
}
Response
{"data": {"addUserSurveyAnswer": true}}
addVideoToStage
Response
Returns a TutorialVideo!
Example
Query
mutation addVideoToStage(
$stage_id: ID!,
$link: String,
$title: JSON,
$description: JSON,
$video_duration: Int,
$video_size: Float,
$video_size_without_compress: Float
) {
addVideoToStage(
stage_id: $stage_id,
link: $link,
title: $title,
description: $description,
video_duration: $video_duration,
video_size: $video_size,
video_size_without_compress: $video_size_without_compress
) {
description
id
link
locale_descriptions
locale_titles
stage_id
title
tutorial_audios {
...TutorialAudioFragment
}
tutorial_docs {
...TutorialDocFragment
}
tutorial_images {
...TutorialImageFragment
}
updated_at
video_duration
video_size
video_size_without_compress
}
}
Variables
{
"stage_id": 4,
"link": "abc123",
"title": {},
"description": {},
"video_duration": 123,
"video_size": 987.65,
"video_size_without_compress": 987.65
}
Response
{
"data": {
"addVideoToStage": {
"description": {},
"id": 4,
"link": "xyz789",
"locale_descriptions": {},
"locale_titles": {},
"stage_id": "4",
"title": {},
"tutorial_audios": [TutorialAudio],
"tutorial_docs": [TutorialDoc],
"tutorial_images": [TutorialImage],
"updated_at": 123,
"video_duration": 987,
"video_size": 123.45,
"video_size_without_compress": 987.65
}
}
}
cancelCourseRequest
createAchievementIndicator
Response
Returns an AchievementIndicator!
Example
Query
mutation createAchievementIndicator(
$course_id: Int!,
$label: String,
$percentage: Float!,
$name: String!
) {
createAchievementIndicator(
course_id: $course_id,
label: $label,
percentage: $percentage,
name: $name
) {
course_id
id
label
name
percentage
}
}
Variables
{
"course_id": 987,
"label": "xyz789",
"percentage": 123.45,
"name": "xyz789"
}
Response
{
"data": {
"createAchievementIndicator": {
"course_id": "xyz789",
"id": 4,
"label": "abc123",
"name": "xyz789",
"percentage": 123.45
}
}
}
createAnswer
Response
Returns an Answer!
Example
Query
mutation createAnswer(
$exercise_id: ID!,
$video_link: [String]!,
$notes: String,
$user_id: ID,
$evaluation_group_id: ID,
$video_duration: Int,
$video_size: Float,
$video_size_without_compress: Float
) {
createAnswer(
exercise_id: $exercise_id,
video_link: $video_link,
notes: $notes,
user_id: $user_id,
evaluation_group_id: $evaluation_group_id,
video_duration: $video_duration,
video_size: $video_size,
video_size_without_compress: $video_size_without_compress
) {
created_at
evaluated
evaluation_group {
...EvaluationGroupFragment
}
evaluation_group_id
everyone_evaluate_student_feedbacks {
...FeedbackFragment
}
exercise {
...ExerciseFragment
}
exercise_id
feedback {
...FeedbackFragment
}
id
notes
question_answers {
...QuestionAnswerFragment
}
seen_by_teacher
try_number
updated_at
user {
...UserFragment
}
user_course_status_stage {
...UserCourseStatusStageFragment
}
user_id
video_duration
video_link
video_size
video_size_without_compress
}
}
Variables
{
"exercise_id": "4",
"video_link": ["abc123"],
"notes": "xyz789",
"user_id": "4",
"evaluation_group_id": 4,
"video_duration": 123,
"video_size": 123.45,
"video_size_without_compress": 123.45
}
Response
{
"data": {
"createAnswer": {
"created_at": 123,
"evaluated": true,
"evaluation_group": EvaluationGroup,
"evaluation_group_id": "4",
"everyone_evaluate_student_feedbacks": [Feedback],
"exercise": Exercise,
"exercise_id": 4,
"feedback": Feedback,
"id": "4",
"notes": "xyz789",
"question_answers": [QuestionAnswer],
"seen_by_teacher": true,
"try_number": 987,
"updated_at": 987,
"user": User,
"user_course_status_stage": [UserCourseStatusStage],
"user_id": 4,
"video_duration": 123,
"video_link": ["abc123"],
"video_size": 987.65,
"video_size_without_compress": 123.45
}
}
}
createAnswerTrainTheTrainer
Response
Returns an Answer!
Example
Query
mutation createAnswerTrainTheTrainer(
$exercise_id: ID!,
$video_link: [String]!,
$notes: String
) {
createAnswerTrainTheTrainer(
exercise_id: $exercise_id,
video_link: $video_link,
notes: $notes
) {
created_at
evaluated
evaluation_group {
...EvaluationGroupFragment
}
evaluation_group_id
everyone_evaluate_student_feedbacks {
...FeedbackFragment
}
exercise {
...ExerciseFragment
}
exercise_id
feedback {
...FeedbackFragment
}
id
notes
question_answers {
...QuestionAnswerFragment
}
seen_by_teacher
try_number
updated_at
user {
...UserFragment
}
user_course_status_stage {
...UserCourseStatusStageFragment
}
user_id
video_duration
video_link
video_size
video_size_without_compress
}
}
Variables
{
"exercise_id": 4,
"video_link": ["xyz789"],
"notes": "xyz789"
}
Response
{
"data": {
"createAnswerTrainTheTrainer": {
"created_at": 987,
"evaluated": true,
"evaluation_group": EvaluationGroup,
"evaluation_group_id": 4,
"everyone_evaluate_student_feedbacks": [Feedback],
"exercise": Exercise,
"exercise_id": 4,
"feedback": Feedback,
"id": "4",
"notes": "abc123",
"question_answers": [QuestionAnswer],
"seen_by_teacher": true,
"try_number": 123,
"updated_at": 123,
"user": User,
"user_course_status_stage": [UserCourseStatusStage],
"user_id": "4",
"video_duration": 987,
"video_link": ["xyz789"],
"video_size": 987.65,
"video_size_without_compress": 123.45
}
}
}
createCategory
Example
Query
mutation createCategory(
$en: String!,
$es: String!
) {
createCategory(
en: $en,
es: $es
) {
courses {
...CourseFragment
}
en
es
id
name
}
}
Variables
{
"en": "abc123",
"es": "abc123"
}
Response
{
"data": {
"createCategory": {
"courses": [Course],
"en": "abc123",
"es": "xyz789",
"id": "4",
"name": "xyz789"
}
}
}
createChat
Response
Returns a ChatType!
Example
Query
mutation createChat(
$course_id: ID!,
$group: Boolean!,
$user_ids: [ID]!
) {
createChat(
course_id: $course_id,
group: $group,
user_ids: $user_ids
) {
admin_course_id
admin_user {
...UserFragment
}
chat_members {
...ChatMemberTypeFragment
}
course {
...CourseFragment
}
course_id
group
id
last_message {
...ChatMessageTypeFragment
}
unread_messages_admin
}
}
Variables
{
"course_id": 4,
"group": false,
"user_ids": ["4"]
}
Response
{
"data": {
"createChat": {
"admin_course_id": 4,
"admin_user": User,
"chat_members": [ChatMemberType],
"course": Course,
"course_id": 4,
"group": true,
"id": "4",
"last_message": ChatMessageType,
"unread_messages_admin": 987
}
}
}
createChatMessage
Response
Returns a ChatMessageType!
Example
Query
mutation createChatMessage(
$chat_id: ID!,
$text: String!
) {
createChatMessage(
chat_id: $chat_id,
text: $text
) {
chat_id
created_at
id
text
user {
...UserFragment
}
}
}
Variables
{"chat_id": 4, "text": "xyz789"}
Response
{
"data": {
"createChatMessage": {
"chat_id": "4",
"created_at": 987,
"id": 4,
"text": "xyz789",
"user": User
}
}
}
createCommonMistake
Response
Returns a CommonMistake!
Example
Query
mutation createCommonMistake(
$course_id: ID!,
$link: String,
$title: JSON,
$description: JSON,
$video_duration: Int,
$video_size: Float,
$video_size_without_compress: Float
) {
createCommonMistake(
course_id: $course_id,
link: $link,
title: $title,
description: $description,
video_duration: $video_duration,
video_size: $video_size,
video_size_without_compress: $video_size_without_compress
) {
approved
author {
...UserFragment
}
author_id
course {
...CourseFragment
}
course_id
description
id
link
locale_descriptions
locale_titles
title
video_duration
video_size
video_size_without_compress
}
}
Variables
{
"course_id": "4",
"link": "abc123",
"title": {},
"description": {},
"video_duration": 123,
"video_size": 987.65,
"video_size_without_compress": 987.65
}
Response
{
"data": {
"createCommonMistake": {
"approved": true,
"author": User,
"author_id": 4,
"course": Course,
"course_id": 4,
"description": {},
"id": 4,
"link": "xyz789",
"locale_descriptions": {},
"locale_titles": {},
"title": {},
"video_duration": 987,
"video_size": 123.45,
"video_size_without_compress": 123.45
}
}
}
createCommonMistakeClip
Response
Returns a CommonMistake!
Example
Query
mutation createCommonMistakeClip(
$course_id: ID!,
$video_url: String!,
$start: Float!,
$end: Float!
) {
createCommonMistakeClip(
course_id: $course_id,
video_url: $video_url,
start: $start,
end: $end
) {
approved
author {
...UserFragment
}
author_id
course {
...CourseFragment
}
course_id
description
id
link
locale_descriptions
locale_titles
title
video_duration
video_size
video_size_without_compress
}
}
Variables
{
"course_id": 4,
"video_url": "abc123",
"start": 987.65,
"end": 123.45
}
Response
{
"data": {
"createCommonMistakeClip": {
"approved": false,
"author": User,
"author_id": 4,
"course": Course,
"course_id": "4",
"description": {},
"id": 4,
"link": "abc123",
"locale_descriptions": {},
"locale_titles": {},
"title": {},
"video_duration": 987,
"video_size": 987.65,
"video_size_without_compress": 123.45
}
}
}
createConvertJob
createCourse
Response
Returns a Course!
Arguments
Name | Description |
---|---|
title - JSON
|
|
student_capacity - Int!
|
|
categories - [ID]
|
|
description - JSON
|
|
goal - String
|
|
image_link - String
|
|
sequential_stages - Boolean!
|
|
student_upload - Boolean!
|
|
start_date - String
|
|
end_date - String
|
|
admissions_fee - Int
|
|
establishment_user_id - Int
|
|
default_language - String
|
|
available_languages - [String]
|
|
lms_course_id - String
|
|
lms_course_type_id - Int
|
Example
Query
mutation createCourse(
$title: JSON,
$student_capacity: Int!,
$categories: [ID],
$description: JSON,
$goal: String,
$image_link: String,
$sequential_stages: Boolean!,
$student_upload: Boolean!,
$start_date: String,
$end_date: String,
$admissions_fee: Int,
$establishment_user_id: Int,
$default_language: String,
$available_languages: [String],
$lms_course_id: String,
$lms_course_type_id: Int
) {
createCourse(
title: $title,
student_capacity: $student_capacity,
categories: $categories,
description: $description,
goal: $goal,
image_link: $image_link,
sequential_stages: $sequential_stages,
student_upload: $student_upload,
start_date: $start_date,
end_date: $end_date,
admissions_fee: $admissions_fee,
establishment_user_id: $establishment_user_id,
default_language: $default_language,
available_languages: $available_languages,
lms_course_id: $lms_course_id,
lms_course_type_id: $lms_course_type_id
) {
accepted_terms_payments
active_students {
...UserFragment
}
active_students_count
admin {
...UserFragment
}
admin_id
admissions_fee
ai_available_by_courses {
...AiAvailableByCourseTypeFragment
}
answers_count
available_languages
available_throughout_faculty
blind_evaluation
categories {
...CategoryFragment
}
category_ids
common_mistakes {
...CommonMistakeFragment
}
course_preview_images {
...PreviewImageFragment
}
created_at
default_language
description
discount_code {
...DiscountCodeFragment
}
discount_code_id
double_video_answers
duration
end_date
establishment {
...EstablishmentFragment
}
everyone_evaluate_id
failed_students {
...UserFragment
}
goal
has_evaluation_group_stages
has_everyone_evaluate_stages
id
is_closed_course
is_train_the_trainer
learn_list
lms_academic_period
lms_course_id
lms_course_type_id
lms_event_id
lms_id
lms_master_id
locale_descriptions
locale_learn_list
locale_titles
next_course {
...CourseFragment
}
number_of_students
parent_course {
...CourseFragment
}
passed_students {
...UserFragment
}
peer_review
pending_answer_to_evaluate_by_user
pending_request
pending_requests {
...RequestFragment
}
position
presentation_video
privacy_rule
published
random_student_assigment
requests {
...RequestFragment
}
requirement_course {
...CourseFragment
}
requirements {
...RequirementTypeFragment
}
review_avg
reviews {
...ReviewFragment
}
score
second_admin_id
sequential_stages
stages {
...StageFragment
}
start_date
student_capacity
student_upload
teachers {
...UserFragment
}
teachers_in_training {
...UserFragment
}
title
updated_at
updated_at_table
user {
...UserFragment
}
user_requests {
...UserFragment
}
video_duration
video_size
video_size_without_compress
}
}
Variables
{
"title": {},
"student_capacity": 987,
"categories": ["4"],
"description": {},
"goal": "xyz789",
"image_link": "xyz789",
"sequential_stages": false,
"student_upload": true,
"start_date": "abc123",
"end_date": "xyz789",
"admissions_fee": 987,
"establishment_user_id": 123,
"default_language": "abc123",
"available_languages": ["abc123"],
"lms_course_id": "xyz789",
"lms_course_type_id": 123
}
Response
{
"data": {
"createCourse": {
"accepted_terms_payments": true,
"active_students": [User],
"active_students_count": 123,
"admin": User,
"admin_id": 987,
"admissions_fee": 987.65,
"ai_available_by_courses": [
AiAvailableByCourseType
],
"answers_count": 987,
"available_languages": ["xyz789"],
"available_throughout_faculty": 123,
"blind_evaluation": true,
"categories": [Category],
"category_ids": ["4"],
"common_mistakes": [CommonMistake],
"course_preview_images": [PreviewImage],
"created_at": 987,
"default_language": "abc123",
"description": {},
"discount_code": DiscountCode,
"discount_code_id": 987,
"double_video_answers": false,
"duration": "abc123",
"end_date": "abc123",
"establishment": Establishment,
"everyone_evaluate_id": 987,
"failed_students": [User],
"goal": "abc123",
"has_evaluation_group_stages": false,
"has_everyone_evaluate_stages": false,
"id": 4,
"is_closed_course": true,
"is_train_the_trainer": true,
"learn_list": {},
"lms_academic_period": "abc123",
"lms_course_id": "abc123",
"lms_course_type_id": 123,
"lms_event_id": "xyz789",
"lms_id": "xyz789",
"lms_master_id": "xyz789",
"locale_descriptions": {},
"locale_learn_list": {},
"locale_titles": {},
"next_course": [Course],
"number_of_students": 123,
"parent_course": Course,
"passed_students": [User],
"peer_review": true,
"pending_answer_to_evaluate_by_user": 123,
"pending_request": 123,
"pending_requests": [Request],
"position": 987,
"presentation_video": "abc123",
"privacy_rule": "xyz789",
"published": false,
"random_student_assigment": false,
"requests": [Request],
"requirement_course": [Course],
"requirements": [RequirementType],
"review_avg": 987.65,
"reviews": [Review],
"score": 987,
"second_admin_id": 987,
"sequential_stages": false,
"stages": [Stage],
"start_date": "xyz789",
"student_capacity": 987,
"student_upload": false,
"teachers": [User],
"teachers_in_training": [User],
"title": {},
"updated_at": "abc123",
"updated_at_table": 987,
"user": [User],
"user_requests": [User],
"video_duration": 123,
"video_size": 123.45,
"video_size_without_compress": 123.45
}
}
}
createDiscountCode
Response
Returns a DiscountCode
Example
Query
mutation createDiscountCode(
$description: String!,
$max_courses: Int!,
$percentage_amount_to_pay: Float!
) {
createDiscountCode(
description: $description,
max_courses: $max_courses,
percentage_amount_to_pay: $percentage_amount_to_pay
) {
code
description
id
max_courses
percentage_amount_to_pay
}
}
Variables
{
"description": "abc123",
"max_courses": 123,
"percentage_amount_to_pay": 987.65
}
Response
{
"data": {
"createDiscountCode": {
"code": "abc123",
"description": "abc123",
"id": 4,
"max_courses": 987,
"percentage_amount_to_pay": 987.65
}
}
}
createDynamicLabel
Response
Returns a DynamicLabel!
Example
Query
mutation createDynamicLabel(
$owner_name: String,
$category: String,
$label: JSON,
$default_language: String
) {
createDynamicLabel(
owner_name: $owner_name,
category: $category,
label: $label,
default_language: $default_language
) {
available_languages
category
default_language
id
label
owner_name
plural_label
}
}
Variables
{
"owner_name": "xyz789",
"category": "xyz789",
"label": {},
"default_language": "abc123"
}
Response
{
"data": {
"createDynamicLabel": {
"available_languages": ["xyz789"],
"category": "xyz789",
"default_language": "xyz789",
"id": "4",
"label": {},
"owner_name": "abc123",
"plural_label": {}
}
}
}
createEvaluationGroup
Response
Returns an EvaluationGroup
Example
Query
mutation createEvaluationGroup(
$evaluation_group_setting_id: ID!,
$user_ids: [ID]!,
$course_id: ID!
) {
createEvaluationGroup(
evaluation_group_setting_id: $evaluation_group_setting_id,
user_ids: $user_ids,
course_id: $course_id
) {
evaluation_group_setting {
...EvaluationGroupSettingTypeFragment
}
evaluation_group_setting_id
id
user_evaluation_groups {
...UserEvaluationGroupFragment
}
}
}
Variables
{
"evaluation_group_setting_id": "4",
"user_ids": ["4"],
"course_id": "4"
}
Response
{
"data": {
"createEvaluationGroup": {
"evaluation_group_setting": EvaluationGroupSettingType,
"evaluation_group_setting_id": 987,
"id": "4",
"user_evaluation_groups": [UserEvaluationGroup]
}
}
}
createEvaluationGroupByAnswers
createEvaluationGroupSetting
Response
Returns an EvaluationGroupSettingType!
Example
Query
mutation createEvaluationGroupSetting(
$stage_id: ID!,
$max_number_of_members: Int,
$assignment_type: String!
) {
createEvaluationGroupSetting(
stage_id: $stage_id,
max_number_of_members: $max_number_of_members,
assignment_type: $assignment_type
) {
assignment_type
exercise {
...ExerciseFragment
}
exercise_id
id
max_number_of_members
}
}
Variables
{
"stage_id": "4",
"max_number_of_members": 123,
"assignment_type": "abc123"
}
Response
{
"data": {
"createEvaluationGroupSetting": {
"assignment_type": "abc123",
"exercise": Exercise,
"exercise_id": 123,
"id": 4,
"max_number_of_members": 123
}
}
}
createEvaluationTimeExercise
Response
Returns an EvaluationTimeExercise!
Example
Query
mutation createEvaluationTimeExercise(
$exercise_id: ID!,
$total_required: Int!,
$required: Boolean!,
$name: JSON!
) {
createEvaluationTimeExercise(
exercise_id: $exercise_id,
total_required: $total_required,
required: $required,
name: $name
) {
exercise_id
id
locale_names
name
required
total_required
}
}
Variables
{
"exercise_id": "4",
"total_required": 987,
"required": false,
"name": {}
}
Response
{
"data": {
"createEvaluationTimeExercise": {
"exercise_id": 123,
"id": 4,
"locale_names": {},
"name": {},
"required": false,
"total_required": 123
}
}
}
createEvaluationTimeFeedback
Response
Returns an EvaluationTimeFeedback!
Example
Query
mutation createEvaluationTimeFeedback(
$evaluation_time_exercise_id: ID!,
$feedback_id: ID,
$initial_time: Float,
$final_time: Float,
$name: String
) {
createEvaluationTimeFeedback(
evaluation_time_exercise_id: $evaluation_time_exercise_id,
feedback_id: $feedback_id,
initial_time: $initial_time,
final_time: $final_time,
name: $name
) {
evaluation_time_exercise_id
final_time
id
initial_time
name
value
}
}
Variables
{
"evaluation_time_exercise_id": 4,
"feedback_id": 4,
"initial_time": 123.45,
"final_time": 987.65,
"name": "abc123"
}
Response
{
"data": {
"createEvaluationTimeFeedback": {
"evaluation_time_exercise_id": 123,
"final_time": 987.65,
"id": 4,
"initial_time": 123.45,
"name": "xyz789",
"value": 987
}
}
}
createFeedbackAudio
Response
Returns a FeedbackAudio!
Example
Query
mutation createFeedbackAudio(
$feedback_id: ID!,
$link: String!,
$time: Float!,
$train_the_trainer_id: ID
) {
createFeedbackAudio(
feedback_id: $feedback_id,
link: $link,
time: $time,
train_the_trainer_id: $train_the_trainer_id
) {
feedback {
...FeedbackFragment
}
feedback_id
id
link
time
train_the_trainer_id
}
}
Variables
{
"feedback_id": 4,
"link": "xyz789",
"time": 123.45,
"train_the_trainer_id": 4
}
Response
{
"data": {
"createFeedbackAudio": {
"feedback": Feedback,
"feedback_id": 4,
"id": 4,
"link": "abc123",
"time": 987.65,
"train_the_trainer_id": "4"
}
}
}
createFeedbackCommonMistake
Response
Returns a FeedbackCommonMistake!
Example
Query
mutation createFeedbackCommonMistake(
$feedback_id: ID!,
$common_mistake_id: ID!,
$time: Float!,
$train_the_trainer_id: ID
) {
createFeedbackCommonMistake(
feedback_id: $feedback_id,
common_mistake_id: $common_mistake_id,
time: $time,
train_the_trainer_id: $train_the_trainer_id
) {
common_mistake {
...CommonMistakeFragment
}
common_mistake_id
feedback {
...FeedbackFragment
}
feedback_id
id
time
train_the_trainer_id
}
}
Variables
{
"feedback_id": 4,
"common_mistake_id": 4,
"time": 987.65,
"train_the_trainer_id": 4
}
Response
{
"data": {
"createFeedbackCommonMistake": {
"common_mistake": CommonMistake,
"common_mistake_id": "4",
"feedback": Feedback,
"feedback_id": "4",
"id": "4",
"time": 123.45,
"train_the_trainer_id": "4"
}
}
}
createFeedbackDrawing
Response
Returns a FeedbackDrawing!
Example
Query
mutation createFeedbackDrawing(
$feedback_id: ID!,
$link: String!,
$time: Float!,
$train_the_trainer_id: ID
) {
createFeedbackDrawing(
feedback_id: $feedback_id,
link: $link,
time: $time,
train_the_trainer_id: $train_the_trainer_id
) {
feedback {
...FeedbackFragment
}
feedback_id
id
link
time
train_the_trainer_id
}
}
Variables
{
"feedback_id": 4,
"link": "abc123",
"time": 123.45,
"train_the_trainer_id": "4"
}
Response
{
"data": {
"createFeedbackDrawing": {
"feedback": Feedback,
"feedback_id": "4",
"id": "4",
"link": "abc123",
"time": 123.45,
"train_the_trainer_id": "4"
}
}
}
createFeedbackFeedback
Response
Returns a FeedbackFeedback!
Example
Query
mutation createFeedbackFeedback(
$feedback_id: ID!,
$score: Float!,
$comments: String,
$technical_quality_score: Float,
$technical_quality_comments: String
) {
createFeedbackFeedback(
feedback_id: $feedback_id,
score: $score,
comments: $comments,
technical_quality_score: $technical_quality_score,
technical_quality_comments: $technical_quality_comments
) {
comments
feedback {
...FeedbackFragment
}
feedback_id
id
score
technical_quality_comments
technical_quality_score
}
}
Variables
{
"feedback_id": "4",
"score": 987.65,
"comments": "xyz789",
"technical_quality_score": 123.45,
"technical_quality_comments": "abc123"
}
Response
{
"data": {
"createFeedbackFeedback": {
"comments": "xyz789",
"feedback": Feedback,
"feedback_id": 4,
"id": 4,
"score": 123.45,
"technical_quality_comments": "xyz789",
"technical_quality_score": 123.45
}
}
}
createFeedbackText
Response
Returns a FeedbackText!
Example
Query
mutation createFeedbackText(
$feedback_id: ID!,
$text: String!,
$time: Float!,
$train_the_trainer_id: ID,
$ia_was_requested: Int
) {
createFeedbackText(
feedback_id: $feedback_id,
text: $text,
time: $time,
train_the_trainer_id: $train_the_trainer_id,
ia_was_requested: $ia_was_requested
) {
feedback {
...FeedbackFragment
}
feedback_id
feedback_text_criteria {
...FeedbackTextCriteriaFragment
}
ia_was_requested
id
text
time
train_the_trainer_id
}
}
Variables
{
"feedback_id": 4,
"text": "abc123",
"time": 123.45,
"train_the_trainer_id": 4,
"ia_was_requested": 987
}
Response
{
"data": {
"createFeedbackText": {
"feedback": Feedback,
"feedback_id": 4,
"feedback_text_criteria": [FeedbackTextCriteria],
"ia_was_requested": 987,
"id": "4",
"text": "abc123",
"time": 987.65,
"train_the_trainer_id": "4"
}
}
}
createForum
Response
Returns a Forum!
Example
Query
mutation createForum(
$course_id: ID!,
$title: String!,
$text: String,
$forum_type: Int!
) {
createForum(
course_id: $course_id,
title: $title,
text: $text,
forum_type: $forum_type
) {
course {
...CourseFragment
}
course_id
created_at
id
number_of_messages
text
title
user {
...UserFragment
}
user_id
}
}
Variables
{
"course_id": "4",
"title": "abc123",
"text": "xyz789",
"forum_type": 123
}
Response
{
"data": {
"createForum": {
"course": Course,
"course_id": 4,
"created_at": 987,
"id": 4,
"number_of_messages": 123,
"text": "xyz789",
"title": "abc123",
"user": User,
"user_id": "4"
}
}
}
createForumMessage
Response
Returns a ForumMessage!
Example
Query
mutation createForumMessage(
$forum_id: ID!,
$forum_message_id: ID,
$text: String!
) {
createForumMessage(
forum_id: $forum_id,
forum_message_id: $forum_message_id,
text: $text
) {
created_at
forum_id
forum_message_id
forum_messages {
...ForumMessageFragment
}
id
text
user {
...UserFragment
}
user_id
}
}
Variables
{
"forum_id": 4,
"forum_message_id": 4,
"text": "xyz789"
}
Response
{
"data": {
"createForumMessage": {
"created_at": 987,
"forum_id": "4",
"forum_message_id": 4,
"forum_messages": [ForumMessage],
"id": 4,
"text": "abc123",
"user": User,
"user_id": "4"
}
}
}
createLmsScoreBook
Response
Returns a LmsScoreBook!
Example
Query
mutation createLmsScoreBook(
$course_id: ID!,
$min_value: Float!,
$max_value: Float!,
$lms_resource: String!,
$lms_score_stage_items: JSON!
) {
createLmsScoreBook(
course_id: $course_id,
min_value: $min_value,
max_value: $max_value,
lms_resource: $lms_resource,
lms_score_stage_items: $lms_score_stage_items
) {
course_id
id
lms_resource
lms_score_book_student_grades {
...LmsScoreBookStudentGradeFragment
}
lms_score_stage_items {
...LmsScoreStageItemFragment
}
max_value
min_value
}
}
Variables
{
"course_id": "4",
"min_value": 987.65,
"max_value": 987.65,
"lms_resource": "abc123",
"lms_score_stage_items": {}
}
Response
{
"data": {
"createLmsScoreBook": {
"course_id": 987,
"id": "4",
"lms_resource": "abc123",
"lms_score_book_student_grades": [
LmsScoreBookStudentGrade
],
"lms_score_stage_items": [LmsScoreStageItem],
"max_value": 123.45,
"min_value": 123.45
}
}
}
createMockAdminFeedback
Response
Returns a MockAdminFeedback!
Example
Query
mutation createMockAdminFeedback(
$mock_answer_id: ID!,
$comments: String
) {
createMockAdminFeedback(
mock_answer_id: $mock_answer_id,
comments: $comments
) {
comments
id
mock_admin_feedback_audios {
...MockAdminFeedbackAudioFragment
}
mock_admin_feedback_common_mistakes {
...MockAdminFeedbackCommonMistakeFragment
}
mock_admin_feedback_drawings {
...MockAdminFeedbackDrawingFragment
}
mock_admin_feedback_scores {
...MockAdminFeedbackScoreFragment
}
mock_admin_feedback_texts {
...MockAdminFeedbackTextFragment
}
mock_answer {
...MockAnswerFragment
}
mock_answer_id
teacher_in_training {
...UserFragment
}
}
}
Variables
{"mock_answer_id": 4, "comments": "abc123"}
Response
{
"data": {
"createMockAdminFeedback": {
"comments": "xyz789",
"id": "4",
"mock_admin_feedback_audios": [
MockAdminFeedbackAudio
],
"mock_admin_feedback_common_mistakes": [
MockAdminFeedbackCommonMistake
],
"mock_admin_feedback_drawings": [
MockAdminFeedbackDrawing
],
"mock_admin_feedback_scores": [
MockAdminFeedbackScore
],
"mock_admin_feedback_texts": [
MockAdminFeedbackText
],
"mock_answer": MockAnswer,
"mock_answer_id": "4",
"teacher_in_training": User
}
}
}
createMockAdminFeedbackAudio
Response
Returns a MockAdminFeedbackAudio!
Example
Query
mutation createMockAdminFeedbackAudio(
$mock_admin_feedback_id: ID!,
$link: String!,
$time: Float!
) {
createMockAdminFeedbackAudio(
mock_admin_feedback_id: $mock_admin_feedback_id,
link: $link,
time: $time
) {
id
link
mock_admin_feedback {
...MockAdminFeedbackFragment
}
mock_admin_feedback_id
time
}
}
Variables
{
"mock_admin_feedback_id": 4,
"link": "abc123",
"time": 123.45
}
Response
{
"data": {
"createMockAdminFeedbackAudio": {
"id": "4",
"link": "abc123",
"mock_admin_feedback": MockAdminFeedback,
"mock_admin_feedback_id": 4,
"time": 123.45
}
}
}
createMockAdminFeedbackCommonMistake
Response
Returns a MockAdminFeedbackCommonMistake!
Example
Query
mutation createMockAdminFeedbackCommonMistake(
$mock_admin_feedback_id: ID!,
$common_mistake_id: ID!,
$time: Float!
) {
createMockAdminFeedbackCommonMistake(
mock_admin_feedback_id: $mock_admin_feedback_id,
common_mistake_id: $common_mistake_id,
time: $time
) {
id
mock_admin_feedback {
...MockAdminFeedbackFragment
}
mock_admin_feedback_id
mock_common_mistake {
...CommonMistakeFragment
}
mock_common_mistake_id
time
}
}
Variables
{
"mock_admin_feedback_id": "4",
"common_mistake_id": 4,
"time": 123.45
}
Response
{
"data": {
"createMockAdminFeedbackCommonMistake": {
"id": 4,
"mock_admin_feedback": MockAdminFeedback,
"mock_admin_feedback_id": 4,
"mock_common_mistake": CommonMistake,
"mock_common_mistake_id": "4",
"time": 123.45
}
}
}
createMockAdminFeedbackDrawing
Response
Returns a MockAdminFeedbackDrawing!
Example
Query
mutation createMockAdminFeedbackDrawing(
$mock_admin_feedback_id: ID!,
$link: String!,
$time: Float!
) {
createMockAdminFeedbackDrawing(
mock_admin_feedback_id: $mock_admin_feedback_id,
link: $link,
time: $time
) {
id
link
mock_admin_feedback {
...MockAdminFeedbackFragment
}
mock_admin_feedback_id
time
}
}
Variables
{
"mock_admin_feedback_id": 4,
"link": "xyz789",
"time": 987.65
}
Response
{
"data": {
"createMockAdminFeedbackDrawing": {
"id": 4,
"link": "abc123",
"mock_admin_feedback": MockAdminFeedback,
"mock_admin_feedback_id": 4,
"time": 987.65
}
}
}
createMockAdminFeedbackText
Response
Returns a MockAdminFeedbackText!
Example
Query
mutation createMockAdminFeedbackText(
$mock_admin_feedback_id: ID!,
$text: String!,
$time: Float!
) {
createMockAdminFeedbackText(
mock_admin_feedback_id: $mock_admin_feedback_id,
text: $text,
time: $time
) {
id
mock_admin_feedback {
...MockAdminFeedbackFragment
}
mock_admin_feedback_id
text
time
}
}
Variables
{
"mock_admin_feedback_id": "4",
"text": "xyz789",
"time": 123.45
}
Response
{
"data": {
"createMockAdminFeedbackText": {
"id": "4",
"mock_admin_feedback": MockAdminFeedback,
"mock_admin_feedback_id": 4,
"text": "abc123",
"time": 987.65
}
}
}
createMockAnswer
Response
Returns a MockAnswer!
Example
Query
mutation createMockAnswer(
$exercise_id: ID!,
$video_link: String!
) {
createMockAnswer(
exercise_id: $exercise_id,
video_link: $video_link
) {
created_at
exercise {
...ExerciseFragment
}
exercise_id
id
mock_admin_feedback {
...MockAdminFeedbackFragment
}
video_link
}
}
Variables
{
"exercise_id": "4",
"video_link": "xyz789"
}
Response
{
"data": {
"createMockAnswer": {
"created_at": 123,
"exercise": Exercise,
"exercise_id": 4,
"id": 4,
"mock_admin_feedback": MockAdminFeedback,
"video_link": "xyz789"
}
}
}
createMockFeedback
Response
Returns a MockFeedback!
Example
Query
mutation createMockFeedback(
$mock_answer_id: ID!,
$comments: String
) {
createMockFeedback(
mock_answer_id: $mock_answer_id,
comments: $comments
) {
approved
comments
evaluated_at
finished
id
is_correct
mock_answer {
...MockAnswerFragment
}
mock_answer_id
mock_feedback_audios {
...MockFeedbackAudioFragment
}
mock_feedback_common_mistakes {
...MockFeedbackCommonMistakeFragment
}
mock_feedback_drawings {
...MockFeedbackDrawingFragment
}
mock_feedback_scores {
...MockFeedbackScoreFragment
}
mock_feedback_texts {
...MockFeedbackTextFragment
}
teacher_in_training {
...UserFragment
}
teacher_in_training_id
}
}
Variables
{"mock_answer_id": 4, "comments": "abc123"}
Response
{
"data": {
"createMockFeedback": {
"approved": true,
"comments": "xyz789",
"evaluated_at": "abc123",
"finished": true,
"id": 4,
"is_correct": true,
"mock_answer": MockAnswer,
"mock_answer_id": "4",
"mock_feedback_audios": [MockFeedbackAudio],
"mock_feedback_common_mistakes": [
MockFeedbackCommonMistake
],
"mock_feedback_drawings": [MockFeedbackDrawing],
"mock_feedback_scores": [MockFeedbackScore],
"mock_feedback_texts": [MockFeedbackText],
"teacher_in_training": User,
"teacher_in_training_id": 4
}
}
}
createMockFeedbackAudio
Response
Returns a MockFeedbackAudio!
Example
Query
mutation createMockFeedbackAudio(
$mock_feedback_id: ID!,
$link: String!,
$time: Float!
) {
createMockFeedbackAudio(
mock_feedback_id: $mock_feedback_id,
link: $link,
time: $time
) {
id
link
mock_feedback {
...MockFeedbackFragment
}
mock_feedback_id
time
}
}
Variables
{
"mock_feedback_id": 4,
"link": "xyz789",
"time": 987.65
}
Response
{
"data": {
"createMockFeedbackAudio": {
"id": 4,
"link": "xyz789",
"mock_feedback": MockFeedback,
"mock_feedback_id": "4",
"time": 987.65
}
}
}
createMockFeedbackCommonMistake
Response
Returns a MockFeedbackCommonMistake!
Example
Query
mutation createMockFeedbackCommonMistake(
$mock_feedback_id: ID!,
$common_mistake_id: ID!,
$time: Float!
) {
createMockFeedbackCommonMistake(
mock_feedback_id: $mock_feedback_id,
common_mistake_id: $common_mistake_id,
time: $time
) {
id
mock_common_mistake {
...CommonMistakeFragment
}
mock_common_mistake_id
mock_feedback {
...MockFeedbackFragment
}
mock_feedback_id
time
}
}
Variables
{
"mock_feedback_id": 4,
"common_mistake_id": "4",
"time": 987.65
}
Response
{
"data": {
"createMockFeedbackCommonMistake": {
"id": "4",
"mock_common_mistake": CommonMistake,
"mock_common_mistake_id": 4,
"mock_feedback": MockFeedback,
"mock_feedback_id": "4",
"time": 123.45
}
}
}
createMockFeedbackDrawing
Response
Returns a MockFeedbackDrawing!
Example
Query
mutation createMockFeedbackDrawing(
$mock_feedback_id: ID!,
$link: String!,
$time: Float!
) {
createMockFeedbackDrawing(
mock_feedback_id: $mock_feedback_id,
link: $link,
time: $time
) {
id
link
mock_feedback {
...MockFeedbackFragment
}
mock_feedback_id
time
}
}
Variables
{
"mock_feedback_id": 4,
"link": "abc123",
"time": 987.65
}
Response
{
"data": {
"createMockFeedbackDrawing": {
"id": "4",
"link": "abc123",
"mock_feedback": MockFeedback,
"mock_feedback_id": 4,
"time": 123.45
}
}
}
createMockFeedbackText
Response
Returns a MockFeedbackText!
Example
Query
mutation createMockFeedbackText(
$mock_feedback_id: ID!,
$text: String!,
$time: Float!
) {
createMockFeedbackText(
mock_feedback_id: $mock_feedback_id,
text: $text,
time: $time
) {
id
mock_feedback {
...MockFeedbackFragment
}
mock_feedback_id
text
time
}
}
Variables
{
"mock_feedback_id": "4",
"text": "xyz789",
"time": 123.45
}
Response
{
"data": {
"createMockFeedbackText": {
"id": 4,
"mock_feedback": MockFeedback,
"mock_feedback_id": "4",
"text": "xyz789",
"time": 987.65
}
}
}
createMultipleChoiceAnswer
Example
Query
mutation createMultipleChoiceAnswer($exercise_id: ID!) {
createMultipleChoiceAnswer(exercise_id: $exercise_id) {
created_at
evaluated
evaluation_group {
...EvaluationGroupFragment
}
evaluation_group_id
everyone_evaluate_student_feedbacks {
...FeedbackFragment
}
exercise {
...ExerciseFragment
}
exercise_id
feedback {
...FeedbackFragment
}
id
notes
question_answers {
...QuestionAnswerFragment
}
seen_by_teacher
try_number
updated_at
user {
...UserFragment
}
user_course_status_stage {
...UserCourseStatusStageFragment
}
user_id
video_duration
video_link
video_size
video_size_without_compress
}
}
Variables
{"exercise_id": "4"}
Response
{
"data": {
"createMultipleChoiceAnswer": {
"created_at": 123,
"evaluated": false,
"evaluation_group": EvaluationGroup,
"evaluation_group_id": "4",
"everyone_evaluate_student_feedbacks": [Feedback],
"exercise": Exercise,
"exercise_id": "4",
"feedback": Feedback,
"id": "4",
"notes": "abc123",
"question_answers": [QuestionAnswer],
"seen_by_teacher": true,
"try_number": 987,
"updated_at": 123,
"user": User,
"user_course_status_stage": [UserCourseStatusStage],
"user_id": 4,
"video_duration": 123,
"video_link": ["xyz789"],
"video_size": 987.65,
"video_size_without_compress": 987.65
}
}
}
createOrUpdateAiTeach1Processing
Response
Returns an AiTeach1Processing
Arguments
Name | Description |
---|---|
ai_teach1_processing - AiTeach1ProcessingInput!
|
|
ai_teach1_processing_results - [AiTeach1ProcessingResultInput]
|
|
ai_teach1_processing_id - ID
|
Example
Query
mutation createOrUpdateAiTeach1Processing(
$ai_teach1_processing: AiTeach1ProcessingInput!,
$ai_teach1_processing_results: [AiTeach1ProcessingResultInput],
$ai_teach1_processing_id: ID
) {
createOrUpdateAiTeach1Processing(
ai_teach1_processing: $ai_teach1_processing,
ai_teach1_processing_results: $ai_teach1_processing_results,
ai_teach1_processing_id: $ai_teach1_processing_id
) {
ai_teach1_processing_results {
...AiTeach1ProcessingResultFragment
}
answer {
...AnswerFragment
}
answer_id
created_at
detailed_description
id
key_elements
language
model
status
summary
updated_at
video_link
video_size_bytes
}
}
Variables
{
"ai_teach1_processing": AiTeach1ProcessingInput,
"ai_teach1_processing_results": [
AiTeach1ProcessingResultInput
],
"ai_teach1_processing_id": "4"
}
Response
{
"data": {
"createOrUpdateAiTeach1Processing": {
"ai_teach1_processing_results": [
AiTeach1ProcessingResult
],
"answer": Answer,
"answer_id": 4,
"created_at": 123,
"detailed_description": "abc123",
"id": "4",
"key_elements": {},
"language": "abc123",
"model": "xyz789",
"status": "xyz789",
"summary": "xyz789",
"updated_at": 123,
"video_link": "abc123",
"video_size_bytes": 123
}
}
}
createPaymentCourseOwner
Response
Returns a PaymentCourseOwner!
Arguments
Name | Description |
---|---|
year - Int!
|
|
month - Int!
|
|
amount - Float!
|
|
user_name - String!
|
|
user_id - ID!
|
|
course_id - ID!
|
|
course_title - String!
|
|
payment_id - String!
|
|
description - String
|
|
number_account - String!
|
|
user_name_account - String!
|
|
user_rut_account - String
|
|
email_account - String
|
|
financial_entity_account - String!
|
|
sender_user_name - String
|
|
sender_user_rut - String
|
|
file - String
|
Example
Query
mutation createPaymentCourseOwner(
$year: Int!,
$month: Int!,
$amount: Float!,
$user_name: String!,
$user_id: ID!,
$course_id: ID!,
$course_title: String!,
$payment_id: String!,
$description: String,
$number_account: String!,
$user_name_account: String!,
$user_rut_account: String,
$email_account: String,
$financial_entity_account: String!,
$sender_user_name: String,
$sender_user_rut: String,
$file: String
) {
createPaymentCourseOwner(
year: $year,
month: $month,
amount: $amount,
user_name: $user_name,
user_id: $user_id,
course_id: $course_id,
course_title: $course_title,
payment_id: $payment_id,
description: $description,
number_account: $number_account,
user_name_account: $user_name_account,
user_rut_account: $user_rut_account,
email_account: $email_account,
financial_entity_account: $financial_entity_account,
sender_user_name: $sender_user_name,
sender_user_rut: $sender_user_rut,
file: $file
) {
amount
course_id
course_title
created_at
description
email_account
file
financial_entity_account
id
month
number_account
payment_id
sender_user_name
sender_user_rut
user_id
user_name
user_name_account
user_rut_account
year
}
}
Variables
{
"year": 987,
"month": 123,
"amount": 123.45,
"user_name": "abc123",
"user_id": 4,
"course_id": 4,
"course_title": "abc123",
"payment_id": "xyz789",
"description": "xyz789",
"number_account": "abc123",
"user_name_account": "abc123",
"user_rut_account": "xyz789",
"email_account": "xyz789",
"financial_entity_account": "abc123",
"sender_user_name": "xyz789",
"sender_user_rut": "abc123",
"file": "abc123"
}
Response
{
"data": {
"createPaymentCourseOwner": {
"amount": 123.45,
"course_id": 123,
"course_title": "xyz789",
"created_at": 123,
"description": "abc123",
"email_account": "xyz789",
"file": "xyz789",
"financial_entity_account": "abc123",
"id": "4",
"month": 123,
"number_account": "xyz789",
"payment_id": "xyz789",
"sender_user_name": "abc123",
"sender_user_rut": "xyz789",
"user_id": 987,
"user_name": "xyz789",
"user_name_account": "xyz789",
"user_rut_account": "xyz789",
"year": 123
}
}
}
createPaymentPreference
createQuestionAnswer
Response
Returns a QuestionAnswer!
Example
Query
mutation createQuestionAnswer(
$answer_id: ID!,
$question_id: ID!,
$option_id: ID!
) {
createQuestionAnswer(
answer_id: $answer_id,
question_id: $question_id,
option_id: $option_id
) {
answer {
...AnswerFragment
}
answer_id
correct
id
option {
...OptionFragment
}
option_id
question {
...QuestionFragment
}
question_id
}
}
Variables
{
"answer_id": 4,
"question_id": "4",
"option_id": 4
}
Response
{
"data": {
"createQuestionAnswer": {
"answer": Answer,
"answer_id": 4,
"correct": true,
"id": 4,
"option": Option,
"option_id": 4,
"question": Question,
"question_id": 4
}
}
}
createRequirements
Response
Returns a RequirementType!
Example
Query
mutation createRequirements(
$title: JSON,
$course_id: ID
) {
createRequirements(
title: $title,
course_id: $course_id
) {
description
id
locale_titles
title
}
}
Variables
{"title": {}, "course_id": "4"}
Response
{
"data": {
"createRequirements": {
"description": "abc123",
"id": "4",
"locale_titles": {},
"title": {}
}
}
}
createReview
Response
Returns a Review!
Example
Query
mutation createReview(
$course_id: ID!,
$stars: Int!,
$description: String
) {
createReview(
course_id: $course_id,
stars: $stars,
description: $description
) {
course {
...CourseFragment
}
course_id
description
id
stars
user {
...UserFragment
}
user_id
}
}
Variables
{
"course_id": 4,
"stars": 987,
"description": "xyz789"
}
Response
{
"data": {
"createReview": {
"course": Course,
"course_id": "4",
"description": "xyz789",
"id": "4",
"stars": 123,
"user": User,
"user_id": "4"
}
}
}
createScale
Response
Returns a Scale
Example
Query
mutation createScale(
$description: String!,
$name: String!,
$min_value: Float!,
$max_value: Float!,
$required_value: Float!,
$requires_description: Boolean!,
$value_type: String!
) {
createScale(
description: $description,
name: $name,
min_value: $min_value,
max_value: $max_value,
required_value: $required_value,
requires_description: $requires_description,
value_type: $value_type
) {
description
id
max_value
min_value
name
required_value
requires_description
value_type
}
}
Variables
{
"description": "xyz789",
"name": "xyz789",
"min_value": 987.65,
"max_value": 123.45,
"required_value": 987.65,
"requires_description": true,
"value_type": "xyz789"
}
Response
{
"data": {
"createScale": {
"description": "abc123",
"id": 4,
"max_value": 987,
"min_value": 123,
"name": "abc123",
"required_value": 987,
"requires_description": true,
"value_type": "xyz789"
}
}
}
createStage
Response
Returns a Stage!
Example
Query
mutation createStage(
$course_id: ID!,
$title: JSON!,
$description: JSON,
$previous_stage_id: ID
) {
createStage(
course_id: $course_id,
title: $title,
description: $description,
previous_stage_id: $previous_stage_id
) {
audios {
...TutorialAudioFragment
}
course {
...CourseFragment
}
course_id
description
docs {
...TutorialDocFragment
}
exercise {
...ExerciseFragment
}
id
images {
...TutorialImageFragment
}
is_everyone_evaluate
locale_descriptions
locale_titles
next_stage {
...StageFragment
}
position
previous_stage {
...StageFragment
}
stage_preview_images {
...PreviewImageFragment
}
title
tutorial_articulate {
...TutorialArticulateFragment
}
tutorial_videos {
...TutorialVideoFragment
}
}
}
Variables
{
"course_id": "4",
"title": {},
"description": {},
"previous_stage_id": "4"
}
Response
{
"data": {
"createStage": {
"audios": [TutorialAudio],
"course": Course,
"course_id": 4,
"description": {},
"docs": [TutorialDoc],
"exercise": Exercise,
"id": 4,
"images": [TutorialImage],
"is_everyone_evaluate": false,
"locale_descriptions": {},
"locale_titles": {},
"next_stage": Stage,
"position": 123,
"previous_stage": Stage,
"stage_preview_images": [PreviewImage],
"title": {},
"tutorial_articulate": [TutorialArticulate],
"tutorial_videos": [TutorialVideo]
}
}
}
createStageNotification
Example
Query
mutation createStageNotification(
$course_id: Int!,
$stage_id: Int!
) {
createStageNotification(
course_id: $course_id,
stage_id: $stage_id
)
}
Variables
{"course_id": 987, "stage_id": 987}
Response
{"data": {"createStageNotification": true}}
createTrainTheTrainerExercise
Response
Returns a TrainTheTrainerExercise!
Example
Query
mutation createTrainTheTrainerExercise(
$exercise_id: ID!,
$title: String!,
$video_link: String!
) {
createTrainTheTrainerExercise(
exercise_id: $exercise_id,
title: $title,
video_link: $video_link
) {
exercise_id
id
title
updated_at
video_link
}
}
Variables
{
"exercise_id": "4",
"title": "xyz789",
"video_link": "abc123"
}
Response
{
"data": {
"createTrainTheTrainerExercise": {
"exercise_id": "4",
"id": 4,
"title": "abc123",
"updated_at": 987,
"video_link": "xyz789"
}
}
}
createTranscodeJob
createUser
Response
Returns a User
Arguments
Name | Description |
---|---|
email - String!
|
|
password - String!
|
|
name - String
|
|
lastname - String
|
|
birth_date - String
|
|
about - String
|
|
sex - Sex
|
|
profile_image_link - String
|
|
paypal_email - String
|
|
max_courses - Int
|
|
role - Int
|
|
uid - String
|
|
provider - String
|
|
role_id - ID
|
|
belong_to_user_id - ID
|
|
address - String
|
|
image - String
|
|
presentation_video - String
|
|
country - String
|
Example
Query
mutation createUser(
$email: String!,
$password: String!,
$name: String,
$lastname: String,
$birth_date: String,
$about: String,
$sex: Sex,
$profile_image_link: String,
$paypal_email: String,
$max_courses: Int,
$role: Int,
$uid: String,
$provider: String,
$role_id: ID,
$belong_to_user_id: ID,
$address: String,
$image: String,
$presentation_video: String,
$country: String
) {
createUser(
email: $email,
password: $password,
name: $name,
lastname: $lastname,
birth_date: $birth_date,
about: $about,
sex: $sex,
profile_image_link: $profile_image_link,
paypal_email: $paypal_email,
max_courses: $max_courses,
role: $role,
uid: $uid,
provider: $provider,
role_id: $role_id,
belong_to_user_id: $belong_to_user_id,
address: $address,
image: $image,
presentation_video: $presentation_video,
country: $country
) {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Variables
{
"email": "xyz789",
"password": "xyz789",
"name": "abc123",
"lastname": "xyz789",
"birth_date": "abc123",
"about": "abc123",
"sex": "MALE",
"profile_image_link": "abc123",
"paypal_email": "xyz789",
"max_courses": 987,
"role": 123,
"uid": "xyz789",
"provider": "abc123",
"role_id": 4,
"belong_to_user_id": "4",
"address": "abc123",
"image": "abc123",
"presentation_video": "abc123",
"country": "xyz789"
}
Response
{
"data": {
"createUser": {
"about": "abc123",
"academic_degree": "xyz789",
"accepted_requests": [Course],
"accepted_terms": true,
"address": "xyz789",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": true,
"authorized_create_course_by_establishments": true,
"available_courses": 987,
"available_licenses": 123,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 987,
"birth_date": "xyz789",
"color": "xyz789",
"country": "abc123",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "abc123",
"dynamic_labels": [DynamicLabel],
"email": "abc123",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": "4",
"identity_number": "xyz789",
"image": "abc123",
"in_training_courses": [Course],
"institution": "abc123",
"institution_code": "xyz789",
"internal_users": [User],
"is_superadmin": true,
"last_login": "xyz789",
"lastname": "xyz789",
"licenses": 123,
"linkedin": "abc123",
"lms_user_id": "xyz789",
"locale": "xyz789",
"max_courses": 123,
"name": "abc123",
"notifications": [Notification],
"onboarding": false,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "abc123",
"pending_requests": [Course],
"presentation_video": "xyz789",
"profession": "abc123",
"profile_image_link": "xyz789",
"provider": "xyz789",
"rating": 987,
"rejected_requests": [Course],
"requests": [Request],
"role": "abc123",
"role_id": 987,
"second_admin_courses": [Course],
"sex": "abc123",
"state": "xyz789",
"status_id": "xyz789",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 987,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 987,
"video_size": 123.45,
"video_size_without_compress": 123.45,
"work_place": "xyz789"
}
}
}
createUserStage
Example
Query
mutation createUserStage($stage_id: ID) {
createUserStage(stage_id: $stage_id) {
accepted_terms
stage {
...StageFragment
}
}
}
Variables
{"stage_id": 4}
Response
{
"data": {
"createUserStage": {
"accepted_terms": true,
"stage": Stage
}
}
}
createView
Response
Returns a view
Example
Query
mutation createView(
$user_id: ID!,
$view: String,
$readyTutorial: Boolean
) {
createView(
user_id: $user_id,
view: $view,
readyTutorial: $readyTutorial
) {
id
readyTutorial
user_id
view
}
}
Variables
{
"user_id": 4,
"view": "abc123",
"readyTutorial": false
}
Response
{
"data": {
"createView": {
"id": 4,
"readyTutorial": false,
"user_id": "4",
"view": "xyz789"
}
}
}
createWatchVideosAnswer
Example
Query
mutation createWatchVideosAnswer($exercise_id: ID!) {
createWatchVideosAnswer(exercise_id: $exercise_id) {
created_at
evaluated
evaluation_group {
...EvaluationGroupFragment
}
evaluation_group_id
everyone_evaluate_student_feedbacks {
...FeedbackFragment
}
exercise {
...ExerciseFragment
}
exercise_id
feedback {
...FeedbackFragment
}
id
notes
question_answers {
...QuestionAnswerFragment
}
seen_by_teacher
try_number
updated_at
user {
...UserFragment
}
user_course_status_stage {
...UserCourseStatusStageFragment
}
user_id
video_duration
video_link
video_size
video_size_without_compress
}
}
Variables
{"exercise_id": "4"}
Response
{
"data": {
"createWatchVideosAnswer": {
"created_at": 987,
"evaluated": true,
"evaluation_group": EvaluationGroup,
"evaluation_group_id": 4,
"everyone_evaluate_student_feedbacks": [Feedback],
"exercise": Exercise,
"exercise_id": 4,
"feedback": Feedback,
"id": "4",
"notes": "xyz789",
"question_answers": [QuestionAnswer],
"seen_by_teacher": true,
"try_number": 123,
"updated_at": 123,
"user": User,
"user_course_status_stage": [UserCourseStatusStage],
"user_id": 4,
"video_duration": 123,
"video_link": ["xyz789"],
"video_size": 123.45,
"video_size_without_compress": 123.45
}
}
}
create_likes
Example
Query
mutation create_likes($course_id: ID!) {
create_likes(course_id: $course_id) {
course_id {
...CourseFragment
}
id
user_id {
...UserFragment
}
}
}
Variables
{"course_id": 4}
Response
{
"data": {
"create_likes": {
"course_id": Course,
"id": 4,
"user_id": User
}
}
}
deleteAchievementIndicator
Example
Query
mutation deleteAchievementIndicator($achievement_indicator_id: ID!) {
deleteAchievementIndicator(achievement_indicator_id: $achievement_indicator_id)
}
Variables
{"achievement_indicator_id": "4"}
Response
{"data": {"deleteAchievementIndicator": false}}
deleteCommonMistake
Response
Returns a CommonMistake
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
mutation deleteCommonMistake($id: ID!) {
deleteCommonMistake(id: $id) {
approved
author {
...UserFragment
}
author_id
course {
...CourseFragment
}
course_id
description
id
link
locale_descriptions
locale_titles
title
video_duration
video_size
video_size_without_compress
}
}
Variables
{"id": 4}
Response
{
"data": {
"deleteCommonMistake": {
"approved": true,
"author": User,
"author_id": 4,
"course": Course,
"course_id": 4,
"description": {},
"id": "4",
"link": "abc123",
"locale_descriptions": {},
"locale_titles": {},
"title": {},
"video_duration": 987,
"video_size": 987.65,
"video_size_without_compress": 987.65
}
}
}
deleteCourse
Example
Query
mutation deleteCourse($id: ID!) {
deleteCourse(id: $id) {
accepted_terms_payments
active_students {
...UserFragment
}
active_students_count
admin {
...UserFragment
}
admin_id
admissions_fee
ai_available_by_courses {
...AiAvailableByCourseTypeFragment
}
answers_count
available_languages
available_throughout_faculty
blind_evaluation
categories {
...CategoryFragment
}
category_ids
common_mistakes {
...CommonMistakeFragment
}
course_preview_images {
...PreviewImageFragment
}
created_at
default_language
description
discount_code {
...DiscountCodeFragment
}
discount_code_id
double_video_answers
duration
end_date
establishment {
...EstablishmentFragment
}
everyone_evaluate_id
failed_students {
...UserFragment
}
goal
has_evaluation_group_stages
has_everyone_evaluate_stages
id
is_closed_course
is_train_the_trainer
learn_list
lms_academic_period
lms_course_id
lms_course_type_id
lms_event_id
lms_id
lms_master_id
locale_descriptions
locale_learn_list
locale_titles
next_course {
...CourseFragment
}
number_of_students
parent_course {
...CourseFragment
}
passed_students {
...UserFragment
}
peer_review
pending_answer_to_evaluate_by_user
pending_request
pending_requests {
...RequestFragment
}
position
presentation_video
privacy_rule
published
random_student_assigment
requests {
...RequestFragment
}
requirement_course {
...CourseFragment
}
requirements {
...RequirementTypeFragment
}
review_avg
reviews {
...ReviewFragment
}
score
second_admin_id
sequential_stages
stages {
...StageFragment
}
start_date
student_capacity
student_upload
teachers {
...UserFragment
}
teachers_in_training {
...UserFragment
}
title
updated_at
updated_at_table
user {
...UserFragment
}
user_requests {
...UserFragment
}
video_duration
video_size
video_size_without_compress
}
}
Variables
{"id": "4"}
Response
{
"data": {
"deleteCourse": {
"accepted_terms_payments": true,
"active_students": [User],
"active_students_count": 987,
"admin": User,
"admin_id": 987,
"admissions_fee": 987.65,
"ai_available_by_courses": [
AiAvailableByCourseType
],
"answers_count": 987,
"available_languages": ["abc123"],
"available_throughout_faculty": 123,
"blind_evaluation": true,
"categories": [Category],
"category_ids": ["4"],
"common_mistakes": [CommonMistake],
"course_preview_images": [PreviewImage],
"created_at": 123,
"default_language": "abc123",
"description": {},
"discount_code": DiscountCode,
"discount_code_id": 987,
"double_video_answers": false,
"duration": "abc123",
"end_date": "xyz789",
"establishment": Establishment,
"everyone_evaluate_id": 123,
"failed_students": [User],
"goal": "xyz789",
"has_evaluation_group_stages": true,
"has_everyone_evaluate_stages": true,
"id": 4,
"is_closed_course": false,
"is_train_the_trainer": false,
"learn_list": {},
"lms_academic_period": "xyz789",
"lms_course_id": "abc123",
"lms_course_type_id": 987,
"lms_event_id": "abc123",
"lms_id": "abc123",
"lms_master_id": "abc123",
"locale_descriptions": {},
"locale_learn_list": {},
"locale_titles": {},
"next_course": [Course],
"number_of_students": 987,
"parent_course": Course,
"passed_students": [User],
"peer_review": true,
"pending_answer_to_evaluate_by_user": 987,
"pending_request": 987,
"pending_requests": [Request],
"position": 123,
"presentation_video": "xyz789",
"privacy_rule": "abc123",
"published": false,
"random_student_assigment": true,
"requests": [Request],
"requirement_course": [Course],
"requirements": [RequirementType],
"review_avg": 987.65,
"reviews": [Review],
"score": 123,
"second_admin_id": 123,
"sequential_stages": false,
"stages": [Stage],
"start_date": "xyz789",
"student_capacity": 123,
"student_upload": false,
"teachers": [User],
"teachers_in_training": [User],
"title": {},
"updated_at": "xyz789",
"updated_at_table": 987,
"user": [User],
"user_requests": [User],
"video_duration": 987,
"video_size": 123.45,
"video_size_without_compress": 123.45
}
}
}
deleteEstablishment
Response
Returns an Establishment
Arguments
Name | Description |
---|---|
id - ID
|
Example
Query
mutation deleteEstablishment($id: ID) {
deleteEstablishment(id: $id) {
available_courses
available_licenses
courses {
...CourseFragment
}
id
image
licenses
max_courses
name
university {
...UniversityFragment
}
university_id
user {
...UserFragment
}
user_id
}
}
Variables
{"id": "4"}
Response
{
"data": {
"deleteEstablishment": {
"available_courses": 123,
"available_licenses": 987,
"courses": [Course],
"id": "4",
"image": "abc123",
"licenses": 987,
"max_courses": 987,
"name": "xyz789",
"university": University,
"university_id": "4",
"user": User,
"user_id": "4"
}
}
}
deleteFavouriteItem
Response
Returns a FavouriteItemType
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
mutation deleteFavouriteItem($id: ID!) {
deleteFavouriteItem(id: $id) {
descriptions
descriptions_values
id
item_id
locale_descriptions
locale_names
max_value
min_value
name
req_value
scale_id
user_id
}
}
Variables
{"id": "4"}
Response
{
"data": {
"deleteFavouriteItem": {
"descriptions": {},
"descriptions_values": ["abc123"],
"id": 4,
"item_id": 987,
"locale_descriptions": {},
"locale_names": {},
"max_value": 123.45,
"min_value": 987.65,
"name": {},
"req_value": 123.45,
"scale_id": "abc123",
"user_id": 987
}
}
}
deleteForum
deleteLikes
deleteLmsScoreBook
deleteRequirements
deleteStage
Example
Query
mutation deleteStage($id: ID!) {
deleteStage(id: $id) {
audios {
...TutorialAudioFragment
}
course {
...CourseFragment
}
course_id
description
docs {
...TutorialDocFragment
}
exercise {
...ExerciseFragment
}
id
images {
...TutorialImageFragment
}
is_everyone_evaluate
locale_descriptions
locale_titles
next_stage {
...StageFragment
}
position
previous_stage {
...StageFragment
}
stage_preview_images {
...PreviewImageFragment
}
title
tutorial_articulate {
...TutorialArticulateFragment
}
tutorial_videos {
...TutorialVideoFragment
}
}
}
Variables
{"id": 4}
Response
{
"data": {
"deleteStage": {
"audios": [TutorialAudio],
"course": Course,
"course_id": 4,
"description": {},
"docs": [TutorialDoc],
"exercise": Exercise,
"id": 4,
"images": [TutorialImage],
"is_everyone_evaluate": true,
"locale_descriptions": {},
"locale_titles": {},
"next_stage": Stage,
"position": 987,
"previous_stage": Stage,
"stage_preview_images": [PreviewImage],
"title": {},
"tutorial_articulate": [TutorialArticulate],
"tutorial_videos": [TutorialVideo]
}
}
}
deleteTutorialVideo
Response
Returns a TutorialVideo
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
mutation deleteTutorialVideo($id: ID!) {
deleteTutorialVideo(id: $id) {
description
id
link
locale_descriptions
locale_titles
stage_id
title
tutorial_audios {
...TutorialAudioFragment
}
tutorial_docs {
...TutorialDocFragment
}
tutorial_images {
...TutorialImageFragment
}
updated_at
video_duration
video_size
video_size_without_compress
}
}
Variables
{"id": 4}
Response
{
"data": {
"deleteTutorialVideo": {
"description": {},
"id": 4,
"link": "abc123",
"locale_descriptions": {},
"locale_titles": {},
"stage_id": "4",
"title": {},
"tutorial_audios": [TutorialAudio],
"tutorial_docs": [TutorialDoc],
"tutorial_images": [TutorialImage],
"updated_at": 987,
"video_duration": 123,
"video_size": 987.65,
"video_size_without_compress": 123.45
}
}
}
deleteUser
Example
Query
mutation deleteUser($id: ID!) {
deleteUser(id: $id) {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Variables
{"id": 4}
Response
{
"data": {
"deleteUser": {
"about": "xyz789",
"academic_degree": "abc123",
"accepted_requests": [Course],
"accepted_terms": false,
"address": "abc123",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": false,
"authorized_create_course_by_establishments": true,
"available_courses": 123,
"available_licenses": 123,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 123,
"birth_date": "abc123",
"color": "xyz789",
"country": "abc123",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "abc123",
"dynamic_labels": [DynamicLabel],
"email": "xyz789",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": "4",
"identity_number": "xyz789",
"image": "xyz789",
"in_training_courses": [Course],
"institution": "xyz789",
"institution_code": "xyz789",
"internal_users": [User],
"is_superadmin": false,
"last_login": "abc123",
"lastname": "xyz789",
"licenses": 123,
"linkedin": "xyz789",
"lms_user_id": "xyz789",
"locale": "xyz789",
"max_courses": 123,
"name": "xyz789",
"notifications": [Notification],
"onboarding": true,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "xyz789",
"pending_requests": [Course],
"presentation_video": "xyz789",
"profession": "abc123",
"profile_image_link": "abc123",
"provider": "abc123",
"rating": 987,
"rejected_requests": [Course],
"requests": [Request],
"role": "xyz789",
"role_id": 987,
"second_admin_courses": [Course],
"sex": "xyz789",
"state": "xyz789",
"status_id": "xyz789",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 123,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 987,
"video_size": 123.45,
"video_size_without_compress": 987.65,
"work_place": "xyz789"
}
}
}
deleteUserEstablishment
Response
Returns an Establishment
Arguments
Name | Description |
---|---|
user_id - ID!
|
Example
Query
mutation deleteUserEstablishment($user_id: ID!) {
deleteUserEstablishment(user_id: $user_id) {
available_courses
available_licenses
courses {
...CourseFragment
}
id
image
licenses
max_courses
name
university {
...UniversityFragment
}
university_id
user {
...UserFragment
}
user_id
}
}
Variables
{"user_id": "4"}
Response
{
"data": {
"deleteUserEstablishment": {
"available_courses": 123,
"available_licenses": 123,
"courses": [Course],
"id": "4",
"image": "xyz789",
"licenses": 987,
"max_courses": 987,
"name": "abc123",
"university": University,
"university_id": "4",
"user": User,
"user_id": "4"
}
}
}
destroyCourse
destroyCoursePreviewImage
Example
Query
mutation destroyCoursePreviewImage($course_preview_image_id: ID!) {
destroyCoursePreviewImage(course_preview_image_id: $course_preview_image_id)
}
Variables
{"course_preview_image_id": "4"}
Response
{"data": {"destroyCoursePreviewImage": false}}
destroyReview
Example
Query
mutation destroyReview($review_id: ID!) {
destroyReview(review_id: $review_id) {
course {
...CourseFragment
}
course_id
description
id
stars
user {
...UserFragment
}
user_id
}
}
Variables
{"review_id": "4"}
Response
{
"data": {
"destroyReview": {
"course": Course,
"course_id": 4,
"description": "abc123",
"id": "4",
"stars": 987,
"user": User,
"user_id": "4"
}
}
}
destroyStage
destroyStagePreviewImage
Example
Query
mutation destroyStagePreviewImage($stage_preview_image_id: ID!) {
destroyStagePreviewImage(stage_preview_image_id: $stage_preview_image_id)
}
Variables
{"stage_preview_image_id": 4}
Response
{"data": {"destroyStagePreviewImage": true}}
duplicateCourse
editAchievementIndicator
Response
Returns a Boolean!
Example
Query
mutation editAchievementIndicator(
$achievement_indicator_id: ID!,
$label: String,
$percentage: Float!,
$name: String!
) {
editAchievementIndicator(
achievement_indicator_id: $achievement_indicator_id,
label: $label,
percentage: $percentage,
name: $name
)
}
Variables
{
"achievement_indicator_id": "4",
"label": "xyz789",
"percentage": 987.65,
"name": "abc123"
}
Response
{"data": {"editAchievementIndicator": false}}
editAiTeach1ProcessingResult
Response
Returns an AiTeach1ProcessingResult
Example
Query
mutation editAiTeach1ProcessingResult(
$id: ID!,
$status_by_user: String,
$feedback_suggested_edited: String
) {
editAiTeach1ProcessingResult(
id: $id,
status_by_user: $status_by_user,
feedback_suggested_edited: $feedback_suggested_edited
) {
ai_teach1_processing {
...AiTeach1ProcessingFragment
}
ai_teach1_processing_id
created_at
description
feedback_suggested
feedback_suggested_edited
id
significance
status_by_user
timestamp_seconds
updated_at
}
}
Variables
{
"id": "4",
"status_by_user": "abc123",
"feedback_suggested_edited": "xyz789"
}
Response
{
"data": {
"editAiTeach1ProcessingResult": {
"ai_teach1_processing": AiTeach1Processing,
"ai_teach1_processing_id": "4",
"created_at": 987,
"description": "abc123",
"feedback_suggested": "abc123",
"feedback_suggested_edited": "xyz789",
"id": 4,
"significance": "xyz789",
"status_by_user": "abc123",
"timestamp_seconds": 987,
"updated_at": 987
}
}
}
editAnswer
Response
Returns an Answer!
Example
Query
mutation editAnswer(
$answer_id: ID!,
$video_link: [String]!,
$notes: String,
$video_duration: Int,
$video_size: Float,
$video_size_without_compress: Float
) {
editAnswer(
answer_id: $answer_id,
video_link: $video_link,
notes: $notes,
video_duration: $video_duration,
video_size: $video_size,
video_size_without_compress: $video_size_without_compress
) {
created_at
evaluated
evaluation_group {
...EvaluationGroupFragment
}
evaluation_group_id
everyone_evaluate_student_feedbacks {
...FeedbackFragment
}
exercise {
...ExerciseFragment
}
exercise_id
feedback {
...FeedbackFragment
}
id
notes
question_answers {
...QuestionAnswerFragment
}
seen_by_teacher
try_number
updated_at
user {
...UserFragment
}
user_course_status_stage {
...UserCourseStatusStageFragment
}
user_id
video_duration
video_link
video_size
video_size_without_compress
}
}
Variables
{
"answer_id": "4",
"video_link": ["abc123"],
"notes": "abc123",
"video_duration": 987,
"video_size": 123.45,
"video_size_without_compress": 123.45
}
Response
{
"data": {
"editAnswer": {
"created_at": 123,
"evaluated": false,
"evaluation_group": EvaluationGroup,
"evaluation_group_id": "4",
"everyone_evaluate_student_feedbacks": [Feedback],
"exercise": Exercise,
"exercise_id": 4,
"feedback": Feedback,
"id": "4",
"notes": "xyz789",
"question_answers": [QuestionAnswer],
"seen_by_teacher": false,
"try_number": 123,
"updated_at": 987,
"user": User,
"user_course_status_stage": [UserCourseStatusStage],
"user_id": 4,
"video_duration": 123,
"video_link": ["xyz789"],
"video_size": 987.65,
"video_size_without_compress": 123.45
}
}
}
editAnswerVideoSize
Example
Query
mutation editAnswerVideoSize(
$answer_id: ID!,
$video_size: Float!
) {
editAnswerVideoSize(
answer_id: $answer_id,
video_size: $video_size
)
}
Variables
{"answer_id": "4", "video_size": 987.65}
Response
{"data": {"editAnswerVideoSize": true}}
editCommonMistake
Response
Returns a CommonMistake!
Example
Query
mutation editCommonMistake(
$common_mistake_id: ID!,
$link: String,
$title: JSON,
$description: JSON,
$approved: Boolean,
$video_duration: Int,
$video_size: Float,
$video_size_without_compress: Float
) {
editCommonMistake(
common_mistake_id: $common_mistake_id,
link: $link,
title: $title,
description: $description,
approved: $approved,
video_duration: $video_duration,
video_size: $video_size,
video_size_without_compress: $video_size_without_compress
) {
approved
author {
...UserFragment
}
author_id
course {
...CourseFragment
}
course_id
description
id
link
locale_descriptions
locale_titles
title
video_duration
video_size
video_size_without_compress
}
}
Variables
{
"common_mistake_id": "4",
"link": "abc123",
"title": {},
"description": {},
"approved": true,
"video_duration": 123,
"video_size": 987.65,
"video_size_without_compress": 123.45
}
Response
{
"data": {
"editCommonMistake": {
"approved": true,
"author": User,
"author_id": "4",
"course": Course,
"course_id": "4",
"description": {},
"id": "4",
"link": "xyz789",
"locale_descriptions": {},
"locale_titles": {},
"title": {},
"video_duration": 123,
"video_size": 123.45,
"video_size_without_compress": 123.45
}
}
}
editCommonMistakeVideoSize
Example
Query
mutation editCommonMistakeVideoSize(
$common_mistake_id: ID!,
$video_size: Float!
) {
editCommonMistakeVideoSize(
common_mistake_id: $common_mistake_id,
video_size: $video_size
)
}
Variables
{
"common_mistake_id": "4",
"video_size": 987.65
}
Response
{"data": {"editCommonMistakeVideoSize": false}}
editCourse
Response
Returns a Course!
Arguments
Name | Description |
---|---|
id - ID!
|
|
title - JSON
|
|
student_capacity - Int
|
|
categories - [ID]
|
|
lms_course_type_id - Int
|
|
learn_list - [String]
|
|
presentation_video - String
|
|
description - JSON
|
|
goal - String
|
|
image_link - String
|
|
sequential_stages - Boolean
|
|
is_train_the_trainer - Boolean
|
|
is_closed_course - Boolean
|
|
student_upload - Boolean
|
|
start_date - String
|
|
end_date - String
|
|
admissions_fee - Int
|
|
published - Boolean
|
|
blind_evaluation - Boolean
|
|
available_throughout_faculty - Int
|
|
available_languages - [String]
|
|
random_student_assigment - Boolean
|
|
privacy_rule - String
|
|
accepted_terms_payments - Boolean
|
|
peer_review - Boolean
|
|
video_duration - Int
|
|
video_size - Float
|
|
video_size_without_compress - Float
|
|
double_video_answers - Boolean
|
Example
Query
mutation editCourse(
$id: ID!,
$title: JSON,
$student_capacity: Int,
$categories: [ID],
$lms_course_type_id: Int,
$learn_list: [String],
$presentation_video: String,
$description: JSON,
$goal: String,
$image_link: String,
$sequential_stages: Boolean,
$is_train_the_trainer: Boolean,
$is_closed_course: Boolean,
$student_upload: Boolean,
$start_date: String,
$end_date: String,
$admissions_fee: Int,
$published: Boolean,
$blind_evaluation: Boolean,
$available_throughout_faculty: Int,
$available_languages: [String],
$random_student_assigment: Boolean,
$privacy_rule: String,
$accepted_terms_payments: Boolean,
$peer_review: Boolean,
$video_duration: Int,
$video_size: Float,
$video_size_without_compress: Float,
$double_video_answers: Boolean
) {
editCourse(
id: $id,
title: $title,
student_capacity: $student_capacity,
categories: $categories,
lms_course_type_id: $lms_course_type_id,
learn_list: $learn_list,
presentation_video: $presentation_video,
description: $description,
goal: $goal,
image_link: $image_link,
sequential_stages: $sequential_stages,
is_train_the_trainer: $is_train_the_trainer,
is_closed_course: $is_closed_course,
student_upload: $student_upload,
start_date: $start_date,
end_date: $end_date,
admissions_fee: $admissions_fee,
published: $published,
blind_evaluation: $blind_evaluation,
available_throughout_faculty: $available_throughout_faculty,
available_languages: $available_languages,
random_student_assigment: $random_student_assigment,
privacy_rule: $privacy_rule,
accepted_terms_payments: $accepted_terms_payments,
peer_review: $peer_review,
video_duration: $video_duration,
video_size: $video_size,
video_size_without_compress: $video_size_without_compress,
double_video_answers: $double_video_answers
) {
accepted_terms_payments
active_students {
...UserFragment
}
active_students_count
admin {
...UserFragment
}
admin_id
admissions_fee
ai_available_by_courses {
...AiAvailableByCourseTypeFragment
}
answers_count
available_languages
available_throughout_faculty
blind_evaluation
categories {
...CategoryFragment
}
category_ids
common_mistakes {
...CommonMistakeFragment
}
course_preview_images {
...PreviewImageFragment
}
created_at
default_language
description
discount_code {
...DiscountCodeFragment
}
discount_code_id
double_video_answers
duration
end_date
establishment {
...EstablishmentFragment
}
everyone_evaluate_id
failed_students {
...UserFragment
}
goal
has_evaluation_group_stages
has_everyone_evaluate_stages
id
is_closed_course
is_train_the_trainer
learn_list
lms_academic_period
lms_course_id
lms_course_type_id
lms_event_id
lms_id
lms_master_id
locale_descriptions
locale_learn_list
locale_titles
next_course {
...CourseFragment
}
number_of_students
parent_course {
...CourseFragment
}
passed_students {
...UserFragment
}
peer_review
pending_answer_to_evaluate_by_user
pending_request
pending_requests {
...RequestFragment
}
position
presentation_video
privacy_rule
published
random_student_assigment
requests {
...RequestFragment
}
requirement_course {
...CourseFragment
}
requirements {
...RequirementTypeFragment
}
review_avg
reviews {
...ReviewFragment
}
score
second_admin_id
sequential_stages
stages {
...StageFragment
}
start_date
student_capacity
student_upload
teachers {
...UserFragment
}
teachers_in_training {
...UserFragment
}
title
updated_at
updated_at_table
user {
...UserFragment
}
user_requests {
...UserFragment
}
video_duration
video_size
video_size_without_compress
}
}
Variables
{
"id": 4,
"title": {},
"student_capacity": 123,
"categories": ["4"],
"lms_course_type_id": 123,
"learn_list": ["xyz789"],
"presentation_video": "xyz789",
"description": {},
"goal": "abc123",
"image_link": "xyz789",
"sequential_stages": false,
"is_train_the_trainer": false,
"is_closed_course": false,
"student_upload": true,
"start_date": "xyz789",
"end_date": "abc123",
"admissions_fee": 123,
"published": false,
"blind_evaluation": false,
"available_throughout_faculty": 123,
"available_languages": ["abc123"],
"random_student_assigment": false,
"privacy_rule": "abc123",
"accepted_terms_payments": true,
"peer_review": false,
"video_duration": 987,
"video_size": 123.45,
"video_size_without_compress": 987.65,
"double_video_answers": true
}
Response
{
"data": {
"editCourse": {
"accepted_terms_payments": true,
"active_students": [User],
"active_students_count": 987,
"admin": User,
"admin_id": 123,
"admissions_fee": 987.65,
"ai_available_by_courses": [
AiAvailableByCourseType
],
"answers_count": 123,
"available_languages": ["abc123"],
"available_throughout_faculty": 987,
"blind_evaluation": false,
"categories": [Category],
"category_ids": [4],
"common_mistakes": [CommonMistake],
"course_preview_images": [PreviewImage],
"created_at": 987,
"default_language": "abc123",
"description": {},
"discount_code": DiscountCode,
"discount_code_id": 123,
"double_video_answers": false,
"duration": "abc123",
"end_date": "abc123",
"establishment": Establishment,
"everyone_evaluate_id": 987,
"failed_students": [User],
"goal": "abc123",
"has_evaluation_group_stages": false,
"has_everyone_evaluate_stages": false,
"id": "4",
"is_closed_course": false,
"is_train_the_trainer": true,
"learn_list": {},
"lms_academic_period": "abc123",
"lms_course_id": "abc123",
"lms_course_type_id": 987,
"lms_event_id": "abc123",
"lms_id": "xyz789",
"lms_master_id": "abc123",
"locale_descriptions": {},
"locale_learn_list": {},
"locale_titles": {},
"next_course": [Course],
"number_of_students": 987,
"parent_course": Course,
"passed_students": [User],
"peer_review": true,
"pending_answer_to_evaluate_by_user": 987,
"pending_request": 123,
"pending_requests": [Request],
"position": 987,
"presentation_video": "abc123",
"privacy_rule": "abc123",
"published": false,
"random_student_assigment": false,
"requests": [Request],
"requirement_course": [Course],
"requirements": [RequirementType],
"review_avg": 123.45,
"reviews": [Review],
"score": 987,
"second_admin_id": 987,
"sequential_stages": true,
"stages": [Stage],
"start_date": "abc123",
"student_capacity": 987,
"student_upload": false,
"teachers": [User],
"teachers_in_training": [User],
"title": {},
"updated_at": "xyz789",
"updated_at_table": 987,
"user": [User],
"user_requests": [User],
"video_duration": 123,
"video_size": 987.65,
"video_size_without_compress": 987.65
}
}
}
editCoursePresentationVideoSize
Example
Query
mutation editCoursePresentationVideoSize(
$course_id: ID!,
$video_size: Float!
) {
editCoursePresentationVideoSize(
course_id: $course_id,
video_size: $video_size
)
}
Variables
{"course_id": "4", "video_size": 987.65}
Response
{"data": {"editCoursePresentationVideoSize": false}}
editEvaluationGroup
Response
Returns an EvaluationGroup
Example
Query
mutation editEvaluationGroup(
$evaluation_group_id: ID!,
$user_ids: [ID]!,
$course_id: ID!,
$reason_for_action: String
) {
editEvaluationGroup(
evaluation_group_id: $evaluation_group_id,
user_ids: $user_ids,
course_id: $course_id,
reason_for_action: $reason_for_action
) {
evaluation_group_setting {
...EvaluationGroupSettingTypeFragment
}
evaluation_group_setting_id
id
user_evaluation_groups {
...UserEvaluationGroupFragment
}
}
}
Variables
{
"evaluation_group_id": 4,
"user_ids": [4],
"course_id": "4",
"reason_for_action": "xyz789"
}
Response
{
"data": {
"editEvaluationGroup": {
"evaluation_group_setting": EvaluationGroupSettingType,
"evaluation_group_setting_id": 123,
"id": 4,
"user_evaluation_groups": [UserEvaluationGroup]
}
}
}
editEvaluationGroupSetting
Response
Returns an EvaluationGroupSettingType!
Example
Query
mutation editEvaluationGroupSetting(
$evaluation_group_setting_id: ID!,
$stage_id: ID!,
$max_number_of_members: Int,
$assignment_type: String!
) {
editEvaluationGroupSetting(
evaluation_group_setting_id: $evaluation_group_setting_id,
stage_id: $stage_id,
max_number_of_members: $max_number_of_members,
assignment_type: $assignment_type
) {
assignment_type
exercise {
...ExerciseFragment
}
exercise_id
id
max_number_of_members
}
}
Variables
{
"evaluation_group_setting_id": "4",
"stage_id": "4",
"max_number_of_members": 987,
"assignment_type": "abc123"
}
Response
{
"data": {
"editEvaluationGroupSetting": {
"assignment_type": "abc123",
"exercise": Exercise,
"exercise_id": 987,
"id": 4,
"max_number_of_members": 987
}
}
}
editEvaluationItem
Response
Returns an EvaluationItem
Arguments
Name | Description |
---|---|
evaluation_item_id - ID!
|
|
scale_id - ID
|
|
name - JSON
|
|
min_value - Float
|
|
max_value - Float
|
|
req_value - Float
|
|
position - Int
|
|
descriptions - JSON
|
|
descriptions_values - [String]
|
|
aditional_text - JSON
|
|
compound_score - [String]
|
|
compound_score_achievements_associated - [String]
|
|
compound_score_percentage_for_achievement - [String]
|
|
compound_score_percentage - [String]
|
Example
Query
mutation editEvaluationItem(
$evaluation_item_id: ID!,
$scale_id: ID,
$name: JSON,
$min_value: Float,
$max_value: Float,
$req_value: Float,
$position: Int,
$descriptions: JSON,
$descriptions_values: [String],
$aditional_text: JSON,
$compound_score: [String],
$compound_score_achievements_associated: [String],
$compound_score_percentage_for_achievement: [String],
$compound_score_percentage: [String]
) {
editEvaluationItem(
evaluation_item_id: $evaluation_item_id,
scale_id: $scale_id,
name: $name,
min_value: $min_value,
max_value: $max_value,
req_value: $req_value,
position: $position,
descriptions: $descriptions,
descriptions_values: $descriptions_values,
aditional_text: $aditional_text,
compound_score: $compound_score,
compound_score_achievements_associated: $compound_score_achievements_associated,
compound_score_percentage_for_achievement: $compound_score_percentage_for_achievement,
compound_score_percentage: $compound_score_percentage
) {
aditional_text
compound_score
compound_score_achievements_associated
compound_score_percentage
compound_score_percentage_for_achievement
descriptions
descriptions_values
exercise {
...ExerciseFragment
}
exercise_id
id
locale_aditional_text
locale_descriptions
locale_names
max_value
min_value
name
position
req_value
scale_id
}
}
Variables
{
"evaluation_item_id": "4",
"scale_id": 4,
"name": {},
"min_value": 987.65,
"max_value": 123.45,
"req_value": 123.45,
"position": 123,
"descriptions": {},
"descriptions_values": ["xyz789"],
"aditional_text": {},
"compound_score": ["xyz789"],
"compound_score_achievements_associated": [
"abc123"
],
"compound_score_percentage_for_achievement": [
"xyz789"
],
"compound_score_percentage": ["abc123"]
}
Response
{
"data": {
"editEvaluationItem": {
"aditional_text": {},
"compound_score": ["xyz789"],
"compound_score_achievements_associated": [
"abc123"
],
"compound_score_percentage": [
"xyz789"
],
"compound_score_percentage_for_achievement": [
"abc123"
],
"descriptions": {},
"descriptions_values": ["abc123"],
"exercise": Exercise,
"exercise_id": 4,
"id": "4",
"locale_aditional_text": {},
"locale_descriptions": {},
"locale_names": {},
"max_value": 987.65,
"min_value": 123.45,
"name": {},
"position": 987,
"req_value": 987.65,
"scale_id": 4
}
}
}
editEvaluationTimeExercise
Response
Returns an EvaluationTimeExercise!
Example
Query
mutation editEvaluationTimeExercise(
$evaluation_time_exercise_id: ID!,
$total_required: Int!,
$required: Boolean!,
$name: JSON!
) {
editEvaluationTimeExercise(
evaluation_time_exercise_id: $evaluation_time_exercise_id,
total_required: $total_required,
required: $required,
name: $name
) {
exercise_id
id
locale_names
name
required
total_required
}
}
Variables
{
"evaluation_time_exercise_id": 4,
"total_required": 123,
"required": true,
"name": {}
}
Response
{
"data": {
"editEvaluationTimeExercise": {
"exercise_id": 123,
"id": 4,
"locale_names": {},
"name": {},
"required": true,
"total_required": 123
}
}
}
editEveryoneEvaluateByStage
Response
Returns an EveryoneEvaluate!
Example
Query
mutation editEveryoneEvaluateByStage(
$stage_id: ID!,
$evaluations_needed: Int!,
$is_teacher_definitive: Boolean!,
$is_automatic_assignment: Boolean!,
$evaluation_waiting_days: Int
) {
editEveryoneEvaluateByStage(
stage_id: $stage_id,
evaluations_needed: $evaluations_needed,
is_teacher_definitive: $is_teacher_definitive,
is_automatic_assignment: $is_automatic_assignment,
evaluation_waiting_days: $evaluation_waiting_days
) {
course_id
evaluation_waiting_days
evaluations_needed
id
is_automatic_assignment
is_teacher_definitive
stage_id
}
}
Variables
{
"stage_id": "4",
"evaluations_needed": 987,
"is_teacher_definitive": false,
"is_automatic_assignment": true,
"evaluation_waiting_days": 987
}
Response
{
"data": {
"editEveryoneEvaluateByStage": {
"course_id": 4,
"evaluation_waiting_days": 987,
"evaluations_needed": 987,
"id": 4,
"is_automatic_assignment": true,
"is_teacher_definitive": true,
"stage_id": 4
}
}
}
editExercise
Response
Returns an Exercise!
Arguments
Name | Description |
---|---|
exercise_id - ID!
|
|
description - JSON
|
|
evaluation_type - String
|
|
random_questions - Int
|
|
questions_to_approve - Int
|
|
automatic_evaluation - Boolean
|
|
unlock_date - String
|
|
is_locked - Boolean
|
|
is_multiple_choice_poll - Boolean
|
|
is_everyone_evaluate - Boolean
|
|
period_of_time_enabled - String
|
Example
Query
mutation editExercise(
$exercise_id: ID!,
$description: JSON,
$evaluation_type: String,
$random_questions: Int,
$questions_to_approve: Int,
$automatic_evaluation: Boolean,
$unlock_date: String,
$is_locked: Boolean,
$is_multiple_choice_poll: Boolean,
$is_everyone_evaluate: Boolean,
$period_of_time_enabled: String
) {
editExercise(
exercise_id: $exercise_id,
description: $description,
evaluation_type: $evaluation_type,
random_questions: $random_questions,
questions_to_approve: $questions_to_approve,
automatic_evaluation: $automatic_evaluation,
unlock_date: $unlock_date,
is_locked: $is_locked,
is_multiple_choice_poll: $is_multiple_choice_poll,
is_everyone_evaluate: $is_everyone_evaluate,
period_of_time_enabled: $period_of_time_enabled
) {
answers {
...AnswerFragment
}
automatic_evaluation
description
evaluation_group_setting {
...EvaluationGroupSettingTypeFragment
}
evaluation_items {
...EvaluationItemFragment
}
evaluation_type
id
is_locked
is_multiple_choice_poll
locale_descriptions
period_of_time_enabled
questions {
...QuestionFragment
}
questions_to_approve
random_questions
stage {
...StageFragment
}
stage_id
train_the_trainer_exercise {
...TrainTheTrainerExerciseFragment
}
unlock_date
}
}
Variables
{
"exercise_id": "4",
"description": {},
"evaluation_type": "abc123",
"random_questions": 123,
"questions_to_approve": 123,
"automatic_evaluation": true,
"unlock_date": "xyz789",
"is_locked": false,
"is_multiple_choice_poll": false,
"is_everyone_evaluate": false,
"period_of_time_enabled": "abc123"
}
Response
{
"data": {
"editExercise": {
"answers": [Answer],
"automatic_evaluation": false,
"description": {},
"evaluation_group_setting": EvaluationGroupSettingType,
"evaluation_items": [EvaluationItem],
"evaluation_type": "abc123",
"id": "4",
"is_locked": true,
"is_multiple_choice_poll": true,
"locale_descriptions": {},
"period_of_time_enabled": "xyz789",
"questions": [Question],
"questions_to_approve": 987,
"random_questions": 987,
"stage": Stage,
"stage_id": "4",
"train_the_trainer_exercise": TrainTheTrainerExercise,
"unlock_date": "xyz789"
}
}
}
editFeedback
Response
Returns a Feedback!
Example
Query
mutation editFeedback(
$feedback_id: ID!,
$comments: String,
$finished: Boolean,
$approved: Boolean,
$institution: String
) {
editFeedback(
feedback_id: $feedback_id,
comments: $comments,
finished: $finished,
approved: $approved,
institution: $institution
) {
answer {
...AnswerFragment
}
answer_id
approved
belong_to_feedback_id
comments
evaluated_at
everyone_evaluate_answer {
...AnswerFragment
}
everyone_evaluate_answer_id
feedback_audios {
...FeedbackAudioFragment
}
feedback_common_mistakes {
...FeedbackCommonMistakeFragment
}
feedback_drawings {
...FeedbackDrawingFragment
}
feedback_feedback {
...FeedbackFeedbackFragment
}
feedback_scores {
...FeedbackScoreFragment
}
feedback_summaries {
...FeedbackSummaryFragment
}
feedback_texts {
...FeedbackTextFragment
}
feedbacks {
...FeedbackFragment
}
finished
ia_was_requested_resume
id
is_open_feedback
seen_by_student
teacher {
...UserFragment
}
teacher_id
train_the_trainer_feedback {
...TrainTheTrainerFeedbackFragment
}
}
}
Variables
{
"feedback_id": 4,
"comments": "abc123",
"finished": true,
"approved": false,
"institution": "xyz789"
}
Response
{
"data": {
"editFeedback": {
"answer": Answer,
"answer_id": "4",
"approved": true,
"belong_to_feedback_id": "4",
"comments": "abc123",
"evaluated_at": "abc123",
"everyone_evaluate_answer": Answer,
"everyone_evaluate_answer_id": "4",
"feedback_audios": [FeedbackAudio],
"feedback_common_mistakes": [FeedbackCommonMistake],
"feedback_drawings": [FeedbackDrawing],
"feedback_feedback": FeedbackFeedback,
"feedback_scores": [FeedbackScore],
"feedback_summaries": [FeedbackSummary],
"feedback_texts": [FeedbackText],
"feedbacks": [Feedback],
"finished": true,
"ia_was_requested_resume": 987,
"id": 4,
"is_open_feedback": true,
"seen_by_student": 987.65,
"teacher": User,
"teacher_id": 4,
"train_the_trainer_feedback": TrainTheTrainerFeedback
}
}
}
editFeedbackApproval
Example
Query
mutation editFeedbackApproval(
$feedback_id: ID!,
$approved: Boolean!
) {
editFeedbackApproval(
feedback_id: $feedback_id,
approved: $approved
) {
answer {
...AnswerFragment
}
answer_id
approved
belong_to_feedback_id
comments
evaluated_at
everyone_evaluate_answer {
...AnswerFragment
}
everyone_evaluate_answer_id
feedback_audios {
...FeedbackAudioFragment
}
feedback_common_mistakes {
...FeedbackCommonMistakeFragment
}
feedback_drawings {
...FeedbackDrawingFragment
}
feedback_feedback {
...FeedbackFeedbackFragment
}
feedback_scores {
...FeedbackScoreFragment
}
feedback_summaries {
...FeedbackSummaryFragment
}
feedback_texts {
...FeedbackTextFragment
}
feedbacks {
...FeedbackFragment
}
finished
ia_was_requested_resume
id
is_open_feedback
seen_by_student
teacher {
...UserFragment
}
teacher_id
train_the_trainer_feedback {
...TrainTheTrainerFeedbackFragment
}
}
}
Variables
{"feedback_id": 4, "approved": false}
Response
{
"data": {
"editFeedbackApproval": {
"answer": Answer,
"answer_id": 4,
"approved": true,
"belong_to_feedback_id": "4",
"comments": "abc123",
"evaluated_at": "xyz789",
"everyone_evaluate_answer": Answer,
"everyone_evaluate_answer_id": "4",
"feedback_audios": [FeedbackAudio],
"feedback_common_mistakes": [FeedbackCommonMistake],
"feedback_drawings": [FeedbackDrawing],
"feedback_feedback": FeedbackFeedback,
"feedback_scores": [FeedbackScore],
"feedback_summaries": [FeedbackSummary],
"feedback_texts": [FeedbackText],
"feedbacks": [Feedback],
"finished": true,
"ia_was_requested_resume": 987,
"id": 4,
"is_open_feedback": false,
"seen_by_student": 987.65,
"teacher": User,
"teacher_id": 4,
"train_the_trainer_feedback": TrainTheTrainerFeedback
}
}
}
editFeedbackAudio
Response
Returns a FeedbackAudio!
Example
Query
mutation editFeedbackAudio(
$id: ID!,
$link: String!,
$time: Float!
) {
editFeedbackAudio(
id: $id,
link: $link,
time: $time
) {
feedback {
...FeedbackFragment
}
feedback_id
id
link
time
train_the_trainer_id
}
}
Variables
{
"id": "4",
"link": "abc123",
"time": 123.45
}
Response
{
"data": {
"editFeedbackAudio": {
"feedback": Feedback,
"feedback_id": "4",
"id": "4",
"link": "xyz789",
"time": 987.65,
"train_the_trainer_id": "4"
}
}
}
editFeedbackCommonMistake
Response
Returns a FeedbackCommonMistake!
Example
Query
mutation editFeedbackCommonMistake(
$id: ID!,
$common_mistake_id: ID!,
$time: Float!
) {
editFeedbackCommonMistake(
id: $id,
common_mistake_id: $common_mistake_id,
time: $time
) {
common_mistake {
...CommonMistakeFragment
}
common_mistake_id
feedback {
...FeedbackFragment
}
feedback_id
id
time
train_the_trainer_id
}
}
Variables
{"id": 4, "common_mistake_id": 4, "time": 123.45}
Response
{
"data": {
"editFeedbackCommonMistake": {
"common_mistake": CommonMistake,
"common_mistake_id": "4",
"feedback": Feedback,
"feedback_id": "4",
"id": "4",
"time": 987.65,
"train_the_trainer_id": "4"
}
}
}
editFeedbackDrawing
Response
Returns a FeedbackDrawing!
Example
Query
mutation editFeedbackDrawing(
$id: ID!,
$link: String!,
$time: Float!
) {
editFeedbackDrawing(
id: $id,
link: $link,
time: $time
) {
feedback {
...FeedbackFragment
}
feedback_id
id
link
time
train_the_trainer_id
}
}
Variables
{"id": 4, "link": "abc123", "time": 123.45}
Response
{
"data": {
"editFeedbackDrawing": {
"feedback": Feedback,
"feedback_id": "4",
"id": "4",
"link": "xyz789",
"time": 123.45,
"train_the_trainer_id": 4
}
}
}
editFeedbackFeedback
Response
Returns a FeedbackFeedback!
Example
Query
mutation editFeedbackFeedback(
$feedback_feedback_id: ID!,
$score: Float,
$comments: String,
$technical_quality_score: Float,
$technical_quality_comments: String
) {
editFeedbackFeedback(
feedback_feedback_id: $feedback_feedback_id,
score: $score,
comments: $comments,
technical_quality_score: $technical_quality_score,
technical_quality_comments: $technical_quality_comments
) {
comments
feedback {
...FeedbackFragment
}
feedback_id
id
score
technical_quality_comments
technical_quality_score
}
}
Variables
{
"feedback_feedback_id": 4,
"score": 123.45,
"comments": "abc123",
"technical_quality_score": 123.45,
"technical_quality_comments": "abc123"
}
Response
{
"data": {
"editFeedbackFeedback": {
"comments": "xyz789",
"feedback": Feedback,
"feedback_id": "4",
"id": "4",
"score": 987.65,
"technical_quality_comments": "xyz789",
"technical_quality_score": 987.65
}
}
}
editFeedbackPrivacy
Example
Query
mutation editFeedbackPrivacy($feedback_id: Int!) {
editFeedbackPrivacy(feedback_id: $feedback_id) {
answer {
...AnswerFragment
}
answer_id
approved
belong_to_feedback_id
comments
evaluated_at
everyone_evaluate_answer {
...AnswerFragment
}
everyone_evaluate_answer_id
feedback_audios {
...FeedbackAudioFragment
}
feedback_common_mistakes {
...FeedbackCommonMistakeFragment
}
feedback_drawings {
...FeedbackDrawingFragment
}
feedback_feedback {
...FeedbackFeedbackFragment
}
feedback_scores {
...FeedbackScoreFragment
}
feedback_summaries {
...FeedbackSummaryFragment
}
feedback_texts {
...FeedbackTextFragment
}
feedbacks {
...FeedbackFragment
}
finished
ia_was_requested_resume
id
is_open_feedback
seen_by_student
teacher {
...UserFragment
}
teacher_id
train_the_trainer_feedback {
...TrainTheTrainerFeedbackFragment
}
}
}
Variables
{"feedback_id": 987}
Response
{
"data": {
"editFeedbackPrivacy": {
"answer": Answer,
"answer_id": "4",
"approved": false,
"belong_to_feedback_id": "4",
"comments": "xyz789",
"evaluated_at": "abc123",
"everyone_evaluate_answer": Answer,
"everyone_evaluate_answer_id": "4",
"feedback_audios": [FeedbackAudio],
"feedback_common_mistakes": [FeedbackCommonMistake],
"feedback_drawings": [FeedbackDrawing],
"feedback_feedback": FeedbackFeedback,
"feedback_scores": [FeedbackScore],
"feedback_summaries": [FeedbackSummary],
"feedback_texts": [FeedbackText],
"feedbacks": [Feedback],
"finished": true,
"ia_was_requested_resume": 987,
"id": "4",
"is_open_feedback": true,
"seen_by_student": 123.45,
"teacher": User,
"teacher_id": 4,
"train_the_trainer_feedback": TrainTheTrainerFeedback
}
}
}
editFeedbackScore
Response
Returns a FeedbackScore!
Example
Query
mutation editFeedbackScore(
$feedback_score_id: ID!,
$score: Float!
) {
editFeedbackScore(
feedback_score_id: $feedback_score_id,
score: $score
) {
evaluation_item {
...EvaluationItemFragment
}
evaluation_item_id
feedback {
...FeedbackFragment
}
feedback_id
id
score
}
}
Variables
{"feedback_score_id": "4", "score": 987.65}
Response
{
"data": {
"editFeedbackScore": {
"evaluation_item": EvaluationItem,
"evaluation_item_id": "4",
"feedback": Feedback,
"feedback_id": 4,
"id": "4",
"score": 123.45
}
}
}
editFeedbackText
Response
Returns a FeedbackText!
Example
Query
mutation editFeedbackText(
$id: ID!,
$text: String!,
$time: Float!
) {
editFeedbackText(
id: $id,
text: $text,
time: $time
) {
feedback {
...FeedbackFragment
}
feedback_id
feedback_text_criteria {
...FeedbackTextCriteriaFragment
}
ia_was_requested
id
text
time
train_the_trainer_id
}
}
Variables
{
"id": "4",
"text": "abc123",
"time": 123.45
}
Response
{
"data": {
"editFeedbackText": {
"feedback": Feedback,
"feedback_id": 4,
"feedback_text_criteria": [FeedbackTextCriteria],
"ia_was_requested": 123,
"id": "4",
"text": "abc123",
"time": 987.65,
"train_the_trainer_id": 4
}
}
}
editFeedbackTrainTheTrainer
Response
Returns a Feedback!
Example
Query
mutation editFeedbackTrainTheTrainer(
$feedback_id: ID!,
$comments: String,
$finished: Boolean,
$approved: Boolean
) {
editFeedbackTrainTheTrainer(
feedback_id: $feedback_id,
comments: $comments,
finished: $finished,
approved: $approved
) {
answer {
...AnswerFragment
}
answer_id
approved
belong_to_feedback_id
comments
evaluated_at
everyone_evaluate_answer {
...AnswerFragment
}
everyone_evaluate_answer_id
feedback_audios {
...FeedbackAudioFragment
}
feedback_common_mistakes {
...FeedbackCommonMistakeFragment
}
feedback_drawings {
...FeedbackDrawingFragment
}
feedback_feedback {
...FeedbackFeedbackFragment
}
feedback_scores {
...FeedbackScoreFragment
}
feedback_summaries {
...FeedbackSummaryFragment
}
feedback_texts {
...FeedbackTextFragment
}
feedbacks {
...FeedbackFragment
}
finished
ia_was_requested_resume
id
is_open_feedback
seen_by_student
teacher {
...UserFragment
}
teacher_id
train_the_trainer_feedback {
...TrainTheTrainerFeedbackFragment
}
}
}
Variables
{
"feedback_id": "4",
"comments": "xyz789",
"finished": false,
"approved": true
}
Response
{
"data": {
"editFeedbackTrainTheTrainer": {
"answer": Answer,
"answer_id": 4,
"approved": true,
"belong_to_feedback_id": "4",
"comments": "abc123",
"evaluated_at": "xyz789",
"everyone_evaluate_answer": Answer,
"everyone_evaluate_answer_id": "4",
"feedback_audios": [FeedbackAudio],
"feedback_common_mistakes": [FeedbackCommonMistake],
"feedback_drawings": [FeedbackDrawing],
"feedback_feedback": FeedbackFeedback,
"feedback_scores": [FeedbackScore],
"feedback_summaries": [FeedbackSummary],
"feedback_texts": [FeedbackText],
"feedbacks": [Feedback],
"finished": false,
"ia_was_requested_resume": 987,
"id": 4,
"is_open_feedback": false,
"seen_by_student": 987.65,
"teacher": User,
"teacher_id": "4",
"train_the_trainer_feedback": TrainTheTrainerFeedback
}
}
}
editFeedbackTrainTheTrainerManualApprobation
Response
Returns a TrainTheTrainerFeedback!
Example
Query
mutation editFeedbackTrainTheTrainerManualApprobation(
$feedback_id: ID!,
$finished: Boolean,
$approved: Boolean
) {
editFeedbackTrainTheTrainerManualApprobation(
feedback_id: $feedback_id,
finished: $finished,
approved: $approved
) {
approved
evaluated_at
finished
id
is_teacher_answer
teacher {
...UserFragment
}
teacher_id
}
}
Variables
{"feedback_id": 4, "finished": false, "approved": true}
Response
{
"data": {
"editFeedbackTrainTheTrainerManualApprobation": {
"approved": false,
"evaluated_at": "abc123",
"finished": true,
"id": 4,
"is_teacher_answer": true,
"teacher": User,
"teacher_id": 4
}
}
}
editLicensesByRole
Response
Returns a User!
Example
Query
mutation editLicensesByRole(
$user_id: ID!,
$licenses: Int!,
$max_courses: Int!
) {
editLicensesByRole(
user_id: $user_id,
licenses: $licenses,
max_courses: $max_courses
) {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Variables
{"user_id": 4, "licenses": 123, "max_courses": 123}
Response
{
"data": {
"editLicensesByRole": {
"about": "xyz789",
"academic_degree": "xyz789",
"accepted_requests": [Course],
"accepted_terms": false,
"address": "xyz789",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": false,
"authorized_create_course_by_establishments": false,
"available_courses": 123,
"available_licenses": 987,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 987,
"birth_date": "abc123",
"color": "xyz789",
"country": "xyz789",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "xyz789",
"dynamic_labels": [DynamicLabel],
"email": "abc123",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": "4",
"identity_number": "xyz789",
"image": "abc123",
"in_training_courses": [Course],
"institution": "abc123",
"institution_code": "abc123",
"internal_users": [User],
"is_superadmin": true,
"last_login": "abc123",
"lastname": "abc123",
"licenses": 987,
"linkedin": "abc123",
"lms_user_id": "xyz789",
"locale": "xyz789",
"max_courses": 123,
"name": "abc123",
"notifications": [Notification],
"onboarding": true,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "abc123",
"pending_requests": [Course],
"presentation_video": "abc123",
"profession": "abc123",
"profile_image_link": "abc123",
"provider": "abc123",
"rating": 987,
"rejected_requests": [Course],
"requests": [Request],
"role": "abc123",
"role_id": 123,
"second_admin_courses": [Course],
"sex": "xyz789",
"state": "xyz789",
"status_id": "xyz789",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 123,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 987,
"video_size": 123.45,
"video_size_without_compress": 123.45,
"work_place": "abc123"
}
}
}
editMockAdminFeedback
Response
Returns a MockAdminFeedback!
Example
Query
mutation editMockAdminFeedback(
$mock_admin_feedback_id: ID!,
$comments: String
) {
editMockAdminFeedback(
mock_admin_feedback_id: $mock_admin_feedback_id,
comments: $comments
) {
comments
id
mock_admin_feedback_audios {
...MockAdminFeedbackAudioFragment
}
mock_admin_feedback_common_mistakes {
...MockAdminFeedbackCommonMistakeFragment
}
mock_admin_feedback_drawings {
...MockAdminFeedbackDrawingFragment
}
mock_admin_feedback_scores {
...MockAdminFeedbackScoreFragment
}
mock_admin_feedback_texts {
...MockAdminFeedbackTextFragment
}
mock_answer {
...MockAnswerFragment
}
mock_answer_id
teacher_in_training {
...UserFragment
}
}
}
Variables
{
"mock_admin_feedback_id": "4",
"comments": "xyz789"
}
Response
{
"data": {
"editMockAdminFeedback": {
"comments": "abc123",
"id": "4",
"mock_admin_feedback_audios": [
MockAdminFeedbackAudio
],
"mock_admin_feedback_common_mistakes": [
MockAdminFeedbackCommonMistake
],
"mock_admin_feedback_drawings": [
MockAdminFeedbackDrawing
],
"mock_admin_feedback_scores": [
MockAdminFeedbackScore
],
"mock_admin_feedback_texts": [
MockAdminFeedbackText
],
"mock_answer": MockAnswer,
"mock_answer_id": "4",
"teacher_in_training": User
}
}
}
editMockAdminFeedbackScore
Response
Returns a MockAdminFeedbackScore!
Example
Query
mutation editMockAdminFeedbackScore(
$mock_admin_feedback_score_id: ID!,
$score: Float!
) {
editMockAdminFeedbackScore(
mock_admin_feedback_score_id: $mock_admin_feedback_score_id,
score: $score
) {
evaluation_item {
...EvaluationItemFragment
}
evaluation_item_id
id
mock_admin_feedback {
...MockAdminFeedbackFragment
}
mock_admin_feedback_id
score
}
}
Variables
{
"mock_admin_feedback_score_id": "4",
"score": 987.65
}
Response
{
"data": {
"editMockAdminFeedbackScore": {
"evaluation_item": EvaluationItem,
"evaluation_item_id": 4,
"id": "4",
"mock_admin_feedback": MockAdminFeedback,
"mock_admin_feedback_id": "4",
"score": 123.45
}
}
}
editMockFeedback
Response
Returns a MockFeedback!
Example
Query
mutation editMockFeedback(
$mock_feedback_id: ID!,
$comments: String,
$finished: Boolean
) {
editMockFeedback(
mock_feedback_id: $mock_feedback_id,
comments: $comments,
finished: $finished
) {
approved
comments
evaluated_at
finished
id
is_correct
mock_answer {
...MockAnswerFragment
}
mock_answer_id
mock_feedback_audios {
...MockFeedbackAudioFragment
}
mock_feedback_common_mistakes {
...MockFeedbackCommonMistakeFragment
}
mock_feedback_drawings {
...MockFeedbackDrawingFragment
}
mock_feedback_scores {
...MockFeedbackScoreFragment
}
mock_feedback_texts {
...MockFeedbackTextFragment
}
teacher_in_training {
...UserFragment
}
teacher_in_training_id
}
}
Variables
{
"mock_feedback_id": "4",
"comments": "xyz789",
"finished": false
}
Response
{
"data": {
"editMockFeedback": {
"approved": false,
"comments": "xyz789",
"evaluated_at": "xyz789",
"finished": true,
"id": 4,
"is_correct": true,
"mock_answer": MockAnswer,
"mock_answer_id": "4",
"mock_feedback_audios": [MockFeedbackAudio],
"mock_feedback_common_mistakes": [
MockFeedbackCommonMistake
],
"mock_feedback_drawings": [MockFeedbackDrawing],
"mock_feedback_scores": [MockFeedbackScore],
"mock_feedback_texts": [MockFeedbackText],
"teacher_in_training": User,
"teacher_in_training_id": "4"
}
}
}
editMockFeedbackScore
Response
Returns a MockFeedbackScore!
Example
Query
mutation editMockFeedbackScore(
$mock_feedback_score_id: ID!,
$score: Float!
) {
editMockFeedbackScore(
mock_feedback_score_id: $mock_feedback_score_id,
score: $score
) {
evaluation_item {
...EvaluationItemFragment
}
evaluation_item_id
id
mock_feedback {
...MockFeedbackFragment
}
mock_feedback_id
score
}
}
Variables
{"mock_feedback_score_id": 4, "score": 987.65}
Response
{
"data": {
"editMockFeedbackScore": {
"evaluation_item": EvaluationItem,
"evaluation_item_id": 4,
"id": 4,
"mock_feedback": MockFeedback,
"mock_feedback_id": 4,
"score": 987.65
}
}
}
editOption
Response
Returns an Option
Example
Query
mutation editOption(
$option_id: ID!,
$text: JSON!,
$reason: JSON!,
$correct: Boolean
) {
editOption(
option_id: $option_id,
text: $text,
reason: $reason,
correct: $correct
) {
id
locale_reasons
locale_texts
question {
...QuestionFragment
}
question_id
reason
text
}
}
Variables
{"option_id": 4, "text": {}, "reason": {}, "correct": true}
Response
{
"data": {
"editOption": {
"id": 4,
"locale_reasons": {},
"locale_texts": {},
"question": Question,
"question_id": 4,
"reason": {},
"text": {}
}
}
}
editPaymentCourseOwner
Response
Returns a PaymentCourseOwner!
Arguments
Name | Description |
---|---|
id - ID!
|
|
year - Int!
|
|
month - Int!
|
|
amount - Float!
|
|
user_name - String!
|
|
course_id - ID!
|
|
course_title - String!
|
|
payment_id - String!
|
|
description - String
|
|
number_account - String!
|
|
user_name_account - String!
|
|
user_rut_account - String
|
|
email_account - String
|
|
financial_entity_account - String!
|
|
sender_user_name - String
|
|
sender_user_rut - String
|
|
file - String
|
Example
Query
mutation editPaymentCourseOwner(
$id: ID!,
$year: Int!,
$month: Int!,
$amount: Float!,
$user_name: String!,
$course_id: ID!,
$course_title: String!,
$payment_id: String!,
$description: String,
$number_account: String!,
$user_name_account: String!,
$user_rut_account: String,
$email_account: String,
$financial_entity_account: String!,
$sender_user_name: String,
$sender_user_rut: String,
$file: String
) {
editPaymentCourseOwner(
id: $id,
year: $year,
month: $month,
amount: $amount,
user_name: $user_name,
course_id: $course_id,
course_title: $course_title,
payment_id: $payment_id,
description: $description,
number_account: $number_account,
user_name_account: $user_name_account,
user_rut_account: $user_rut_account,
email_account: $email_account,
financial_entity_account: $financial_entity_account,
sender_user_name: $sender_user_name,
sender_user_rut: $sender_user_rut,
file: $file
) {
amount
course_id
course_title
created_at
description
email_account
file
financial_entity_account
id
month
number_account
payment_id
sender_user_name
sender_user_rut
user_id
user_name
user_name_account
user_rut_account
year
}
}
Variables
{
"id": 4,
"year": 987,
"month": 987,
"amount": 987.65,
"user_name": "xyz789",
"course_id": "4",
"course_title": "abc123",
"payment_id": "xyz789",
"description": "abc123",
"number_account": "abc123",
"user_name_account": "xyz789",
"user_rut_account": "abc123",
"email_account": "abc123",
"financial_entity_account": "abc123",
"sender_user_name": "xyz789",
"sender_user_rut": "xyz789",
"file": "xyz789"
}
Response
{
"data": {
"editPaymentCourseOwner": {
"amount": 123.45,
"course_id": 123,
"course_title": "xyz789",
"created_at": 123,
"description": "abc123",
"email_account": "xyz789",
"file": "xyz789",
"financial_entity_account": "abc123",
"id": 4,
"month": 987,
"number_account": "abc123",
"payment_id": "abc123",
"sender_user_name": "abc123",
"sender_user_rut": "xyz789",
"user_id": 123,
"user_name": "abc123",
"user_name_account": "xyz789",
"user_rut_account": "abc123",
"year": 987
}
}
}
editQuestion
Response
Returns a Question
Example
Query
mutation editQuestion(
$question_id: ID!,
$text: JSON!,
$correct_option_id: ID
) {
editQuestion(
question_id: $question_id,
text: $text,
correct_option_id: $correct_option_id
) {
correct_option {
...OptionFragment
}
correct_option_id
exercise {
...ExerciseFragment
}
exercise_id
id
locale_texts
options {
...OptionFragment
}
text
}
}
Variables
{
"question_id": 4,
"text": {},
"correct_option_id": "4"
}
Response
{
"data": {
"editQuestion": {
"correct_option": Option,
"correct_option_id": "4",
"exercise": Exercise,
"exercise_id": "4",
"id": 4,
"locale_texts": {},
"options": [Option],
"text": {}
}
}
}
editRequirements
Response
Returns a RequirementType!
Example
Query
mutation editRequirements(
$id: ID,
$course_id: ID,
$title: JSON
) {
editRequirements(
id: $id,
course_id: $course_id,
title: $title
) {
description
id
locale_titles
title
}
}
Variables
{"id": 4, "course_id": 4, "title": {}}
Response
{
"data": {
"editRequirements": {
"description": "xyz789",
"id": 4,
"locale_titles": {},
"title": {}
}
}
}
editReview
Response
Returns a Review!
Example
Query
mutation editReview(
$review_id: ID!,
$stars: Int!,
$description: String
) {
editReview(
review_id: $review_id,
stars: $stars,
description: $description
) {
course {
...CourseFragment
}
course_id
description
id
stars
user {
...UserFragment
}
user_id
}
}
Variables
{
"review_id": 4,
"stars": 987,
"description": "abc123"
}
Response
{
"data": {
"editReview": {
"course": Course,
"course_id": 4,
"description": "xyz789",
"id": 4,
"stars": 987,
"user": User,
"user_id": 4
}
}
}
editStage
Response
Returns a Stage!
Example
Query
mutation editStage(
$stage_id: ID!,
$title: JSON,
$description: JSON,
$previous_stage_id: ID,
$image_link: String
) {
editStage(
stage_id: $stage_id,
title: $title,
description: $description,
previous_stage_id: $previous_stage_id,
image_link: $image_link
) {
audios {
...TutorialAudioFragment
}
course {
...CourseFragment
}
course_id
description
docs {
...TutorialDocFragment
}
exercise {
...ExerciseFragment
}
id
images {
...TutorialImageFragment
}
is_everyone_evaluate
locale_descriptions
locale_titles
next_stage {
...StageFragment
}
position
previous_stage {
...StageFragment
}
stage_preview_images {
...PreviewImageFragment
}
title
tutorial_articulate {
...TutorialArticulateFragment
}
tutorial_videos {
...TutorialVideoFragment
}
}
}
Variables
{
"stage_id": "4",
"title": {},
"description": {},
"previous_stage_id": 4,
"image_link": "abc123"
}
Response
{
"data": {
"editStage": {
"audios": [TutorialAudio],
"course": Course,
"course_id": "4",
"description": {},
"docs": [TutorialDoc],
"exercise": Exercise,
"id": 4,
"images": [TutorialImage],
"is_everyone_evaluate": true,
"locale_descriptions": {},
"locale_titles": {},
"next_stage": Stage,
"position": 123,
"previous_stage": Stage,
"stage_preview_images": [PreviewImage],
"title": {},
"tutorial_articulate": [TutorialArticulate],
"tutorial_videos": [TutorialVideo]
}
}
}
editStageRequirements
Example
Query
mutation editStageRequirements(
$stage_id: ID!,
$previous_stage_id: ID
) {
editStageRequirements(
stage_id: $stage_id,
previous_stage_id: $previous_stage_id
) {
audios {
...TutorialAudioFragment
}
course {
...CourseFragment
}
course_id
description
docs {
...TutorialDocFragment
}
exercise {
...ExerciseFragment
}
id
images {
...TutorialImageFragment
}
is_everyone_evaluate
locale_descriptions
locale_titles
next_stage {
...StageFragment
}
position
previous_stage {
...StageFragment
}
stage_preview_images {
...PreviewImageFragment
}
title
tutorial_articulate {
...TutorialArticulateFragment
}
tutorial_videos {
...TutorialVideoFragment
}
}
}
Variables
{"stage_id": 4, "previous_stage_id": "4"}
Response
{
"data": {
"editStageRequirements": {
"audios": [TutorialAudio],
"course": Course,
"course_id": "4",
"description": {},
"docs": [TutorialDoc],
"exercise": Exercise,
"id": "4",
"images": [TutorialImage],
"is_everyone_evaluate": true,
"locale_descriptions": {},
"locale_titles": {},
"next_stage": Stage,
"position": 123,
"previous_stage": Stage,
"stage_preview_images": [PreviewImage],
"title": {},
"tutorial_articulate": [TutorialArticulate],
"tutorial_videos": [TutorialVideo]
}
}
}
editTrainTheTrainerExercise
Response
Returns a TrainTheTrainerExercise!
Example
Query
mutation editTrainTheTrainerExercise(
$exercise_id: ID!,
$video_link: String,
$title: String
) {
editTrainTheTrainerExercise(
exercise_id: $exercise_id,
video_link: $video_link,
title: $title
) {
exercise_id
id
title
updated_at
video_link
}
}
Variables
{
"exercise_id": 4,
"video_link": "xyz789",
"title": "xyz789"
}
Response
{
"data": {
"editTrainTheTrainerExercise": {
"exercise_id": "4",
"id": "4",
"title": "xyz789",
"updated_at": 987,
"video_link": "abc123"
}
}
}
editTutorialApp
Response
Returns a TutorialApp!
Example
Query
mutation editTutorialApp(
$tutorial_app_id: ID!,
$title: String,
$description: String,
$link: String
) {
editTutorialApp(
tutorial_app_id: $tutorial_app_id,
title: $title,
description: $description,
link: $link
) {
description
id
link
title
}
}
Variables
{
"tutorial_app_id": 4,
"title": "abc123",
"description": "xyz789",
"link": "xyz789"
}
Response
{
"data": {
"editTutorialApp": {
"description": {},
"id": "4",
"link": "abc123",
"title": {}
}
}
}
editTutorialArticulate
Response
Returns a TutorialArticulate!
Example
Query
mutation editTutorialArticulate(
$tutorial_articulate_id: ID!,
$title: JSON,
$description: JSON,
$link: String
) {
editTutorialArticulate(
tutorial_articulate_id: $tutorial_articulate_id,
title: $title,
description: $description,
link: $link
) {
description
id
link
locale_descriptions
locale_titles
stage_id
title
tutorial_audios {
...TutorialAudioFragment
}
tutorial_docs {
...TutorialDocFragment
}
tutorial_images {
...TutorialImageFragment
}
}
}
Variables
{
"tutorial_articulate_id": "4",
"title": {},
"description": {},
"link": "abc123"
}
Response
{
"data": {
"editTutorialArticulate": {
"description": {},
"id": 4,
"link": "xyz789",
"locale_descriptions": {},
"locale_titles": {},
"stage_id": 4,
"title": {},
"tutorial_audios": [TutorialAudio],
"tutorial_docs": [TutorialDoc],
"tutorial_images": [TutorialImage]
}
}
}
editTutorialVideo
Response
Returns a TutorialVideo!
Example
Query
mutation editTutorialVideo(
$tutorial_video_id: ID!,
$title: JSON,
$description: JSON,
$link: String,
$video_duration: Int,
$video_size: Float,
$video_size_without_compress: Float
) {
editTutorialVideo(
tutorial_video_id: $tutorial_video_id,
title: $title,
description: $description,
link: $link,
video_duration: $video_duration,
video_size: $video_size,
video_size_without_compress: $video_size_without_compress
) {
description
id
link
locale_descriptions
locale_titles
stage_id
title
tutorial_audios {
...TutorialAudioFragment
}
tutorial_docs {
...TutorialDocFragment
}
tutorial_images {
...TutorialImageFragment
}
updated_at
video_duration
video_size
video_size_without_compress
}
}
Variables
{
"tutorial_video_id": "4",
"title": {},
"description": {},
"link": "xyz789",
"video_duration": 123,
"video_size": 987.65,
"video_size_without_compress": 123.45
}
Response
{
"data": {
"editTutorialVideo": {
"description": {},
"id": "4",
"link": "xyz789",
"locale_descriptions": {},
"locale_titles": {},
"stage_id": "4",
"title": {},
"tutorial_audios": [TutorialAudio],
"tutorial_docs": [TutorialDoc],
"tutorial_images": [TutorialImage],
"updated_at": 987,
"video_duration": 123,
"video_size": 987.65,
"video_size_without_compress": 987.65
}
}
}
editTutorialVideoSize
Example
Query
mutation editTutorialVideoSize(
$tutorial_video_id: ID!,
$video_size: Float!
) {
editTutorialVideoSize(
tutorial_video_id: $tutorial_video_id,
video_size: $video_size
)
}
Variables
{"tutorial_video_id": 4, "video_size": 123.45}
Response
{"data": {"editTutorialVideoSize": true}}
editUser
Response
Returns a User
Arguments
Name | Description |
---|---|
user_id - ID!
|
|
password - String
|
|
name - String
|
|
lastname - String
|
|
birth_date - String
|
|
locale - String
|
|
about - String
|
|
sex - Sex
|
|
country - String
|
|
identity_number - String
|
|
state - String
|
|
profile_image_link - String
|
|
paypal_email - String
|
|
email - String
|
|
image - String
|
|
address - String
|
|
color - String
|
|
max_courses - Int
|
|
curriculum_file - String
|
|
institution - String
|
|
academic_degree - String
|
|
profession - String
|
|
linkedin - String
|
|
work_place - String
|
|
authorized_create_course - Boolean
|
|
presentation_video - String
|
|
institution_code - String
|
|
template_color_id - ID
|
|
primary_colors - String
|
|
secondary_colors - String
|
|
tertiary_colors - String
|
|
is_template_color_edited - Boolean
|
|
onboarding - Boolean
|
Example
Query
mutation editUser(
$user_id: ID!,
$password: String,
$name: String,
$lastname: String,
$birth_date: String,
$locale: String,
$about: String,
$sex: Sex,
$country: String,
$identity_number: String,
$state: String,
$profile_image_link: String,
$paypal_email: String,
$email: String,
$image: String,
$address: String,
$color: String,
$max_courses: Int,
$curriculum_file: String,
$institution: String,
$academic_degree: String,
$profession: String,
$linkedin: String,
$work_place: String,
$authorized_create_course: Boolean,
$presentation_video: String,
$institution_code: String,
$template_color_id: ID,
$primary_colors: String,
$secondary_colors: String,
$tertiary_colors: String,
$is_template_color_edited: Boolean,
$onboarding: Boolean
) {
editUser(
user_id: $user_id,
password: $password,
name: $name,
lastname: $lastname,
birth_date: $birth_date,
locale: $locale,
about: $about,
sex: $sex,
country: $country,
identity_number: $identity_number,
state: $state,
profile_image_link: $profile_image_link,
paypal_email: $paypal_email,
email: $email,
image: $image,
address: $address,
color: $color,
max_courses: $max_courses,
curriculum_file: $curriculum_file,
institution: $institution,
academic_degree: $academic_degree,
profession: $profession,
linkedin: $linkedin,
work_place: $work_place,
authorized_create_course: $authorized_create_course,
presentation_video: $presentation_video,
institution_code: $institution_code,
template_color_id: $template_color_id,
primary_colors: $primary_colors,
secondary_colors: $secondary_colors,
tertiary_colors: $tertiary_colors,
is_template_color_edited: $is_template_color_edited,
onboarding: $onboarding
) {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Variables
{
"user_id": 4,
"password": "abc123",
"name": "abc123",
"lastname": "abc123",
"birth_date": "xyz789",
"locale": "xyz789",
"about": "xyz789",
"sex": "MALE",
"country": "abc123",
"identity_number": "abc123",
"state": "xyz789",
"profile_image_link": "abc123",
"paypal_email": "xyz789",
"email": "xyz789",
"image": "abc123",
"address": "xyz789",
"color": "xyz789",
"max_courses": 123,
"curriculum_file": "abc123",
"institution": "xyz789",
"academic_degree": "abc123",
"profession": "xyz789",
"linkedin": "xyz789",
"work_place": "abc123",
"authorized_create_course": false,
"presentation_video": "abc123",
"institution_code": "xyz789",
"template_color_id": "4",
"primary_colors": "xyz789",
"secondary_colors": "abc123",
"tertiary_colors": "xyz789",
"is_template_color_edited": false,
"onboarding": true
}
Response
{
"data": {
"editUser": {
"about": "abc123",
"academic_degree": "xyz789",
"accepted_requests": [Course],
"accepted_terms": true,
"address": "xyz789",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": true,
"authorized_create_course_by_establishments": false,
"available_courses": 987,
"available_licenses": 987,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 987,
"birth_date": "xyz789",
"color": "xyz789",
"country": "abc123",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "xyz789",
"dynamic_labels": [DynamicLabel],
"email": "abc123",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": "4",
"identity_number": "xyz789",
"image": "abc123",
"in_training_courses": [Course],
"institution": "xyz789",
"institution_code": "xyz789",
"internal_users": [User],
"is_superadmin": false,
"last_login": "xyz789",
"lastname": "abc123",
"licenses": 987,
"linkedin": "abc123",
"lms_user_id": "abc123",
"locale": "xyz789",
"max_courses": 123,
"name": "abc123",
"notifications": [Notification],
"onboarding": true,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "xyz789",
"pending_requests": [Course],
"presentation_video": "abc123",
"profession": "xyz789",
"profile_image_link": "xyz789",
"provider": "abc123",
"rating": 123,
"rejected_requests": [Course],
"requests": [Request],
"role": "abc123",
"role_id": 123,
"second_admin_courses": [Course],
"sex": "xyz789",
"state": "abc123",
"status_id": "xyz789",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 123,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 987,
"video_size": 123.45,
"video_size_without_compress": 123.45,
"work_place": "abc123"
}
}
}
evaluateVideoWithAi
finishMultipleChoiceAnswer
Example
Query
mutation finishMultipleChoiceAnswer($answer_id: ID!) {
finishMultipleChoiceAnswer(answer_id: $answer_id) {
created_at
evaluated
evaluation_group {
...EvaluationGroupFragment
}
evaluation_group_id
everyone_evaluate_student_feedbacks {
...FeedbackFragment
}
exercise {
...ExerciseFragment
}
exercise_id
feedback {
...FeedbackFragment
}
id
notes
question_answers {
...QuestionAnswerFragment
}
seen_by_teacher
try_number
updated_at
user {
...UserFragment
}
user_course_status_stage {
...UserCourseStatusStageFragment
}
user_id
video_duration
video_link
video_size
video_size_without_compress
}
}
Variables
{"answer_id": 4}
Response
{
"data": {
"finishMultipleChoiceAnswer": {
"created_at": 987,
"evaluated": true,
"evaluation_group": EvaluationGroup,
"evaluation_group_id": 4,
"everyone_evaluate_student_feedbacks": [Feedback],
"exercise": Exercise,
"exercise_id": "4",
"feedback": Feedback,
"id": "4",
"notes": "xyz789",
"question_answers": [QuestionAnswer],
"seen_by_teacher": true,
"try_number": 123,
"updated_at": 987,
"user": User,
"user_course_status_stage": [UserCourseStatusStage],
"user_id": "4",
"video_duration": 987,
"video_link": ["xyz789"],
"video_size": 123.45,
"video_size_without_compress": 987.65
}
}
}
generateAuthorizationCode
generateTokenCertificate
Response
Returns a UserCertificateType
Example
Query
mutation generateTokenCertificate(
$course_id: Int!,
$student_id: Int!
) {
generateTokenCertificate(
course_id: $course_id,
student_id: $student_id
) {
certificate_link
course_id
course_title
id
name
token
user_id
}
}
Variables
{"course_id": 123, "student_id": 123}
Response
{
"data": {
"generateTokenCertificate": {
"certificate_link": "xyz789",
"course_id": "4",
"course_title": "abc123",
"id": 4,
"name": "xyz789",
"token": "abc123",
"user_id": "4"
}
}
}
incrementIaResumeRequested
Example
Query
mutation incrementIaResumeRequested($feedback_id: ID!) {
incrementIaResumeRequested(feedback_id: $feedback_id) {
answer {
...AnswerFragment
}
answer_id
approved
belong_to_feedback_id
comments
evaluated_at
everyone_evaluate_answer {
...AnswerFragment
}
everyone_evaluate_answer_id
feedback_audios {
...FeedbackAudioFragment
}
feedback_common_mistakes {
...FeedbackCommonMistakeFragment
}
feedback_drawings {
...FeedbackDrawingFragment
}
feedback_feedback {
...FeedbackFeedbackFragment
}
feedback_scores {
...FeedbackScoreFragment
}
feedback_summaries {
...FeedbackSummaryFragment
}
feedback_texts {
...FeedbackTextFragment
}
feedbacks {
...FeedbackFragment
}
finished
ia_was_requested_resume
id
is_open_feedback
seen_by_student
teacher {
...UserFragment
}
teacher_id
train_the_trainer_feedback {
...TrainTheTrainerFeedbackFragment
}
}
}
Variables
{"feedback_id": "4"}
Response
{
"data": {
"incrementIaResumeRequested": {
"answer": Answer,
"answer_id": 4,
"approved": true,
"belong_to_feedback_id": 4,
"comments": "abc123",
"evaluated_at": "xyz789",
"everyone_evaluate_answer": Answer,
"everyone_evaluate_answer_id": 4,
"feedback_audios": [FeedbackAudio],
"feedback_common_mistakes": [FeedbackCommonMistake],
"feedback_drawings": [FeedbackDrawing],
"feedback_feedback": FeedbackFeedback,
"feedback_scores": [FeedbackScore],
"feedback_summaries": [FeedbackSummary],
"feedback_texts": [FeedbackText],
"feedbacks": [Feedback],
"finished": true,
"ia_was_requested_resume": 123,
"id": 4,
"is_open_feedback": true,
"seen_by_student": 987.65,
"teacher": User,
"teacher_id": 4,
"train_the_trainer_feedback": TrainTheTrainerFeedback
}
}
}
kickUserFromCourse
Example
Query
mutation kickUserFromCourse(
$user_id: ID!,
$course_id: ID!
) {
kickUserFromCourse(
user_id: $user_id,
course_id: $course_id
)
}
Variables
{"user_id": "4", "course_id": 4}
Response
{"data": {"kickUserFromCourse": false}}
matchC1do1AndBlackboardCourses
Response
Returns a Boolean
Example
Query
mutation matchC1do1AndBlackboardCourses(
$lms_course_id: String!,
$c1do1_course_id: ID!,
$lms_course_type_id: ID
) {
matchC1do1AndBlackboardCourses(
lms_course_id: $lms_course_id,
c1do1_course_id: $c1do1_course_id,
lms_course_type_id: $lms_course_type_id
)
}
Variables
{
"lms_course_id": "xyz789",
"c1do1_course_id": 4,
"lms_course_type_id": 4
}
Response
{"data": {"matchC1do1AndBlackboardCourses": false}}
moveStageDown
moveStageUp
payWallet
Response
Returns a WalletType
Example
Query
mutation payWallet(
$wallet_id: ID!,
$amount: Float!,
$ids: [ID]!
) {
payWallet(
wallet_id: $wallet_id,
amount: $amount,
ids: $ids
) {
balance
course {
...CourseFragment
}
course_id
created_at
feedback_count
id
is_active
on_hold
payed
teacher {
...UserFragment
}
teacher_id
total
transactions
updated_at
withdrawn
}
}
Variables
{
"wallet_id": "4",
"amount": 123.45,
"ids": ["4"]
}
Response
{
"data": {
"payWallet": {
"balance": 123.45,
"course": Course,
"course_id": "4",
"created_at": "abc123",
"feedback_count": 987,
"id": 4,
"is_active": false,
"on_hold": 123.45,
"payed": 987.65,
"teacher": User,
"teacher_id": 4,
"total": 987.65,
"transactions": 123,
"updated_at": "xyz789",
"withdrawn": 123.45
}
}
}
readNotification
Response
Returns a Notification!
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
mutation readNotification($id: ID!) {
readNotification(id: $id) {
answer_id
course_id
data
exercise_id
feedback_id
id
notification_type
read
stage_id
user {
...UserFragment
}
user_id
}
}
Variables
{"id": 4}
Response
{
"data": {
"readNotification": {
"answer_id": "4",
"course_id": 4,
"data": {},
"exercise_id": 4,
"feedback_id": "4",
"id": 4,
"notification_type": "xyz789",
"read": true,
"stage_id": 4,
"user": User,
"user_id": "4"
}
}
}
reasignTeacher
Response
Returns a UserCourse
Example
Query
mutation reasignTeacher(
$course_id: Int,
$user_id: Int,
$teacher_id: Int
) {
reasignTeacher(
course_id: $course_id,
user_id: $user_id,
teacher_id: $teacher_id
) {
course {
...CourseFragment
}
course_id
id
teacher_id
user {
...UserFragment
}
user_id
}
}
Variables
{"course_id": 987, "user_id": 123, "teacher_id": 123}
Response
{
"data": {
"reasignTeacher": {
"course": Course,
"course_id": 987,
"id": 987,
"teacher_id": 123,
"user": User,
"user_id": 987
}
}
}
rejectRequest
Example
Query
mutation rejectRequest(
$request_id: ID!,
$reject_message: String
) {
rejectRequest(
request_id: $request_id,
reject_message: $reject_message
) {
course {
...CourseFragment
}
course_id
id
request_message
status
user {
...UserFragment
}
user_id
}
}
Variables
{
"request_id": "4",
"reject_message": "abc123"
}
Response
{
"data": {
"rejectRequest": {
"course": Course,
"course_id": 4,
"id": "4",
"request_message": "xyz789",
"status": "abc123",
"user": User,
"user_id": "4"
}
}
}
removeAnswerOfCurrentStudent
Example
Query
mutation removeAnswerOfCurrentStudent(
$course_id: ID!,
$exercise_id: ID!
) {
removeAnswerOfCurrentStudent(
course_id: $course_id,
exercise_id: $exercise_id
)
}
Variables
{"course_id": "4", "exercise_id": 4}
Response
{"data": {"removeAnswerOfCurrentStudent": true}}
removeArticulateFromStage
Example
Query
mutation removeArticulateFromStage($tutorial_articulate_id: ID!) {
removeArticulateFromStage(tutorial_articulate_id: $tutorial_articulate_id)
}
Variables
{"tutorial_articulate_id": "4"}
Response
{"data": {"removeArticulateFromStage": true}}
removeAudioFromArticulate
Example
Query
mutation removeAudioFromArticulate($tutorial_audio_id: ID!) {
removeAudioFromArticulate(tutorial_audio_id: $tutorial_audio_id)
}
Variables
{"tutorial_audio_id": 4}
Response
{"data": {"removeAudioFromArticulate": true}}
removeAudioFromStage
removeAudioFromVideo
removeCategoryFromCourse
Example
Query
mutation removeCategoryFromCourse(
$course_id: ID!,
$category_id: ID!
) {
removeCategoryFromCourse(
course_id: $course_id,
category_id: $category_id
)
}
Variables
{
"course_id": "4",
"category_id": "4"
}
Response
{"data": {"removeCategoryFromCourse": true}}
removeCommonMistake
Response
Returns a CommonMistake!
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
mutation removeCommonMistake($id: ID!) {
removeCommonMistake(id: $id) {
approved
author {
...UserFragment
}
author_id
course {
...CourseFragment
}
course_id
description
id
link
locale_descriptions
locale_titles
title
video_duration
video_size
video_size_without_compress
}
}
Variables
{"id": "4"}
Response
{
"data": {
"removeCommonMistake": {
"approved": true,
"author": User,
"author_id": "4",
"course": Course,
"course_id": 4,
"description": {},
"id": "4",
"link": "xyz789",
"locale_descriptions": {},
"locale_titles": {},
"title": {},
"video_duration": 987,
"video_size": 123.45,
"video_size_without_compress": 123.45
}
}
}
removeDiscountCode
removeDocFromArticulate
removeDocFromStage
removeDocFromVideo
removeEstablishmentAuthorizedUser
Example
Query
mutation removeEstablishmentAuthorizedUser($authorized_user_id: ID!) {
removeEstablishmentAuthorizedUser(authorized_user_id: $authorized_user_id)
}
Variables
{"authorized_user_id": 4}
Response
{"data": {"removeEstablishmentAuthorizedUser": false}}
removeEvaluationGroup
Example
Query
mutation removeEvaluationGroup(
$evaluation_group_id: ID!,
$course_id: ID!
) {
removeEvaluationGroup(
evaluation_group_id: $evaluation_group_id,
course_id: $course_id
)
}
Variables
{
"evaluation_group_id": "4",
"course_id": "4"
}
Response
{"data": {"removeEvaluationGroup": false}}
removeEvaluationGroupSetting
Example
Query
mutation removeEvaluationGroupSetting($evaluation_group_setting_id: ID!) {
removeEvaluationGroupSetting(evaluation_group_setting_id: $evaluation_group_setting_id)
}
Variables
{"evaluation_group_setting_id": "4"}
Response
{"data": {"removeEvaluationGroupSetting": true}}
removeEvaluationItemFromExercise
Example
Query
mutation removeEvaluationItemFromExercise($evaluation_item_id: ID!) {
removeEvaluationItemFromExercise(evaluation_item_id: $evaluation_item_id)
}
Variables
{"evaluation_item_id": 4}
Response
{"data": {"removeEvaluationItemFromExercise": false}}
removeEvaluationTimeExercise
Example
Query
mutation removeEvaluationTimeExercise($evaluation_time_exercise_id: ID!) {
removeEvaluationTimeExercise(evaluation_time_exercise_id: $evaluation_time_exercise_id)
}
Variables
{"evaluation_time_exercise_id": "4"}
Response
{"data": {"removeEvaluationTimeExercise": false}}
removeEveryoneEvaluateTeacherAssignment
Response
Returns a Boolean
Example
Query
mutation removeEveryoneEvaluateTeacherAssignment(
$student_id: ID!,
$teacher_id: ID!,
$stage_id: ID!
) {
removeEveryoneEvaluateTeacherAssignment(
student_id: $student_id,
teacher_id: $teacher_id,
stage_id: $stage_id
)
}
Variables
{
"student_id": 4,
"teacher_id": 4,
"stage_id": "4"
}
Response
{"data": {"removeEveryoneEvaluateTeacherAssignment": true}}
removeFeedbackAudio
removeFeedbackCommonMistake
Example
Query
mutation removeFeedbackCommonMistake($feedback_common_mistake_id: ID!) {
removeFeedbackCommonMistake(feedback_common_mistake_id: $feedback_common_mistake_id)
}
Variables
{"feedback_common_mistake_id": 4}
Response
{"data": {"removeFeedbackCommonMistake": false}}
removeFeedbackDrawing
Example
Query
mutation removeFeedbackDrawing($feedback_drawing_id: ID!) {
removeFeedbackDrawing(feedback_drawing_id: $feedback_drawing_id)
}
Variables
{"feedback_drawing_id": 4}
Response
{"data": {"removeFeedbackDrawing": false}}
removeFeedbackText
removeImageFromArticulate
Example
Query
mutation removeImageFromArticulate($tutorial_image_id: ID!) {
removeImageFromArticulate(tutorial_image_id: $tutorial_image_id)
}
Variables
{"tutorial_image_id": 4}
Response
{"data": {"removeImageFromArticulate": false}}
removeImageFromStage
removeImageFromVideo
removeInstitutionalAdministrator
Example
Query
mutation removeInstitutionalAdministrator(
$user_id: ID!,
$institutional_user_id: ID!
) {
removeInstitutionalAdministrator(
user_id: $user_id,
institutional_user_id: $institutional_user_id
)
}
Variables
{"user_id": 4, "institutional_user_id": "4"}
Response
{"data": {"removeInstitutionalAdministrator": false}}
removeLtiRole
removeOptionFromQuestion
removeQuestionFromExercise
removeStudentFromCourse
Example
Query
mutation removeStudentFromCourse(
$user_id: ID,
$email: String,
$course_id: ID!
) {
removeStudentFromCourse(
user_id: $user_id,
email: $email,
course_id: $course_id
)
}
Variables
{
"user_id": 4,
"email": "xyz789",
"course_id": 4
}
Response
{"data": {"removeStudentFromCourse": false}}
removeTeacherFromCourse
Example
Query
mutation removeTeacherFromCourse(
$user_id: ID,
$email: String,
$course_id: ID!
) {
removeTeacherFromCourse(
user_id: $user_id,
email: $email,
course_id: $course_id
)
}
Variables
{
"user_id": 4,
"email": "xyz789",
"course_id": "4"
}
Response
{"data": {"removeTeacherFromCourse": true}}
removeTeacherInTrainingFromCourse
Example
Query
mutation removeTeacherInTrainingFromCourse(
$user_id: ID,
$email: String,
$course_id: ID!
) {
removeTeacherInTrainingFromCourse(
user_id: $user_id,
email: $email,
course_id: $course_id
)
}
Variables
{
"user_id": "4",
"email": "xyz789",
"course_id": 4
}
Response
{"data": {"removeTeacherInTrainingFromCourse": true}}
removeTutorialApp
removeUser
removeVideoFromStage
requestCourse
Example
Query
mutation requestCourse(
$course_id: ID!,
$request_message: String
) {
requestCourse(
course_id: $course_id,
request_message: $request_message
) {
course {
...CourseFragment
}
course_id
id
request_message
status
user {
...UserFragment
}
user_id
}
}
Variables
{
"course_id": "4",
"request_message": "xyz789"
}
Response
{
"data": {
"requestCourse": {
"course": Course,
"course_id": 4,
"id": 4,
"request_message": "abc123",
"status": "xyz789",
"user": User,
"user_id": "4"
}
}
}
resetPassword
Example
Query
mutation resetPassword(
$password: String!,
$token: String!
) {
resetPassword(
password: $password,
token: $token
) {
about
academic_degree
accepted_requests {
...CourseFragment
}
accepted_terms
address
administered_institutions {
...InstitutionalAdministratorFragment
}
administrators {
...InstitutionalAdministratorFragment
}
authorized_create_course
authorized_create_course_by_establishments
available_courses
available_licenses
awaiting_payment_requests {
...CourseFragment
}
belong_to_user_id
birth_date
color
country
courses {
...CourseFragment
}
current_courses {
...CourseFragment
}
curriculum_file
dynamic_labels {
...DynamicLabelFragment
}
email
establishment {
...EstablishmentFragment
}
failed_courses {
...CourseFragment
}
father_user {
...UserFragment
}
id
identity_number
image
in_training_courses {
...CourseFragment
}
institution
institution_code
internal_users {
...UserFragment
}
is_superadmin
last_login
lastname
licenses
linkedin
lms_user_id
locale
max_courses
name
notifications {
...NotificationFragment
}
onboarding
own_courses {
...CourseFragment
}
passed_courses {
...CourseFragment
}
paypal_email
pending_requests {
...CourseFragment
}
presentation_video
profession
profile_image_link
provider
rating
rejected_requests {
...CourseFragment
}
requests {
...RequestFragment
}
role
role_id
second_admin_courses {
...CourseFragment
}
sex
state
status_id
taught_courses {
...CourseFragment
}
template_color {
...TemplateColorTypeFragment
}
template_color_id
tutorial_tooltips {
...TutorialTooltipFragment
}
universities_establishments {
...EstablishmentFragment
}
university {
...UniversityFragment
}
unpublished_courses {
...CourseFragment
}
unread_notifications {
...NotificationFragment
}
video_duration
video_size
video_size_without_compress
work_place
}
}
Variables
{
"password": "xyz789",
"token": "xyz789"
}
Response
{
"data": {
"resetPassword": {
"about": "abc123",
"academic_degree": "abc123",
"accepted_requests": [Course],
"accepted_terms": true,
"address": "xyz789",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": true,
"authorized_create_course_by_establishments": false,
"available_courses": 123,
"available_licenses": 987,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 123,
"birth_date": "abc123",
"color": "abc123",
"country": "xyz789",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "abc123",
"dynamic_labels": [DynamicLabel],
"email": "abc123",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": 4,
"identity_number": "xyz789",
"image": "abc123",
"in_training_courses": [Course],
"institution": "abc123",
"institution_code": "xyz789",
"internal_users": [User],
"is_superadmin": false,
"last_login": "xyz789",
"lastname": "xyz789",
"licenses": 123,
"linkedin": "xyz789",
"lms_user_id": "abc123",
"locale": "abc123",
"max_courses": 123,
"name": "abc123",
"notifications": [Notification],
"onboarding": false,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "xyz789",
"pending_requests": [Course],
"presentation_video": "xyz789",
"profession": "abc123",
"profile_image_link": "abc123",
"provider": "abc123",
"rating": 987,
"rejected_requests": [Course],
"requests": [Request],
"role": "abc123",
"role_id": 987,
"second_admin_courses": [Course],
"sex": "abc123",
"state": "abc123",
"status_id": "abc123",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 987,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 987,
"video_size": 987.65,
"video_size_without_compress": 987.65,
"work_place": "xyz789"
}
}
}
revertAnswerEvaluation
Example
Query
mutation revertAnswerEvaluation(
$answer_id: ID!,
$course_id: ID!
) {
revertAnswerEvaluation(
answer_id: $answer_id,
course_id: $course_id
)
}
Variables
{
"answer_id": "4",
"course_id": "4"
}
Response
{"data": {"revertAnswerEvaluation": false}}
saveFeedbackSummary
Response
Returns a Boolean!
Example
Query
mutation saveFeedbackSummary(
$summary: String!,
$feedback_id: ID!,
$choice_id: Int!,
$recommendation1: String!,
$recommendation2: String!
) {
saveFeedbackSummary(
summary: $summary,
feedback_id: $feedback_id,
choice_id: $choice_id,
recommendation1: $recommendation1,
recommendation2: $recommendation2
)
}
Variables
{
"summary": "xyz789",
"feedback_id": 4,
"choice_id": 123,
"recommendation1": "abc123",
"recommendation2": "xyz789"
}
Response
{"data": {"saveFeedbackSummary": true}}
sendContactEmail
Response
Returns a Boolean!
Example
Query
mutation sendContactEmail(
$fullname: String!,
$useremail: String!,
$phone: String!,
$institution: String,
$message: String!,
$locale: String
) {
sendContactEmail(
fullname: $fullname,
useremail: $useremail,
phone: $phone,
institution: $institution,
message: $message,
locale: $locale
)
}
Variables
{
"fullname": "xyz789",
"useremail": "abc123",
"phone": "abc123",
"institution": "xyz789",
"message": "xyz789",
"locale": "abc123"
}
Response
{"data": {"sendContactEmail": false}}
sendEmailContact
Response
Returns a Boolean!
Example
Query
mutation sendEmailContact(
$user_email: String!,
$fullname: String!,
$message: String!
) {
sendEmailContact(
user_email: $user_email,
fullname: $fullname,
message: $message
)
}
Variables
{
"user_email": "xyz789",
"fullname": "abc123",
"message": "abc123"
}
Response
{"data": {"sendEmailContact": false}}
sendPublishingNotification
signinUser
Response
Returns a SigninPayload
Example
Query
mutation signinUser(
$email: String!,
$password: String!,
$device_token: String,
$token_id_provider: String,
$provider: String
) {
signinUser(
email: $email,
password: $password,
device_token: $device_token,
token_id_provider: $token_id_provider,
provider: $provider
) {
token
user {
...UserFragment
}
}
}
Variables
{
"email": "abc123",
"password": "xyz789",
"device_token": "xyz789",
"token_id_provider": "abc123",
"provider": "abc123"
}
Response
{
"data": {
"signinUser": {
"token": "xyz789",
"user": User
}
}
}
signoutUser
Response
Returns a SignoutPayload
Arguments
Name | Description |
---|---|
device_token - String
|
Example
Query
mutation signoutUser($device_token: String) {
signoutUser(device_token: $device_token) {
status
}
}
Variables
{"device_token": "abc123"}
Response
{
"data": {
"signoutUser": {"status": "abc123"}
}
}
superAdminUpdateAllCourseStatusStage
Example
Query
mutation superAdminUpdateAllCourseStatusStage($course_id: ID!) {
superAdminUpdateAllCourseStatusStage(course_id: $course_id)
}
Variables
{"course_id": 4}
Response
{"data": {"superAdminUpdateAllCourseStatusStage": false}}
syncCourseTeacherPayments
toggleCoursePayment
Response
Returns a CoursePaymentInformationType
Example
Query
mutation toggleCoursePayment(
$course_id: ID!,
$is_active: Boolean,
$full_pay_amount: Float
) {
toggleCoursePayment(
course_id: $course_id,
is_active: $is_active,
full_pay_amount: $full_pay_amount
) {
course_id
created_at
full_pay
full_pay_amount
id
is_active
max_payed_session
pay_by_session
pay_per_approved
pay_per_rejected
updated_at
}
}
Variables
{
"course_id": "4",
"is_active": true,
"full_pay_amount": 123.45
}
Response
{
"data": {
"toggleCoursePayment": {
"course_id": 4,
"created_at": "abc123",
"full_pay": false,
"full_pay_amount": 987.65,
"id": "4",
"is_active": true,
"max_payed_session": 123,
"pay_by_session": false,
"pay_per_approved": 123.45,
"pay_per_rejected": 123.45,
"updated_at": "abc123"
}
}
}
toggleWallet
Response
Returns a WalletType
Example
Query
mutation toggleWallet(
$wallet_id: ID!,
$is_active: Boolean!
) {
toggleWallet(
wallet_id: $wallet_id,
is_active: $is_active
) {
balance
course {
...CourseFragment
}
course_id
created_at
feedback_count
id
is_active
on_hold
payed
teacher {
...UserFragment
}
teacher_id
total
transactions
updated_at
withdrawn
}
}
Variables
{"wallet_id": 4, "is_active": true}
Response
{
"data": {
"toggleWallet": {
"balance": 987.65,
"course": Course,
"course_id": "4",
"created_at": "abc123",
"feedback_count": 987,
"id": 4,
"is_active": false,
"on_hold": 987.65,
"payed": 987.65,
"teacher": User,
"teacher_id": "4",
"total": 987.65,
"transactions": 123,
"updated_at": "xyz789",
"withdrawn": 987.65
}
}
}
undoAnswer
updateAttempsEvaluations
Example
Query
mutation updateAttempsEvaluations(
$user_id: ID!,
$stage_id: ID!
) {
updateAttempsEvaluations(
user_id: $user_id,
stage_id: $stage_id
)
}
Variables
{"user_id": 4, "stage_id": "4"}
Response
{"data": {"updateAttempsEvaluations": false}}
updateCertificate
Response
Returns a UserCertificateType
Example
Query
mutation updateCertificate(
$id: ID!,
$certificate_link: String
) {
updateCertificate(
id: $id,
certificate_link: $certificate_link
) {
certificate_link
course_id
course_title
id
name
token
user_id
}
}
Variables
{
"id": "4",
"certificate_link": "xyz789"
}
Response
{
"data": {
"updateCertificate": {
"certificate_link": "xyz789",
"course_id": 4,
"course_title": "abc123",
"id": "4",
"name": "abc123",
"token": "xyz789",
"user_id": 4
}
}
}
updateCourse
Response
Returns a Course!
Arguments
Name | Description |
---|---|
id - ID!
|
|
title - JSON
|
|
student_capacity - Int
|
|
categories - [ID]
|
|
lms_course_type_id - Int
|
|
learn_list - [String]
|
|
presentation_video - String
|
|
description - JSON
|
|
goal - String
|
|
image_link - String
|
|
sequential_stages - Boolean
|
|
is_train_the_trainer - Boolean
|
|
is_closed_course - Boolean
|
|
student_upload - Boolean
|
|
start_date - String
|
|
end_date - String
|
|
admissions_fee - Int
|
|
published - Boolean
|
|
blind_evaluation - Boolean
|
|
available_throughout_faculty - Int
|
|
available_languages - [String]
|
|
random_student_assigment - Boolean
|
|
privacy_rule - String
|
|
accepted_terms_payments - Boolean
|
|
peer_review - Boolean
|
|
video_duration - Int
|
|
video_size - Float
|
|
video_size_without_compress - Float
|
|
double_video_answers - Boolean
|
Example
Query
mutation updateCourse(
$id: ID!,
$title: JSON,
$student_capacity: Int,
$categories: [ID],
$lms_course_type_id: Int,
$learn_list: [String],
$presentation_video: String,
$description: JSON,
$goal: String,
$image_link: String,
$sequential_stages: Boolean,
$is_train_the_trainer: Boolean,
$is_closed_course: Boolean,
$student_upload: Boolean,
$start_date: String,
$end_date: String,
$admissions_fee: Int,
$published: Boolean,
$blind_evaluation: Boolean,
$available_throughout_faculty: Int,
$available_languages: [String],
$random_student_assigment: Boolean,
$privacy_rule: String,
$accepted_terms_payments: Boolean,
$peer_review: Boolean,
$video_duration: Int,
$video_size: Float,
$video_size_without_compress: Float,
$double_video_answers: Boolean
) {
updateCourse(
id: $id,
title: $title,
student_capacity: $student_capacity,
categories: $categories,
lms_course_type_id: $lms_course_type_id,
learn_list: $learn_list,
presentation_video: $presentation_video,
description: $description,
goal: $goal,
image_link: $image_link,
sequential_stages: $sequential_stages,
is_train_the_trainer: $is_train_the_trainer,
is_closed_course: $is_closed_course,
student_upload: $student_upload,
start_date: $start_date,
end_date: $end_date,
admissions_fee: $admissions_fee,
published: $published,
blind_evaluation: $blind_evaluation,
available_throughout_faculty: $available_throughout_faculty,
available_languages: $available_languages,
random_student_assigment: $random_student_assigment,
privacy_rule: $privacy_rule,
accepted_terms_payments: $accepted_terms_payments,
peer_review: $peer_review,
video_duration: $video_duration,
video_size: $video_size,
video_size_without_compress: $video_size_without_compress,
double_video_answers: $double_video_answers
) {
accepted_terms_payments
active_students {
...UserFragment
}
active_students_count
admin {
...UserFragment
}
admin_id
admissions_fee
ai_available_by_courses {
...AiAvailableByCourseTypeFragment
}
answers_count
available_languages
available_throughout_faculty
blind_evaluation
categories {
...CategoryFragment
}
category_ids
common_mistakes {
...CommonMistakeFragment
}
course_preview_images {
...PreviewImageFragment
}
created_at
default_language
description
discount_code {
...DiscountCodeFragment
}
discount_code_id
double_video_answers
duration
end_date
establishment {
...EstablishmentFragment
}
everyone_evaluate_id
failed_students {
...UserFragment
}
goal
has_evaluation_group_stages
has_everyone_evaluate_stages
id
is_closed_course
is_train_the_trainer
learn_list
lms_academic_period
lms_course_id
lms_course_type_id
lms_event_id
lms_id
lms_master_id
locale_descriptions
locale_learn_list
locale_titles
next_course {
...CourseFragment
}
number_of_students
parent_course {
...CourseFragment
}
passed_students {
...UserFragment
}
peer_review
pending_answer_to_evaluate_by_user
pending_request
pending_requests {
...RequestFragment
}
position
presentation_video
privacy_rule
published
random_student_assigment
requests {
...RequestFragment
}
requirement_course {
...CourseFragment
}
requirements {
...RequirementTypeFragment
}
review_avg
reviews {
...ReviewFragment
}
score
second_admin_id
sequential_stages
stages {
...StageFragment
}
start_date
student_capacity
student_upload
teachers {
...UserFragment
}
teachers_in_training {
...UserFragment
}
title
updated_at
updated_at_table
user {
...UserFragment
}
user_requests {
...UserFragment
}
video_duration
video_size
video_size_without_compress
}
}
Variables
{
"id": "4",
"title": {},
"student_capacity": 123,
"categories": [4],
"lms_course_type_id": 123,
"learn_list": ["abc123"],
"presentation_video": "abc123",
"description": {},
"goal": "xyz789",
"image_link": "abc123",
"sequential_stages": false,
"is_train_the_trainer": false,
"is_closed_course": false,
"student_upload": false,
"start_date": "xyz789",
"end_date": "xyz789",
"admissions_fee": 987,
"published": true,
"blind_evaluation": true,
"available_throughout_faculty": 123,
"available_languages": ["abc123"],
"random_student_assigment": false,
"privacy_rule": "xyz789",
"accepted_terms_payments": true,
"peer_review": false,
"video_duration": 987,
"video_size": 987.65,
"video_size_without_compress": 123.45,
"double_video_answers": false
}
Response
{
"data": {
"updateCourse": {
"accepted_terms_payments": true,
"active_students": [User],
"active_students_count": 123,
"admin": User,
"admin_id": 987,
"admissions_fee": 987.65,
"ai_available_by_courses": [
AiAvailableByCourseType
],
"answers_count": 987,
"available_languages": ["abc123"],
"available_throughout_faculty": 123,
"blind_evaluation": false,
"categories": [Category],
"category_ids": ["4"],
"common_mistakes": [CommonMistake],
"course_preview_images": [PreviewImage],
"created_at": 987,
"default_language": "abc123",
"description": {},
"discount_code": DiscountCode,
"discount_code_id": 987,
"double_video_answers": true,
"duration": "abc123",
"end_date": "xyz789",
"establishment": Establishment,
"everyone_evaluate_id": 123,
"failed_students": [User],
"goal": "xyz789",
"has_evaluation_group_stages": true,
"has_everyone_evaluate_stages": true,
"id": 4,
"is_closed_course": false,
"is_train_the_trainer": false,
"learn_list": {},
"lms_academic_period": "xyz789",
"lms_course_id": "xyz789",
"lms_course_type_id": 987,
"lms_event_id": "xyz789",
"lms_id": "abc123",
"lms_master_id": "xyz789",
"locale_descriptions": {},
"locale_learn_list": {},
"locale_titles": {},
"next_course": [Course],
"number_of_students": 987,
"parent_course": Course,
"passed_students": [User],
"peer_review": true,
"pending_answer_to_evaluate_by_user": 987,
"pending_request": 987,
"pending_requests": [Request],
"position": 123,
"presentation_video": "xyz789",
"privacy_rule": "xyz789",
"published": true,
"random_student_assigment": true,
"requests": [Request],
"requirement_course": [Course],
"requirements": [RequirementType],
"review_avg": 987.65,
"reviews": [Review],
"score": 987,
"second_admin_id": 987,
"sequential_stages": true,
"stages": [Stage],
"start_date": "abc123",
"student_capacity": 987,
"student_upload": false,
"teachers": [User],
"teachers_in_training": [User],
"title": {},
"updated_at": "xyz789",
"updated_at_table": 987,
"user": [User],
"user_requests": [User],
"video_duration": 987,
"video_size": 123.45,
"video_size_without_compress": 123.45
}
}
}
updateDynamicLabel
Response
Returns a DynamicLabel!
Example
Query
mutation updateDynamicLabel(
$id: ID!,
$owner_name: String,
$category: String,
$label: JSON,
$default_language: String
) {
updateDynamicLabel(
id: $id,
owner_name: $owner_name,
category: $category,
label: $label,
default_language: $default_language
) {
available_languages
category
default_language
id
label
owner_name
plural_label
}
}
Variables
{
"id": 4,
"owner_name": "abc123",
"category": "xyz789",
"label": {},
"default_language": "abc123"
}
Response
{
"data": {
"updateDynamicLabel": {
"available_languages": ["xyz789"],
"category": "abc123",
"default_language": "xyz789",
"id": 4,
"label": {},
"owner_name": "xyz789",
"plural_label": {}
}
}
}
updateLastLogin
Response
Returns a Boolean!
Example
Query
mutation updateLastLogin {
updateLastLogin
}
Response
{"data": {"updateLastLogin": false}}
updateLmsScoreBook
Response
Returns a LmsScoreBook!
Example
Query
mutation updateLmsScoreBook(
$lms_score_book_id: ID!,
$min_value: Float!,
$max_value: Float!,
$lms_resource: String!,
$lms_score_stage_items: JSON!
) {
updateLmsScoreBook(
lms_score_book_id: $lms_score_book_id,
min_value: $min_value,
max_value: $max_value,
lms_resource: $lms_resource,
lms_score_stage_items: $lms_score_stage_items
) {
course_id
id
lms_resource
lms_score_book_student_grades {
...LmsScoreBookStudentGradeFragment
}
lms_score_stage_items {
...LmsScoreStageItemFragment
}
max_value
min_value
}
}
Variables
{
"lms_score_book_id": 4,
"min_value": 123.45,
"max_value": 987.65,
"lms_resource": "xyz789",
"lms_score_stage_items": {}
}
Response
{
"data": {
"updateLmsScoreBook": {
"course_id": 123,
"id": 4,
"lms_resource": "xyz789",
"lms_score_book_student_grades": [
LmsScoreBookStudentGrade
],
"lms_score_stage_items": [LmsScoreStageItem],
"max_value": 987.65,
"min_value": 123.45
}
}
}
updateLmsScoreBookManually
updateReadMessage
updateStatusStageMultipleChoice
Example
Query
mutation updateStatusStageMultipleChoice(
$course_id: ID!,
$answer_id: ID!
) {
updateStatusStageMultipleChoice(
course_id: $course_id,
answer_id: $answer_id
)
}
Variables
{"course_id": 4, "answer_id": 4}
Response
{"data": {"updateStatusStageMultipleChoice": false}}
updateStudentsCourseCount
Response
Returns a Boolean!
Example
Query
mutation updateStudentsCourseCount {
updateStudentsCourseCount
}
Response
{"data": {"updateStudentsCourseCount": false}}
upsertDynamicLabelsForUser
Example
Query
mutation upsertDynamicLabelsForUser($dynamic_labels: [ID]) {
upsertDynamicLabelsForUser(dynamic_labels: $dynamic_labels)
}
Variables
{"dynamic_labels": [4]}
Response
{"data": {"upsertDynamicLabelsForUser": false}}
upsertTutorialTooltipsForUser
Example
Query
mutation upsertTutorialTooltipsForUser(
$action: String!,
$name: String
) {
upsertTutorialTooltipsForUser(
action: $action,
name: $name
)
}
Variables
{
"action": "abc123",
"name": "xyz789"
}
Response
{"data": {"upsertTutorialTooltipsForUser": false}}
Types
AcademicPeriod
AchievementIndicator
AiAvailableByCourseType
Example
{
"ai_available": AiAvailableType,
"ai_available_id": 123,
"course_id": 987,
"created_at": 987,
"id": "4",
"is_enabled": true,
"prompt_if_needed": "abc123",
"updated_at": 123
}
AiAvailableType
AiTeach1Processing
Description
AI Teach1 Processing record
Fields
Field Name | Description |
---|---|
ai_teach1_processing_results - [AiTeach1ProcessingResult]
|
|
answer - Answer
|
|
answer_id - ID!
|
|
created_at - Int
|
|
detailed_description - String
|
|
id - ID!
|
|
key_elements - JSON
|
|
language - String
|
|
model - String
|
|
status - String
|
|
summary - String
|
|
updated_at - Int
|
|
video_link - String
|
|
video_size_bytes - Int
|
Example
{
"ai_teach1_processing_results": [
AiTeach1ProcessingResult
],
"answer": Answer,
"answer_id": "4",
"created_at": 123,
"detailed_description": "abc123",
"id": 4,
"key_elements": {},
"language": "xyz789",
"model": "abc123",
"status": "abc123",
"summary": "xyz789",
"updated_at": 123,
"video_link": "abc123",
"video_size_bytes": 987
}
AiTeach1ProcessingInput
Example
{
"model": "abc123",
"video_link": "abc123",
"video_size_bytes": 987,
"language": "abc123",
"summary": "abc123",
"detailed_description": "xyz789",
"key_elements": [KeyElementInput],
"answer_id": "4",
"status": "xyz789"
}
AiTeach1ProcessingResult
Description
AI Teach1 Processing Result record
Example
{
"ai_teach1_processing": AiTeach1Processing,
"ai_teach1_processing_id": "4",
"created_at": 123,
"description": "xyz789",
"feedback_suggested": "xyz789",
"feedback_suggested_edited": "abc123",
"id": 4,
"significance": "abc123",
"status_by_user": "xyz789",
"timestamp_seconds": 123,
"updated_at": 123
}
AiTeach1ProcessingResultInput
Answer
Fields
Field Name | Description |
---|---|
created_at - Int
|
|
evaluated - Boolean!
|
|
evaluation_group - EvaluationGroup
|
|
evaluation_group_id - ID
|
|
everyone_evaluate_student_feedbacks - [Feedback]
|
|
exercise - Exercise!
|
|
exercise_id - ID!
|
|
feedback - Feedback
|
|
id - ID!
|
|
notes - String
|
|
question_answers - [QuestionAnswer]
|
|
seen_by_teacher - Boolean
|
|
try_number - Int!
|
|
updated_at - Int
|
|
user - User
|
|
user_course_status_stage - [UserCourseStatusStage]
|
|
user_id - ID
|
|
video_duration - Int
|
|
video_link - [String]
|
|
video_size - Float
|
|
video_size_without_compress - Float
|
Example
{
"created_at": 123,
"evaluated": false,
"evaluation_group": EvaluationGroup,
"evaluation_group_id": 4,
"everyone_evaluate_student_feedbacks": [Feedback],
"exercise": Exercise,
"exercise_id": "4",
"feedback": Feedback,
"id": 4,
"notes": "abc123",
"question_answers": [QuestionAnswer],
"seen_by_teacher": false,
"try_number": 987,
"updated_at": 987,
"user": User,
"user_course_status_stage": [UserCourseStatusStage],
"user_id": 4,
"video_duration": 123,
"video_link": ["xyz789"],
"video_size": 987.65,
"video_size_without_compress": 987.65
}
AnswerEvaluationsFilterProvider
AnswerFilter
Fields
Input Field | Description |
---|---|
evaluated - AnswerStatus
|
|
exercise_id - ID
|
|
user_id - ID
|
|
id - ID
|
|
ids - [ID]
|
Example
{
"evaluated": "PENDING",
"exercise_id": 4,
"user_id": "4",
"id": "4",
"ids": [4]
}
AnswerFilterProvider
Fields
Input Field | Description |
---|---|
evaluated - AnswerStatus
|
|
exercise_id - ID
|
|
course_id - ID
|
|
id - ID
|
Example
{
"evaluated": "PENDING",
"exercise_id": 4,
"course_id": "4",
"id": "4"
}
AnswerStatus
Values
Enum Value | Description |
---|---|
|
|
|
Example
"PENDING"
AwsRole
Example
{
"access_key_id": "xyz789",
"arn": "abc123",
"assumed_role_id": "abc123",
"expiration": "xyz789",
"packed_policy_size": "abc123",
"secret_access_key": "abc123",
"session_token": "xyz789"
}
Boolean
Description
Represents true
or false
values.
Example
true
Category
CategoryFilter
Fields
Input Field | Description |
---|---|
id - ID
|
|
en - String
|
|
es - String
|
|
ids - [IdFilter]
|
Example
{
"id": 4,
"en": "abc123",
"es": "abc123",
"ids": [IdFilter]
}
CategoryFilterProvider
ChatMemberType
ChatMessageType
ChatType
Fields
Field Name | Description |
---|---|
admin_course_id - ID!
|
|
admin_user - User
|
|
chat_members - [ChatMemberType]
|
|
course - Course
|
|
course_id - ID!
|
|
group - Boolean
|
|
id - ID!
|
|
last_message - ChatMessageType
|
|
unread_messages_admin - Int!
|
Example
{
"admin_course_id": 4,
"admin_user": User,
"chat_members": [ChatMemberType],
"course": Course,
"course_id": 4,
"group": false,
"id": "4",
"last_message": ChatMessageType,
"unread_messages_admin": 123
}
CommonMistake
Example
{
"approved": true,
"author": User,
"author_id": 4,
"course": Course,
"course_id": "4",
"description": {},
"id": "4",
"link": "xyz789",
"locale_descriptions": {},
"locale_titles": {},
"title": {},
"video_duration": 987,
"video_size": 123.45,
"video_size_without_compress": 123.45
}
CommonMistakeFilter
Fields
Input Field | Description |
---|---|
id - ID
|
|
ids - [ID]
|
|
exercise_id - [IdFilter]
|
|
author_id - ID
|
|
approved - Boolean
|
Example
{
"id": "4",
"ids": [4],
"exercise_id": [IdFilter],
"author_id": "4",
"approved": true
}
CommonMistakeFilterProvider
Course
Fields
Field Name | Description |
---|---|
accepted_terms_payments - Boolean
|
|
active_students - [User]
|
|
active_students_count - Int
|
|
admin - User!
|
|
admin_id - Int
|
|
admissions_fee - Float
|
|
ai_available_by_courses - [AiAvailableByCourseType]
|
|
answers_count - Int
|
|
available_languages - [String]
|
|
available_throughout_faculty - Int
|
|
blind_evaluation - Boolean
|
|
categories - [Category]
|
|
category_ids - [ID]
|
|
common_mistakes - [CommonMistake]
|
|
course_preview_images - [PreviewImage]
|
|
created_at - Int
|
|
default_language - String
|
|
description - JSON
|
|
discount_code - DiscountCode
|
|
discount_code_id - Int
|
|
double_video_answers - Boolean
|
|
duration - String
|
|
end_date - String
|
|
establishment - Establishment
|
|
everyone_evaluate_id - Int
|
|
failed_students - [User]
|
|
goal - String
|
|
has_evaluation_group_stages - Boolean
|
|
has_everyone_evaluate_stages - Boolean
|
|
id - ID!
|
|
is_closed_course - Boolean
|
|
is_train_the_trainer - Boolean
|
|
learn_list - JSON
|
|
lms_academic_period - String
|
|
lms_course_id - String
|
|
lms_course_type_id - Int
|
|
lms_event_id - String
|
|
lms_id - String
|
|
lms_master_id - String
|
|
locale_descriptions - JSON
|
|
locale_learn_list - JSON
|
|
locale_titles - JSON
|
|
next_course - [Course]
|
|
number_of_students - Int
|
|
parent_course - Course
|
|
passed_students - [User]
|
|
peer_review - Boolean
|
|
pending_answer_to_evaluate_by_user - Int
|
|
pending_request - Int
|
|
pending_requests - [Request]
|
|
position - Int
|
|
presentation_video - String
|
|
privacy_rule - String
|
|
published - Boolean!
|
|
random_student_assigment - Boolean
|
|
requests - [Request]
|
|
requirement_course - [Course]
|
|
requirements - [RequirementType]
|
|
review_avg - Float
|
|
reviews - [Review]
|
|
score - Int
|
|
second_admin_id - Int
|
|
sequential_stages - Boolean
|
|
stages - [Stage]
|
|
start_date - String
|
|
student_capacity - Int!
|
|
student_upload - Boolean
|
|
teachers - [User]
|
|
teachers_in_training - [User]
|
|
title - JSON
|
|
updated_at - String
|
|
updated_at_table - Int
|
|
user - [User]
|
|
user_requests - [User]
|
|
video_duration - Int
|
|
video_size - Float
|
|
video_size_without_compress - Float
|
Example
{
"accepted_terms_payments": false,
"active_students": [User],
"active_students_count": 987,
"admin": User,
"admin_id": 987,
"admissions_fee": 123.45,
"ai_available_by_courses": [AiAvailableByCourseType],
"answers_count": 123,
"available_languages": ["abc123"],
"available_throughout_faculty": 123,
"blind_evaluation": true,
"categories": [Category],
"category_ids": [4],
"common_mistakes": [CommonMistake],
"course_preview_images": [PreviewImage],
"created_at": 987,
"default_language": "xyz789",
"description": {},
"discount_code": DiscountCode,
"discount_code_id": 987,
"double_video_answers": true,
"duration": "abc123",
"end_date": "xyz789",
"establishment": Establishment,
"everyone_evaluate_id": 123,
"failed_students": [User],
"goal": "abc123",
"has_evaluation_group_stages": true,
"has_everyone_evaluate_stages": false,
"id": 4,
"is_closed_course": true,
"is_train_the_trainer": false,
"learn_list": {},
"lms_academic_period": "xyz789",
"lms_course_id": "xyz789",
"lms_course_type_id": 987,
"lms_event_id": "xyz789",
"lms_id": "abc123",
"lms_master_id": "abc123",
"locale_descriptions": {},
"locale_learn_list": {},
"locale_titles": {},
"next_course": [Course],
"number_of_students": 123,
"parent_course": Course,
"passed_students": [User],
"peer_review": true,
"pending_answer_to_evaluate_by_user": 123,
"pending_request": 123,
"pending_requests": [Request],
"position": 123,
"presentation_video": "xyz789",
"privacy_rule": "abc123",
"published": true,
"random_student_assigment": true,
"requests": [Request],
"requirement_course": [Course],
"requirements": [RequirementType],
"review_avg": 987.65,
"reviews": [Review],
"score": 123,
"second_admin_id": 123,
"sequential_stages": true,
"stages": [Stage],
"start_date": "abc123",
"student_capacity": 987,
"student_upload": false,
"teachers": [User],
"teachers_in_training": [User],
"title": {},
"updated_at": "xyz789",
"updated_at_table": 987,
"user": [User],
"user_requests": [User],
"video_duration": 987,
"video_size": 987.65,
"video_size_without_compress": 987.65
}
CourseByUserRoleFilterProvider
CourseFilter
CourseFilterProvider
Example
{
"id": 4,
"admin_id": 987,
"parent_course_id": 123,
"category": "4",
"start_date": "abc123",
"end_date": "abc123",
"headquarter_id": 123,
"academic_period_id": 987
}
CoursePaymentInformationFilter
Example
{
"id": 4,
"ids": ["4"],
"course_id": "4",
"full_pay": false,
"pay_by_session": false,
"is_active": false,
"min_full_pay_amount": 987.65,
"max_full_pay_amount": 987.65
}
CoursePaymentInformationType
Example
{
"course_id": "4",
"created_at": "abc123",
"full_pay": true,
"full_pay_amount": 123.45,
"id": 4,
"is_active": false,
"max_payed_session": 123,
"pay_by_session": false,
"pay_per_approved": 987.65,
"pay_per_rejected": 987.65,
"updated_at": "xyz789"
}
CourseRoleFilterProvider
CourseScoreType
CustomCourseType
DiscountCode
DynamicLabel
Example
{
"available_languages": ["xyz789"],
"category": "xyz789",
"default_language": "abc123",
"id": "4",
"label": {},
"owner_name": "xyz789",
"plural_label": {}
}
Establishment
Example
{
"available_courses": 987,
"available_licenses": 123,
"courses": [Course],
"id": "4",
"image": "xyz789",
"licenses": 123,
"max_courses": 987,
"name": "abc123",
"university": University,
"university_id": 4,
"user": User,
"user_id": "4"
}
EstablishmentFilterProvider
Fields
Input Field | Description |
---|---|
id - ID
|
Example
{"id": "4"}
EvaluationGroup
Fields
Field Name | Description |
---|---|
evaluation_group_setting - EvaluationGroupSettingType
|
|
evaluation_group_setting_id - Int!
|
|
id - ID!
|
|
user_evaluation_groups - [UserEvaluationGroup]!
|
Example
{
"evaluation_group_setting": EvaluationGroupSettingType,
"evaluation_group_setting_id": 987,
"id": 4,
"user_evaluation_groups": [UserEvaluationGroup]
}
EvaluationGroupSettingType
EvaluationItem
Fields
Field Name | Description |
---|---|
aditional_text - JSON
|
|
compound_score - [String]
|
|
compound_score_achievements_associated - [String]
|
|
compound_score_percentage - [String]
|
|
compound_score_percentage_for_achievement - [String]
|
|
descriptions - JSON
|
|
descriptions_values - [String]
|
|
exercise - Exercise!
|
|
exercise_id - ID!
|
|
id - ID!
|
|
locale_aditional_text - JSON
|
|
locale_descriptions - JSON
|
|
locale_names - JSON
|
|
max_value - Float!
|
|
min_value - Float!
|
|
name - JSON
|
|
position - Int
|
|
req_value - Float!
|
|
scale_id - ID!
|
Example
{
"aditional_text": {},
"compound_score": ["abc123"],
"compound_score_achievements_associated": [
"xyz789"
],
"compound_score_percentage": ["abc123"],
"compound_score_percentage_for_achievement": [
"xyz789"
],
"descriptions": {},
"descriptions_values": ["xyz789"],
"exercise": Exercise,
"exercise_id": 4,
"id": "4",
"locale_aditional_text": {},
"locale_descriptions": {},
"locale_names": {},
"max_value": 123.45,
"min_value": 987.65,
"name": {},
"position": 987,
"req_value": 987.65,
"scale_id": 4
}
EvaluationTimeExercise
EvaluationTimeFeedback
EveryoneEvaluate
Example
{
"course_id": "4",
"evaluation_waiting_days": 123,
"evaluations_needed": 123,
"id": 4,
"is_automatic_assignment": false,
"is_teacher_definitive": false,
"stage_id": "4"
}
EveryoneEvaluateTeacherAssignment
Exercise
Fields
Field Name | Description |
---|---|
answers - [Answer]
|
|
automatic_evaluation - Boolean
|
|
description - JSON
|
|
evaluation_group_setting - EvaluationGroupSettingType
|
|
evaluation_items - [EvaluationItem]
|
|
evaluation_type - String!
|
|
id - ID!
|
|
is_locked - Boolean
|
|
is_multiple_choice_poll - Boolean
|
|
locale_descriptions - JSON
|
|
period_of_time_enabled - String
|
|
questions - [Question]
|
|
questions_to_approve - Int
|
|
random_questions - Int
|
|
stage - Stage
|
|
stage_id - ID!
|
|
train_the_trainer_exercise - TrainTheTrainerExercise
|
|
unlock_date - String
|
Example
{
"answers": [Answer],
"automatic_evaluation": false,
"description": {},
"evaluation_group_setting": EvaluationGroupSettingType,
"evaluation_items": [EvaluationItem],
"evaluation_type": "xyz789",
"id": "4",
"is_locked": false,
"is_multiple_choice_poll": false,
"locale_descriptions": {},
"period_of_time_enabled": "abc123",
"questions": [Question],
"questions_to_approve": 987,
"random_questions": 123,
"stage": Stage,
"stage_id": 4,
"train_the_trainer_exercise": TrainTheTrainerExercise,
"unlock_date": "abc123"
}
ExerciseFilter
ExerciseFilterProvider
Fields
Input Field | Description |
---|---|
id - ID
|
Example
{"id": "4"}
FavouriteItemType
Example
{
"descriptions": {},
"descriptions_values": ["abc123"],
"id": "4",
"item_id": 123,
"locale_descriptions": {},
"locale_names": {},
"max_value": 123.45,
"min_value": 987.65,
"name": {},
"req_value": 987.65,
"scale_id": "xyz789",
"user_id": 987
}
Feedback
Fields
Field Name | Description |
---|---|
answer - Answer
|
|
answer_id - ID
|
|
approved - Boolean
|
|
belong_to_feedback_id - ID
|
|
comments - String
|
|
evaluated_at - String
|
|
everyone_evaluate_answer - Answer
|
|
everyone_evaluate_answer_id - ID
|
|
feedback_audios - [FeedbackAudio]!
|
|
feedback_common_mistakes - [FeedbackCommonMistake]!
|
|
feedback_drawings - [FeedbackDrawing]!
|
|
feedback_feedback - FeedbackFeedback
|
|
feedback_scores - [FeedbackScore]!
|
|
feedback_summaries - [FeedbackSummary]!
|
|
feedback_texts - [FeedbackText]!
|
|
feedbacks - [Feedback]
|
|
finished - Boolean!
|
|
ia_was_requested_resume - Int
|
|
id - ID!
|
|
is_open_feedback - Boolean
|
|
seen_by_student - Float
|
|
teacher - User!
|
|
teacher_id - ID!
|
|
train_the_trainer_feedback - TrainTheTrainerFeedback
|
Example
{
"answer": Answer,
"answer_id": 4,
"approved": true,
"belong_to_feedback_id": "4",
"comments": "abc123",
"evaluated_at": "xyz789",
"everyone_evaluate_answer": Answer,
"everyone_evaluate_answer_id": "4",
"feedback_audios": [FeedbackAudio],
"feedback_common_mistakes": [FeedbackCommonMistake],
"feedback_drawings": [FeedbackDrawing],
"feedback_feedback": FeedbackFeedback,
"feedback_scores": [FeedbackScore],
"feedback_summaries": [FeedbackSummary],
"feedback_texts": [FeedbackText],
"feedbacks": [Feedback],
"finished": true,
"ia_was_requested_resume": 987,
"id": "4",
"is_open_feedback": true,
"seen_by_student": 987.65,
"teacher": User,
"teacher_id": "4",
"train_the_trainer_feedback": TrainTheTrainerFeedback
}
FeedbackAssistance
FeedbackAudio
FeedbackCommonMistake
Example
{
"common_mistake": CommonMistake,
"common_mistake_id": 4,
"feedback": Feedback,
"feedback_id": 4,
"id": 4,
"time": 123.45,
"train_the_trainer_id": "4"
}
FeedbackDrawing
FeedbackFeedback
Example
{
"comments": "abc123",
"feedback": Feedback,
"feedback_id": "4",
"id": "4",
"score": 987.65,
"technical_quality_comments": "abc123",
"technical_quality_score": 987.65
}
FeedbackFeedbackFilterProvider
FeedbackFilter
FeedbackFilterProvider
FeedbackScore
FeedbackSummary
Example
{
"choice_id": 4,
"created_at": "abc123",
"feedback": Feedback,
"id": 4,
"recommendation1": "xyz789",
"recommendation2": "xyz789",
"text": "abc123",
"updated_at": "abc123",
"user": User
}
FeedbackText
Example
{
"feedback": Feedback,
"feedback_id": "4",
"feedback_text_criteria": [FeedbackTextCriteria],
"ia_was_requested": 987,
"id": 4,
"text": "xyz789",
"time": 987.65,
"train_the_trainer_id": 4
}
FeedbackTextCriteria
Example
{
"approved": false,
"criteria_id": 123,
"feedback_text": FeedbackText,
"feedback_text_id": 987,
"id": 4,
"reason": "xyz789",
"text": "abc123",
"time": 987.65
}
FeedbackTextCriteriaInput
Float
Description
Represents signed double-precision fractional values as specified by IEEE 754.
Example
123.45
Forum
Example
{
"course": Course,
"course_id": "4",
"created_at": 987,
"id": "4",
"number_of_messages": 987,
"text": "xyz789",
"title": "xyz789",
"user": User,
"user_id": 4
}
ForumMessage
Example
{
"created_at": 987,
"forum_id": 4,
"forum_message_id": "4",
"forum_messages": [ForumMessage],
"id": 4,
"text": "abc123",
"user": User,
"user_id": "4"
}
Headquarter
ID
Description
Represents a unique identifier that is Base64 obfuscated. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "VXNlci0xMA=="
) or integer (such as 4
) input value will be accepted as an ID.
Example
"4"
IaFeedbackLog
IdFilter
Fields
Input Field | Description |
---|---|
id - ID
|
Example
{"id": "4"}
InstitutionFilterProvider
Fields
Input Field | Description |
---|---|
name - String
|
Example
{"name": "xyz789"}
InstitutionalAdministrator
Example
{
"administrator": User,
"created_at": 123,
"id": 4,
"institution": User,
"institutional_user_id": 4,
"read_only": true,
"user_id": 4
}
Int
Description
Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
Example
987
IssueLabelType
JSON
Example
{}
KeyElementInput
LastAnswerFilterProvider
ListMetadata
Fields
Field Name | Description |
---|---|
count - Int!
|
Example
{"count": 123}
LmsScoreBook
Fields
Field Name | Description |
---|---|
course_id - Int
|
|
id - ID!
|
|
lms_resource - String
|
|
lms_score_book_student_grades - [LmsScoreBookStudentGrade]
|
|
lms_score_stage_items - [LmsScoreStageItem]
|
|
max_value - Float
|
|
min_value - Float
|
Example
{
"course_id": 987,
"id": "4",
"lms_resource": "xyz789",
"lms_score_book_student_grades": [
LmsScoreBookStudentGrade
],
"lms_score_stage_items": [LmsScoreStageItem],
"max_value": 987.65,
"min_value": 123.45
}
LmsScoreBookStudentGrade
Fields
Field Name | Description |
---|---|
id - ID!
|
|
lms_score_book - LmsScoreBook!
|
|
lms_score_book_id - ID!
|
|
score - Float!
|
|
user_course_id - ID!
|
Example
{
"id": 4,
"lms_score_book": LmsScoreBook,
"lms_score_book_id": 4,
"score": 123.45,
"user_course_id": 4
}
LmsScoreStageItem
LtiClient
Example
{
"api_client_id": "abc123",
"api_secret": "abc123",
"client_id": "xyz789",
"id": "4",
"iss": "xyz789",
"name": "xyz789",
"placement_handle": "xyz789",
"platform_id": "xyz789",
"platform_version": "abc123",
"roles": [LtiRole],
"url": "abc123",
"url_c1do1": "abc123",
"user": User,
"user_id": 4
}
LtiRole
LtiSignInPayloadOutput
Fields
Field Name | Description |
---|---|
courses - [CustomCourseType]
|
|
token - String
|
|
university_user_id - ID
|
|
user - User
|
Example
{
"courses": [CustomCourseType],
"token": "abc123",
"university_user_id": 4,
"user": User
}
MockAdminFeedback
Fields
Field Name | Description |
---|---|
comments - String
|
|
id - ID!
|
|
mock_admin_feedback_audios - [MockAdminFeedbackAudio]!
|
|
mock_admin_feedback_common_mistakes - [MockAdminFeedbackCommonMistake]!
|
|
mock_admin_feedback_drawings - [MockAdminFeedbackDrawing]!
|
|
mock_admin_feedback_scores - [MockAdminFeedbackScore]!
|
|
mock_admin_feedback_texts - [MockAdminFeedbackText]!
|
|
mock_answer - MockAnswer
|
|
mock_answer_id - ID
|
|
teacher_in_training - User!
|
Example
{
"comments": "xyz789",
"id": 4,
"mock_admin_feedback_audios": [MockAdminFeedbackAudio],
"mock_admin_feedback_common_mistakes": [
MockAdminFeedbackCommonMistake
],
"mock_admin_feedback_drawings": [
MockAdminFeedbackDrawing
],
"mock_admin_feedback_scores": [MockAdminFeedbackScore],
"mock_admin_feedback_texts": [MockAdminFeedbackText],
"mock_answer": MockAnswer,
"mock_answer_id": 4,
"teacher_in_training": User
}
MockAdminFeedbackAudio
Fields
Field Name | Description |
---|---|
id - ID!
|
|
link - String!
|
|
mock_admin_feedback - MockAdminFeedback!
|
|
mock_admin_feedback_id - ID!
|
|
time - Float
|
Example
{
"id": "4",
"link": "abc123",
"mock_admin_feedback": MockAdminFeedback,
"mock_admin_feedback_id": "4",
"time": 987.65
}
MockAdminFeedbackCommonMistake
Fields
Field Name | Description |
---|---|
id - ID!
|
|
mock_admin_feedback - MockAdminFeedback!
|
|
mock_admin_feedback_id - ID!
|
|
mock_common_mistake - CommonMistake!
|
|
mock_common_mistake_id - ID!
|
|
time - Float
|
Example
{
"id": 4,
"mock_admin_feedback": MockAdminFeedback,
"mock_admin_feedback_id": "4",
"mock_common_mistake": CommonMistake,
"mock_common_mistake_id": "4",
"time": 987.65
}
MockAdminFeedbackDrawing
Fields
Field Name | Description |
---|---|
id - ID!
|
|
link - String!
|
|
mock_admin_feedback - MockAdminFeedback!
|
|
mock_admin_feedback_id - ID!
|
|
time - Float
|
Example
{
"id": 4,
"link": "abc123",
"mock_admin_feedback": MockAdminFeedback,
"mock_admin_feedback_id": 4,
"time": 123.45
}
MockAdminFeedbackScore
Fields
Field Name | Description |
---|---|
evaluation_item - EvaluationItem!
|
|
evaluation_item_id - ID!
|
|
id - ID!
|
|
mock_admin_feedback - MockAdminFeedback!
|
|
mock_admin_feedback_id - ID!
|
|
score - Float
|
Example
{
"evaluation_item": EvaluationItem,
"evaluation_item_id": "4",
"id": "4",
"mock_admin_feedback": MockAdminFeedback,
"mock_admin_feedback_id": 4,
"score": 123.45
}
MockAdminFeedbackText
Fields
Field Name | Description |
---|---|
id - ID!
|
|
mock_admin_feedback - MockAdminFeedback!
|
|
mock_admin_feedback_id - ID!
|
|
text - String!
|
|
time - Float
|
Example
{
"id": 4,
"mock_admin_feedback": MockAdminFeedback,
"mock_admin_feedback_id": "4",
"text": "xyz789",
"time": 123.45
}
MockAnswer
Example
{
"created_at": 123,
"exercise": Exercise,
"exercise_id": 4,
"id": 4,
"mock_admin_feedback": MockAdminFeedback,
"video_link": "xyz789"
}
MockAnswerFilterProvider
MockFeedback
Fields
Field Name | Description |
---|---|
approved - Boolean
|
|
comments - String
|
|
evaluated_at - String
|
|
finished - Boolean!
|
|
id - ID!
|
|
is_correct - Boolean
|
|
mock_answer - MockAnswer
|
|
mock_answer_id - ID
|
|
mock_feedback_audios - [MockFeedbackAudio]!
|
|
mock_feedback_common_mistakes - [MockFeedbackCommonMistake]!
|
|
mock_feedback_drawings - [MockFeedbackDrawing]!
|
|
mock_feedback_scores - [MockFeedbackScore]!
|
|
mock_feedback_texts - [MockFeedbackText]!
|
|
teacher_in_training - User!
|
|
teacher_in_training_id - ID!
|
Example
{
"approved": true,
"comments": "xyz789",
"evaluated_at": "xyz789",
"finished": true,
"id": 4,
"is_correct": true,
"mock_answer": MockAnswer,
"mock_answer_id": "4",
"mock_feedback_audios": [MockFeedbackAudio],
"mock_feedback_common_mistakes": [
MockFeedbackCommonMistake
],
"mock_feedback_drawings": [MockFeedbackDrawing],
"mock_feedback_scores": [MockFeedbackScore],
"mock_feedback_texts": [MockFeedbackText],
"teacher_in_training": User,
"teacher_in_training_id": 4
}
MockFeedbackAudio
Fields
Field Name | Description |
---|---|
id - ID!
|
|
link - String!
|
|
mock_feedback - MockFeedback!
|
|
mock_feedback_id - ID!
|
|
time - Float
|
Example
{
"id": "4",
"link": "xyz789",
"mock_feedback": MockFeedback,
"mock_feedback_id": "4",
"time": 123.45
}
MockFeedbackCommonMistake
Fields
Field Name | Description |
---|---|
id - ID!
|
|
mock_common_mistake - CommonMistake!
|
|
mock_common_mistake_id - ID!
|
|
mock_feedback - MockFeedback!
|
|
mock_feedback_id - ID!
|
|
time - Float
|
Example
{
"id": "4",
"mock_common_mistake": CommonMistake,
"mock_common_mistake_id": 4,
"mock_feedback": MockFeedback,
"mock_feedback_id": 4,
"time": 987.65
}
MockFeedbackDrawing
Fields
Field Name | Description |
---|---|
id - ID!
|
|
link - String!
|
|
mock_feedback - MockFeedback!
|
|
mock_feedback_id - ID!
|
|
time - Float
|
Example
{
"id": "4",
"link": "abc123",
"mock_feedback": MockFeedback,
"mock_feedback_id": 4,
"time": 987.65
}
MockFeedbackFilterProvider
MockFeedbackScore
Fields
Field Name | Description |
---|---|
evaluation_item - EvaluationItem!
|
|
evaluation_item_id - ID!
|
|
id - ID!
|
|
mock_feedback - MockFeedback!
|
|
mock_feedback_id - ID!
|
|
score - Float
|
Example
{
"evaluation_item": EvaluationItem,
"evaluation_item_id": "4",
"id": "4",
"mock_feedback": MockFeedback,
"mock_feedback_id": "4",
"score": 987.65
}
MockFeedbackText
Fields
Field Name | Description |
---|---|
id - ID!
|
|
mock_feedback - MockFeedback!
|
|
mock_feedback_id - ID!
|
|
text - String!
|
|
time - Float
|
Example
{
"id": 4,
"mock_feedback": MockFeedback,
"mock_feedback_id": 4,
"text": "xyz789",
"time": 987.65
}
Notification
Example
{
"answer_id": "4",
"course_id": "4",
"data": {},
"exercise_id": 4,
"feedback_id": 4,
"id": 4,
"notification_type": "abc123",
"read": true,
"stage_id": "4",
"user": User,
"user_id": "4"
}
Option
OurClientType
Payment
Fields
Field Name | Description |
---|---|
back_url - String
|
|
course_id - Int!
|
|
created_at - Int
|
|
discount - String
|
|
external_reference - String
|
|
finished - Boolean
|
|
from_user_id - Int!
|
|
from_user_name - String!
|
|
id - ID!
|
|
merchant_account_id - String
|
|
merchant_order_id - String
|
|
payment_course_owner_id - ID
|
|
payment_id - String
|
|
payment_status - String
|
|
payment_status_detail - String
|
|
percentage_mercadopago - Float
|
|
percentage_training_competence - Float
|
|
percentage_user - Float
|
|
preference_id - String!
|
|
processing_mode - String
|
|
quantity - Int
|
|
sent_to_owner - Boolean
|
|
title - String!
|
|
to_user_id - Int!
|
|
to_user_name - String!
|
|
total_mercadopago - Float
|
|
total_training_competence - Float
|
|
total_user - Float
|
|
unit_price - Float!
|
Example
{
"back_url": "xyz789",
"course_id": 987,
"created_at": 987,
"discount": "abc123",
"external_reference": "xyz789",
"finished": true,
"from_user_id": 123,
"from_user_name": "xyz789",
"id": 4,
"merchant_account_id": "xyz789",
"merchant_order_id": "xyz789",
"payment_course_owner_id": "4",
"payment_id": "xyz789",
"payment_status": "abc123",
"payment_status_detail": "abc123",
"percentage_mercadopago": 123.45,
"percentage_training_competence": 987.65,
"percentage_user": 123.45,
"preference_id": "xyz789",
"processing_mode": "abc123",
"quantity": 123,
"sent_to_owner": false,
"title": "abc123",
"to_user_id": 987,
"to_user_name": "xyz789",
"total_mercadopago": 987.65,
"total_training_competence": 987.65,
"total_user": 123.45,
"unit_price": 123.45
}
PaymentCourseOwner
Fields
Field Name | Description |
---|---|
amount - Float!
|
|
course_id - Int!
|
|
course_title - String!
|
|
created_at - Int
|
|
description - String
|
|
email_account - String
|
|
file - String
|
|
financial_entity_account - String!
|
|
id - ID!
|
|
month - Int!
|
|
number_account - String!
|
|
payment_id - String!
|
|
sender_user_name - String
|
|
sender_user_rut - String
|
|
user_id - Int!
|
|
user_name - String!
|
|
user_name_account - String!
|
|
user_rut_account - String
|
|
year - Int!
|
Example
{
"amount": 987.65,
"course_id": 123,
"course_title": "xyz789",
"created_at": 123,
"description": "xyz789",
"email_account": "xyz789",
"file": "abc123",
"financial_entity_account": "xyz789",
"id": 4,
"month": 123,
"number_account": "xyz789",
"payment_id": "abc123",
"sender_user_name": "xyz789",
"sender_user_rut": "xyz789",
"user_id": 123,
"user_name": "xyz789",
"user_name_account": "abc123",
"user_rut_account": "xyz789",
"year": 123
}
PaymentReceiptFilter
Fields
Input Field | Description |
---|---|
id - ID
|
|
ids - [ID]
|
|
course_id - [IdFilter]
|
|
user_id - [IdFilter]
|
|
wallet_id - [IdFilter]
|
|
min_total - Float
|
|
max_total - Float
|
Example
{
"id": 4,
"ids": ["4"],
"course_id": [IdFilter],
"user_id": [IdFilter],
"wallet_id": [IdFilter],
"min_total": 123.45,
"max_total": 987.65
}
PaymentReceiptType
Example
{
"course_id": 4,
"created_at": "xyz789",
"id": 4,
"subtotal": 123.45,
"total": 123.45,
"updated_at": "abc123",
"user_id": 4,
"wallet_id": 4
}
PlatformSurvey
Example
{
"created_at": 123,
"current_version": "xyz789",
"description": {},
"id": 4,
"is_enabled": false,
"platform_survey_questions": [PlatformSurveyQuestion],
"process": "xyz789",
"role_id": 987,
"title": {},
"user_role": 987,
"versions": ["abc123"]
}
PlatformSurveyQuestion
PreviewImage
Question
Example
{
"correct_option": Option,
"correct_option_id": 4,
"exercise": Exercise,
"exercise_id": "4",
"id": 4,
"locale_texts": {},
"options": [Option],
"text": {}
}
QuestionAnswer
Example
{
"answer": Answer,
"answer_id": "4",
"correct": false,
"id": 4,
"option": Option,
"option_id": 4,
"question": Question,
"question_id": "4"
}
Request
RequestFilter
RequirementType
Review
ReviewFilterProvider
S3Link
Example
{
"acl": "abc123",
"key": "abc123",
"policy": "abc123",
"success_action_status": "abc123",
"url": "xyz789",
"x_amz_algorithm": "xyz789",
"x_amz_credential": "xyz789",
"x_amz_date": "xyz789",
"x_amz_signature": "xyz789"
}
Scale
Example
{
"description": "abc123",
"id": "4",
"max_value": 123,
"min_value": 123,
"name": "xyz789",
"required_value": 987,
"requires_description": false,
"value_type": "abc123"
}
ScaleFilter
Example
{
"id": "4",
"ids": ["4"],
"name": "abc123",
"author_id": "4",
"requires_description": false,
"value_type": "xyz789",
"max_value": 123,
"min_value": 987,
"required_value": 123
}
Sex
Values
Enum Value | Description |
---|---|
|
|
|
Example
"MALE"
SigninPayload
SignoutPayload
Fields
Field Name | Description |
---|---|
status - String
|
Example
{"status": "abc123"}
Stage
Fields
Field Name | Description |
---|---|
audios - [TutorialAudio]
|
|
course - Course!
|
|
course_id - ID!
|
|
description - JSON
|
|
docs - [TutorialDoc]
|
|
exercise - Exercise
|
|
id - ID!
|
|
images - [TutorialImage]
|
|
is_everyone_evaluate - Boolean
|
|
locale_descriptions - JSON
|
|
locale_titles - JSON!
|
|
next_stage - Stage
|
|
position - Int
|
|
previous_stage - Stage
|
|
stage_preview_images - [PreviewImage]
|
|
title - JSON!
|
|
tutorial_articulate - [TutorialArticulate]
|
|
tutorial_videos - [TutorialVideo]
|
Example
{
"audios": [TutorialAudio],
"course": Course,
"course_id": 4,
"description": {},
"docs": [TutorialDoc],
"exercise": Exercise,
"id": 4,
"images": [TutorialImage],
"is_everyone_evaluate": true,
"locale_descriptions": {},
"locale_titles": {},
"next_stage": Stage,
"position": 987,
"previous_stage": Stage,
"stage_preview_images": [PreviewImage],
"title": {},
"tutorial_articulate": [TutorialArticulate],
"tutorial_videos": [TutorialVideo]
}
StageFilter
Fields
Input Field | Description |
---|---|
id - ID
|
|
ids - [ID]
|
|
course_id - [IdFilter]
|
|
previous_stage_id - ID
|
|
title - ID
|
Example
{
"id": "4",
"ids": [4],
"course_id": [IdFilter],
"previous_stage_id": 4,
"title": 4
}
StageFilterProvider
StageProgress
String
Description
Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text.
Example
"abc123"
StudentsApprovedPerCourseType
SuperadminFilterAnswersByFilterProvider
TeacherPaymentInformationFilter
TeacherPaymentInformationType
Fields
Field Name | Description |
---|---|
course - Course
|
|
course_id - ID!
|
|
course_payment_information - CoursePaymentInformationType
|
|
created_at - String!
|
|
evaluation_amount - Int
|
|
id - ID!
|
|
profitable - Boolean!
|
|
stars_average - Float
|
|
status - String!
|
|
student - User
|
|
student_id - ID!
|
|
subtotal - Float
|
|
teacher_id - ID!
|
|
total - Float
|
|
updated_at - String!
|
|
wallet_id - ID!
|
Example
{
"course": Course,
"course_id": 4,
"course_payment_information": CoursePaymentInformationType,
"created_at": "abc123",
"evaluation_amount": 987,
"id": "4",
"profitable": false,
"stars_average": 987.65,
"status": "xyz789",
"student": User,
"student_id": 4,
"subtotal": 987.65,
"teacher_id": 4,
"total": 123.45,
"updated_at": "xyz789",
"wallet_id": 4
}
TemplateColorType
TotalEvaluationsType
TrainTheTrainerExercise
TrainTheTrainerFeedback
Example
{
"approved": false,
"evaluated_at": "abc123",
"finished": false,
"id": "4",
"is_teacher_answer": false,
"teacher": User,
"teacher_id": 4
}
TutorialApp
TutorialArticulate
Fields
Field Name | Description |
---|---|
description - JSON
|
|
id - ID!
|
|
link - String
|
|
locale_descriptions - JSON
|
|
locale_titles - JSON
|
|
stage_id - ID!
|
|
title - JSON
|
|
tutorial_audios - [TutorialAudio]
|
|
tutorial_docs - [TutorialDoc]
|
|
tutorial_images - [TutorialImage]
|
Example
{
"description": {},
"id": "4",
"link": "xyz789",
"locale_descriptions": {},
"locale_titles": {},
"stage_id": 4,
"title": {},
"tutorial_audios": [TutorialAudio],
"tutorial_docs": [TutorialDoc],
"tutorial_images": [TutorialImage]
}
TutorialAudio
TutorialDoc
TutorialExtra
TutorialImage
TutorialTooltip
Example
{
"arrowPosition": "abc123",
"available_languages": ["abc123"],
"default_language": "xyz789",
"detail": {},
"id": "4",
"image": "abc123",
"left": "abc123",
"name": "xyz789",
"number": 123,
"section": "abc123",
"title": {},
"top": "abc123",
"video": "abc123"
}
TutorialVideo
Fields
Field Name | Description |
---|---|
description - JSON
|
|
id - ID!
|
|
link - String
|
|
locale_descriptions - JSON
|
|
locale_titles - JSON
|
|
stage_id - ID!
|
|
title - JSON
|
|
tutorial_audios - [TutorialAudio]
|
|
tutorial_docs - [TutorialDoc]
|
|
tutorial_images - [TutorialImage]
|
|
updated_at - Int
|
|
video_duration - Int
|
|
video_size - Float
|
|
video_size_without_compress - Float
|
Example
{
"description": {},
"id": 4,
"link": "xyz789",
"locale_descriptions": {},
"locale_titles": {},
"stage_id": "4",
"title": {},
"tutorial_audios": [TutorialAudio],
"tutorial_docs": [TutorialDoc],
"tutorial_images": [TutorialImage],
"updated_at": 123,
"video_duration": 987,
"video_size": 987.65,
"video_size_without_compress": 987.65
}
TutorialVideoFilter
Fields
Input Field | Description |
---|---|
id - ID
|
|
ids - [ID]
|
|
title - String
|
|
stage_id - [IdFilter]
|
Example
{
"id": 4,
"ids": ["4"],
"title": "abc123",
"stage_id": [IdFilter]
}
University
Example
{
"address": "abc123",
"admin_user_id": 4,
"available_courses": 987,
"available_licenses": 123,
"color": "xyz789",
"id": "4",
"image": "abc123",
"licenses": 987,
"max_courses": 987,
"max_establishment": 987,
"name": "abc123",
"presentation_video": "xyz789",
"user": User
}
User
Fields
Field Name | Description |
---|---|
about - String
|
|
academic_degree - String
|
|
accepted_requests - [Course]
|
|
accepted_terms - Boolean!
|
|
address - String
|
|
administered_institutions - [InstitutionalAdministrator]
|
|
administrators - [InstitutionalAdministrator]
|
|
authorized_create_course - Boolean!
|
|
authorized_create_course_by_establishments - Boolean!
|
|
available_courses - Int
|
|
available_licenses - Int
|
|
awaiting_payment_requests - [Course]
|
|
belong_to_user_id - Int
|
|
birth_date - String
|
|
color - String
|
|
country - String
|
|
courses - [Course]
|
|
current_courses - [Course]
|
|
curriculum_file - String
|
|
dynamic_labels - [DynamicLabel]
|
|
email - String!
|
|
establishment - Establishment
|
|
failed_courses - [Course]
|
|
father_user - User
|
|
id - ID!
|
|
identity_number - String
|
|
image - String
|
|
in_training_courses - [Course]
|
|
institution - String
|
|
institution_code - String
|
|
internal_users - [User]
|
|
is_superadmin - Boolean!
|
|
last_login - String
|
|
lastname - String!
|
|
licenses - Int
|
|
linkedin - String
|
|
lms_user_id - String
|
|
locale - String
|
|
max_courses - Int
|
|
name - String!
|
|
notifications - [Notification]
|
|
onboarding - Boolean
|
|
own_courses - [Course]
|
|
passed_courses - [Course]
|
|
paypal_email - String
|
|
pending_requests - [Course]
|
|
presentation_video - String
|
|
profession - String
|
|
profile_image_link - String
|
|
provider - String
|
|
rating - Int
|
|
rejected_requests - [Course]
|
|
requests - [Request]
|
|
role - String
|
|
role_id - Int
|
|
second_admin_courses - [Course]
|
|
sex - String
|
|
state - String
|
|
status_id - String!
|
|
taught_courses - [Course]
|
|
template_color - TemplateColorType
|
|
template_color_id - Int
|
|
tutorial_tooltips - [TutorialTooltip]
|
|
universities_establishments - [Establishment]
|
|
university - University
|
|
unpublished_courses - [Course]
|
|
unread_notifications - [Notification]
|
|
video_duration - Int
|
|
video_size - Float
|
|
video_size_without_compress - Float
|
|
work_place - String
|
Example
{
"about": "abc123",
"academic_degree": "abc123",
"accepted_requests": [Course],
"accepted_terms": true,
"address": "xyz789",
"administered_institutions": [
InstitutionalAdministrator
],
"administrators": [InstitutionalAdministrator],
"authorized_create_course": false,
"authorized_create_course_by_establishments": true,
"available_courses": 123,
"available_licenses": 123,
"awaiting_payment_requests": [Course],
"belong_to_user_id": 987,
"birth_date": "xyz789",
"color": "xyz789",
"country": "abc123",
"courses": [Course],
"current_courses": [Course],
"curriculum_file": "abc123",
"dynamic_labels": [DynamicLabel],
"email": "abc123",
"establishment": Establishment,
"failed_courses": [Course],
"father_user": User,
"id": "4",
"identity_number": "abc123",
"image": "abc123",
"in_training_courses": [Course],
"institution": "xyz789",
"institution_code": "xyz789",
"internal_users": [User],
"is_superadmin": true,
"last_login": "xyz789",
"lastname": "xyz789",
"licenses": 123,
"linkedin": "xyz789",
"lms_user_id": "abc123",
"locale": "abc123",
"max_courses": 987,
"name": "abc123",
"notifications": [Notification],
"onboarding": true,
"own_courses": [Course],
"passed_courses": [Course],
"paypal_email": "xyz789",
"pending_requests": [Course],
"presentation_video": "abc123",
"profession": "xyz789",
"profile_image_link": "xyz789",
"provider": "abc123",
"rating": 987,
"rejected_requests": [Course],
"requests": [Request],
"role": "xyz789",
"role_id": 987,
"second_admin_courses": [Course],
"sex": "xyz789",
"state": "xyz789",
"status_id": "abc123",
"taught_courses": [Course],
"template_color": TemplateColorType,
"template_color_id": 987,
"tutorial_tooltips": [TutorialTooltip],
"universities_establishments": [Establishment],
"university": University,
"unpublished_courses": [Course],
"unread_notifications": [Notification],
"video_duration": 987,
"video_size": 123.45,
"video_size_without_compress": 123.45,
"work_place": "xyz789"
}
UserCertificateType
UserCourse
UserCourseFilterProvider
UserCourseStatusStage
Example
{
"answer_id": 123,
"definitive_by": "xyz789",
"evaluation_type": "abc123",
"evaluations_made": 987,
"evaluations_received": 123,
"number_attempt": 123,
"result": "xyz789",
"stage": Stage,
"stage_id": 123,
"status": "abc123",
"user_course": UserCourse,
"user_course_id": 123
}
UserEvaluationGroup
Fields
Field Name | Description |
---|---|
evaluation_group - EvaluationGroup!
|
|
evaluation_group_id - Int
|
|
id - ID!
|
|
user_course - UserCourse
|
|
user_course_id - Int!
|
Example
{
"evaluation_group": EvaluationGroup,
"evaluation_group_id": 123,
"id": 4,
"user_course": UserCourse,
"user_course_id": 987
}
UserFilter
UserFilterProvider
UserLtiObject
UserPendingInvitation
UserProgress
Fields
Field Name | Description |
---|---|
passed_stages - Int!
|
|
stages - [StageProgress]!
|
|
total_stages - Int!
|
Example
{
"passed_stages": 123,
"stages": [StageProgress],
"total_stages": 987
}
UserStage
WalletFilter
Example
{
"id": "4",
"ids": ["4"],
"teacher_id": 123.45,
"course_id": "4",
"min_balance": 987.65,
"max_balance": 123.45,
"is_active": false,
"teacher_name_or_email": "abc123"
}
WalletType
Example
{
"balance": 123.45,
"course": Course,
"course_id": 4,
"created_at": "xyz789",
"feedback_count": 987,
"id": 4,
"is_active": false,
"on_hold": 987.65,
"payed": 123.45,
"teacher": User,
"teacher_id": 4,
"total": 987.65,
"transactions": 987,
"updated_at": "xyz789",
"withdrawn": 123.45
}
adminBasicType
allFeedbacksType
Example
{
"audios": "abc123",
"avg_evaluation_items": "xyz789",
"commonMistakes": "xyz789",
"drawings": "abc123",
"status_stage": "xyz789",
"texts": "xyz789"
}
assignUserType
courseBasicType
Fields
Field Name | Description |
---|---|
admin - adminBasicType
|
|
id - Int
|
|
title - JSON
|
Example
{"admin": adminBasicType, "id": 123, "title": {}}
courseVacants
dataPerformanceByCourse
dataPerformanceByCourseInfoType
Example
{
"course_groups": "xyz789",
"multiple_choices": "abc123",
"multiple_choices_poll": "abc123",
"video_answers": "abc123",
"video_answers_evaluation_grup": "xyz789",
"video_answers_evaluation_items": "abc123",
"video_answers_everyone_evaluate": "xyz789"
}
exerciseIdType
exerciseSectionsType
Fields
Field Name | Description |
---|---|
exercise_sections - [EvaluationTimeExercise]
|
Example
{"exercise_sections": [EvaluationTimeExercise]}
feedbackByExerciseType
feedbackSectionsType
Fields
Field Name | Description |
---|---|
exercise_section - exerciseIdType
|
|
final_time - Float
|
|
id - ID
|
|
initial_time - Float
|
|
name - String
|
Example
{
"exercise_section": exerciseIdType,
"final_time": 123.45,
"id": 4,
"initial_time": 987.65,
"name": "abc123"
}
feedbacksTypesType
generalPaymentType
like
likeCourseType
lmsCourseType
monthPaymentType
Fields
Field Name | Description |
---|---|
debt - Float
|
|
total_month - [monthTotalType]
|
|
total_sent - [sentPaymentType]
|
Example
{
"debt": 123.45,
"total_month": [monthTotalType],
"total_sent": [sentPaymentType]
}
monthTotalType
progressByUsers
providerColumnBookType
resultType
sentPaymentType
statusStageByCourseType
statusUserType
Example
{
"inTraining": false,
"isAdministrator": true,
"isEstablishmentOrUniversity": false,
"isGuest": true,
"isStudent": true,
"isStudentFailed": false,
"isStudentPass": true,
"isTeacher": false,
"privacy_rule": "abc123",
"published": false
}
studentBySexType
studentPassedData
studentPerCourseType
studentPerCoursesType
studentPerEstablishmentType
timeByExerciseFeedback
Fields
Field Name | Description |
---|---|
exercise - exerciseSectionsType
|
|
feedback_sections - [feedbackSectionsType]
|
|
required - Boolean
|
Example
{
"exercise": exerciseSectionsType,
"feedback_sections": [feedbackSectionsType],
"required": false
}
totalFeedbackGeneralType
Fields
Field Name | Description |
---|---|
total - Float
|
Example
{"total": 123.45}
totalFeedbacksApprovedType
totalFeedbacksType
userPerformance
usersAndTeacherByCourseType
Fields
Field Name | Description |
---|---|
student - assignUserType
|
|
teacher - assignUserType
|
Example
{
"student": assignUserType,
"teacher": assignUserType
}