Skip to content

Amenity ​

hostel.amenity · numbered {name}

Fields ​

Every record also has id, created_at and updated_at.

FieldLabelTypeRules
namenametextrequired; unique

Permissions ​

RoleCan
hostel:adminread, create, update, delete, import, export
hostel:wardenread
hostel:accountsread
hostel:studentread

API ​

http
GET    /api/hostel/amenity?<field>=<value>&limit=100&offset=0
POST   /api/hostel/amenity
GET    /api/hostel/amenity/:id
PATCH  /api/hostel/amenity/:id
DELETE /api/hostel/amenity/:id

Bulk import: GET /api/_import/hostel/amenity/template (CSV template), then POST /api/_import/hostel/amenity. See REST API.

Edulab Bench developer documentation