/api/**/ |
Requests ending in a / are namespace endpoints. Namespaces efficiently store sets of data by key/alias. |
GET |
A get request returns a JSON list of keys/aliases in that namespace. |
POST |
A post request creates an entry and returns the JSON object and a new Location header. |
|
/api/**/* |
Requests ending in an key/alias are entry endpoints. Entries are key/alias indexed JSON objects containing metadata of stored information. |
GET |
A get request returns a JSON object of that entry. |
PUT |
A put request either creates an entry at the specified alias if it does not exist or updates the expiry date of the existing object and returns the JSON object. |
DELETE |
A delete request deletes the entry and its associated data. |
|
/store/**/* |
Requests represent the actual data in the store. |
GET |
A get request returns the stored data with its metadata encoded in headers. |
PUT |
A put request updates the data in the resource. Note: The size and type given must match those in the /api/ entry. |
|