noor

Help › Reference: every action

Example

Example: The list has class.create: Create class, on the pages Classes ▸ +, with the parameters {name: string, section?: string, …}. Ms. Sara does it on the Classes page with + Create a class: she types "Science" and the section "Grade 8 – A" and chooses Create. The server's administrator can do exactly the same from the command line (see For the person who runs the server):

schoolstack-cli --data /var/lib/schoolstack/school.json exec --as sara@school.org class.create '{"name":"Science","section":"Grade 8 – A"}'

A read-only query works the same way: todo.list with {"class": 12} lists that person's To-do for class 12 only, as the Class menu on the To-do page does.