Some checks failed
Deploy Promiscuity Auth API / deploy (push) Successful in 47s
Deploy Promiscuity Crafting API / deploy (push) Has been cancelled
Deploy Promiscuity Inventory API / deploy (push) Has been cancelled
Deploy Promiscuity Locations API / deploy (push) Has been cancelled
Deploy Promiscuity Mail API / deploy (push) Has been cancelled
Deploy Promiscuity World API / deploy (push) Has been cancelled
Deploy Promiscuity Character API / deploy (push) Has been cancelled
k8s smoke test / test (push) Has been cancelled
12 lines
657 B
Markdown
12 lines
657 B
Markdown
# LocationsApi
|
|
|
|
## Document shapes
|
|
See `DOCUMENTS.md` for request payloads and stored document shapes.
|
|
|
|
## Endpoints
|
|
- `POST /api/locations` Create a location with a unique coord pair (SUPER only).
|
|
- `POST /api/locations/reset-world` Move all characters to origin, move floor inventory from reset locations into a hidden limbo location, then recreate the world with a fresh origin tile plus that limbo location. Requires an explicit confirmation request body (SUPER only).
|
|
- `GET /api/locations` List all locations (SUPER only).
|
|
- `DELETE /api/locations/{id}` Delete a location (SUPER only).
|
|
- `PUT /api/locations/{id}` Update a location name (SUPER only).
|