-
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_boxlist_boxesdelete_boxcreate_boxlist_userslist_appsinfo
For CORS compatibility.
Auth calls, where the path of the URI starts with /auth/.
whoamiloginlogin_keyslogin_openidopenid_processget_tokenlogout
For CORS compatibility.
Calls on a box, where the path of the URI starts with /boxname/.
Get objects or perform other actions:
querydiffapply_diffget_object_idsset_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_aclsget_versiongenerate_new_keylink_remote_boxfiles
To add/update an object.
To delete an object.
For CORS compatibility.