... | ... | @@ -63,14 +63,60 @@ Esta rota e responsavel por realizar as operacoes em relacao aos temas de cada s |
|
|
}
|
|
|
|
|
|
```
|
|
|
- PUT
|
|
|
- POST
|
|
|
- DELETE
|
|
|
|
|
|
|
|
|
### /weekly_routine
|
|
|
Esta rota e responsavel por realizar as operacoes em relacao as rotinas semanais de cada familia na aplicacao.
|
|
|
#### Operacoes
|
|
|
- GET
|
|
|
- GET: retorna uma lista contendo as rotinas semanais
|
|
|
```
|
|
|
{
|
|
|
"id": "60a2e184d0bfeee92901d734",
|
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
|
"updated_at": "0001-01-01T00:00:00Z",
|
|
|
"year": "2021-05-17T21:35:00.459Z",
|
|
|
"routine_plan_id": "60a2e184d0bfeee92901d72d",
|
|
|
"week_number": 15,
|
|
|
"subject": "60a2e184d0bfeee92901d72e",
|
|
|
"routine_days": [
|
|
|
{
|
|
|
"id": "000000000000000000000000",
|
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
|
"updated_at": "0001-01-01T00:00:00Z",
|
|
|
"date": "0001-01-01T00:00:00Z",
|
|
|
"chores": null
|
|
|
},
|
|
|
{
|
|
|
"id": "000000000000000000000000",
|
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
|
"updated_at": "0001-01-01T00:00:00Z",
|
|
|
"date": "0001-01-01T00:00:00Z",
|
|
|
"chores": null
|
|
|
},
|
|
|
{
|
|
|
"id": "000000000000000000000000",
|
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
|
"updated_at": "0001-01-01T00:00:00Z",
|
|
|
"date": "0001-01-01T00:00:00Z",
|
|
|
"chores": null
|
|
|
},
|
|
|
{
|
|
|
"id": "000000000000000000000000",
|
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
|
"updated_at": "0001-01-01T00:00:00Z",
|
|
|
"date": "0001-01-01T00:00:00Z",
|
|
|
"chores": null
|
|
|
},
|
|
|
{
|
|
|
"id": "000000000000000000000000",
|
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
|
"updated_at": "0001-01-01T00:00:00Z",
|
|
|
"date": "0001-01-01T00:00:00Z",
|
|
|
"chores": null
|
|
|
}
|
|
|
]
|
|
|
}
|
|
|
```
|
|
|
- PUT
|
|
|
- POST
|
|
|
- DELETE
|
... | ... | |