-
Notifications
You must be signed in to change notification settings - Fork 6
HTTP API
(about admin, auth, boxes and typical call flow order)
(about wrapping HTTP in Websockets)
(about auth)
(about tokens)
(fill in)
Admin calls, where the path of the URI starts with /admin/
.
create_root_box
list_boxes
delete_box
create_box
list_users
list_apps
info
For CORS compatibility.
Auth calls, where the path of the URI starts with /auth/
.
whoami
login
login_keys
login_openid
openid_process
get_token
logout
For CORS compatibility.
Calls on a box, where the path of the URI starts with /boxname/
.
Get objects or perform other actions:
query
diff
apply_diff
get_object_ids
set_acl
Fields:
Either target_username
must be set to a user, or unauth_user
must be set to true.
target_username
- The username that this ACL applies to.
unauth_user
- Set to true
to specify that this ACL applies to public not logged in sessions (i.e., to serve linked data).
acl
- The ACL itself, in the following format:
{'read': true,
'write': false,
'control': false
}
get_acls
get_version
generate_new_key
link_remote_box
files
To add/update an object.
To delete an object.
For CORS compatibility.