... | @@ -586,4 +586,91 @@ Nenhuma query string esperada |
... | @@ -586,4 +586,91 @@ Nenhuma query string esperada |
|
}
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
``` |
|
```
|
|
\ No newline at end of file |
|
---
|
|
|
|
|
|
|
|
### GET /degreeTypes
|
|
|
|
|
|
|
|
#### Params
|
|
|
|
Nenhum parâmetro esperado
|
|
|
|
|
|
|
|
#### Query string:
|
|
|
|
Nenhuma query string esperada
|
|
|
|
|
|
|
|
#### Payload
|
|
|
|
Nenhum payload esperado
|
|
|
|
|
|
|
|
#### Responses:
|
|
|
|
|
|
|
|
- 200:
|
|
|
|
```
|
|
|
|
{
|
|
|
|
status: 200,
|
|
|
|
msg: "Success",
|
|
|
|
degreeTypes: [
|
|
|
|
{
|
|
|
|
id: 1,
|
|
|
|
name: "Bacharel"
|
|
|
|
},
|
|
|
|
...
|
|
|
|
]
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
- 500
|
|
|
|
```
|
|
|
|
{
|
|
|
|
status: 500,
|
|
|
|
msg: "Internal error occurred",
|
|
|
|
errors: [
|
|
|
|
{
|
|
|
|
value: Any,
|
|
|
|
msg: "str"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### GET /genders
|
|
|
|
|
|
|
|
#### Params
|
|
|
|
Nenhum parâmetro esperado
|
|
|
|
|
|
|
|
#### Query string
|
|
|
|
Nenhuma query string esperada
|
|
|
|
|
|
|
|
#### Payload
|
|
|
|
Nenhum payload esperado
|
|
|
|
|
|
|
|
#### Responses:
|
|
|
|
|
|
|
|
- 200:
|
|
|
|
```
|
|
|
|
{
|
|
|
|
status: 200,
|
|
|
|
msg: "Success",
|
|
|
|
genders: [
|
|
|
|
{
|
|
|
|
id: 1,
|
|
|
|
name: "Masculino"
|
|
|
|
},
|
|
|
|
...
|
|
|
|
]
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
- 500
|
|
|
|
```
|
|
|
|
{
|
|
|
|
status: 500,
|
|
|
|
msg: "Internal error occurred",
|
|
|
|
errors: [
|
|
|
|
{
|
|
|
|
value: Any,
|
|
|
|
msg: "str"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
``` |