DocScoDoc/docs/samples/sample_partition-edit.json.md

28 lines
543 B
Markdown
Raw Normal View History

2022-08-02 20:58:45 +02:00
### partition-edit
2022-08-13 19:29:08 +02:00
#### POST /partition/1/edit
> `Content-Type: application/json`
>
> `{"partition_name":"P2BIS", "numero":3,"bul_show_rank":true,"show_in_lists":false, "groups_editable":true}`
2022-08-02 20:58:45 +02:00
```json
{
2022-08-13 19:29:08 +02:00
"partition_name": "P2BIS",
"bul_show_rank": true,
2022-08-13 19:29:08 +02:00
"groups_editable": true,
"id": 1,
"formsemestre_id": 1,
"show_in_lists": false,
"numero": 3,
2022-08-13 19:29:08 +02:00
"groups": {
"1": {
"id": 1,
"numero": null,
"group_name": null,
"partition_id": 1
}
}
2022-08-02 20:58:45 +02:00
}
```