... | @@ -565,6 +565,34 @@ Nenhum payload esperado |
... | @@ -565,6 +565,34 @@ Nenhum payload esperado |
|
}
|
|
}
|
|
```
|
|
```
|
|
---
|
|
---
|
|
|
|
### POST /teachers/{id}/follow
|
|
|
|
|
|
|
|
#### Params:
|
|
|
|
- id: int = id do professor que se deseja abrir o perfil
|
|
|
|
|
|
|
|
#### Query string:
|
|
|
|
Nenhuma query string esperada
|
|
|
|
|
|
|
|
#### Payload:
|
|
|
|
Nenhum payload esperado
|
|
|
|
|
|
|
|
#### Responses:
|
|
|
|
- 204: NO_CONTENT
|
|
|
|
|
|
|
|
- 500
|
|
|
|
```
|
|
|
|
{
|
|
|
|
status: 500,
|
|
|
|
msg: "Internal error occurred",
|
|
|
|
errors: [
|
|
|
|
{
|
|
|
|
value: Any,
|
|
|
|
msg: "str"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
```
|
|
|
|
---
|
|
|
|
|
|
### POST /teachers/
|
|
### POST /teachers/
|
|
|
|
|
... | | ... | |