HTTP API - sociam/indx GitHub Wiki
Basics
(about admin, auth, boxes and typical call flow order)
(about wrapping HTTP in Websockets)
Tokens
(about auth)
(about tokens)
Typical Call Flow
(fill in)
Admin Calls
Admin calls, where the path of the URI starts with /admin/.
GET
create_root_boxlist_boxesdelete_boxcreate_boxlist_userslist_appsinfo
OPTIONS
For CORS compatibility.
Auth Calls
Auth calls, where the path of the URI starts with /auth/.
GET
Actions
whoamiloginlogin_keyslogin_openidopenid_processget_tokenlogout
OPTIONS
For CORS compatibility.
Box Calls
Calls on a box, where the path of the URI starts with /boxname/.
GET
Get objects or perform other actions:
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
PUT
To add/update an object.
DELETE
To delete an object.
OPTIONS
For CORS compatibility.