User Folder Creation
The API creates a folder named /CTHULHU/users
if it doesn't already exist. Additionally, for each agent created, a user-specific folder is created within /CTHULHU/users
.
Folder Structure
The folder structure is as follows:
-
/CTHULHU
-
/users
-
/<agentId_1>
-
/<agentId_2>
- ...
-
/<agentId_n>
-
-
Folder Creation Process
When a new agent is created, the API performs the following steps:
- Checks if the
/CTHULHU/users
folder exists. - If the folder doesn't exist, it is created.
- Creates a user-specific folder within
/CTHULHU/users
for the agent using the agent's ID.
Example
Let's assume that the API receives a request to create a new agent with the ID 123
. Here's the folder creation process:
- The API checks if the
/CTHULHU/users
folder exists. - If the folder doesn't exist, it creates the
/CTHULHU/users
folder. - The API creates a user-specific folder named
/CTHULHU/users/123
for the agent with ID123
.
The created folder structure would be:
-
/CTHULHU
-
/users
-
/123
-
-