Swagger UI

SysBind Moodle SaaS
 1.0.0 
OAS3

This is api documantaion for SysBind Moodle SaaS.

Servers
Computed URL:https://api.moodle.org.il/v1

Server variables

environment

school

Everything about your School

POST​/school
Add a new school
GET​/school
Return all your schools
GET​/school​/{code}
Get data for specific school
DELETE​/school​/{code}
Deletes a school
PUT​/school​/{code}
Update schools details

course

Operations about courses

Find out more about our course: https://moodle.org.il/docs/api/v1/course

POST​/course
Create new course and enrolled users

Create new course and enrolled users, if users not exist they will be create

Parameters

No parameters

Request body

Course request

{
  "schoolId": 87765,
  "name": "Math 5 point",
  "groupId": "d322r-533",
  "users": [
    {
      "username": "6638772",
      "firstname": "Avi",
      "lastname": "Levy",
      "email": "avifake@email.com",
      "role": "editingteacher"
    },
    {
      "username": "63577723",
      "firstname": "Asaf",
      "lastname": "Ohaion",
      "email": "asaffake@email.com",
      "role": "student"
    },
    {
      "username": "8635236",
      "firstname": "Shabi",
      "lastname": "Elikashvili",
      "email": "shabiake@email.com",
      "role": "editingteacher"
    },
    {
      "username": "2343566",
      "firstname": "Chen",
      "lastname": "Levy",
      "email": "chenfake@email.com",
      "role": "student"
    },
    {
      "username": "375767454",
      "firstname": "Meir",
      "lastname": "Ifrah",
      "email": "meirfake@email.com",
      "role": "student"
    },
    {
      "username": "8989633",
      "firstname": "Haim",
      "lastname": "Lavi",
      "email": "haimfake@email.com",
      "role": "student"
    },
    {
      "username": "21287335",
      "firstname": "Tamar",
      "lastname": "Elikashvili",
      "email": "tamarfake@email.com",
      "role": "student"
    }
  ]
}

Responses

CodeDescription
201

Created

405

Invalid input

DELETE​/course​/{groupId}
Delete Course from Moodle
PUT​/course​/{groupId}
Update course detailes

Schemas

School
User
Package
Course