diff options
author | metamuffin <metamuffin@disroot.org> | 2023-12-11 19:26:30 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-12-11 19:26:30 +0100 |
commit | a29e087fe0d0b06a99ff865a2bf8eb09f6a734de (patch) | |
tree | 79bc75662d13cef0739f446d6b05b0a5ae61dbdd /api.md | |
parent | 36d7fb2790774c53415c96f8c6955be42bad952f (diff) | |
download | jellything-a29e087fe0d0b06a99ff865a2bf8eb09f6a734de.tar jellything-a29e087fe0d0b06a99ff865a2bf8eb09f6a734de.tar.bz2 jellything-a29e087fe0d0b06a99ff865a2bf8eb09f6a734de.tar.zst |
update readme
Diffstat (limited to 'api.md')
-rw-r--r-- | api.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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/<id>` |