Skip to content

Moderation Rule ​

osm.moderation_rule · numbered MOD-{total_marks}

Fields ​

Every record also has id, created_at and updated_at.

FieldLabelTypeRules
rule_namerule nametext
total_markstotal marksnumberrequired; min 1
rangesrangestable of moderation_range
is_activeis activecheckdefault true

Unique together: total_marks

Permissions ​

RoleCan
osm:super_adminread, create, update, delete
osm:adminread, create, update, delete
osm:moderatorread

API ​

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

Edulab Bench developer documentation