Regen PATCH /schools/{slug} endpoint cell
Browse files at this commiteaa4976418b58e072a899fc103eae6744c92a0dcParent: b3168eb- docs
- regen PATCH /schools/{slug} endpoint cell
1 changed file +1 -1
- README.md +1 -1
README.mdmodified+1 -1
| @@ -1362,7 +1362,7 @@ window filtering, before paging; negative values are a `400` naming the field. | |||
| 1362 | | GET | `/schools` | builder | Every school this deployment serves, newest first. Paged via `?limit=&offset=` (omit `limit` for the full list). | | 1362 | | GET | `/schools` | builder | Every school this deployment serves, newest first. Paged via `?limit=&offset=` (omit `limit` for the full list). | |
| 1363 | | POST | `/schools` | builder | Create a school: its registry row, its database, its schema, and its first admin account — one call, or none of it. | | 1363 | | POST | `/schools` | builder | Create a school: its registry row, its database, its schema, and its first admin account — one call, or none of it. | |
| 1364 | | GET | `/schools/{slug}` | builder | One school by slug. | | 1364 | | GET | `/schools/{slug}` | builder | One school by slug. | |
| 1365 | -| PATCH | `/schools/{slug}` | builder | Rename a school and/or flip it between `active` and `suspended`. Omitted fields keep their value. The slug itself is immutable — it names a database and a directory. | | 1365 | +| PATCH | `/schools/{slug}` | builder | Rename a school and/or flip it between `active` and `suspended`. Omitted fields keep their value. The slug itself is immutable in this cut — it is the cookie prefix and the blob directory — though it no longer names the database (the school's uuid does); a rename API is not offered yet. | |
| 1366 | | DELETE | `/schools/{slug}` | builder | Delete a school: its database, its registry row, and its uploaded files. Irreversible — suspension is the reversible door. | | 1366 | | DELETE | `/schools/{slug}` | builder | Delete a school: its database, its registry row, and its uploaded files. Irreversible — suspension is the reversible door. | |
| 1367 | | POST | `/schools/{slug}/admin-password` | builder | Reset an admin's password inside a school — the "we are locked out" call. Every session that account held is revoked with it, so a stolen cookie does not survive the reset. Works on a suspended school. | | 1367 | | POST | `/schools/{slug}/admin-password` | builder | Reset an admin's password inside a school — the "we are locked out" call. Every session that account held is revoked with it, so a stolen cookie does not survive the reset. Works on a suspended school. | |
| 1368 | | POST | `/schools/{slug}/enter` | builder | Enter a school as one of its admins — support access, with the school's own session cookie (`<slug>.<token>`) and no builder power inside it. | | 1368 | | POST | `/schools/{slug}/enter` | builder | Enter a school as one of its admins — support access, with the school's own session cookie (`<slug>.<token>`) and no builder power inside it. | |