# The STORAGE module handles the data entries. ## Commands * ```STORAGE ENTRY CREATE [UNDER ] ``` This is for creating new entries with name ``. The Command body will be the data to use for the new enty. `UNDER ` Will create the entry with loc ``. If it is missing, will default to `0`. * ```STORAGE ENTRY SHOW [] ``` This is to return entry summaries in IntelCache. If `` is specified, only return summaries with loc `` * ```STORAGE ENTRY DELETE ``` This command deletes entry with id ``. * ```STORAGE ENTRY SET ``` This command will change the loc of an entry with id `` to loc `` It will also change the data of the entry if data is in the body. * ```STORAGE ENTRY GET ``` This command will return an entry with id `` with body containing data. * ```STORAGE DIR CREATE [UNDER ] ``` This is for creating new directories with name ``. `UNDER ` Will create the entry with loc ``. If it is missing, the loc will be null (or commonly put, it will have no loc). * ```STORAGE DIR SHOW [] ``` This command will show all directories in the IntelCache if `` is missing. If it isn’t, it will show all directories in `` * ```STORAGE DIR DELETE ``` This command will delete a directory with id `` * ```STORAGE DIR SET ``` This command will change a directory’s loc (with id ``) to a directory with id `` * ```STORAGE DIR VALIDATE ``` This command will return true if `` is a valid one (false if invalid), with it’s name in the response’s body. * ```STORAGE SHOW [] ``` This Command will return all directories and entries in the IntelCache. If `` is specified, it will return all on the specific directory id. * ```STORAGE TAG DIR ``` This command will add a tag to a directory with id `` with a tag with id `` * ```STORAGE TAG UNDIR ``` This command will remove a tag with id `` from a directory with id `` * ```STORAGE TAG ENTRY ``` This command will add a tag to an entry with id `` with a tag with id `` * ```STORAGE TAG UNENTRY ``` This command will remove a tag with id `` from an entry with id `` * ```STORAGE TAG CREATE ``` This command will create a tag with name `` * ```STORAGE TAG DELETE ``` This command will delete a tag with id `` * ```STORAGE TAG SHOW ``` This command will return all available tags in the response body. * ```STORAGE EXIT``` (DEPRECATED) This Command will disconnect the client from the IntelCache node.