... | ... | @@ -587,3 +587,90 @@ Nenhuma query string esperada |
|
|
]
|
|
|
}
|
|
|
```
|
|
|
---
|
|
|
|
|
|
### 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"
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
``` |