From a29e087fe0d0b06a99ff865a2bf8eb09f6a734de Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 11 Dec 2023 19:26:30 +0100 Subject: update readme --- api.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'api.md') diff --git a/api.md b/api.md index a0a4488..1b78a41 100644 --- a/api.md +++ b/api.md @@ -21,8 +21,9 @@ Returns API version number. ## POST `/api/create_session` -Request body contains JSON with keys `username`, `password` and `expire` (in -seconds). The Response contains the session cookie as a string in JSON. +Request body contains JSON with keys `username`, `password`, `expire` (in +seconds) and `drop_permissions` (a list of permissions, that this session cannot +use). The Response contains the session cookie as a string in JSON. ## GET* `/n/` -- cgit v1.2.3-70-g09d2