Skip to main content
. 2014 Apr 23;8:32. doi: 10.3389/fninf.2014.00032

Table 1.

Common API actions for every supported HTTP request type (GET, POST, DELETE) and typical request URL structure.

URL structure Get Post Delete
/namespace/object_type/ List objects, apply filters Create new object or make bulk update Bulk delete
/namespace/object_type/id/ Access single object Update single object Delete single object
/namespace/object_type/id/acl/ Get object permissions Update object permissions 405 Not Supported

Left column contains structure of the REST URL. Table cells define an action for each URL structure and HTTP request type.