Skip to content

Commit 433c39e

Browse files
authored
Update README.md
1 parent 2b76ad9 commit 433c39e

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

README.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ Samuel Peña: https://github.com/Samupb<br/>
3636

3737
## EMPLOYEES
3838

39-
| KEY | TYPE | REFERENCE | REQUIRED |
40-
|-------------|--------------|-----------|-----------|
41-
| firstName | string | | YES |
42-
| lastName | string | | YES |
43-
| email | string | | YES |
44-
| password | string | | YES |
45-
| rol | string | tec CS MG | YES |
46-
| speciality | array | | NO |
39+
| KEY | TYPE | REFERENCE | REQUIRED |
40+
|-------------|--------------|-------------|-----------|
41+
| firstName | string | | YES |
42+
| lastName | string | | YES |
43+
| email | string | | YES |
44+
| password | string | | YES |
45+
| rol | string | TEC, CS, MG | YES |
46+
| speciality | array | | NO |
4747

4848
## INCIDENCES
4949

@@ -68,11 +68,10 @@ Samuel Peña: https://github.com/Samupb<br/>
6868

6969
## ACTION ENDPOINTS
7070

71-
| METHOD | URL | AUTH | FUNCTION |
72-
|--------|-------------------------------------------|------|----------------------|
73-
| GET | '/incidences/:incidenceId/:actionId' | NO | Show an Action |
74-
| POST | '/incidences/:technicianId/:incidenceId' | YES | Create an Action |
75-
| PUT | '/incidences/:incidenceId/:actionId' | YES | Update an Action |
71+
| METHOD | URL | AUTH | WHO IS ALLOWED | FUNCTION |
72+
|--------|-------------------------------------------|------|:--------------:|---------------------|
73+
| POST | '/incidences/:technicianId/:incidenceId' | YES | TEC & MG | Create an Action |
74+
| PUT | '/incidences/:incidenceId/:actionId' | YES | TEC & MG | Update an Action |
7675

7776
## CLIENT ENDPOINTS
7877

@@ -106,3 +105,5 @@ Samuel Peña: https://github.com/Samupb<br/>
106105
| PUT | '/:incidenceID' | YES | Update an incidence |
107106
| GET | '/:incidenceID' | YES | Get list of incidences |
108107
| DELETE | '/incidenceID/:incidenceID | YES | Delete an incidence |
108+
109+
* TEC: Technicians MG: Manager CS: Customer Service

0 commit comments

Comments
 (0)