[{"data":1,"prerenderedAt":2099},["ShallowReactive",2],{"api-nav":3,"api-spec:index":351,"api-spec:op:check-student-registration":636,"api-permissions-guide":1061,"api-reference-doc:check-student-registration":1062},[4,28,57,95,115,301,317,331],{"id":5,"title":6,"links":7,"groups":27},"start","Start here",[8,11,15,18,21,24],{"title":9,"to":10},"Overview","\u002Fapi",{"title":12,"to":13,"status":14},"Quickstart","\u002Fapi\u002Fquickstart","available",{"title":16,"to":17,"status":14},"Environments","\u002Fapi\u002Fenvironments",{"title":19,"to":20,"status":14},"Authentication","\u002Fapi\u002Fauthentication",{"title":22,"to":23,"status":14},"Organizations","\u002Fapi\u002Forganizations",{"title":25,"to":26,"status":14},"Permissions","\u002Fapi\u002Fpermissions",[],{"id":29,"title":30,"links":31,"groups":56},"concepts","Concepts",[32,35,38,41,44,47,50,53],{"title":33,"to":34,"status":14},"Requests and responses","\u002Fapi\u002Frequests-and-responses",{"title":36,"to":37,"status":14},"Identifiers","\u002Fapi\u002Fidentifiers",{"title":39,"to":40,"status":14},"Pagination","\u002Fapi\u002Fpagination",{"title":42,"to":43},"Errors","\u002Fapi\u002Ferrors",{"title":45,"to":46,"status":14},"Rate limits","\u002Fapi\u002Frate-limits",{"title":48,"to":49,"status":14},"Retries","\u002Fapi\u002Fretries-and-idempotency",{"title":51,"to":52,"status":14},"Security","\u002Fapi\u002Fsecurity",{"title":54,"to":55,"status":14},"Versioning","\u002Fapi\u002Fversioning",[],{"id":58,"title":59,"links":60,"groups":94},"resources","Guides",[61,64,67,70,73,76,79,82,85,88,91],{"title":62,"to":63,"status":14},"Students","\u002Fapi\u002Fguides\u002Fstudents",{"title":65,"to":66,"status":14},"Bulk registration","\u002Fapi\u002Fguides\u002Fbulk-registration",{"title":68,"to":69,"status":14},"Passwords","\u002Fapi\u002Fguides\u002Fpasswords",{"title":71,"to":72,"status":14},"Supervisors","\u002Fapi\u002Fguides\u002Fsupervisors",{"title":74,"to":75,"status":14},"Reference data","\u002Fapi\u002Fguides\u002Freference-data",{"title":77,"to":78,"status":14},"API account","\u002Fapi\u002Fguides\u002Fapi-account",{"title":80,"to":81,"status":14},"Sign-in links","\u002Fapi\u002Fguides\u002Fsign-in-links",{"title":83,"to":84,"status":14},"Exams","\u002Fapi\u002Fguides\u002Fexams",{"title":86,"to":87,"status":14},"Applications","\u002Fapi\u002Fguides\u002Fapplications",{"title":89,"to":90,"status":14},"Group challenges","\u002Fapi\u002Fguides\u002Fgroup-challenges",{"title":92,"to":93,"status":14},"Certificates and reports","\u002Fapi\u002Fguides\u002Fcertificates-and-reports",[],{"id":96,"title":97,"links":98,"groups":114},"tutorials","Tutorials",[99,102,105,108,111],{"title":100,"to":101,"status":14},"Register and apply","\u002Fapi\u002Ftutorials\u002Fregister-and-apply",{"title":103,"to":104,"status":14},"Send a student to the panel","\u002Fapi\u002Ftutorials\u002Fsend-student-to-panel",{"title":106,"to":107,"status":14},"Change an application","\u002Fapi\u002Ftutorials\u002Fchange-an-application",{"title":109,"to":110,"status":14},"Collect results","\u002Fapi\u002Ftutorials\u002Fcollect-results",{"title":112,"to":113,"status":14},"Token handling","\u002Fapi\u002Ftutorials\u002Ftoken-handling",[],{"id":116,"title":117,"links":118,"groups":125},"reference","Reference",[119,122],{"title":120,"to":121},"All endpoints","\u002Fapi\u002Freference",{"title":123,"to":124},"Sandbox console","\u002Fapi\u002Fconsole",[126,135,145,166,206,212,230,255,271],{"tag":127,"slug":128,"links":129},"Health","health",[130],{"title":131,"to":132,"method":133,"deprecated":134},"Check that the API is up","\u002Fapi\u002Freference\u002Fget-health","GET",false,{"tag":77,"slug":136,"links":137},"api-account",[138,142],{"title":139,"to":140,"method":141,"deprecated":134},"Revoke the token you send, before it expires","\u002Fapi\u002Freference\u002Frevoke-token","POST",{"title":143,"to":144,"method":133,"deprecated":134},"Fetch the API account your token belongs to","\u002Fapi\u002Freference\u002Fget-current-api-account",{"tag":74,"slug":146,"links":147},"reference-data",[148,151,154,157,160,163],{"title":149,"to":150,"method":133,"deprecated":134},"List the countries a student can be registered in","\u002Fapi\u002Freference\u002Flist-countries",{"title":152,"to":153,"method":133,"deprecated":134},"Fetch one country by its id","\u002Fapi\u002Freference\u002Fget-country",{"title":155,"to":156,"method":133,"deprecated":134},"List the grades a student can be registered with","\u002Fapi\u002Freference\u002Flist-grades",{"title":158,"to":159,"method":133,"deprecated":134},"Fetch one grade by its id","\u002Fapi\u002Freference\u002Fget-grade",{"title":161,"to":162,"method":133,"deprecated":134},"List the organizations and their ids","\u002Fapi\u002Freference\u002Flist-organizations",{"title":164,"to":165,"method":133,"deprecated":134},"Fetch one organization by its id","\u002Fapi\u002Freference\u002Fget-organization",{"tag":62,"slug":167,"links":168},"students",[169,172,175,178,181,184,187,191,194,197,200,203],{"title":170,"to":171,"method":133,"deprecated":134},"List your students","\u002Fapi\u002Freference\u002Flist-students",{"title":173,"to":174,"method":141,"deprecated":134},"Register a student","\u002Fapi\u002Freference\u002Fregister-student",{"title":176,"to":177,"method":141,"deprecated":134},"Check a registration without registering the student","\u002Fapi\u002Freference\u002Fcheck-student-registration",{"title":179,"to":180,"method":141,"deprecated":134},"Register many students at once","\u002Fapi\u002Freference\u002Fcreate-student-import",{"title":182,"to":183,"method":133,"deprecated":134},"Follow a batch of students you sent","\u002Fapi\u002Freference\u002Fget-student-import",{"title":185,"to":186,"method":133,"deprecated":134},"Fetch one of your students","\u002Fapi\u002Freference\u002Fget-student",{"title":188,"to":189,"method":190,"deprecated":134},"Update one of your students","\u002Fapi\u002Freference\u002Fupdate-student","PUT",{"title":192,"to":193,"method":190,"deprecated":134},"Set the sign-in password of one of your students","\u002Fapi\u002Freference\u002Fset-student-password",{"title":195,"to":196,"method":133,"deprecated":134},"List your students who can use this organization","\u002Fapi\u002Freference\u002Flist-org-students",{"title":198,"to":199,"method":133,"deprecated":134},"Fetch one of your students, if they can use this organization","\u002Fapi\u002Freference\u002Fget-org-student",{"title":201,"to":202,"method":190,"deprecated":134},"Update one of your students and give them access to this organization","\u002Fapi\u002Freference\u002Fupdate-org-student",{"title":204,"to":205,"method":190,"deprecated":134},"Link one of your students to a supervisor on this organization","\u002Fapi\u002Freference\u002Flink-student-supervisor",{"tag":80,"slug":207,"links":208},"sign-in-links",[209],{"title":210,"to":211,"method":141,"deprecated":134},"Create a single-use sign-in link for one of your students","\u002Fapi\u002Freference\u002Fcreate-signin-link",{"tag":83,"slug":213,"links":214},"exams",[215,218,221,224,227],{"title":216,"to":217,"method":133,"deprecated":134},"List the exams open for applications","\u002Fapi\u002Freference\u002Flist-exams",{"title":219,"to":220,"method":133,"deprecated":134},"List an organization’s exam categories","\u002Fapi\u002Freference\u002Flist-exam-categories",{"title":222,"to":223,"method":133,"deprecated":134},"Fetch one exam category","\u002Fapi\u002Freference\u002Fget-exam-category",{"title":225,"to":226,"method":133,"deprecated":134},"List the exams one of your students can apply to","\u002Fapi\u002Freference\u002Flist-available-exams",{"title":228,"to":229,"method":133,"deprecated":134},"Fetch one exam that is open for applications","\u002Fapi\u002Freference\u002Fget-exam",{"tag":86,"slug":231,"links":232},"applications",[233,236,239,242,245,248,251],{"title":234,"to":235,"method":133,"deprecated":134},"List your students’ applications in this organization","\u002Fapi\u002Freference\u002Flist-applications",{"title":237,"to":238,"method":141,"deprecated":134},"Enter one of your students for an exam","\u002Fapi\u002Freference\u002Fcreate-application",{"title":240,"to":241,"method":133,"deprecated":134},"List your students’ applications for one exam","\u002Fapi\u002Freference\u002Flist-exam-applications",{"title":243,"to":244,"method":133,"deprecated":134},"List one of your students’ applications in this organization","\u002Fapi\u002Freference\u002Flist-student-applications",{"title":246,"to":247,"method":133,"deprecated":134},"Fetch one of your students’ applications","\u002Fapi\u002Freference\u002Fget-application",{"title":249,"to":250,"method":190,"deprecated":134},"Move one of your students’ applications to another exam","\u002Fapi\u002Freference\u002Fmove-application",{"title":252,"to":253,"method":254,"deprecated":134},"Withdraw one of your students from an exam","\u002Fapi\u002Freference\u002Fdelete-application","DELETE",{"tag":256,"slug":257,"links":258},"Documents","documents",[259,262,265,268],{"title":260,"to":261,"method":133,"deprecated":134},"Download a certificate file","\u002Fapi\u002Freference\u002Fdownload-certificate",{"title":263,"to":264,"method":133,"deprecated":134},"List one of your students’ released certificates","\u002Fapi\u002Freference\u002Flist-student-certificates",{"title":266,"to":267,"method":133,"deprecated":134},"Download a result report file","\u002Fapi\u002Freference\u002Fdownload-report",{"title":269,"to":270,"method":133,"deprecated":134},"List one of your students’ released result reports","\u002Fapi\u002Freference\u002Flist-student-reports",{"tag":89,"slug":272,"links":273},"group-challenges",[274,277,280,283,286,289,292,295,298],{"title":275,"to":276,"method":133,"deprecated":134},"List the group challenges an organization runs","\u002Fapi\u002Freference\u002Flist-group-challenges",{"title":278,"to":279,"method":133,"deprecated":134},"Fetch one group challenge","\u002Fapi\u002Freference\u002Fget-group-challenge",{"title":281,"to":282,"method":133,"deprecated":134},"List the groups your students are in for a group challenge","\u002Fapi\u002Freference\u002Flist-group-challenge-groups",{"title":284,"to":285,"method":133,"deprecated":134},"Fetch one group, with its steps and files","\u002Fapi\u002Freference\u002Fget-group-challenge-group",{"title":287,"to":288,"method":133,"deprecated":134},"List what has happened in one group","\u002Fapi\u002Freference\u002Flist-group-challenge-activity",{"title":290,"to":291,"method":141,"deprecated":134},"Send a group’s finished work for one of your students","\u002Fapi\u002Freference\u002Fsubmit-group-challenge-work",{"title":293,"to":294,"method":141,"deprecated":134},"Submit one step of a group for one of your students","\u002Fapi\u002Freference\u002Fsubmit-group-challenge-step",{"title":296,"to":297,"method":133,"deprecated":134},"List your students’ eligibility and groups for a group challenge","\u002Fapi\u002Freference\u002Flist-group-challenge-students",{"title":299,"to":300,"method":133,"deprecated":134},"Fetch one of your students’ eligibility and group for a group challenge","\u002Fapi\u002Freference\u002Fget-group-challenge-student",{"id":302,"title":303,"links":304,"groups":316},"clients","Clients",[305,307,310,313],{"title":9,"to":306,"status":14},"\u002Fapi\u002Fclients",{"title":308,"to":309,"status":14},"Node.js","\u002Fapi\u002Fclients\u002Fnode",{"title":311,"to":312,"status":14},"PHP","\u002Fapi\u002Fclients\u002Fphp",{"title":314,"to":315,"status":14},"Build your own","\u002Fapi\u002Fclients\u002Fbuild-your-own",[],{"id":318,"title":319,"links":320,"groups":330},"agents","AI agents",[321,324,327],{"title":322,"to":323},"AI connections","\u002Fapi\u002Fmcp",{"title":325,"to":326},"What it can do","\u002Fapi\u002Fmcp\u002Ftools",{"title":328,"to":329},"Agent skills","\u002Fapi\u002Fskills",[],{"id":332,"title":333,"links":334,"groups":350},"help","Help",[335,338,341,344,347],{"title":336,"to":337,"status":14},"Glossary","\u002Fapi\u002Fglossary",{"title":339,"to":340,"status":14},"FAQ","\u002Fapi\u002Ffaq",{"title":342,"to":343,"status":14},"Troubleshooting","\u002Fapi\u002Ftroubleshooting",{"title":345,"to":346,"status":14},"Support","\u002Fapi\u002Fsupport",{"title":348,"to":349},"Changelog","\u002Fapi\u002Fchangelog",[],{"title":352,"version":353,"description":354,"baseUrl":355,"groups":356},"Main Team API","1.2.0","Register your students, enter them for exams, follow their applications, download their certificates and reports, and sign them in to an organization’s panel.\n\nEvery operation except the health check needs a bearer token: a JWT you sign yourself with HS256 and your account’s `apiSecret`. Put your `apiKey` in both the `kid` header and the `sub` claim, and set `iat` and `exp` at most 3600 seconds apart. Every authentication failure answers the same `401 unauthorized`.","https:\u002F\u002Fapi.main-team.org",[357,368,383,419,484,492,522,561,586],{"tag":127,"slug":128,"description":358,"guide":17,"operations":359},"Whether the API is up. No token needed, so it is the first call to make against an environment.",[360],{"operationId":361,"slug":362,"method":133,"path":363,"tag":127,"summary":131,"deprecated":134,"public":364,"permission":365,"scope":366,"order":367},"getHealth","get-health","\u002Fv1\u002Fhealth",true,null,"public",1,{"tag":77,"slug":136,"description":369,"guide":78,"operations":370},"The account your token belongs to, and revoking a token before it expires.",[371,378],{"operationId":372,"slug":373,"method":141,"path":374,"tag":77,"summary":139,"deprecated":134,"public":134,"permission":375,"scope":376,"order":377},"revokeToken","revoke-token","\u002Fv1\u002Fapi-account\u002Frevoke-token","api\u002F*:$org:$ID","flat",2,{"operationId":379,"slug":380,"method":133,"path":381,"tag":77,"summary":143,"deprecated":134,"public":134,"permission":375,"scope":376,"order":382},"getCurrentApiAccount","get-current-api-account","\u002Fv1\u002Fapi-account\u002Fvalidate-me",3,{"tag":74,"slug":146,"description":384,"guide":75,"operations":385},"Countries, grades and organizations. A student’s `country` and `grade` take these `_id`s, and so does every `:organizationId` in a path.",[386,392,397,403,408,414],{"operationId":387,"slug":388,"method":133,"path":389,"tag":74,"summary":149,"deprecated":134,"public":134,"permission":390,"scope":376,"order":391},"listCountries","list-countries","\u002Fv1\u002Fcountry","country\u002Fread:$org:$ID",4,{"operationId":393,"slug":394,"method":133,"path":395,"tag":74,"summary":152,"deprecated":134,"public":134,"permission":390,"scope":376,"order":396},"getCountry","get-country","\u002Fv1\u002Fcountry\u002F{id}",5,{"operationId":398,"slug":399,"method":133,"path":400,"tag":74,"summary":155,"deprecated":134,"public":134,"permission":401,"scope":376,"order":402},"listGrades","list-grades","\u002Fv1\u002Fgrade","grade\u002Fread:$org:$ID",6,{"operationId":404,"slug":405,"method":133,"path":406,"tag":74,"summary":158,"deprecated":134,"public":134,"permission":401,"scope":376,"order":407},"getGrade","get-grade","\u002Fv1\u002Fgrade\u002F{id}",7,{"operationId":409,"slug":410,"method":133,"path":411,"tag":74,"summary":161,"deprecated":134,"public":134,"permission":412,"scope":376,"order":413},"listOrganizations","list-organizations","\u002Fv1\u002Forganization","organization\u002Fread:$org:$ID",8,{"operationId":415,"slug":416,"method":133,"path":417,"tag":74,"summary":164,"deprecated":134,"public":134,"permission":412,"scope":376,"order":418},"getOrganization","get-organization","\u002Fv1\u002Forganization\u002F{id}",9,{"tag":62,"slug":167,"description":420,"guide":63,"operations":421},"Registering your students, reading and updating them, setting a password, and what each organization holds for them. You only ever see the students your account registered.",[422,428,433,438,443,448,453,458,464,470,475,479],{"operationId":423,"slug":424,"method":133,"path":425,"tag":62,"summary":170,"deprecated":134,"public":134,"permission":426,"scope":376,"order":427},"listStudents","list-students","\u002Fv1\u002Fstudent","student\u002Fread:$org:$ID",10,{"operationId":429,"slug":430,"method":141,"path":425,"tag":62,"summary":173,"deprecated":134,"public":134,"permission":431,"scope":376,"order":432},"registerStudent","register-student","student\u002Fcreate:$org:$ID",11,{"operationId":434,"slug":435,"method":141,"path":436,"tag":62,"summary":176,"deprecated":134,"public":134,"permission":431,"scope":376,"order":437},"checkStudentRegistration","check-student-registration","\u002Fv1\u002Fstudent\u002Fcheck",12,{"operationId":439,"slug":440,"method":141,"path":441,"tag":62,"summary":179,"deprecated":134,"public":134,"permission":431,"scope":376,"order":442},"createStudentImport","create-student-import","\u002Fv1\u002Fstudent\u002Fimport",13,{"operationId":444,"slug":445,"method":133,"path":446,"tag":62,"summary":182,"deprecated":134,"public":134,"permission":431,"scope":376,"order":447},"getStudentImport","get-student-import","\u002Fv1\u002Fstudent\u002Fimport\u002F{importId}",14,{"operationId":449,"slug":450,"method":133,"path":451,"tag":62,"summary":185,"deprecated":134,"public":134,"permission":426,"scope":376,"order":452},"getStudent","get-student","\u002Fv1\u002Fstudent\u002F{studentId}",15,{"operationId":454,"slug":455,"method":190,"path":451,"tag":62,"summary":188,"deprecated":134,"public":134,"permission":456,"scope":376,"order":457},"updateStudent","update-student","student\u002Fupdate:$org:$ID",16,{"operationId":459,"slug":460,"method":190,"path":461,"tag":62,"summary":192,"deprecated":134,"public":134,"permission":462,"scope":376,"order":463},"setStudentPassword","set-student-password","\u002Fv1\u002Fstudent\u002F{studentId}\u002Fpassword","auth\u002Fsignin:$org:$ID",17,{"operationId":465,"slug":466,"method":133,"path":467,"tag":62,"summary":195,"deprecated":134,"public":134,"permission":426,"scope":468,"order":469},"listOrgStudents","list-org-students","\u002Fv1\u002F{organizationId}\u002Fstudent","organization",18,{"operationId":471,"slug":472,"method":133,"path":473,"tag":62,"summary":198,"deprecated":134,"public":134,"permission":426,"scope":468,"order":474},"getOrgStudent","get-org-student","\u002Fv1\u002F{organizationId}\u002Fstudent\u002F{studentId}",19,{"operationId":476,"slug":477,"method":190,"path":473,"tag":62,"summary":201,"deprecated":134,"public":134,"permission":456,"scope":468,"order":478},"updateOrgStudent","update-org-student",20,{"operationId":480,"slug":481,"method":190,"path":482,"tag":62,"summary":204,"deprecated":134,"public":134,"permission":456,"scope":468,"order":483},"linkStudentSupervisor","link-student-supervisor","\u002Fv1\u002F{organizationId}\u002Fstudent\u002F{studentId}\u002Fsupervisor",21,{"tag":80,"slug":207,"description":485,"guide":81,"operations":486},"Links that sign one of your students into an organization’s panel. Each works once and expires two minutes after it is issued.",[487],{"operationId":488,"slug":489,"method":141,"path":490,"tag":80,"summary":210,"deprecated":134,"public":134,"permission":462,"scope":468,"order":491},"createSigninLink","create-signin-link","\u002Fv1\u002F{organizationId}\u002Fauth\u002Fsignin",22,{"tag":83,"slug":213,"description":493,"guide":84,"operations":494},"The exam categories and exams an organization runs, and the ones one of your students can apply to.",[495,501,507,512,517],{"operationId":496,"slug":497,"method":133,"path":498,"tag":83,"summary":216,"deprecated":134,"public":134,"permission":499,"scope":468,"order":500},"listExams","list-exams","\u002Fv1\u002F{organizationId}\u002Fexam","exam\u002Fread:$org:$ID",23,{"operationId":502,"slug":503,"method":133,"path":504,"tag":83,"summary":219,"deprecated":134,"public":134,"permission":505,"scope":468,"order":506},"listExamCategories","list-exam-categories","\u002Fv1\u002F{organizationId}\u002Fexam-category","exam-category\u002Fread:$org:$ID",24,{"operationId":508,"slug":509,"method":133,"path":510,"tag":83,"summary":222,"deprecated":134,"public":134,"permission":505,"scope":468,"order":511},"getExamCategory","get-exam-category","\u002Fv1\u002F{organizationId}\u002Fexam-category\u002F{categoryId}",25,{"operationId":513,"slug":514,"method":133,"path":515,"tag":83,"summary":225,"deprecated":134,"public":134,"permission":499,"scope":468,"order":516},"listAvailableExams","list-available-exams","\u002Fv1\u002F{organizationId}\u002Fexam\u002Favailable\u002F{studentId}",26,{"operationId":518,"slug":519,"method":133,"path":520,"tag":83,"summary":228,"deprecated":134,"public":134,"permission":499,"scope":468,"order":521},"getExam","get-exam","\u002Fv1\u002F{organizationId}\u002Fexam\u002F{examId}",27,{"tag":86,"slug":231,"description":523,"guide":87,"operations":524},"Entering your students for exams: creating, reading, moving and deleting their applications.",[525,531,536,541,546,551,556],{"operationId":526,"slug":527,"method":133,"path":528,"tag":86,"summary":234,"deprecated":134,"public":134,"permission":529,"scope":468,"order":530},"listApplications","list-applications","\u002Fv1\u002F{organizationId}\u002Fapplication","application\u002Fread:$org:$ID",28,{"operationId":532,"slug":533,"method":141,"path":528,"tag":86,"summary":237,"deprecated":134,"public":134,"permission":534,"scope":468,"order":535},"createApplication","create-application","application\u002Fcreate:$org:$ID",29,{"operationId":537,"slug":538,"method":133,"path":539,"tag":86,"summary":240,"deprecated":134,"public":134,"permission":529,"scope":468,"order":540},"listExamApplications","list-exam-applications","\u002Fv1\u002F{organizationId}\u002Fapplication\u002Fexam-applications\u002F{examId}",30,{"operationId":542,"slug":543,"method":133,"path":544,"tag":86,"summary":243,"deprecated":134,"public":134,"permission":529,"scope":468,"order":545},"listStudentApplications","list-student-applications","\u002Fv1\u002F{organizationId}\u002Fapplication\u002Fstudent-applications\u002F{studentId}",31,{"operationId":547,"slug":548,"method":133,"path":549,"tag":86,"summary":246,"deprecated":134,"public":134,"permission":529,"scope":468,"order":550},"getApplication","get-application","\u002Fv1\u002F{organizationId}\u002Fapplication\u002F{applicationId}",32,{"operationId":552,"slug":553,"method":190,"path":549,"tag":86,"summary":249,"deprecated":134,"public":134,"permission":554,"scope":468,"order":555},"moveApplication","move-application","application\u002Fupdate:$org:$ID",33,{"operationId":557,"slug":558,"method":254,"path":549,"tag":86,"summary":252,"deprecated":134,"public":134,"permission":559,"scope":468,"order":560},"deleteApplication","delete-application","application\u002Fdelete:$org:$ID",34,{"tag":256,"slug":257,"description":562,"guide":93,"operations":563},"Your students’ certificates and reports: listing them and downloading the files.",[564,570,575,581],{"operationId":565,"slug":566,"method":133,"path":567,"tag":256,"summary":260,"deprecated":134,"public":134,"permission":568,"scope":468,"order":569},"downloadCertificate","download-certificate","\u002Fv1\u002F{organizationId}\u002Fcertificate\u002Fdownload\u002F{certificateId}","certificate\u002Fread:$org:$ID",35,{"operationId":571,"slug":572,"method":133,"path":573,"tag":256,"summary":263,"deprecated":134,"public":134,"permission":568,"scope":468,"order":574},"listStudentCertificates","list-student-certificates","\u002Fv1\u002F{organizationId}\u002Fcertificate\u002F{userId}",36,{"operationId":576,"slug":577,"method":133,"path":578,"tag":256,"summary":266,"deprecated":134,"public":134,"permission":579,"scope":468,"order":580},"downloadReport","download-report","\u002Fv1\u002F{organizationId}\u002Freport\u002Fdownload\u002F{reportId}","report\u002Fread:$org:$ID",37,{"operationId":582,"slug":583,"method":133,"path":584,"tag":256,"summary":269,"deprecated":134,"public":134,"permission":579,"scope":468,"order":585},"listStudentReports","list-student-reports","\u002Fv1\u002F{organizationId}\u002Freport\u002F{userId}",38,{"tag":89,"slug":272,"description":587,"guide":90,"operations":588},"Online group challenges your students take part in: the challenges, which of your students can join, the groups they are in, each step and its files, what happened in a group, and submitting on your student’s behalf.",[589,595,600,605,610,615,621,626,631],{"operationId":590,"slug":591,"method":133,"path":592,"tag":89,"summary":275,"deprecated":134,"public":134,"permission":593,"scope":468,"order":594},"listGroupChallenges","list-group-challenges","\u002Fv1\u002F{organizationId}\u002Fgroup-challenge","group-challenge\u002Fread:$org:$ID",39,{"operationId":596,"slug":597,"method":133,"path":598,"tag":89,"summary":278,"deprecated":134,"public":134,"permission":593,"scope":468,"order":599},"getGroupChallenge","get-group-challenge","\u002Fv1\u002F{organizationId}\u002Fgroup-challenge\u002F{challengeId}",40,{"operationId":601,"slug":602,"method":133,"path":603,"tag":89,"summary":281,"deprecated":134,"public":134,"permission":593,"scope":468,"order":604},"listGroupChallengeGroups","list-group-challenge-groups","\u002Fv1\u002F{organizationId}\u002Fgroup-challenge\u002F{challengeId}\u002Fgroup",41,{"operationId":606,"slug":607,"method":133,"path":608,"tag":89,"summary":284,"deprecated":134,"public":134,"permission":593,"scope":468,"order":609},"getGroupChallengeGroup","get-group-challenge-group","\u002Fv1\u002F{organizationId}\u002Fgroup-challenge\u002F{challengeId}\u002Fgroup\u002F{groupId}",42,{"operationId":611,"slug":612,"method":133,"path":613,"tag":89,"summary":287,"deprecated":134,"public":134,"permission":593,"scope":468,"order":614},"listGroupChallengeActivity","list-group-challenge-activity","\u002Fv1\u002F{organizationId}\u002Fgroup-challenge\u002F{challengeId}\u002Fgroup\u002F{groupId}\u002Factivity",43,{"operationId":616,"slug":617,"method":141,"path":618,"tag":89,"summary":290,"deprecated":134,"public":134,"permission":619,"scope":468,"order":620},"submitGroupChallengeWork","submit-group-challenge-work","\u002Fv1\u002F{organizationId}\u002Fgroup-challenge\u002F{challengeId}\u002Fgroup\u002F{groupId}\u002Ffinal-submit","group-challenge\u002Fsubmit:$org:$ID",44,{"operationId":622,"slug":623,"method":141,"path":624,"tag":89,"summary":293,"deprecated":134,"public":134,"permission":619,"scope":468,"order":625},"submitGroupChallengeStep","submit-group-challenge-step","\u002Fv1\u002F{organizationId}\u002Fgroup-challenge\u002F{challengeId}\u002Fgroup\u002F{groupId}\u002Fstep\u002F{stepId}\u002Fsubmit",45,{"operationId":627,"slug":628,"method":133,"path":629,"tag":89,"summary":296,"deprecated":134,"public":134,"permission":593,"scope":468,"order":630},"listGroupChallengeStudents","list-group-challenge-students","\u002Fv1\u002F{organizationId}\u002Fgroup-challenge\u002F{challengeId}\u002Fstudent",46,{"operationId":632,"slug":633,"method":133,"path":634,"tag":89,"summary":299,"deprecated":134,"public":134,"permission":593,"scope":468,"order":635},"getGroupChallengeStudent","get-group-challenge-student","\u002Fv1\u002F{organizationId}\u002Fgroup-challenge\u002F{challengeId}\u002Fstudent\u002F{studentId}",47,{"operationId":434,"slug":435,"method":141,"path":436,"tag":62,"summary":176,"deprecated":134,"public":134,"permission":431,"scope":376,"order":437,"description":637,"permissions":638,"errors":639,"guide":365,"parameters":680,"requestBody":681,"responses":749,"successStatus":1059,"kind":1060,"paginated":134,"baseUrl":355,"tagDescription":420,"sandbox":364},"Runs the checks `registerStudent` makes before it creates anything, on the same body without `password`, and tells you what they found. Nothing is created or changed and no username is issued, so sending it any number of times has no effect. Use it to validate a batch before you register it.\n\n**The body** follows `registerStudent`’s rules, and one that breaks a rule is refused the same way, with `400`: a missing or malformed field, `null` for `phone` or `activatedPlatformsThisSeason`, or a property the operation does not accept, `password` included.\n\n**The answer is `200` whatever the lookups found.** `data.valid` is `true` when the registration would pass every check made here:\n- `data.duplicate.sameAccount` is `true` when one of your students already has this email address, and `data.duplicate.studentId` is that student’s `_id`: `registerStudent` would answer `409`. Nothing else is looked up then, as registration does not look further either.\n- `data.problems` lists every `country`, `grade`, `city` and `school` that matches nothing, each as `{ field, message }` with the message `registerStudent` would answer `400` with, where registration names only the first. A `city` or `school` named inside a country or city that matched nothing is not looked up, so fix the field above it first. A country whose students cannot be given a username is listed as well.\n- `data.resolved` has the `_id` each of the four resolved to, what registration would store, or `null`.\n\n**Only your own students are checked for the email address.** An address a student on another account holds is not looked for and not reported, so `valid: true` is not a promise: `registerStudent` still answers `409` for such an address, without saying whose it is. Nor can the check foresee a student registered, or reference data changed, between the check and the registration.",[431],[640,644,647,650,653,657,662,667,672,676],{"code":641,"status":642,"when":643},"bad_request",400,"The body is not valid JSON, breaks a field’s rules, or has a field this operation does not accept (\"property \u003Cname> should not exist\").",{"code":641,"message":645,"status":642,"when":646},"property password should not exist","`password` was sent. The check never takes one: leave it out, and send it with `registerStudent` only.",{"code":641,"message":648,"status":642,"when":649},"lastName should not be empty","`lastName` is missing or empty.",{"code":641,"message":651,"status":642,"when":652},"birth must be a real date in DD\u002FMM\u002FYYYY format","`birth` is not `DD\u002FMM\u002FYYYY`, or is not a date that exists, such as `31\u002F02\u002F2008`.",{"code":654,"status":655,"when":656},"unauthorized",401,"The token is missing or malformed, is not signed with your account’s `apiSecret`, breaks the `iat` and `exp` rules, has expired or been revoked, or its account is not active. All of these answer the same.",{"code":658,"message":659,"status":660,"when":661},"forbidden","Insufficient role permissions",403,"The token is valid, but no role on your account allows `student\u002Fcreate` on `mto`, the organization every operation without `:organizationId` acts on, or a role denies it.",{"code":663,"message":664,"status":665,"when":666},"payload_too_large","request entity too large",413,"The body is larger than 100 kB.",{"code":668,"message":669,"status":670,"when":671},"unsupported_media_type","unsupported charset \"ISO-8859-1\"",415,"The body declares a charset that is not a UTF one (send UTF-8), or a `Content-Encoding` other than gzip, deflate or br.",{"code":673,"status":674,"when":675},"too_many_requests",429,"Your account has made more than 100 requests to this operation in the current 60-second window. Wait the seconds in `Retry-After` before sending again.",{"code":677,"status":678,"when":679},"internal_error",500,"Something failed on our side. Retry later, and quote `request_id` if it goes on.",[],{"content":682,"required":364},{"application\u002Fjson":683},{"schema":684},{"x-ref":685,"description":686,"properties":687,"required":739,"type":748},"#\u002Fcomponents\u002Fschemas\u002FCheckStudentRegistrationRequest","The body of `checkStudentRegistration`: the body of `registerStudent` without `password`, with the same rules.",{"firstName":688,"lastName":692,"birth":695,"sex":699,"email":705,"email2":709,"phone":711,"country":714,"grade":718,"school":721,"city":724,"activatedPlatformsThisSeason":727},{"description":689,"example":690,"type":691},"The student’s first name. Printed on certificates and reports, followed by `lastName`.","Jane","string",{"description":693,"example":694,"type":691},"The student’s surname. Printed on certificates and reports after `firstName`. It cannot be empty.","Doe",{"description":696,"example":697,"pattern":698,"type":691},"Date of birth as `DD\u002FMM\u002FYYYY`, and a date that exists: `31\u002F02\u002F2008` is refused. An ISO date such as `2008-05-14` is refused.","14\u002F05\u002F2008","^(0[1-9]|[12]\\d|3[01])\\\u002F(0[1-9]|1[0-2])\\\u002F\\d{4}$",{"description":700,"enum":701,"example":703,"type":691},"One of `m`, `f` or `n`.",[702,703,704],"m","f","n",{"description":706,"example":707,"format":708,"type":691},"The student’s email address, stored in lower case. An address belongs to one student on the whole platform, so one already registered, by your account or another, is refused with 409.","jane.doe@example.com","email",{"description":710,"type":691},"Leave this out. Any value but an empty one is refused with 400.",{"description":712,"example":713,"type":691},"A phone number, stored as you send it. No format is checked. On an update, `\"\"` clears it.","+1 555 0100",{"description":715,"example":716,"pattern":717,"type":691},"The `_id` of a country, from `listCountries` (`GET \u002Fv1\u002Fcountry`). An id only: a name or an ISO code is refused. Its two-letter code starts the student’s `username`.","6650a1b2c3d4e5f6a7b8c9d1","^[0-9a-fA-F]{24}$",{"description":719,"example":720,"type":691},"The `_id` of a grade, from `listGrades` (`GET \u002Fv1\u002Fgrade`), or its name, `1` to `12`. Either way the grade’s `_id` is what is stored. One that matches no grade is refused with 400. The grade decides which exams the student is offered.","10",{"description":722,"example":723,"type":691},"The `_id` of a school, or its name within `country` and `city`, matched without regard to case. There is no list of schools to look one up in: send the name your records hold. One that matches no school is refused with 400; no school is ever created.","Springfield High School",{"description":725,"example":726,"type":691},"The `_id` of a city, or its name within `country`, matched without regard to case. There is no list of cities to look one up in: send the name your records hold. One that matches no city is refused with 400; no city is ever created.","Springfield",{"description":728,"example":729,"items":731,"maxItems":402,"type":738},"The organizations the student takes part in this season, by `slug` (as `listOrganizations` gives it, except `mto`: the core record, which every student is on), or `common` for every organization. Registration sets `[\"common\"]` when you leave it out; `null` is refused with 400. At most 6 entries.",[730],"common",{"enum":732,"type":691},[730,733,734,735,736,737],"stem","hilingua","neo","gmath","coding","array",[740,741,742,743,708,744,745,746,747],"firstName","lastName","birth","sex","country","grade","school","city","object",{"200":750,"400":873,"401":926,"403":948,"413":969,"415":990,"429":1011,"500":1037},{"content":751,"description":861,"headers":862},{"application\u002Fjson":752},{"schema":753},{"allOf":754},[755,793],{"x-ref":756,"description":757,"properties":758,"required":790,"type":748},"#\u002Fcomponents\u002Fschemas\u002FSuccessEnvelope","How every successful JSON response is wrapped. `data` is the result, and each operation declares its shape; list operations add `pagination`. `GET \u002Fv1\u002Fapi-account\u002Fvalidate-me` is the one operation that answers without this envelope.",{"success":759,"message":763,"pagination":766},{"description":760,"enum":761,"example":364,"type":762},"Always `true` on a success.",[364],"boolean",{"description":764,"example":765,"type":691},"A sentence saying what happened, written for a person. Branch on the status and on `data`, not on this.","Request completed successfully.",{"allOf":767,"description":789},[768],{"x-ref":769,"description":770,"properties":771,"required":784,"type":748},"#\u002Fcomponents\u002Fschemas\u002FPaginationMeta","Where one page sits in the whole list.",{"page":772,"limit":775,"total":778,"totalPages":782},{"description":773,"example":367,"minimum":367,"type":774},"The page returned, counting from 1.","number",{"description":776,"example":478,"maximum":777,"minimum":367,"type":774},"Items per page: the `limit` you sent, 20 if you sent none, and never more than 100.",100,{"description":779,"example":780,"minimum":781,"type":774},"Items across every page.",57,0,{"description":783,"example":382,"minimum":781,"type":774},"Pages at this `limit`: `total \u002F limit`, rounded up.",[785,786,787,788],"page","limit","total","totalPages","On list operations only.",[791,792],"success","message",{"properties":794,"required":859,"type":748},{"message":795,"data":797},{"example":796,"type":691},"Registration checked. Nothing was created.",{"x-ref":798,"description":799,"properties":800,"required":854,"type":748},"#\u002Fcomponents\u002Fschemas\u002FRegistrationCheckResponse","What `checkStudentRegistration` found: whether `registerStudent` with the same body would pass the checks it makes before it writes, and why not.",{"valid":801,"problems":803,"resolved":819,"duplicate":839},{"description":802,"example":134,"type":762},"`true` when no student of yours has the email address and every reference resolved: `duplicate.sameAccount` is `false` and `problems` is empty.",{"description":804,"example":805,"items":808,"type":738},"Every reference field that matched nothing, in the order `country`, `grade`, `city`, `school`, and the country again when its students cannot be given a username. A city or school name inside a country or city that matched nothing is not looked up, so not listed. Empty when the email address is one of your students’.",[806],{"field":746,"message":807},"school is not a known school. This API does not create reference data.",{"x-ref":809,"description":810,"properties":811,"required":817,"type":748},"#\u002Fcomponents\u002Fschemas\u002FRegistrationProblemResponse","A field `registerStudent` would refuse, with the message it would refuse it with.",{"field":812,"message":815},{"description":813,"enum":814,"example":746,"type":691},"The field: `country`, `grade`, `city` or `school`.",[744,745,747,746],{"description":816,"example":807,"type":691},"The message `registerStudent` answers `400 bad_request` with for this field.",[818,792],"field",{"allOf":820,"description":837,"example":838},[821],{"x-ref":822,"description":823,"properties":824,"required":836,"type":748},"#\u002Fcomponents\u002Fschemas\u002FResolvedReferencesResponse","The `_id` each reference field resolved to: what `registerStudent` would store.",{"country":825,"grade":827,"city":830,"school":833},{"description":826,"example":716,"nullable":364,"type":691},"The country’s `_id`; `null` if it matched nothing or was not looked up.",{"description":828,"example":829,"nullable":364,"type":691},"The grade’s `_id`, also when you sent its name; `null` if it matched nothing or was not looked up.","6650a1b2c3d4e5f6a7b8c9d4",{"description":831,"example":832,"nullable":364,"type":691},"The city’s `_id`, also when you sent its name; `null` if it matched nothing or was not looked up.","6650a1b2c3d4e5f6a7b8c9d2",{"description":834,"example":835,"nullable":364,"type":691},"The school’s `_id`, also when you sent its name; `null` if it matched nothing or was not looked up.","6650a1b2c3d4e5f6a7b8c9d3",[744,745,747,746],"The `_id` each reference resolved to. All four are `null` when the email address is one of your students’: nothing is looked up then.",{"city":832,"country":716,"grade":829,"school":365},{"allOf":840,"description":852,"example":853},[841],{"x-ref":842,"description":843,"properties":844,"required":850,"type":748},"#\u002Fcomponents\u002Fschemas\u002FRegistrationDuplicateResponse","Whether one of your students already has the email address. Students of other accounts are never looked at.",{"sameAccount":845,"studentId":847},{"description":846,"example":134,"type":762},"`true` when one of your students already has this email address, so `registerStudent` would answer `409 conflict`.",{"description":848,"example":849,"type":691},"That student’s `_id`, only when `sameAccount` is `true`: the student to use instead of registering a second one.","6650a1b2c3d4e5f6a7b8c9d0",[851],"sameAccount","Whether one of your students already has the address.",{"sameAccount":134},[855,856,857,858],"valid","problems","resolved","duplicate",[860],"data","Success: `message` is \"Registration checked. Nothing was created.\".",{"X-RateLimit-Limit":863,"X-RateLimit-Remaining":867,"X-RateLimit-Reset":870},{"description":864,"schema":865},"Requests your account may make to this operation per window (100).",{"type":866},"integer",{"description":868,"schema":869},"Requests left in the current window.",{"type":866},{"description":871,"schema":872},"Seconds until the current window ends.",{"type":866},{"content":874,"description":925},{"application\u002Fjson":875},{"examples":876,"schema":892},{"bad_request":877,"bad_request_2":883,"bad_request_3":886,"bad_request_4":889},{"summary":643,"value":878},{"error":879},{"code":641,"documentation_url":880,"message":881,"request_id":882},"https:\u002F\u002Fhub.main-team.org\u002Fapi\u002Ferrors#bad_request","The request was malformed or contained invalid parameters.","0b5c6d0e-8f7a-4b1c-9d2e-3f4a5b6c7d8e",{"summary":646,"value":884},{"error":885},{"code":641,"documentation_url":880,"message":645,"request_id":882},{"summary":649,"value":887},{"error":888},{"code":641,"documentation_url":880,"message":648,"request_id":882},{"summary":652,"value":890},{"error":891},{"code":641,"documentation_url":880,"message":651,"request_id":882},{"x-ref":893,"description":894,"properties":895,"required":923,"type":748},"#\u002Fcomponents\u002Fschemas\u002FErrorEnvelope","How every error response is wrapped.",{"error":896},{"x-ref":897,"description":898,"properties":899,"required":919,"type":748},"#\u002Fcomponents\u002Fschemas\u002FErrorDetail","What went wrong.",{"code":900,"message":908,"documentation_url":911,"request_id":915,"details":917},{"description":901,"enum":902,"example":904,"type":691},"A stable machine code: branch on this. Each one is explained at `documentation_url`.",[903,641,654,658,904,905,663,668,906,673,677,907],"invalid_email","not_found","conflict","unprocessable_entity","service_unavailable",{"description":909,"example":910,"type":691},"Written for a person, and may change: never branch on it.","Not found!",{"description":912,"example":913,"format":914,"type":691},"Where this code is explained.","https:\u002F\u002Fhub.main-team.org\u002Fapi\u002Ferrors#not_found","uri",{"description":916,"example":882,"type":691},"This request’s id, also sent as the `X-Request-Id` response header: the one you sent, when it was acceptable, or else one the API made. Quote it when you report a problem.",{"additionalProperties":364,"description":918,"type":748},"Present only where an operation says so, and then with the shape that operation documents — the rows it could not accept, say. Treat it as absent everywhere else, and ignore a `details` you do not recognise.",[920,792,921,922],"code","documentation_url","request_id",[924],"error","- `bad_request`: The body is not valid JSON, breaks a field’s rules, or has a field this operation does not accept (\"property \u003Cname> should not exist\").\n- `bad_request`: `password` was sent. The check never takes one: leave it out, and send it with `registerStudent` only.\n- `bad_request`: `lastName` is missing or empty.\n- `bad_request`: `birth` is not `DD\u002FMM\u002FYYYY`, or is not a date that exists, such as `31\u002F02\u002F2008`.",{"content":927,"description":947},{"application\u002Fjson":928},{"examples":929,"schema":935},{"unauthorized":930},{"summary":654,"value":931},{"error":932},{"code":654,"documentation_url":933,"message":934,"request_id":882},"https:\u002F\u002Fhub.main-team.org\u002Fapi\u002Ferrors#unauthorized","Authentication is required or the provided credentials are invalid.",{"x-ref":893,"description":894,"properties":936,"required":946,"type":748},{"error":937},{"x-ref":897,"description":898,"properties":938,"required":945,"type":748},{"code":939,"message":941,"documentation_url":942,"request_id":943,"details":944},{"description":901,"enum":940,"example":904,"type":691},[903,641,654,658,904,905,663,668,906,673,677,907],{"description":909,"example":910,"type":691},{"description":912,"example":913,"format":914,"type":691},{"description":916,"example":882,"type":691},{"additionalProperties":364,"description":918,"type":748},[920,792,921,922],[924],"`unauthorized`: The token is missing or malformed, is not signed with your account’s `apiSecret`, breaks the `iat` and `exp` rules, has expired or been revoked, or its account is not active. All of these answer the same.",{"content":949,"description":968},{"application\u002Fjson":950},{"examples":951,"schema":956},{"forbidden":952},{"summary":658,"value":953},{"error":954},{"code":658,"documentation_url":955,"message":659,"request_id":882},"https:\u002F\u002Fhub.main-team.org\u002Fapi\u002Ferrors#forbidden",{"x-ref":893,"description":894,"properties":957,"required":967,"type":748},{"error":958},{"x-ref":897,"description":898,"properties":959,"required":966,"type":748},{"code":960,"message":962,"documentation_url":963,"request_id":964,"details":965},{"description":901,"enum":961,"example":904,"type":691},[903,641,654,658,904,905,663,668,906,673,677,907],{"description":909,"example":910,"type":691},{"description":912,"example":913,"format":914,"type":691},{"description":916,"example":882,"type":691},{"additionalProperties":364,"description":918,"type":748},[920,792,921,922],[924],"`forbidden`: The token is valid, but no role on your account allows `student\u002Fcreate` on `mto`, the organization every operation without `:organizationId` acts on, or a role denies it.",{"content":970,"description":989},{"application\u002Fjson":971},{"examples":972,"schema":977},{"payload_too_large":973},{"summary":663,"value":974},{"error":975},{"code":663,"documentation_url":976,"message":664,"request_id":882},"https:\u002F\u002Fhub.main-team.org\u002Fapi\u002Ferrors#payload_too_large",{"x-ref":893,"description":894,"properties":978,"required":988,"type":748},{"error":979},{"x-ref":897,"description":898,"properties":980,"required":987,"type":748},{"code":981,"message":983,"documentation_url":984,"request_id":985,"details":986},{"description":901,"enum":982,"example":904,"type":691},[903,641,654,658,904,905,663,668,906,673,677,907],{"description":909,"example":910,"type":691},{"description":912,"example":913,"format":914,"type":691},{"description":916,"example":882,"type":691},{"additionalProperties":364,"description":918,"type":748},[920,792,921,922],[924],"`payload_too_large`: The body is larger than 100 kB.",{"content":991,"description":1010},{"application\u002Fjson":992},{"examples":993,"schema":998},{"unsupported_media_type":994},{"summary":668,"value":995},{"error":996},{"code":668,"documentation_url":997,"message":669,"request_id":882},"https:\u002F\u002Fhub.main-team.org\u002Fapi\u002Ferrors#unsupported_media_type",{"x-ref":893,"description":894,"properties":999,"required":1009,"type":748},{"error":1000},{"x-ref":897,"description":898,"properties":1001,"required":1008,"type":748},{"code":1002,"message":1004,"documentation_url":1005,"request_id":1006,"details":1007},{"description":901,"enum":1003,"example":904,"type":691},[903,641,654,658,904,905,663,668,906,673,677,907],{"description":909,"example":910,"type":691},{"description":912,"example":913,"format":914,"type":691},{"description":916,"example":882,"type":691},{"additionalProperties":364,"description":918,"type":748},[920,792,921,922],[924],"`unsupported_media_type`: The body declares a charset that is not a UTF one (send UTF-8), or a `Content-Encoding` other than gzip, deflate or br.",{"content":1012,"description":1032,"headers":1033},{"application\u002Fjson":1013},{"examples":1014,"schema":1020},{"too_many_requests":1015},{"summary":673,"value":1016},{"error":1017},{"code":673,"documentation_url":1018,"message":1019,"request_id":882},"https:\u002F\u002Fhub.main-team.org\u002Fapi\u002Ferrors#too_many_requests","Too many requests to this operation. Wait the number of seconds in Retry-After, then try again.",{"x-ref":893,"description":894,"properties":1021,"required":1031,"type":748},{"error":1022},{"x-ref":897,"description":898,"properties":1023,"required":1030,"type":748},{"code":1024,"message":1026,"documentation_url":1027,"request_id":1028,"details":1029},{"description":901,"enum":1025,"example":904,"type":691},[903,641,654,658,904,905,663,668,906,673,677,907],{"description":909,"example":910,"type":691},{"description":912,"example":913,"format":914,"type":691},{"description":916,"example":882,"type":691},{"additionalProperties":364,"description":918,"type":748},[920,792,921,922],[924],"`too_many_requests`: Your account has made more than 100 requests to this operation in the current 60-second window. Wait the seconds in `Retry-After` before sending again.",{"Retry-After":1034},{"description":1035,"schema":1036},"Seconds to wait before sending again; a request sent sooner is refused too.",{"type":866},{"content":1038,"description":1058},{"application\u002Fjson":1039},{"examples":1040,"schema":1046},{"internal_error":1041},{"summary":677,"value":1042},{"error":1043},{"code":677,"documentation_url":1044,"message":1045,"request_id":882},"https:\u002F\u002Fhub.main-team.org\u002Fapi\u002Ferrors#internal_error","An unexpected error occurred.",{"x-ref":893,"description":894,"properties":1047,"required":1057,"type":748},{"error":1048},{"x-ref":897,"description":898,"properties":1049,"required":1056,"type":748},{"code":1050,"message":1052,"documentation_url":1053,"request_id":1054,"details":1055},{"description":901,"enum":1051,"example":904,"type":691},[903,641,654,658,904,905,663,668,906,673,677,907],{"description":909,"example":910,"type":691},{"description":912,"example":913,"format":914,"type":691},{"description":916,"example":882,"type":691},{"additionalProperties":364,"description":918,"type":748},[920,792,921,922],[924],"`internal_error`: Something failed on our side. Retry later, and quote `request_id` if it goes on.","200","envelope",{"path":26},{"id":1063,"title":176,"apiPath":436,"body":1064,"deprecated":134,"description":2092,"extension":2093,"meta":2094,"method":141,"navigation":364,"operationId":434,"order":2095,"path":177,"permission":431,"public":134,"seo":2096,"stem":2097,"summary":176,"tag":62,"__hash__":2098},"apiReference\u002Fapi\u002Freference\u002Fcheck-student-registration.md",{"type":1065,"value":1066,"toc":2090},"minimark",[1067,2086],[1068,1069,1070,1236,1622],"api-code-group",{},[1071,1072,1078],"pre",{"className":1073,"code":1074,"filename":1075,"language":1076,"meta":1077,"style":1077},"language-bash shiki shiki-themes github-light-high-contrast github-dark-high-contrast","# $TOKEN: a short-lived token you minted with your API key and secret\ncurl -sS -X POST 'https:\u002F\u002Fapi.main-team.org\u002Fv1\u002Fstudent\u002Fcheck' \\\n  -H \"Authorization: Bearer $TOKEN\" \\\n  -H 'Content-Type: application\u002Fjson' \\\n  --data-binary @- \u003C\u003C'JSON'\n{\n  \"firstName\": \"Jane\",\n  \"lastName\": \"Doe\",\n  \"birth\": \"14\u002F05\u002F2008\",\n  \"sex\": \"f\",\n  \"email\": \"jane.doe@example.com\",\n  \"email2\": \"\u003Cemail2>\",\n  \"phone\": \"+1 555 0100\",\n  \"country\": \"6650a1b2c3d4e5f6a7b8c9d1\",\n  \"grade\": \"10\",\n  \"school\": \"Springfield High School\",\n  \"city\": \"Springfield\",\n  \"activatedPlatformsThisSeason\": [\n    \"common\"\n  ]\n}\nJSON\n","curl","bash","",[920,1079,1080,1088,1111,1128,1137,1151,1156,1161,1166,1171,1176,1181,1186,1191,1196,1201,1206,1211,1216,1221,1226,1231],{"__ignoreMap":1077},[1081,1082,1084],"span",{"class":1083,"line":367},"line",[1081,1085,1087],{"class":1086},"sLBg1","# $TOKEN: a short-lived token you minted with your API key and secret\n",[1081,1089,1090,1093,1097,1100,1104,1107],{"class":1083,"line":377},[1081,1091,1075],{"class":1092},"soyes",[1081,1094,1096],{"class":1095},"s-5SL"," -sS",[1081,1098,1099],{"class":1095}," -X",[1081,1101,1103],{"class":1102},"sT6z2"," POST",[1081,1105,1106],{"class":1102}," 'https:\u002F\u002Fapi.main-team.org\u002Fv1\u002Fstudent\u002Fcheck'",[1081,1108,1110],{"class":1109},"sHUrx"," \\\n",[1081,1112,1113,1116,1119,1123,1126],{"class":1083,"line":382},[1081,1114,1115],{"class":1095},"  -H",[1081,1117,1118],{"class":1102}," \"Authorization: Bearer ",[1081,1120,1122],{"class":1121},"suds8","$TOKEN",[1081,1124,1125],{"class":1102},"\"",[1081,1127,1110],{"class":1109},[1081,1129,1130,1132,1135],{"class":1083,"line":391},[1081,1131,1115],{"class":1095},[1081,1133,1134],{"class":1102}," 'Content-Type: application\u002Fjson'",[1081,1136,1110],{"class":1109},[1081,1138,1139,1142,1145,1148],{"class":1083,"line":396},[1081,1140,1141],{"class":1095},"  --data-binary",[1081,1143,1144],{"class":1102}," @-",[1081,1146,1147],{"class":1109}," \u003C\u003C",[1081,1149,1150],{"class":1121},"'JSON'\n",[1081,1152,1153],{"class":1083,"line":402},[1081,1154,1155],{"class":1102},"{\n",[1081,1157,1158],{"class":1083,"line":407},[1081,1159,1160],{"class":1102},"  \"firstName\": \"Jane\",\n",[1081,1162,1163],{"class":1083,"line":413},[1081,1164,1165],{"class":1102},"  \"lastName\": \"Doe\",\n",[1081,1167,1168],{"class":1083,"line":418},[1081,1169,1170],{"class":1102},"  \"birth\": \"14\u002F05\u002F2008\",\n",[1081,1172,1173],{"class":1083,"line":427},[1081,1174,1175],{"class":1102},"  \"sex\": \"f\",\n",[1081,1177,1178],{"class":1083,"line":432},[1081,1179,1180],{"class":1102},"  \"email\": \"jane.doe@example.com\",\n",[1081,1182,1183],{"class":1083,"line":437},[1081,1184,1185],{"class":1102},"  \"email2\": \"\u003Cemail2>\",\n",[1081,1187,1188],{"class":1083,"line":442},[1081,1189,1190],{"class":1102},"  \"phone\": \"+1 555 0100\",\n",[1081,1192,1193],{"class":1083,"line":447},[1081,1194,1195],{"class":1102},"  \"country\": \"6650a1b2c3d4e5f6a7b8c9d1\",\n",[1081,1197,1198],{"class":1083,"line":452},[1081,1199,1200],{"class":1102},"  \"grade\": \"10\",\n",[1081,1202,1203],{"class":1083,"line":457},[1081,1204,1205],{"class":1102},"  \"school\": \"Springfield High School\",\n",[1081,1207,1208],{"class":1083,"line":463},[1081,1209,1210],{"class":1102},"  \"city\": \"Springfield\",\n",[1081,1212,1213],{"class":1083,"line":469},[1081,1214,1215],{"class":1102},"  \"activatedPlatformsThisSeason\": [\n",[1081,1217,1218],{"class":1083,"line":474},[1081,1219,1220],{"class":1102},"    \"common\"\n",[1081,1222,1223],{"class":1083,"line":478},[1081,1224,1225],{"class":1102},"  ]\n",[1081,1227,1228],{"class":1083,"line":483},[1081,1229,1230],{"class":1102},"}\n",[1081,1232,1233],{"class":1083,"line":491},[1081,1234,1235],{"class":1121},"JSON\n",[1071,1237,1241],{"className":1238,"code":1239,"filename":308,"language":1240,"meta":1077,"style":1077},"language-js shiki shiki-themes github-light-high-contrast github-dark-high-contrast","const token = process.env.TOKEN; \u002F\u002F a short-lived token you minted with your API key and secret\n\nconst res = await fetch('https:\u002F\u002Fapi.main-team.org\u002Fv1\u002Fstudent\u002Fcheck', {\n  method: 'POST',\n  headers: {\n    Authorization: `Bearer ${token}`,\n    'Content-Type': 'application\u002Fjson',\n  },\n  body: JSON.stringify({\n    \"firstName\": \"Jane\",\n    \"lastName\": \"Doe\",\n    \"birth\": \"14\u002F05\u002F2008\",\n    \"sex\": \"f\",\n    \"email\": \"jane.doe@example.com\",\n    \"email2\": \"\u003Cemail2>\",\n    \"phone\": \"+1 555 0100\",\n    \"country\": \"6650a1b2c3d4e5f6a7b8c9d1\",\n    \"grade\": \"10\",\n    \"school\": \"Springfield High School\",\n    \"city\": \"Springfield\",\n    \"activatedPlatformsThisSeason\": [\n      \"common\"\n    ]\n  }),\n});\nconst body = await res.json();\nif (!res.ok) throw new Error(`${res.status} ${body.error.code}: ${body.error.message}`);\nconsole.log(body.data);\n","js",[920,1242,1243,1266,1271,1296,1307,1312,1328,1341,1346,1363,1375,1387,1399,1411,1423,1435,1447,1459,1471,1483,1495,1503,1508,1513,1518,1523,1543,1611],{"__ignoreMap":1077},[1081,1244,1245,1248,1251,1254,1257,1260,1263],{"class":1083,"line":367},[1081,1246,1247],{"class":1109},"const",[1081,1249,1250],{"class":1095}," token",[1081,1252,1253],{"class":1109}," =",[1081,1255,1256],{"class":1121}," process.env.",[1081,1258,1259],{"class":1095},"TOKEN",[1081,1261,1262],{"class":1121},"; ",[1081,1264,1265],{"class":1086},"\u002F\u002F a short-lived token you minted with your API key and secret\n",[1081,1267,1268],{"class":1083,"line":377},[1081,1269,1270],{"emptyLinePlaceholder":364},"\n",[1081,1272,1273,1275,1278,1280,1283,1287,1290,1293],{"class":1083,"line":382},[1081,1274,1247],{"class":1109},[1081,1276,1277],{"class":1095}," res",[1081,1279,1253],{"class":1109},[1081,1281,1282],{"class":1109}," await",[1081,1284,1286],{"class":1285},"sKwhi"," fetch",[1081,1288,1289],{"class":1121},"(",[1081,1291,1292],{"class":1102},"'https:\u002F\u002Fapi.main-team.org\u002Fv1\u002Fstudent\u002Fcheck'",[1081,1294,1295],{"class":1121},", {\n",[1081,1297,1298,1301,1304],{"class":1083,"line":391},[1081,1299,1300],{"class":1121},"  method: ",[1081,1302,1303],{"class":1102},"'POST'",[1081,1305,1306],{"class":1121},",\n",[1081,1308,1309],{"class":1083,"line":396},[1081,1310,1311],{"class":1121},"  headers: {\n",[1081,1313,1314,1317,1320,1323,1326],{"class":1083,"line":402},[1081,1315,1316],{"class":1121},"    Authorization: ",[1081,1318,1319],{"class":1102},"`Bearer ${",[1081,1321,1322],{"class":1121},"token",[1081,1324,1325],{"class":1102},"}`",[1081,1327,1306],{"class":1121},[1081,1329,1330,1333,1336,1339],{"class":1083,"line":407},[1081,1331,1332],{"class":1102},"    'Content-Type'",[1081,1334,1335],{"class":1121},": ",[1081,1337,1338],{"class":1102},"'application\u002Fjson'",[1081,1340,1306],{"class":1121},[1081,1342,1343],{"class":1083,"line":413},[1081,1344,1345],{"class":1121},"  },\n",[1081,1347,1348,1351,1354,1357,1360],{"class":1083,"line":418},[1081,1349,1350],{"class":1121},"  body: ",[1081,1352,1353],{"class":1095},"JSON",[1081,1355,1356],{"class":1121},".",[1081,1358,1359],{"class":1285},"stringify",[1081,1361,1362],{"class":1121},"({\n",[1081,1364,1365,1368,1370,1373],{"class":1083,"line":427},[1081,1366,1367],{"class":1102},"    \"firstName\"",[1081,1369,1335],{"class":1121},[1081,1371,1372],{"class":1102},"\"Jane\"",[1081,1374,1306],{"class":1121},[1081,1376,1377,1380,1382,1385],{"class":1083,"line":432},[1081,1378,1379],{"class":1102},"    \"lastName\"",[1081,1381,1335],{"class":1121},[1081,1383,1384],{"class":1102},"\"Doe\"",[1081,1386,1306],{"class":1121},[1081,1388,1389,1392,1394,1397],{"class":1083,"line":437},[1081,1390,1391],{"class":1102},"    \"birth\"",[1081,1393,1335],{"class":1121},[1081,1395,1396],{"class":1102},"\"14\u002F05\u002F2008\"",[1081,1398,1306],{"class":1121},[1081,1400,1401,1404,1406,1409],{"class":1083,"line":442},[1081,1402,1403],{"class":1102},"    \"sex\"",[1081,1405,1335],{"class":1121},[1081,1407,1408],{"class":1102},"\"f\"",[1081,1410,1306],{"class":1121},[1081,1412,1413,1416,1418,1421],{"class":1083,"line":447},[1081,1414,1415],{"class":1102},"    \"email\"",[1081,1417,1335],{"class":1121},[1081,1419,1420],{"class":1102},"\"jane.doe@example.com\"",[1081,1422,1306],{"class":1121},[1081,1424,1425,1428,1430,1433],{"class":1083,"line":452},[1081,1426,1427],{"class":1102},"    \"email2\"",[1081,1429,1335],{"class":1121},[1081,1431,1432],{"class":1102},"\"\u003Cemail2>\"",[1081,1434,1306],{"class":1121},[1081,1436,1437,1440,1442,1445],{"class":1083,"line":457},[1081,1438,1439],{"class":1102},"    \"phone\"",[1081,1441,1335],{"class":1121},[1081,1443,1444],{"class":1102},"\"+1 555 0100\"",[1081,1446,1306],{"class":1121},[1081,1448,1449,1452,1454,1457],{"class":1083,"line":463},[1081,1450,1451],{"class":1102},"    \"country\"",[1081,1453,1335],{"class":1121},[1081,1455,1456],{"class":1102},"\"6650a1b2c3d4e5f6a7b8c9d1\"",[1081,1458,1306],{"class":1121},[1081,1460,1461,1464,1466,1469],{"class":1083,"line":469},[1081,1462,1463],{"class":1102},"    \"grade\"",[1081,1465,1335],{"class":1121},[1081,1467,1468],{"class":1102},"\"10\"",[1081,1470,1306],{"class":1121},[1081,1472,1473,1476,1478,1481],{"class":1083,"line":474},[1081,1474,1475],{"class":1102},"    \"school\"",[1081,1477,1335],{"class":1121},[1081,1479,1480],{"class":1102},"\"Springfield High School\"",[1081,1482,1306],{"class":1121},[1081,1484,1485,1488,1490,1493],{"class":1083,"line":478},[1081,1486,1487],{"class":1102},"    \"city\"",[1081,1489,1335],{"class":1121},[1081,1491,1492],{"class":1102},"\"Springfield\"",[1081,1494,1306],{"class":1121},[1081,1496,1497,1500],{"class":1083,"line":483},[1081,1498,1499],{"class":1102},"    \"activatedPlatformsThisSeason\"",[1081,1501,1502],{"class":1121},": [\n",[1081,1504,1505],{"class":1083,"line":491},[1081,1506,1507],{"class":1102},"      \"common\"\n",[1081,1509,1510],{"class":1083,"line":500},[1081,1511,1512],{"class":1121},"    ]\n",[1081,1514,1515],{"class":1083,"line":506},[1081,1516,1517],{"class":1121},"  }),\n",[1081,1519,1520],{"class":1083,"line":511},[1081,1521,1522],{"class":1121},"});\n",[1081,1524,1525,1527,1530,1532,1534,1537,1540],{"class":1083,"line":516},[1081,1526,1247],{"class":1109},[1081,1528,1529],{"class":1095}," body",[1081,1531,1253],{"class":1109},[1081,1533,1282],{"class":1109},[1081,1535,1536],{"class":1121}," res.",[1081,1538,1539],{"class":1285},"json",[1081,1541,1542],{"class":1121},"();\n",[1081,1544,1545,1548,1551,1554,1557,1560,1563,1566,1568,1571,1574,1576,1579,1582,1585,1587,1589,1591,1593,1596,1598,1600,1602,1604,1606,1608],{"class":1083,"line":521},[1081,1546,1547],{"class":1109},"if",[1081,1549,1550],{"class":1121}," (",[1081,1552,1553],{"class":1109},"!",[1081,1555,1556],{"class":1121},"res.ok) ",[1081,1558,1559],{"class":1109},"throw",[1081,1561,1562],{"class":1109}," new",[1081,1564,1565],{"class":1285}," Error",[1081,1567,1289],{"class":1121},[1081,1569,1570],{"class":1102},"`${",[1081,1572,1573],{"class":1121},"res",[1081,1575,1356],{"class":1102},[1081,1577,1578],{"class":1121},"status",[1081,1580,1581],{"class":1102},"} ${",[1081,1583,1584],{"class":1121},"body",[1081,1586,1356],{"class":1102},[1081,1588,924],{"class":1121},[1081,1590,1356],{"class":1102},[1081,1592,920],{"class":1121},[1081,1594,1595],{"class":1102},"}: ${",[1081,1597,1584],{"class":1121},[1081,1599,1356],{"class":1102},[1081,1601,924],{"class":1121},[1081,1603,1356],{"class":1102},[1081,1605,792],{"class":1121},[1081,1607,1325],{"class":1102},[1081,1609,1610],{"class":1121},");\n",[1081,1612,1613,1616,1619],{"class":1083,"line":530},[1081,1614,1615],{"class":1121},"console.",[1081,1617,1618],{"class":1285},"log",[1081,1620,1621],{"class":1121},"(body.data);\n",[1071,1623,1627],{"className":1624,"code":1625,"filename":311,"language":1626,"meta":1077,"style":1077},"language-php shiki shiki-themes github-light-high-contrast github-dark-high-contrast","\u003C?php\n$token = getenv('TOKEN'); \u002F\u002F a short-lived token you minted with your API key and secret\n\n$ch = curl_init('https:\u002F\u002Fapi.main-team.org\u002Fv1\u002Fstudent\u002Fcheck');\ncurl_setopt_array($ch, [\n    CURLOPT_CUSTOMREQUEST => 'POST',\n    CURLOPT_HTTPHEADER => [\n        'Authorization: Bearer ' . $token,\n        'Content-Type: application\u002Fjson',\n    ],\n    CURLOPT_POSTFIELDS => json_encode([\n        'firstName' => 'Jane',\n        'lastName' => 'Doe',\n        'birth' => '14\u002F05\u002F2008',\n        'sex' => 'f',\n        'email' => 'jane.doe@example.com',\n        'email2' => '\u003Cemail2>',\n        'phone' => '+1 555 0100',\n        'country' => '6650a1b2c3d4e5f6a7b8c9d1',\n        'grade' => '10',\n        'school' => 'Springfield High School',\n        'city' => 'Springfield',\n        'activatedPlatformsThisSeason' => [\n            'common',\n        ],\n    ]),\n    CURLOPT_RETURNTRANSFER => true,\n]);\n$response = curl_exec($ch);\nif ($response === false) {\n    throw new RuntimeException(curl_error($ch));\n}\n$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);\n$body = json_decode($response, true);\nif ($status >= 400) {\n    $error = $body['error'];\n    throw new RuntimeException(\"$status {$error['code']}: {$error['message']}\");\n}\nprint_r($body['data']);\n","php",[920,1628,1629,1637,1658,1662,1678,1686,1699,1709,1720,1727,1732,1745,1757,1769,1781,1793,1805,1817,1829,1841,1853,1865,1877,1886,1893,1898,1903,1915,1920,1933,1949,1967,1971,1989,2007,2022,2038,2069,2073],{"__ignoreMap":1077},[1081,1630,1631,1634],{"class":1083,"line":367},[1081,1632,1633],{"class":1109},"\u003C?",[1081,1635,1636],{"class":1095},"php\n",[1081,1638,1639,1642,1645,1648,1650,1653,1656],{"class":1083,"line":377},[1081,1640,1641],{"class":1121},"$token ",[1081,1643,1644],{"class":1109},"=",[1081,1646,1647],{"class":1095}," getenv",[1081,1649,1289],{"class":1121},[1081,1651,1652],{"class":1102},"'TOKEN'",[1081,1654,1655],{"class":1121},"); ",[1081,1657,1265],{"class":1086},[1081,1659,1660],{"class":1083,"line":382},[1081,1661,1270],{"emptyLinePlaceholder":364},[1081,1663,1664,1667,1669,1672,1674,1676],{"class":1083,"line":391},[1081,1665,1666],{"class":1121},"$ch ",[1081,1668,1644],{"class":1109},[1081,1670,1671],{"class":1095}," curl_init",[1081,1673,1289],{"class":1121},[1081,1675,1292],{"class":1102},[1081,1677,1610],{"class":1121},[1081,1679,1680,1683],{"class":1083,"line":396},[1081,1681,1682],{"class":1095},"curl_setopt_array",[1081,1684,1685],{"class":1121},"($ch, [\n",[1081,1687,1688,1691,1694,1697],{"class":1083,"line":402},[1081,1689,1690],{"class":1095},"    CURLOPT_CUSTOMREQUEST",[1081,1692,1693],{"class":1109}," =>",[1081,1695,1696],{"class":1102}," 'POST'",[1081,1698,1306],{"class":1121},[1081,1700,1701,1704,1706],{"class":1083,"line":407},[1081,1702,1703],{"class":1095},"    CURLOPT_HTTPHEADER",[1081,1705,1693],{"class":1109},[1081,1707,1708],{"class":1121}," [\n",[1081,1710,1711,1714,1717],{"class":1083,"line":413},[1081,1712,1713],{"class":1102},"        'Authorization: Bearer '",[1081,1715,1716],{"class":1109}," .",[1081,1718,1719],{"class":1121}," $token,\n",[1081,1721,1722,1725],{"class":1083,"line":418},[1081,1723,1724],{"class":1102},"        'Content-Type: application\u002Fjson'",[1081,1726,1306],{"class":1121},[1081,1728,1729],{"class":1083,"line":427},[1081,1730,1731],{"class":1121},"    ],\n",[1081,1733,1734,1737,1739,1742],{"class":1083,"line":432},[1081,1735,1736],{"class":1095},"    CURLOPT_POSTFIELDS",[1081,1738,1693],{"class":1109},[1081,1740,1741],{"class":1095}," json_encode",[1081,1743,1744],{"class":1121},"([\n",[1081,1746,1747,1750,1752,1755],{"class":1083,"line":437},[1081,1748,1749],{"class":1102},"        'firstName'",[1081,1751,1693],{"class":1109},[1081,1753,1754],{"class":1102}," 'Jane'",[1081,1756,1306],{"class":1121},[1081,1758,1759,1762,1764,1767],{"class":1083,"line":442},[1081,1760,1761],{"class":1102},"        'lastName'",[1081,1763,1693],{"class":1109},[1081,1765,1766],{"class":1102}," 'Doe'",[1081,1768,1306],{"class":1121},[1081,1770,1771,1774,1776,1779],{"class":1083,"line":447},[1081,1772,1773],{"class":1102},"        'birth'",[1081,1775,1693],{"class":1109},[1081,1777,1778],{"class":1102}," '14\u002F05\u002F2008'",[1081,1780,1306],{"class":1121},[1081,1782,1783,1786,1788,1791],{"class":1083,"line":452},[1081,1784,1785],{"class":1102},"        'sex'",[1081,1787,1693],{"class":1109},[1081,1789,1790],{"class":1102}," 'f'",[1081,1792,1306],{"class":1121},[1081,1794,1795,1798,1800,1803],{"class":1083,"line":457},[1081,1796,1797],{"class":1102},"        'email'",[1081,1799,1693],{"class":1109},[1081,1801,1802],{"class":1102}," 'jane.doe@example.com'",[1081,1804,1306],{"class":1121},[1081,1806,1807,1810,1812,1815],{"class":1083,"line":463},[1081,1808,1809],{"class":1102},"        'email2'",[1081,1811,1693],{"class":1109},[1081,1813,1814],{"class":1102}," '\u003Cemail2>'",[1081,1816,1306],{"class":1121},[1081,1818,1819,1822,1824,1827],{"class":1083,"line":469},[1081,1820,1821],{"class":1102},"        'phone'",[1081,1823,1693],{"class":1109},[1081,1825,1826],{"class":1102}," '+1 555 0100'",[1081,1828,1306],{"class":1121},[1081,1830,1831,1834,1836,1839],{"class":1083,"line":474},[1081,1832,1833],{"class":1102},"        'country'",[1081,1835,1693],{"class":1109},[1081,1837,1838],{"class":1102}," '6650a1b2c3d4e5f6a7b8c9d1'",[1081,1840,1306],{"class":1121},[1081,1842,1843,1846,1848,1851],{"class":1083,"line":478},[1081,1844,1845],{"class":1102},"        'grade'",[1081,1847,1693],{"class":1109},[1081,1849,1850],{"class":1102}," '10'",[1081,1852,1306],{"class":1121},[1081,1854,1855,1858,1860,1863],{"class":1083,"line":483},[1081,1856,1857],{"class":1102},"        'school'",[1081,1859,1693],{"class":1109},[1081,1861,1862],{"class":1102}," 'Springfield High School'",[1081,1864,1306],{"class":1121},[1081,1866,1867,1870,1872,1875],{"class":1083,"line":491},[1081,1868,1869],{"class":1102},"        'city'",[1081,1871,1693],{"class":1109},[1081,1873,1874],{"class":1102}," 'Springfield'",[1081,1876,1306],{"class":1121},[1081,1878,1879,1882,1884],{"class":1083,"line":500},[1081,1880,1881],{"class":1102},"        'activatedPlatformsThisSeason'",[1081,1883,1693],{"class":1109},[1081,1885,1708],{"class":1121},[1081,1887,1888,1891],{"class":1083,"line":506},[1081,1889,1890],{"class":1102},"            'common'",[1081,1892,1306],{"class":1121},[1081,1894,1895],{"class":1083,"line":511},[1081,1896,1897],{"class":1121},"        ],\n",[1081,1899,1900],{"class":1083,"line":516},[1081,1901,1902],{"class":1121},"    ]),\n",[1081,1904,1905,1908,1910,1913],{"class":1083,"line":521},[1081,1906,1907],{"class":1095},"    CURLOPT_RETURNTRANSFER",[1081,1909,1693],{"class":1109},[1081,1911,1912],{"class":1095}," true",[1081,1914,1306],{"class":1121},[1081,1916,1917],{"class":1083,"line":530},[1081,1918,1919],{"class":1121},"]);\n",[1081,1921,1922,1925,1927,1930],{"class":1083,"line":535},[1081,1923,1924],{"class":1121},"$response ",[1081,1926,1644],{"class":1109},[1081,1928,1929],{"class":1095}," curl_exec",[1081,1931,1932],{"class":1121},"($ch);\n",[1081,1934,1935,1937,1940,1943,1946],{"class":1083,"line":540},[1081,1936,1547],{"class":1109},[1081,1938,1939],{"class":1121}," ($response ",[1081,1941,1942],{"class":1109},"===",[1081,1944,1945],{"class":1095}," false",[1081,1947,1948],{"class":1121},") {\n",[1081,1950,1951,1954,1956,1959,1961,1964],{"class":1083,"line":545},[1081,1952,1953],{"class":1109},"    throw",[1081,1955,1562],{"class":1109},[1081,1957,1958],{"class":1095}," RuntimeException",[1081,1960,1289],{"class":1121},[1081,1962,1963],{"class":1095},"curl_error",[1081,1965,1966],{"class":1121},"($ch));\n",[1081,1968,1969],{"class":1083,"line":550},[1081,1970,1230],{"class":1121},[1081,1972,1973,1976,1978,1981,1984,1987],{"class":1083,"line":555},[1081,1974,1975],{"class":1121},"$status ",[1081,1977,1644],{"class":1109},[1081,1979,1980],{"class":1095}," curl_getinfo",[1081,1982,1983],{"class":1121},"($ch, ",[1081,1985,1986],{"class":1095},"CURLINFO_RESPONSE_CODE",[1081,1988,1610],{"class":1121},[1081,1990,1991,1994,1996,1999,2002,2005],{"class":1083,"line":560},[1081,1992,1993],{"class":1121},"$body ",[1081,1995,1644],{"class":1109},[1081,1997,1998],{"class":1095}," json_decode",[1081,2000,2001],{"class":1121},"($response, ",[1081,2003,2004],{"class":1095},"true",[1081,2006,1610],{"class":1121},[1081,2008,2009,2011,2014,2017,2020],{"class":1083,"line":569},[1081,2010,1547],{"class":1109},[1081,2012,2013],{"class":1121}," ($status ",[1081,2015,2016],{"class":1109},">=",[1081,2018,2019],{"class":1095}," 400",[1081,2021,1948],{"class":1121},[1081,2023,2024,2027,2029,2032,2035],{"class":1083,"line":574},[1081,2025,2026],{"class":1121},"    $error ",[1081,2028,1644],{"class":1109},[1081,2030,2031],{"class":1121}," $body[",[1081,2033,2034],{"class":1102},"'error'",[1081,2036,2037],{"class":1121},"];\n",[1081,2039,2040,2042,2044,2046,2048,2050,2053,2056,2059,2062,2064,2067],{"class":1083,"line":580},[1081,2041,1953],{"class":1109},[1081,2043,1562],{"class":1109},[1081,2045,1958],{"class":1095},[1081,2047,1289],{"class":1121},[1081,2049,1125],{"class":1102},[1081,2051,2052],{"class":1121},"$status",[1081,2054,2055],{"class":1102}," {",[1081,2057,2058],{"class":1121},"$error",[1081,2060,2061],{"class":1102},"['code']}: {",[1081,2063,2058],{"class":1121},[1081,2065,2066],{"class":1102},"['message']}\"",[1081,2068,1610],{"class":1121},[1081,2070,2071],{"class":1083,"line":585},[1081,2072,1230],{"class":1121},[1081,2074,2075,2078,2081,2084],{"class":1083,"line":594},[1081,2076,2077],{"class":1095},"print_r",[1081,2079,2080],{"class":1121},"($body[",[1081,2082,2083],{"class":1102},"'data'",[1081,2085,1919],{"class":1121},[2087,2088,2089],"style",{},"html pre.shiki code .sLBg1, html code.shiki .sLBg1{--shiki-default:#66707B;--shiki-dark:#BDC4CC}html pre.shiki code .soyes, html code.shiki .soyes{--shiki-default:#702C00;--shiki-dark:#FFB757}html pre.shiki code .s-5SL, html code.shiki .s-5SL{--shiki-default:#023B95;--shiki-dark:#91CBFF}html pre.shiki code .sT6z2, html code.shiki .sT6z2{--shiki-default:#032563;--shiki-dark:#ADDCFF}html pre.shiki code .sHUrx, html code.shiki .sHUrx{--shiki-default:#A0111F;--shiki-dark:#FF9492}html pre.shiki code .suds8, html code.shiki .suds8{--shiki-default:#0E1116;--shiki-dark:#F0F3F6}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sKwhi, html code.shiki .sKwhi{--shiki-default:#622CBC;--shiki-dark:#DBB7FF}",{"title":1077,"searchDepth":377,"depth":382,"links":2091},[],"Runs the checks registerStudent makes before it creates anything, on the same body without password, and tells you what they found.","md",{},"12",{"title":176,"description":2092},"api\u002Freference\u002Fcheck-student-registration","E-FKmh1wV6qbSNt0rCTX81z-t_6-9IwpqtVEGkZuEio",1791554613401]