/api/user
| Body Params | Type | Example |
|---|---|---|
firstName |
string |
John |
lastName |
string |
Doe |
email |
string |
john@email.com |
role |
string |
TEACHER |
password |
string |
123456 |
/api/user/auth
| Body Params | Type | Example |
|---|---|---|
email |
string |
jhon@email.com |
password |
string |
123456 |
/api/user/profile
/api/courses/list
/api/courses/list
| Query Params | Type | Example |
|---|---|---|
name |
string |
python |
category |
string |
ai |
Note
All requests below require an authenticated user of the TEACHER type.
Tip
The DELETE, PUT and PATCH methods can only be completed by the course owner.
/api/courses
| Body Params | Type | Example |
|---|---|---|
name |
string |
Python for beginners |
category |
string |
AI Development |
/api/courses/{id}
| Path Params | Type | Example |
|---|---|---|
id |
UUID |
UUID string format |
/api/courses/{id}
| Path Params | Type | Example |
|---|---|---|
id |
UUID |
UUID string format |
| Body Params | Type | Example |
|---|---|---|
name |
string |
Java for beginners |
category |
string |
Development |
/api/courses/{id}/active
| Path Params | Type | Example |
|---|---|---|
id |
UUID |
UUID string format |