Homeworks
It is used to get information about a homework or to create or update a homework.
Endpoints
| Type | URI | Description |
|---|---|---|
| GET | ./teme | It is used to return a list with all the homeworks. |
| GET | ./teme/detalii | It is used to return the details of a homework. |
| POST | ./teme | It is used to create a new homework. |
| PUT | ./teme | It is used to update a homework. |
| PUT | ./teme/rating | Add / change a rating to a homework or student. |
| DELETE | ./teme | It is used to delete a homework. |
| POST | ./teme/solutie | Used only by the student to add a solution to a homework. |
| PUT | ./teme/solutie | It is used by the proffesor to review a homework. |
| DELETE | ./teme/solutie | It is used to delete a solution. |
