> For the complete documentation index, see [llms.txt](https://documentation.atempo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.atempo.com/lina-7.4/lina-7.4-en/release-information/rest-api-reference/ade/models.md). Agents can also search and read this documentation through its [MCP server](https://documentation.atempo.com/~gitbook/mcp).

# Models

## The LogSev object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"LogSev":{"type":"integer","format":"int32","enum":[1,2,3,4,5,6,11],"description":"Log Severity:\n* 1 LOG_SEV_DEBUG\n* 2 LOG_SEV_WARN\n* 3 LOG_SEV_ERR\n* 4 LOG_SEV_FATAL\n* 5 LOG_SEV_INFO\n* 6 LOG_SEV_ALARM\n* 11 LOG_SEV_AUDIT\n"}}}}
```

## The StatusCode object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0}}}}
```

## The StatusMsg object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}}}
```

## The Status object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"Status":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}},"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}}}
```

## The LoginRep object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"LoginRep":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"},"expire_date":{"type":"number","description":"number of seconds the session will remain valid"},"user_id":{"type":"number","description":"the user ID"}}},"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}}}
```

## The CheckSession object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"CheckSession":{"type":"object","description":"Check Session","properties":{"status":{"type":"integer","format":"int32"},"domain":{"type":"string"},"domain_id":{"type":"integer","format":"int32"},"effective_domain_id":{"type":"integer","format":"int32"},"is_default_domain":{"type":"integer","format":"int32"},"is_repli":{"type":"integer","format":"int32"},"user":{"type":"string"},"user_id":{"type":"integer","format":"int32"},"lang":{"type":"string"},"sess":{"type":"string"},"poll":{"type":"integer","format":"int32"},"roles1":{"$ref":"#/components/schemas/Role1"},"roles2":{"$ref":"#/components/schemas/Role2"},"roles3":{"$ref":"#/components/schemas/Role3"},"roles4":{"$ref":"#/components/schemas/Role4"},"last_change":{"type":"integer","format":"int32"},"multitenant":{"type":"integer","format":"int32"},"show_tenant":{"type":"integer","format":"int32"},"start_time":{"type":"integer","format":"int32"}}},"Role1":{"type":"integer","enum":[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536,2097152,4194304,8388608,16777216,33554432,4294967295],"description":"Mask\n*\tRoles_canViewAlerts = 0x1, // access to the alerts view\n*\tRoles_canSetAlerts  = 0x2, // ability to modify alerts parameters (notification, recipients)\n*\tRoles_canViewSupport = 0x4, // access to the Support view (maintenance)\n*\tRoles_donotreuse0 = 0x8,  // deprecated\n*\tRoles_donotreuse1 = 0x10, // deprecated\n*\tRoles_donotreuse2 = 0x20, // deprecated\n*\tRoles_donotreuse3 = 0x40, // deprecated\n*\tRoles_canViewUsers   = 0x80, // access to the users view\n*\tRoles_donotreuse4\t = 0x100, // deprecated\n*\tRoles_donotreuse5\t = 0x200, // deprecated\n*\tRoles_donotreuse6\t = 0x400, // deprecated\n*\tRoles_canViewServices = 0x800, // access to the services view\n*\tRoles_canSetServices  = 0x1000, // ability to modify services\n*\tRoles_canViewReplications   = 0x2000, // access to the replication servers view\n*\tRoles_canCreateReplications = 0x4000, // ability to create a replication server\n*\tRoles_canDeleteReplications = 0x8000, // ability to delete a replication server\n*\tRoles_canSetReplications    = 0x10000, // ability to modify a replication server\n*\tRoles_canAllowCrossResto = 0x200000, // ability to do a cross resto\n*\tRoles_canAllowWebResto   = 0x400000, // ability to do a web resto\n*\tRoles_canViewBMR    \t = 0x800000, // access to the BMR view (server side)\n*\tRoles_canSetBMR     \t = 0x1000000, // ability to modify BMR parameters (server side)\n*\tRoles_canAllowBMRResto   = 0x2000000,  // ability to do a BMR resto (agent side)\n*\tRoles_All1\t\t= 0xffffffff // All current and futur roles\n"},"Role2":{"type":"integer","enum":[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,4294967295],"description":"Mask\n*\tRoles_canViewFiles = 0x1, // access to the files view\n* Roles_canViewLicense = 0x2, // access to the license view\n* Roles_canSetLicense  = 0x4, // ability to modify license parameters (products activation and license)\n* Roles_canViewSmtp = 0x8, // view the smtp configuration\n* Roles_canSetSmtp  = 0x10, // ability to modify smtp configuration\n* Roles_canViewLdap = 0x20, // view the ldap configuration\n* Roles_canSetLdap  = 0x40, // ability to modify ldap configuration\n* Roles_canViewTunables         = 0x80, // access to the tunables view\n* Roles_canSetTunables          = 0x100, // ability to modify tunables\n* Roles_canViewAdvancedTunables = 0x200, // access to the advanced tunables view [NOT USED]\n* Roles_canViewStreams   = 0x400, // access to the streams view\n* Roles_canDeleteStreams = 0x800, // access to the streams view\n* Roles_canViewStatistics      = 0x1000, // access to the statistics view\n* Roles_canRecomputeStatistics = 0x2000, // ability to recompute detailled statistics\n* Roles_canViewConfig   = 0x4000, // view the Config\n* Roles_canSetConfig    = 0x8000, // ability to modify the Config\n* Roles_canRestart    = 0x10000, // ability to restart the service itself\n* Roles_canViewSnapshot   = 0x20000, // list all snapshots\n* Roles_canCreateSnapshot = 0x40000, // create a new snapshot\n* Roles_canDeleteSnapshot = 0x80000, // delete a snapshot\n* Roles_All2\t\t= 0xffffffff // All current and futur roles\n"},"Role3":{"type":"integer","enum":[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,4294967295],"description":"Mask\n* Roles_canViewAllAlnAgent   = 0x1, // View all agent (else view only those with a relation with us)\n* Roles_canCreateAlnAgent = 0x2, // ability to create an agent\n* Roles_canDeleteAlnAgent = 0x4, // ability to delete an agent\n* Roles_canSetAlnAgent    = 0x8, // ability to modify agent parameters\n* Roles_canViewAlnStrategy   = 0x10, // access to the strategies view\n* Roles_canCreateAlnStrategy = 0x20, // ability to create a strategy\n* Roles_canDeleteAlnStrategy = 0x40, // ability to delete a strategy\n* Roles_canSetAlnStrategy    = 0x80, // ability to modify strategy parameters\n* Roles_canViewAlnProtection   = 0x100, // access to the protections view\n* Roles_canCreateAlnProtection = 0x200, // ability to create a protection\n* Roles_canDeleteAlnProtection = 0x400, // ability to delete a protection\n* Roles_canSetAlnProtection    = 0x800, // ability to modify protection parameters\n* XXX_Roles_canViewAlnProtectionRule   = 0x1000, // deprecated\n* XXX_Roles_canCreateAlnProtectionRule = 0x2000, // deprecated\n* XXX_Roles_canDeleteAlnProtectionRule = 0x4000, // deprecated\n* XXX_Roles_canSetAlnProtectionRule    = 0x8000, // deprecated\n* Roles_All3\t\t= 0xffffffff // All current and futur roles\n"},"Role4":{"type":"integer","enum":[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,4294967295],"description":"Mask\n* XXX_Roles_canViewAlnProtectionZone   = 0x1, // deprecated\n* XXX_Roles_canCreateAlnProtectionZone = 0x2, // deprecated\n* XXX_Roles_canDeleteAlnProtectionZone = 0x4, // deprecated\n*\tXXX_Roles_canSetAlnProtectionZone    = 0x8, // deprecated\n*\tXXX_Roles_canViewAlnFileCategory   = 0x10, // deprecated\n*\tXXX_Roles_canCreateAlnFileCategory = 0x20, // deprecated\n*\tXXX_Roles_canDeleteAlnFileCategory = 0x40, // deprecated\n*\tXXX_Roles_canSetAlnFileCategory    = 0x80, // deprecated\n*\tRoles_canSetAlnDefaultConfiguration = 0x100, // ability to modify aln default configuration (per tenant)\n*\tRoles_canViewDomains \t= 0x200, // access to the domain view\n*\tRoles_canCreateDomains \t= 0x400, // ability to create a domain\n*\tRoles_canDeleteDomains \t= 0x800, // ability to delete a domain\n*\tRoles_canSetDomains \t= 0x1000, // ability to modify domain parameters\n*\tRoles_canSetAlnGlobalDefaultConfiguration = 0x2000, // ability to modify aln default configuration (global / shared by all tenants)\n*\tRoles_isSuperadmin\t= 0x4000, // special role for \"Superadmin\" profile (user can have any name, not only \"superadmin\")\n*\tRoles_isAdmin \t\t= 0x8000, // special role for \"Admin\" profile (user can have any name, not only \"admin\")\n*\tRoles_All4\t\t= 0xffffffff // All current and futur roles\n"}}}}
```

## The WebClient object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"WebClient":{"type":"object","description":"Web client","properties":{"http_thread":{"type":"integer","format":"int32"},"http_running_thread":{"type":"integer","format":"int32"},"http_idle_thread":{"type":"integer","format":"int32"},"http_max_thread":{"type":"integer","format":"int32"},"nb_req":{"type":"integer","format":"int32"},"clients":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string"},"domain":{"type":"string"},"user":{"type":"string"},"ip":{"type":"string"},"host":{"type":"string"},"version":{"type":"string"},"comment":{"type":"string"},"lastseen":{"type":"string"},"create":{"type":"string"}}}}}}}}}
```

## The ClientHSS object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"ClientHSS":{"type":"object","description":"HSS client information","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"},"clientlist":{"type":"array","items":{"type":"object","properties":{"slot":{"type":"string"},"hostname":{"type":"string"},"version":{"type":"string"},"ip":{"type":"string"},"client_name":{"type":"string"},"nb_req":{"type":"integer","format":"int32"},"create date":{"type":"integer","format":"int64"}}}}}},"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}}}
```

## The ServerInfo object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"ServerInfo":{"type":"object","description":"server list","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"},"serverlist":{"type":"array","items":{"type":"object","properties":{"host":{"type":"string"},"host_bjr":{"type":"string"},"port":{"type":"integer","format":"int32"},"http_port":{"type":"integer","format":"int32"},"uuid":{"type":"string"},"version":{"type":"string"},"address":{"type":"string"},"latency":{"type":"string"},"ext":{"type":"string"}}}}}},"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}}}
```

## The StreamInfo object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"StreamInfo":{"type":"object","description":"Stream info","properties":{"uuid":{"type":"string"},"client":{"type":"string"},"name":{"type":"string"},"user":{"type":"string"},"repli_path":{"type":"string"},"date":{"type":"number","format":"int64"},"format":{"type":"integer"},"size":{"type":"number","format":"num64"},"stored_size":{"type":"number","format":"num64"},"meta_size":{"type":"number","format":"num64"}}}}}}
```

## The StreamList object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"StreamList":{"type":"object","description":"Stream list","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"},"size":{"type":"integer"},"list":{"type":"array","items":{"$ref":"#/components/schemas/StreamInfo"}}}},"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"},"StreamInfo":{"type":"object","description":"Stream info","properties":{"uuid":{"type":"string"},"client":{"type":"string"},"name":{"type":"string"},"user":{"type":"string"},"repli_path":{"type":"string"},"date":{"type":"number","format":"int64"},"format":{"type":"integer"},"size":{"type":"number","format":"num64"},"stored_size":{"type":"number","format":"num64"},"meta_size":{"type":"number","format":"num64"}}}}}}
```

## The Stream object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"Stream":{"type":"object","description":"Stream list","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"},"streamlist":{"type":"array","items":{"type":"object","properties":{"uuid":{"type":"string"},"status":{"type":"number","format":"num32"},"date":{"type":"number","format":"num64"},"client":{"type":"string"},"user":{"type":"string"},"format":{"type":"string"},"size":{"type":"number","format":"num64"},"stored_size":{"type":"number","format":"num64"},"meta_size":{"type":"number","format":"num64"},"ratio":{"type":"string"},"ratio_raw":{"type":"number","format":"float"},"jod_id":{"type":"number","format":"int32"},"folder":{"type":"string"},"pool":{"type":"string"},"catalog":{"type":"string"},"catolog_uuid":{"type":"string"},"repli_path":{"type":"string"}}}}}},"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}}}
```

## The SQLResult object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"SQLResult":{"type":"object","description":"Result of the sql query","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"},"numbCols":{"type":"number","format":"num32"},"nameCols":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"integer","format":"int32"},"ColSize":{"type":"integer","format":"int32"}}}},"data":{"type":"array","items":{"type":"array","items":{"type":"object","properties":{"info":{"anyOf":[{"type":"string"},{"type":"number"}],"nullable":true}}}}}}},"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}}}
```

## The SQLSimpleResult object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"SQLSimpleResult":{"type":"object","description":"Result of the sql query","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"},"sql_result":{"type":"array","items":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"}]}}}}},"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}}}
```

## The Nofification object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"Nofification":{"type":"object","description":"Notification","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"},"notifications":{"type":"array","items":{"type":"object","properties":{"date":{"type":"integer","format":"int64"},"code":{"type":"string"},"msg":{"type":"string"},"severity":{"type":"string"},"ack_status":{"type":"string"},"ack_time":{"type":"integer","format":"int64"},"args":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}}}}}}}}},"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}}}
```

## The NofificationThreshold object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"NofificationThreshold":{"type":"object","description":"Notification","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"},"notifications":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"ack_status":{"type":"string"},"ack_time":{"type":"integer","format":"int64"},"config":{"type":"object","properties":{"type":{"type":"string"},"none_info":{"type":"integer","format":"int32"},"info_warning":{"type":"integer","format":"int32"},"warning_error":{"type":"integer","format":"int32"}}}}}}}},"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}}}
```

## The Info object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"Info":{"type":"object","description":"Various information","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"},"server_type":{"type":"string"},"storage_type":{"type":"string"},"hss_version":{"type":"string"},"aln_version":{"type":"string"},"apr_version":{"type":"string"},"db_version":{"type":"string"},"hss_uuid":{"type":"string"},"create_date":{"type":"integer","format":"int32"},"uptime":{"type":"integer","format":"int32"},"time_t":{"type":"integer","format":"int32"},"vol_read":{"type":"integer","format":"int64"},"vol_transfered":{"type":"integer","format":"int32"},"vol_written":{"type":"integer","format":"int64"},"vol_restored":{"type":"integer","format":"int64"},"vol_protected":{"type":"integer","format":"int64"},"vol_stored":{"type":"integer","format":"int64"},"vol_meta":{"type":"integer","format":"int32"},"disk_avail":{"type":"integer","format":"int64"},"disk_use_byte":{"type":"integer","format":"int64"},"disk_use":{"type":"string"},"disk_full":{"type":"integer","format":"int32"},"last_week":{"type":"integer","format":"int32"},"nb_stream":{"type":"integer","format":"int32"},"nb_block":{"type":"integer","format":"int32"},"nb_block_unref":{"type":"integer","format":"int32"},"nb_client":{"type":"integer","format":"int32"},"nb_client_reached":{"type":"integer","format":"int32"},"nb_max_client":{"type":"integer","format":"int32"},"nb_thread":{"type":"integer","format":"int32"},"nb_max_thread":{"type":"integer","format":"int32"},"net_bandwith":{"type":"integer","format":"int32"},"cpr_ratio":{"type":"string"},"dedup_ratio_real":{"type":"string"},"dedup_ratio":{"type":"string"},"cpu_usage":{"type":"integer","format":"int32"},"ram_usage":{"type":"integer","format":"int32"}}},"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"}}}}
```

## The EnvObj object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"EnvObj":{"type":"object","description":"Stream list","properties":{"name":{"type":"string"},"value":{"type":"string"},"type":{"type":"integer","format":"int32"},"subtype":{"type":"integer","format":"int32"},"min":{"type":"string"},"max":{"type":"string"},"default":{"type":"string"},"flag":{"type":"integer","format":"int32"},"help":{"type":"string"}}}}}}
```

## The ServiceInfo object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"ServiceInfo":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"service_id":{"type":"integer","format":"int32"},"status":{"type":"integer","format":"int32"},"start_date":{"type":"integer","format":"int32"},"run_date":{"type":"integer","format":"int32"},"finish_date":{"type":"integer","format":"int32"},"progression":{"type":"integer","format":"int32"},"info":{"type":"string"},"product":{"type":"integer","format":"int32"},"father_id":{"type":"integer","format":"int32"}}}}}}}
```

## The SysInfo object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"SysInfo":{"type":"object","properties":{"cpu_count":{"type":"integer","format":"int32"},"cpu_clock":{"type":"integer","format":"int32"},"mem_size":{"type":"integer","format":"int32"},"mem_free":{"type":"integer","format":"int32"},"swap_size":{"type":"integer","format":"int32"},"swap_free":{"type":"integer","format":"int32"},"kernel_size":{"type":"integer","format":"int32"},"soft_size":{"type":"integer","format":"int32"},"endian":{"type":"integer","format":"int32"},"cpu_usage":{"type":"integer","format":"int32"},"cpu_name":{"type":"string"},"os_name":{"type":"string"},"os_release":{"type":"string"},"os_version":{"type":"string"},"arch_name":{"type":"string"},"vm_type":{"type":"integer","format":"int32"},"rss":{"type":"integer","format":"int32"},"vsize":{"type":"integer","format":"int32"}}}}}}
```

## The FileInfo object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"FileInfo":{"type":"object","properties":{"file_id":{"type":"integer","format":"int32"},"device":{"type":"integer","format":"int64"},"path":{"type":"string"},"nb_block":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int64"},"orig_size":{"type":"integer","format":"int64"},"wasted_size":{"type":"integer","format":"int32"},"wasted_pc":{"type":"number"},"waste_threshold":{"type":"integer","format":"int32"},"nb_open":{"type":"integer","format":"int32"},"status":{"type":"integer","format":"int32"}}}}}}
```

## The DeviceInfo object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"DeviceInfo":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"path":{"type":"string"},"used":{"type":"integer","format":"int32"},"left":{"type":"integer","format":"int64"},"total":{"type":"integer","format":"int64"}}}}}}
```

## The HistoInfo object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"HistoInfo":{"type":"object","properties":{"day":{"type":"integer","format":"int32"},"date":{"type":"integer","format":"int32"},"read":{"type":"integer","format":"int64"},"stored":{"type":"integer","format":"int64"},"nb_block":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int64"},"orig_size":{"type":"integer","format":"int64"},"wasted":{"type":"integer","format":"int32"},"space_left":{"type":"integer","format":"int64"},"grow":{"type":"integer","format":"int64"},"client":{"type":"integer","format":"int32"},"cpu":{"type":"integer","format":"int32"},"net":{"type":"integer","format":"int32"},"cpr_ratio":{"type":"string"},"ratio":{"type":"string"},"ram":{"type":"integer","format":"int32"},"vm":{"type":"integer","format":"int32"}}}}}}
```

## The User object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"User":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"uuid":{"type":"string"},"domain_id":{"type":"integer","format":"int32"},"domain_name":{"type":"string"},"name":{"type":"string"},"comment":{"type":"string"},"custom":{"type":"integer","format":"int32"},"disabled":{"type":"integer","format":"int32"},"type":{"type":"integer","format":"int32"},"totp":{"type":"integer","format":"int32"},"email":{"type":"string"}}}}}}
```

## The UserGroup object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"UserGroup":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"uuid":{"type":"string"},"domain_id":{"type":"integer","format":"int32"},"domain_name":{"type":"string"},"name":{"type":"string"},"custom":{"type":"integer","format":"int32"},"comment":{"type":"string"},"prof_id":{"type":"integer","format":"int32"}}}}}}
```

## The Profile object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"Profile":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"uuid":{"type":"string"},"domain_id":{"type":"integer","format":"int32"},"domain_name":{"type":"string"},"name":{"type":"string"},"comment":{"type":"string"},"custom":{"type":"integer","format":"int32"},"roles1":{"$ref":"#/components/schemas/Role1"},"roles2":{"$ref":"#/components/schemas/Role2"},"roles3":{"$ref":"#/components/schemas/Role3"},"roles4":{"$ref":"#/components/schemas/Role4"}}},"Role1":{"type":"integer","enum":[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536,2097152,4194304,8388608,16777216,33554432,4294967295],"description":"Mask\n*\tRoles_canViewAlerts = 0x1, // access to the alerts view\n*\tRoles_canSetAlerts  = 0x2, // ability to modify alerts parameters (notification, recipients)\n*\tRoles_canViewSupport = 0x4, // access to the Support view (maintenance)\n*\tRoles_donotreuse0 = 0x8,  // deprecated\n*\tRoles_donotreuse1 = 0x10, // deprecated\n*\tRoles_donotreuse2 = 0x20, // deprecated\n*\tRoles_donotreuse3 = 0x40, // deprecated\n*\tRoles_canViewUsers   = 0x80, // access to the users view\n*\tRoles_donotreuse4\t = 0x100, // deprecated\n*\tRoles_donotreuse5\t = 0x200, // deprecated\n*\tRoles_donotreuse6\t = 0x400, // deprecated\n*\tRoles_canViewServices = 0x800, // access to the services view\n*\tRoles_canSetServices  = 0x1000, // ability to modify services\n*\tRoles_canViewReplications   = 0x2000, // access to the replication servers view\n*\tRoles_canCreateReplications = 0x4000, // ability to create a replication server\n*\tRoles_canDeleteReplications = 0x8000, // ability to delete a replication server\n*\tRoles_canSetReplications    = 0x10000, // ability to modify a replication server\n*\tRoles_canAllowCrossResto = 0x200000, // ability to do a cross resto\n*\tRoles_canAllowWebResto   = 0x400000, // ability to do a web resto\n*\tRoles_canViewBMR    \t = 0x800000, // access to the BMR view (server side)\n*\tRoles_canSetBMR     \t = 0x1000000, // ability to modify BMR parameters (server side)\n*\tRoles_canAllowBMRResto   = 0x2000000,  // ability to do a BMR resto (agent side)\n*\tRoles_All1\t\t= 0xffffffff // All current and futur roles\n"},"Role2":{"type":"integer","enum":[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,4294967295],"description":"Mask\n*\tRoles_canViewFiles = 0x1, // access to the files view\n* Roles_canViewLicense = 0x2, // access to the license view\n* Roles_canSetLicense  = 0x4, // ability to modify license parameters (products activation and license)\n* Roles_canViewSmtp = 0x8, // view the smtp configuration\n* Roles_canSetSmtp  = 0x10, // ability to modify smtp configuration\n* Roles_canViewLdap = 0x20, // view the ldap configuration\n* Roles_canSetLdap  = 0x40, // ability to modify ldap configuration\n* Roles_canViewTunables         = 0x80, // access to the tunables view\n* Roles_canSetTunables          = 0x100, // ability to modify tunables\n* Roles_canViewAdvancedTunables = 0x200, // access to the advanced tunables view [NOT USED]\n* Roles_canViewStreams   = 0x400, // access to the streams view\n* Roles_canDeleteStreams = 0x800, // access to the streams view\n* Roles_canViewStatistics      = 0x1000, // access to the statistics view\n* Roles_canRecomputeStatistics = 0x2000, // ability to recompute detailled statistics\n* Roles_canViewConfig   = 0x4000, // view the Config\n* Roles_canSetConfig    = 0x8000, // ability to modify the Config\n* Roles_canRestart    = 0x10000, // ability to restart the service itself\n* Roles_canViewSnapshot   = 0x20000, // list all snapshots\n* Roles_canCreateSnapshot = 0x40000, // create a new snapshot\n* Roles_canDeleteSnapshot = 0x80000, // delete a snapshot\n* Roles_All2\t\t= 0xffffffff // All current and futur roles\n"},"Role3":{"type":"integer","enum":[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,4294967295],"description":"Mask\n* Roles_canViewAllAlnAgent   = 0x1, // View all agent (else view only those with a relation with us)\n* Roles_canCreateAlnAgent = 0x2, // ability to create an agent\n* Roles_canDeleteAlnAgent = 0x4, // ability to delete an agent\n* Roles_canSetAlnAgent    = 0x8, // ability to modify agent parameters\n* Roles_canViewAlnStrategy   = 0x10, // access to the strategies view\n* Roles_canCreateAlnStrategy = 0x20, // ability to create a strategy\n* Roles_canDeleteAlnStrategy = 0x40, // ability to delete a strategy\n* Roles_canSetAlnStrategy    = 0x80, // ability to modify strategy parameters\n* Roles_canViewAlnProtection   = 0x100, // access to the protections view\n* Roles_canCreateAlnProtection = 0x200, // ability to create a protection\n* Roles_canDeleteAlnProtection = 0x400, // ability to delete a protection\n* Roles_canSetAlnProtection    = 0x800, // ability to modify protection parameters\n* XXX_Roles_canViewAlnProtectionRule   = 0x1000, // deprecated\n* XXX_Roles_canCreateAlnProtectionRule = 0x2000, // deprecated\n* XXX_Roles_canDeleteAlnProtectionRule = 0x4000, // deprecated\n* XXX_Roles_canSetAlnProtectionRule    = 0x8000, // deprecated\n* Roles_All3\t\t= 0xffffffff // All current and futur roles\n"},"Role4":{"type":"integer","enum":[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,4294967295],"description":"Mask\n* XXX_Roles_canViewAlnProtectionZone   = 0x1, // deprecated\n* XXX_Roles_canCreateAlnProtectionZone = 0x2, // deprecated\n* XXX_Roles_canDeleteAlnProtectionZone = 0x4, // deprecated\n*\tXXX_Roles_canSetAlnProtectionZone    = 0x8, // deprecated\n*\tXXX_Roles_canViewAlnFileCategory   = 0x10, // deprecated\n*\tXXX_Roles_canCreateAlnFileCategory = 0x20, // deprecated\n*\tXXX_Roles_canDeleteAlnFileCategory = 0x40, // deprecated\n*\tXXX_Roles_canSetAlnFileCategory    = 0x80, // deprecated\n*\tRoles_canSetAlnDefaultConfiguration = 0x100, // ability to modify aln default configuration (per tenant)\n*\tRoles_canViewDomains \t= 0x200, // access to the domain view\n*\tRoles_canCreateDomains \t= 0x400, // ability to create a domain\n*\tRoles_canDeleteDomains \t= 0x800, // ability to delete a domain\n*\tRoles_canSetDomains \t= 0x1000, // ability to modify domain parameters\n*\tRoles_canSetAlnGlobalDefaultConfiguration = 0x2000, // ability to modify aln default configuration (global / shared by all tenants)\n*\tRoles_isSuperadmin\t= 0x4000, // special role for \"Superadmin\" profile (user can have any name, not only \"superadmin\")\n*\tRoles_isAdmin \t\t= 0x8000, // special role for \"Admin\" profile (user can have any name, not only \"admin\")\n*\tRoles_All4\t\t= 0xffffffff // All current and futur roles\n"}}}}
```

## The DomainFilter object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"DomainFilter":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"domain_id":{"type":"integer","format":"int32"},"domain_name":{"type":"string"},"host":{"type":"string"},"pos":{"type":"integer","format":"int32"}}}}}}
```

## The AgentFilter object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"AgentFilter":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"domain_id":{"type":"integer","format":"int32"},"domain_name":{"type":"string"},"ag_id":{"type":"integer","format":"int32"},"strat-id":{"type":"integer","format":"int32"},"type":{"type":"string"},"filter":{"type":"string"},"pos":{"type":"integer","format":"int32"}}}}}}
```

## The Domain object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"Domain":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"uuid":{"type":"string"},"father_id":{"type":"integer","format":"int32"},"name":{"type":"string"},"comment":{"type":"string"},"custom":{"type":"integer","format":"int32"},"def_domain":{"type":"integer","format":"int32"},"nb_streams":{"type":"integer","format":"int32"},"nb_agent":{"type":"integer","format":"int32"},"source_uuid":{"type":"string"},"dest_uuid":{"type":"string"},"read_only":{"type":"integer","format":"int32"}}}}}}
```

## The Search object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"Search":{"type":"object","properties":{"field":{"type":"string"},"type":{"type":"string"},"domain_id":{"type":"integer","format":"int32"},"domain_name":{"type":"string"},"id":{"type":"integer","format":"int32"},"name":{"type":"string"}}}}}}
```

## The Ldap object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"Ldap":{"type":"object","properties":{"host":{"type":"string"},"port":{"type":"integer","format":"int32"},"ssl":{"type":"integer","format":"int32"},"user":{"type":"string"},"base":{"type":"string"},"has_password":{"type":"boolean"},"is_global":{"type":"boolean"}}}}}}
```

## The LdapGroup object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"LdapGroup":{"type":"object","properties":{"name":{"type":"string"},"cname":{"type":"string"}}}}}}
```

## The LdapUser object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"LdapUser":{"type":"object","properties":{"account":{"type":"string"},"name":{"type":"string"},"mail":{"type":"string"}},"required":["account","name"]}}}}
```

## The Smtp object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"Smtp":{"type":"object","properties":{"server":{"type":"string"},"port":{"type":"integer"},"ssl":{"type":"integer"},"user":{"type":"string"},"from":{"type":"string"}}}}}}
```

## The CheckPath object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"CheckPath":{"type":"object","properties":{"alarm_list":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"msg":{"type":"string"}}}}}}}}}
```

## The Conf object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"Conf":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"enable":{"type":"integer"},"name":{"type":"string"},"type":{"type":"string"},"path":{"type":"string"},"vol":{"type":"integer","format":"int64"},"offline":{"type":"integer","format":"int32"},"alarm_list":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"msg":{"type":"string"}}}},"directories":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"vol":{"type":"integer","format":"int64"}}}},"storage":{"type":"object","properties":{"id":{"type":"integer"},"max_cache_size":{"type":"integer","format":"int64"},"blockfile_size":{"type":"integer","format":"int64"}}}}}}}}
```

## The Path object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"Path":{"type":"object","properties":{"name":{"type":"string"},"type_path":{"type":"string"},"ssd":{"type":"integer","format":"int32"},"fs_type":{"type":"string"},"dev":{"type":"string"},"remote":{"type":"integer","format":"int32"},"journaled":{"type":"integer","format":"int32"},"prealloc":{"type":"integer","format":"int32"},"space_left":{"type":"integer","format":"int64"},"total_space":{"type":"integer","format":"int64"},"last_bench":{"type":"integer","format":"int64"},"latency":{"type":"number"},"speed_async_rand":{"type":"number"},"speed_seq":{"type":"number"}}}}}}
```

## The Hvds2Catalog object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"Hvds2Catalog":{"type":"object","properties":{"catalogID":{"type":"string"},"catalogName":{"type":"string"},"serverName":{"type":"string"},"clients":{"type":"integer","format":"int32"},"files":{"type":"integer","format":"int32"},"vol_restorable":{"type":"integer","format":"int64"}}}}}}
```

## The Hvds2Client object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"Hvds2Client":{"type":"object","properties":{"clientUID":{"type":"string"},"catalogID":{"type":"string"},"vm_name":{"type":"string"},"app_name":{"type":"string"},"catalog_name":{"type":"string"},"server_name":{"type":"string"},"syncID":{"type":"integer","format":"int64"}}}}}}
```

## The Client object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"Client":{"type":"object","properties":{"host":{"type":"string"},"ip":{"type":"string"},"client_name":{"type":"string"},"client_uuid":{"type":"string"},"target_host":{"type":"string"},"target_uuid":{"type":"string"},"current_task":{"type":"integer"},"task_creation":{"type":"integer"},"nb_req":{"type":"integer"},"version":{"type":"integer"},"major":{"type":"integer"},"minor":{"type":"integer"},"indice":{"type":"integer"},"aborting":{"type":"integer"},"os_type":{"type":"integer"},"is_original_server":{"type":"integer"},"target_port":{"type":"integer"},"slot":{"type":"integer"},"user":{"type":"string"}}}}}}
```

## The File object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"File":{"type":"object","properties":{"path":{"type":"string"},"dev":{"type":"integer","format":"int64"},"nb_block":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int64"},"orig_size":{"type":"integer","format":"int64"},"waste_size":{"type":"integer","format":"int32"},"algo":{"type":"integer","format":"int32"},"file_id":{"type":"integer","format":"int32"},"disabled":{"type":"integer","format":"int32"},"nb_open":{"type":"integer","format":"int32"},"nb_block_unref":{"type":"integer","format":"int64"},"mark_size":{"type":"integer","deprecated":true}}}}}}
```

## The BLockListReason object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"BLockListReason":{"type":"integer","enum":[0,1,2,3,4,5],"description":"The reason why the agent was put in the block list \n* 1  Agent deleted => do not accept DeclareClient\n* 2  Agent archived => do not accept backup, no aging\n* 3  Agent End Of Live => do not accept backup, run aging\n* 4  Agent in vacation => do not generate alarms\n* 5  Agent disabled => can't do anything\n* 6  Agent paused => do not accept backup\n"}}}}
```

## The BLockListAction object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"BLockListAction":{"type":"integer","description":"bitmask\n* 1 Backup enable\n* 2 Restoration enable\n* 4 Aging enable\n* 8 Alarms enable  (only on activities)\n* 16 Need a valid license\n* 32 All others alarms enable (driver, snaphot,inotify, ...)\n"}}}}
```

## The AgentBlockList object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"AgentBlockList":{"type":"object","properties":{"id":{"type":"integer"},"reason":{"type":"string","description":"The reason the Agent was put in the block list","enum":["Normal","Deleted","Archived","End of Life","In vacation","Disabled","Paused"]},"reason_num":{"$ref":"#/components/schemas/BLockListReason"},"flags":{"type":"integer","description":"bitmask\n* 1 Fail to get license token => do not accept backup and resto\n* 2 unusual activity => just an info to notify an activity change\n* 4 suspicious activity (low compression data) => do not accept backup\n"},"possible_actions":{"$ref":"#/components/schemas/BLockListAction"},"create_date":{"type":"integer","format":"int64"}}},"BLockListReason":{"type":"integer","enum":[0,1,2,3,4,5],"description":"The reason why the agent was put in the block list \n* 1  Agent deleted => do not accept DeclareClient\n* 2  Agent archived => do not accept backup, no aging\n* 3  Agent End Of Live => do not accept backup, run aging\n* 4  Agent in vacation => do not generate alarms\n* 5  Agent disabled => can't do anything\n* 6  Agent paused => do not accept backup\n"},"BLockListAction":{"type":"integer","description":"bitmask\n* 1 Backup enable\n* 2 Restoration enable\n* 4 Aging enable\n* 8 Alarms enable  (only on activities)\n* 16 Need a valid license\n* 32 All others alarms enable (driver, snaphot,inotify, ...)\n"}}}}
```

## The HSSRepli object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"HSSRepli":{"type":"object","properties":{"nb_stream_to_send":{"type":"integer"},"nb_stream_to_get":{"type":"integer"},"nb_stream_to_del":{"type":"integer"},"repli_lag":{"type":"integer"},"last_resync":{"type":"integer"},"last_resync_elapse":{"type":"integer"},"last_sync_point":{"type":"integer"},"last_connect":{"type":"integer"},"last_disconnect":{"type":"integer"},"reason":{"type":"integer"},"internal_status":{"type":"string"},"latency":{"type":"integer"},"dest_version":{"type":"string"}}}}}}
```

## The ADERepli object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"ADERepli":{"type":"object","properties":{"id":{"type":"integer"},"uuid":{"type":"string"},"name":{"type":"string"},"domain_id":{"type":"integer"},"enabled":{"type":"integer"},"is_global":{"type":"integer"},"encrypted":{"type":"integer"},"host":{"type":"string"},"port":{"type":"integer"},"host_presentation":{"type":"string"},"proxy_enabled":{"type":"string"},"proxy_host":{"type":"string"},"proxy_port":{"type":"integer"},"proxy_user":{"type":"string"},"proxy_has_pass":{"type":"integer"},"dest_uuid":{"type":"string"},"hss_port":{"type":"integer"},"user":{"type":"string"},"has_pass":{"type":"integer"},"nb_refs":{"type":"integer"},"hss":{"type":"array","items":{"$ref":"#/components/schemas/HSSRepli"}},"lina":{"type":"array","items":{"type":"object"}}}},"HSSRepli":{"type":"object","properties":{"nb_stream_to_send":{"type":"integer"},"nb_stream_to_get":{"type":"integer"},"nb_stream_to_del":{"type":"integer"},"repli_lag":{"type":"integer"},"last_resync":{"type":"integer"},"last_resync_elapse":{"type":"integer"},"last_sync_point":{"type":"integer"},"last_connect":{"type":"integer"},"last_disconnect":{"type":"integer"},"reason":{"type":"integer"},"internal_status":{"type":"string"},"latency":{"type":"integer"},"dest_version":{"type":"string"}}}}}}
```

## The StreamStats object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"StreamStats":{"type":"object","properties":{"name":{"type":"string"},"read":{"type":"integer","format":"int64"},"stored":{"type":"integer","format":"int64"},"meta":{"type":"integer","format":"int64"},"nb_bck":{"type":"integer"},"ratio":{"type":"number","format":"float"}}}}}}
```

## The ReportConfig object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"ReportConfig":{"type":"object","properties":{"id":{"description":"The identifier of the report configuration","type":"integer","format":"int32"},"period":{"description":"The scheduled period (d)aily, (w)eekly or (m)onthly","type":"string","enum":["d","w","m"],"default":"d"},"hour":{"description":"The scheduled hour [0-23]","type":"integer","format":"int32","default":8},"day":{"description":"The scheduled day [1-31]","type":"integer","format":"int32","default":1},"to":{"description":"The list of recipients serparedted by a comma","type":"string"},"duration":{"description":"The retention period (in millisecond) of the generated. 0 means forever","type":"integer","format":"int64","default":0},"mode":{"type":"string","description":"The way the report is embeded in the email:\n * `attach` - As attached  file\n * `url` - As a link\n * `html` - As a html table directily emebebed in the email body\n","enum":["attach","url","html"],"default":"attach"},"activate":{"description":"Enable/disable the report generation scheduling","type":"boolean"},"data":{"description":"The description of the data to include in the report","type":"object","properties":{"web_url":{"description":"The url of administration server","type":"string"},"title":{"description":"The title of the report","type":"string"},"locale":{"description":"The language use to generate of the report","type":"string","enum":["en","fr"],"default":"en"},"lists":{"description":"A list of properties to be included in the report","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"columns":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"}}}}}}},"charts":{"description":"A list of chart to be included in the report","type":"array","items":{"type":"object","properties":{"id":{"type":"string"}}}},"tables":{"description":"A list of tables to be included in the report","type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"args":{"type":"array","items":{"type":"object","properties":{"days":{"type":"integer","format":"int32"}}}},"columns":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"}}}}}}}}}}}}}}
```

## The ReportObj object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"ReportObj":{"type":"object","properties":{"id":{"type":"integer","description":"The identifier of the configuratino used to generate the report"},"name":{"type":"string","description":"The name of the report."},"url":{"type":"string","description":"The uri of the report."},"time":{"type":"integer","format":"int64","description":"The date (in milliesecond sincep epoch) the report was generated"}}}}}}
```

## The ReportName object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"ReportName":{"type":"object","properties":{"name":{"type":"string"}}}}}}
```

## The ReportCfgId object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"ReportCfgId":{"type":"object","properties":{"id":{"type":"integer"}}}}}}
```

## The License object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"License":{"type":"object","properties":{"product_type":{"type":"integer"},"service_status":{"type":"integer"},"name":{"type":"string"},"product":{"type":"integer"},"token":{"type":"string"},"type":{"type":"integer"},"in_use":{"type":"integer"},"total_in_use":{"type":"integer"},"total_lic":{"type":"integer"},"missing_lic":{"type":"integer"},"need_path":{"type":"string"},"disabled":{"type":"integer"},"error":{"type":"integer"},"license_server":{"type":"string"}}}}}}
```

## The Role1 object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"Role1":{"type":"integer","enum":[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536,2097152,4194304,8388608,16777216,33554432,4294967295],"description":"Mask\n*\tRoles_canViewAlerts = 0x1, // access to the alerts view\n*\tRoles_canSetAlerts  = 0x2, // ability to modify alerts parameters (notification, recipients)\n*\tRoles_canViewSupport = 0x4, // access to the Support view (maintenance)\n*\tRoles_donotreuse0 = 0x8,  // deprecated\n*\tRoles_donotreuse1 = 0x10, // deprecated\n*\tRoles_donotreuse2 = 0x20, // deprecated\n*\tRoles_donotreuse3 = 0x40, // deprecated\n*\tRoles_canViewUsers   = 0x80, // access to the users view\n*\tRoles_donotreuse4\t = 0x100, // deprecated\n*\tRoles_donotreuse5\t = 0x200, // deprecated\n*\tRoles_donotreuse6\t = 0x400, // deprecated\n*\tRoles_canViewServices = 0x800, // access to the services view\n*\tRoles_canSetServices  = 0x1000, // ability to modify services\n*\tRoles_canViewReplications   = 0x2000, // access to the replication servers view\n*\tRoles_canCreateReplications = 0x4000, // ability to create a replication server\n*\tRoles_canDeleteReplications = 0x8000, // ability to delete a replication server\n*\tRoles_canSetReplications    = 0x10000, // ability to modify a replication server\n*\tRoles_canAllowCrossResto = 0x200000, // ability to do a cross resto\n*\tRoles_canAllowWebResto   = 0x400000, // ability to do a web resto\n*\tRoles_canViewBMR    \t = 0x800000, // access to the BMR view (server side)\n*\tRoles_canSetBMR     \t = 0x1000000, // ability to modify BMR parameters (server side)\n*\tRoles_canAllowBMRResto   = 0x2000000,  // ability to do a BMR resto (agent side)\n*\tRoles_All1\t\t= 0xffffffff // All current and futur roles\n"}}}}
```

## The Role2 object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"Role2":{"type":"integer","enum":[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,4294967295],"description":"Mask\n*\tRoles_canViewFiles = 0x1, // access to the files view\n* Roles_canViewLicense = 0x2, // access to the license view\n* Roles_canSetLicense  = 0x4, // ability to modify license parameters (products activation and license)\n* Roles_canViewSmtp = 0x8, // view the smtp configuration\n* Roles_canSetSmtp  = 0x10, // ability to modify smtp configuration\n* Roles_canViewLdap = 0x20, // view the ldap configuration\n* Roles_canSetLdap  = 0x40, // ability to modify ldap configuration\n* Roles_canViewTunables         = 0x80, // access to the tunables view\n* Roles_canSetTunables          = 0x100, // ability to modify tunables\n* Roles_canViewAdvancedTunables = 0x200, // access to the advanced tunables view [NOT USED]\n* Roles_canViewStreams   = 0x400, // access to the streams view\n* Roles_canDeleteStreams = 0x800, // access to the streams view\n* Roles_canViewStatistics      = 0x1000, // access to the statistics view\n* Roles_canRecomputeStatistics = 0x2000, // ability to recompute detailled statistics\n* Roles_canViewConfig   = 0x4000, // view the Config\n* Roles_canSetConfig    = 0x8000, // ability to modify the Config\n* Roles_canRestart    = 0x10000, // ability to restart the service itself\n* Roles_canViewSnapshot   = 0x20000, // list all snapshots\n* Roles_canCreateSnapshot = 0x40000, // create a new snapshot\n* Roles_canDeleteSnapshot = 0x80000, // delete a snapshot\n* Roles_All2\t\t= 0xffffffff // All current and futur roles\n"}}}}
```

## The Role3 object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"Role3":{"type":"integer","enum":[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,4294967295],"description":"Mask\n* Roles_canViewAllAlnAgent   = 0x1, // View all agent (else view only those with a relation with us)\n* Roles_canCreateAlnAgent = 0x2, // ability to create an agent\n* Roles_canDeleteAlnAgent = 0x4, // ability to delete an agent\n* Roles_canSetAlnAgent    = 0x8, // ability to modify agent parameters\n* Roles_canViewAlnStrategy   = 0x10, // access to the strategies view\n* Roles_canCreateAlnStrategy = 0x20, // ability to create a strategy\n* Roles_canDeleteAlnStrategy = 0x40, // ability to delete a strategy\n* Roles_canSetAlnStrategy    = 0x80, // ability to modify strategy parameters\n* Roles_canViewAlnProtection   = 0x100, // access to the protections view\n* Roles_canCreateAlnProtection = 0x200, // ability to create a protection\n* Roles_canDeleteAlnProtection = 0x400, // ability to delete a protection\n* Roles_canSetAlnProtection    = 0x800, // ability to modify protection parameters\n* XXX_Roles_canViewAlnProtectionRule   = 0x1000, // deprecated\n* XXX_Roles_canCreateAlnProtectionRule = 0x2000, // deprecated\n* XXX_Roles_canDeleteAlnProtectionRule = 0x4000, // deprecated\n* XXX_Roles_canSetAlnProtectionRule    = 0x8000, // deprecated\n* Roles_All3\t\t= 0xffffffff // All current and futur roles\n"}}}}
```

## The Role4 object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"Role4":{"type":"integer","enum":[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,4294967295],"description":"Mask\n* XXX_Roles_canViewAlnProtectionZone   = 0x1, // deprecated\n* XXX_Roles_canCreateAlnProtectionZone = 0x2, // deprecated\n* XXX_Roles_canDeleteAlnProtectionZone = 0x4, // deprecated\n*\tXXX_Roles_canSetAlnProtectionZone    = 0x8, // deprecated\n*\tXXX_Roles_canViewAlnFileCategory   = 0x10, // deprecated\n*\tXXX_Roles_canCreateAlnFileCategory = 0x20, // deprecated\n*\tXXX_Roles_canDeleteAlnFileCategory = 0x40, // deprecated\n*\tXXX_Roles_canSetAlnFileCategory    = 0x80, // deprecated\n*\tRoles_canSetAlnDefaultConfiguration = 0x100, // ability to modify aln default configuration (per tenant)\n*\tRoles_canViewDomains \t= 0x200, // access to the domain view\n*\tRoles_canCreateDomains \t= 0x400, // ability to create a domain\n*\tRoles_canDeleteDomains \t= 0x800, // ability to delete a domain\n*\tRoles_canSetDomains \t= 0x1000, // ability to modify domain parameters\n*\tRoles_canSetAlnGlobalDefaultConfiguration = 0x2000, // ability to modify aln default configuration (global / shared by all tenants)\n*\tRoles_isSuperadmin\t= 0x4000, // special role for \"Superadmin\" profile (user can have any name, not only \"superadmin\")\n*\tRoles_isAdmin \t\t= 0x8000, // special role for \"Admin\" profile (user can have any name, not only \"admin\")\n*\tRoles_All4\t\t= 0xffffffff // All current and futur roles\n"}}}}
```

## The AgentUpdateCfg object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"AgentUpdateCfg":{"description":"Configuration used for the auto update of the agents","type":"object","properties":{"id":{"type":"integer","description":"The identifier of the agent"},"activate":{"type":"boolean","description":"Set to true to activate the agent auto update."},"force":{"type":"boolean","description":"Set to true for force an agent auto update."},"url":{"type":"string","description":"The url of the sever used to get the new agent setup"}},"required":["id"]}}}}
```

## The AgentUpdateCfgUpd object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"AgentUpdateCfgUpd":{"type":"object","properties":{"add":{"type":"array","items":{"$ref":"#/components/schemas/AgentUpdateCfg"}},"upd":{"type":"array","items":{"$ref":"#/components/schemas/AgentUpdateCfg"}},"del":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"The identifier of the agent"}}}}}},"AgentUpdateCfg":{"description":"Configuration used for the auto update of the agents","type":"object","properties":{"id":{"type":"integer","description":"The identifier of the agent"},"activate":{"type":"boolean","description":"Set to true to activate the agent auto update."},"force":{"type":"boolean","description":"Set to true for force an agent auto update."},"url":{"type":"string","description":"The url of the sever used to get the new agent setup"}},"required":["id"]}}}}
```

## The SyslogCfg object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"SyslogCfg":{"type":"object","properties":{"host":{"type":"string","description":"the syslog server host"},"port":{"type":"string","description":"the port to use ( default ports are 514 for UDP and 6514 for TCP)"},"protocol":{"type":"string","enum":["udp","tcp"],"description":"the protocol to use ( currently only UPD or TCP are supported - default is UPD)"},"format":{"type":"string","description":"the syslog message format (3164 to use message format specified in RFC 3164, 5424 to use the one specified in RFC 5424 ).\nDefault value is 3164\n"},"enable":{"type":"boolean","description":"Enable/disable syslog.\nDefault value is true\n"}}}}}}
```

## The AgentTag object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"AgentTag":{"type":"object","properties":{"id":{"type":"integer","description":"the tag ID"},"name":{"type":"string","description":"the tag name"},"color":{"type":"string","description":"the tag color"},"nbrefs":{"type":"integer","description":"the number of agents using the tag"}}}}}}
```

## The NodeDispatchPolicy object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"NodeDispatchPolicy":{"type":"object","properties":{"id":{"type":"integer","format":"int32","description":"identifier of node policy"},"name":{"type":"string","description":"descriptive name of node dispatch policy"},"code":{"type":"string","description":"display code"}}}}}}
```

## The TenantNodesLink object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"TenantNodesLink":{"type":"object","properties":{"tenant_id":{"type":"integer","format":"int32","description":"tenant identifier"},"nodes":{"type":"array","items":{"type":"object","properties":{"node_id":{"type":"integer","format":"int32","description":"node identifier"}}}}}}}}}
```

## The Proxy object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"Proxy":{"type":"object","properties":{"enabled":{"type":"boolean","description":"is the proxy enabled?"},"host":{"type":"string","description":"the proxy host"},"port":{"type":"integer","description":"the proxy port"},"user":{"type":"string","description":"the proxy user"},"has_pass":{"type":"string","description":"has a password been set?"}}}}}}
```

## The S3ObjectLock object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"S3ObjectLock":{"type":"object","properties":{"m_enable":{"type":"boolean","description":"has the object lock been enabled ?"},"m_retentionHasBeenSet":{"type":"boolean","description":"has the default retention period been set?"},"m_retention":{"type":"object","properties":{"m_days":{"type":"number","description":"the  number of days an object remains locked"},"m_years":{"type":"number","description":"number of years an object remains locked"},"m_mode":{"type":"number","description":"the retention mode. 2=COMPLIANCE, 1=GOVERNANCE"}}}}}}}}
```

## The S3TestResponse object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"S3TestResponse":{"properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"},"id":{"type":"string","description":"the storage identifier (0 means that the storage has not yet been configured)"},"client_type":{"type":"string","description":"0=AWS S3 client, 1=ADA S3 client"},"latency_ms":{"type":"number","description":"the lantency in milliseconds"},"region":{"type":"string","description":"the s3 region"},"object_lock":{"type":"object","$ref":"#/components/schemas/S3ObjectLock"}}},"StatusCode":{"type":"integer","format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],"description":"Status code:\n* 0 - ASM_OK (OK)\n* 1 - ASM_ERR (General)\n* 2 - ASM_ERR_MEM (Out of memory)\n* 3 - ASM_ERR_EOF (End of file or end of stream)\n* 4 - ASM_ERR_READ (Read error)\n* 5 - ASM_ERR_WRITE (Write error)\n* 6 - ASM_ERR_RANGE (Value out of range)\n* 7 - ASM_ERR_FORMAT (Corrupt format)\n* 8 - ASM_ERR_PERM (Permission denied)\n* 9 - ASM_ERR_ABORT (Abort)\n* 10 - ASM_ERR_FNF ( File/Object not found)\n* 11 - ASM_ERR_EXIST (Object/entity already exists)\n* 12 - ASM_ERR_NOT_EXIST (Object/entity not exist)\n* 13 - ASM_ERR_NO_ADMIN  (DEPRECATED. Replaced by - ASM_ERR_PERM (admin delegation))\n* 14 - ASM_ERR_COMM (Network error or broken connection)\n* 15 - ASM_ERR_BAD_CPR (Block already compressed)\n* 16 - ASM_ERR_BAD_STREAM (Stream corrputed)\n* 17 - ASM_ERR_DELETED_STREAM (Stream not availanle becuase it is deleted)\n* 18 - ASM_ERR_HEADER_CORRUPTED (Header corrupted)\n* 19 - ASM_ERR_TRAILER_CORRUPTED (Trailer corrupted)\n* 20 - ASM_ERR_CHECKSUM (Bad checksum/digest)\n* 21 - ASM_ERR_NOT_IMPLEMENTED (Operation not yet implemented)\n* 22 - ASM_ERR_ILLEGAL_CASE (Illegal case)\n* 23 - ASM_ERR_CREATE_THREAD (Could not strat a thread)\n* 24 - ASM_ERR_CPR (Compress error)\n* 25 - ASM_ERR_UNCPR (Uncompress error)\n* 26 - ASM_ERR_CANT_OPEN_FILE (Could not open file (bad path or persmission)\n* 27 - ASM_ERR_PROG_INCONS (Coding error)\n* 28 - ASM_ERR_HOTBACKUP_IN_PROGRESS (Hot backup in progress)\n* 29 - ASM_ERR_GET_INTEGER (Recieve an integer)\n* 30 - ASM_ERR_EXIT (Exit)\n* 31 - ASM_ERR_CONFIG (Configuration error)\n* 32 - ASM_ERR_LOG (Fail to build log event)\n* 33 - ASM_ERR_TIME_OUT (Time out)\n* 34 - ASM_ERR_GO (Being a task)\n* 35 - ASM_ERR_INVALID_PARAM (Invalid params)\n* 36 - ASM_ERR_DB (Database operatrion failure)\n* 37 - ASM_ERR_DB_EXEC (SQl request failed)\n* 38 - ASM_ERR_BAD_PASSWORD (Wrong login or password)\n* 39 - ASM_ERR_FS_FULL (Filesystem is  full)\n* 40 - ASM_ERR_FS_NEAR_FULL (Filesystem is nearly full)\n* 41 - ASM_ERR_NOT_REACHABLE (Servernot reachable)\n* 42 - ASM_ERR_NOTHING_DONE (Nothing was done)\n* 43 - ASM_ERR_SERVICE_NOT_AVAILABLE (Service not available or not enabled)\n* 44 - ASM_ERR_OLD_VERSION (Client version is not compatible with server version)\n* 45 - ASM_ERR_FULL (Container fill or upper limit reached)\n* 46 - ASM_ERR_REQ (Unable to perform request)\n* 47 - ASM_ERR_OS_NOT_SUPPORTED (OS version is not supported)\n* 48 - ASM_ERR_RETRY (Operation can't be done now)\n* 49 - ASM_ERR_EMPTY (Empty)\n* 50 - ASM_ERR_LICENSE (License error)\n* 51 - ASM_ERR_INVALID_SESS (Invalid session)\n* 52 - ASM_ERR_MAINTENANCE_MODE (Maintenance mode)\n* 53 - ASM_ERR_BUFFER_TOO_SMALL (Buffer too small)\n* 54 - ASM_ERR_SHUTDOWN (Server is stopping)\n* 55 - ASM_ERR_CORRUPTED (Block is corrupted)\n* 56 - ASM_ERR_REMOVED (Removed)\n* 57 - ASM_ERR_REPLI_IN_PROGRESS (Stream replication in progress)\n* 58 - ASM_ERR_INMEM_FULL (Internal memory full)\n* 59 - ASM_ERR_PRODUCT_DISABLED (Product disable)\n* 60 - ASM_ERR_ASK_ACK (Need a ACK)\n* 61 - ASM_ERR_BLOCK_NOT_FOUND (Block not found)\n* 62 - ASM_ERR_DEPRECATED (Deprecated)\n* 63 - ASM_ERR_USER_DISABLED (User disable)\n* 64 - ASM_ERR_NO_COOKIE (No cookie avaible)\n* 65 - ASM_ERR_PERM_ENFORCEMENT (Forbidden to give higher permission to someone)\n* 66 - ASM_ERR_PERM_OWNER (Forbidden to alter his own permission)\n* 67 - ASM_ERR_PERM_READONLY_TENANT (orbidden to alter somethings his this tenant)\n* 68 - ASM_ERR_NOT_ENOUGH_SPACE (Not enough free space on disks)\n* 69 - ASM_ERR_NOT_EMPTY (Not empty)\n* 70 - ASM_ERR_IN_USE (In use)\n* 71 - ASM_ERR_BLOCK_SKIPPED (Block out of format, skipped)\n* 72 - ASM_ERR_NEED_2FA (Need two-factor authentication code)\n* 73 - ASM_ERR_BAD_TENANT (Attempt to access a resource available in another tenant)\n* 74 - ASM_ERR_INFO_NOT_AVAILABLE (Information not available)\n","default":0},"StatusMsg":{"type":"string","description":"Status message","enum":["ASM_OK","ASM_ERR","ASM_ERR_MEM","ASM_ERR_EOF","ASM_ERR_READ","ASM_ERR_WRITE","ASM_ERR_RANGE","ASM_ERR_FORMAT","ASM_ERR_PERM","ASM_ERR_ABORT","ASM_ERR_FNF","ASM_ERR_EXIST","ASM_ERR_NOT_EXIST","ASM_ERR_NO_ADMIN","ASM_ERR_COMM","ASM_ERR_BAD_CPR","ASM_ERR_BAD_STREAM","ASM_ERR_DELETED_STREAM","ASM_ERR_HEADER_CORRUPTED","ASM_ERR_TRAILER_CORRUPTED","ASM_ERR_CHECKSUM","ASM_ERR_NOT_IMPLEMENTED","ASM_ERR_ILLEGAL_CASE","ASM_ERR_CREATE_THREAD","ASM_ERR_CPR","ASM_ERR_UNCPR","ASM_ERR_CANT_OPEN_FIL","ASM_ERR_PROG_INCONS","ASM_ERR_HOTBACKUP_IN_PROGRESS","ASM_ERR_GET_INTEGER","ASM_ERR_EXIT","ASM_ERR_CONFIG","ASM_ERR_LOG","ASM_ERR_TIME_OUT","ASM_ERR_GO","ASM_ERR_INVALID_PARAM","ASM_ERR_DB","ASM_ERR_DB_EXEC","ASM_ERR_BAD_PASSWORD","ASM_ERR_FS_FULL","ASM_ERR_FS_NEAR_FULL","ASM_ERR_NOT_REACHABLE","ASM_ERR_NOTHING_DONE","ASM_ERR_SERVICE_NOT_AVAILABLE","ASM_ERR_OLD_VERSION","ASM_ERR_FULL","ASM_ERR_REQ","ASM_ERR_OS_NOT_SUPPORTED","ASM_ERR_RETRY","ASM_ERR_EMPTY","ASM_ERR_LICENSE","ASM_ERR_INVALID_SESS","ASM_ERR_MAINTENANCE_MODE","ASM_ERR_BUFFER_TOO_SMALL","ASM_ERR_SHUTDOWN","ASM_ERR_CORRUPTED","ASM_ERR_REMOVED","ASM_ERR_REPLI_IN_PROGRESS","ASM_ERR_INMEM_FULL","ASM_ERR_PRODUCT_DISABLED","ASM_ERR_ASK_ACK","ASM_ERR_BLOCK_NOT_FOUND","ASM_ERR_DEPRECATED","ASM_ERR_USER_DISABLED","ASM_ERR_NO_COOKIE","ASM_ERR_PERM_ENFORCEMENT","ASM_ERR_PERM_OWNER","ASM_ERR_PERM_READONLY_TENANT","ASM_ERR_NOT_ENOUGH_SPACE","ASM_ERR_NOT_EMPTY","ASM_ERR_IN_USE","ASM_ERR_BLOCK_SKIPPED","ASM_ERR_NEED_2FA","ASM_ERR_BAD_TENANT","ASM_ERR_INFO_NOT_AVAILABLE"],"default":"ASM_OK"},"S3ObjectLock":{"type":"object","properties":{"m_enable":{"type":"boolean","description":"has the object lock been enabled ?"},"m_retentionHasBeenSet":{"type":"boolean","description":"has the default retention period been set?"},"m_retention":{"type":"object","properties":{"m_days":{"type":"number","description":"the  number of days an object remains locked"},"m_years":{"type":"number","description":"number of years an object remains locked"},"m_mode":{"type":"number","description":"the retention mode. 2=COMPLIANCE, 1=GOVERNANCE"}}}}}}}}
```

## The SetStorageCfg object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"SetStorageCfg":{"type":"object","properties":{"id":{"type":"integer","format":"int32","description":"Storage identifier. if > 0 update existing configuration"},"type":{"type":"string","description":"Storage type (only s3 avaible for now)"},"enabled":{"type":"boolean","description":"Enabled storage"},"user":{"type":"string","description":"Access key"},"pawword":{"type":"string","description":"Secret access key"},"endpoint":{"type":"string","description":"Storage host"},"bucket":{"type":"string","description":"Storage bucket"},"region":{"type":"string","description":"Storage region"},"lock":{"type":"integer","description":"0=use bucket default, 2=use legal hold, 1=use retention (COMPLIANCE mode)"},"create_bucket":{"type":"integer","description":"0=use provided bucket, >0 create n buckets (should be a power of 2) to store blocks + 1 bucket to store config & streams"}}}}}}
```

## The GetStorageCfg object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"GetStorageCfg":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","format":"int32","description":"Storage identifier"},"type":{"type":"string","description":"Storage type (only s3 avaible for now)"},"enabled":{"type":"boolean","description":"Enabled storage"},"file_id":{"type":"integer","format":"int32","description":"Internal usage"},"has_password":{"type":"boolean","description":"Has a user password been set"},"endpoint":{"type":"string","description":"Storage endpoint"},"user":{"type":"string","description":"Storage user"},"bucket":{"type":"string","description":"Storage bucket"},"region":{"type":"string","description":"Storage region"},"private_data":{"type":"object","description":"Storage private data"},"object_lock":{"type":"object","$ref":"#/components/schemas/S3ObjectLock"}}}},"S3ObjectLock":{"type":"object","properties":{"m_enable":{"type":"boolean","description":"has the object lock been enabled ?"},"m_retentionHasBeenSet":{"type":"boolean","description":"has the default retention period been set?"},"m_retention":{"type":"object","properties":{"m_days":{"type":"number","description":"the  number of days an object remains locked"},"m_years":{"type":"number","description":"number of years an object remains locked"},"m_mode":{"type":"number","description":"the retention mode. 2=COMPLIANCE, 1=GOVERNANCE"}}}}}}}}
```

## The SetStorageCfgPrivateData object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"SetStorageCfgPrivateData":{"type":"object","properties":{"id":{"type":"integer","format":"int32","description":"Storage identifier"},"private_data":{"type":"object"}}}}}}
```

## The StorageRegions object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"StorageRegions":{"type":"object","additionalProperties":{"type":"string"}}}}}
```

## The UsageReport object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"UsageReport":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"the usage report configuration identifier"},"name":{"type":"string","description":"the MSP name associated to the usage report configuration"},"enabled":{"type":"boolean","description":"is the generation of usage report enabled?"},"upload":{"type":"boolean","description":"is the upload of the usage report enabled?"}}}}}}}
```

## The PassworPolicyCfg object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"PassworPolicyCfg":{"type":"object","properties":{"double_authentication":{"type":"integer","description":"1=enable double authentication, 0=disable double authentication"},"validity":{"type":"integer","description":"the password validity period (in milliesecond)"},"enabled_strength_check":{"type":"integer","description":"enable password strength checking"},"min_length":{"type":"integer","description":"minimun number of characters"},"min_lower":{"type":"integer","description":"minimun number of lower characters"},"min_upper":{"type":"integer","description":"minimun number of upper characters"},"min_numeric":{"type":"integer","description":"minimun number of numeric characters"},"min_special":{"type":"integer","description":"minimun number of special characters"},"weak_force_change":{"type":"boolean","description":"force users already having a password not matching the policiy to change it"},"forbid_lookalike":{"type":"boolean","description":"forbid lookalike passwords when the user must change it"}}}}}}
```

## The PasswordPolicyList object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"PasswordPolicyList":{"type":"object","properties":{"domain_id":{"type":"integer","description":"the domain id"},"domain_name":{"type":"string","description":"the domain name"},"policy":{"type":"array","items":{"$ref":"#/components/schemas/PassworPolicyCfg"}}}},"PassworPolicyCfg":{"type":"object","properties":{"double_authentication":{"type":"integer","description":"1=enable double authentication, 0=disable double authentication"},"validity":{"type":"integer","description":"the password validity period (in milliesecond)"},"enabled_strength_check":{"type":"integer","description":"enable password strength checking"},"min_length":{"type":"integer","description":"minimun number of characters"},"min_lower":{"type":"integer","description":"minimun number of lower characters"},"min_upper":{"type":"integer","description":"minimun number of upper characters"},"min_numeric":{"type":"integer","description":"minimun number of numeric characters"},"min_special":{"type":"integer","description":"minimun number of special characters"},"weak_force_change":{"type":"boolean","description":"force users already having a password not matching the policiy to change it"},"forbid_lookalike":{"type":"boolean","description":"forbid lookalike passwords when the user must change it"}}}}}}
```

## The Task object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"Task":{"type":"object","properties":{"task_id":{"type":"integer","description":"the task id"},"task_name":{"type":"integer","description":"the task name"},"task_status":{"type":"integer","description":"the task status"},"task_params":{"type":"string","description":"the task paramaters"},"task_start_date":{"type":"integer","description":"the task start date in seconds from epoch"},"task_progression":{"type":"integer","description":"the task progression in percent [0-100]"},"task_result":{"type":"object","description":"json object holding the result of the task"}}}}}}
```

## The BlockListProp object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"BlockListProp":{"type":"object","properties":{"name":{"type":"string","description":"the name of the blocklist property"},"reason":{"$ref":"#/components/schemas/BLockListReason"},"actions":{"$ref":"#/components/schemas/BLockListAction"}}},"BLockListReason":{"type":"integer","enum":[0,1,2,3,4,5],"description":"The reason why the agent was put in the block list \n* 1  Agent deleted => do not accept DeclareClient\n* 2  Agent archived => do not accept backup, no aging\n* 3  Agent End Of Live => do not accept backup, run aging\n* 4  Agent in vacation => do not generate alarms\n* 5  Agent disabled => can't do anything\n* 6  Agent paused => do not accept backup\n"},"BLockListAction":{"type":"integer","description":"bitmask\n* 1 Backup enable\n* 2 Restoration enable\n* 4 Aging enable\n* 8 Alarms enable  (only on activities)\n* 16 Need a valid license\n* 32 All others alarms enable (driver, snaphot,inotify, ...)\n"}}}}
```

## The ScheduledTask object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"ScheduledTask":{"type":"object","properties":{"type":{"type":"string","description":"the type of the scheduled task: \\n 1=aging.\\n 2= compact.\\n 3= replication.\\n 4=aer (not supported)"},"name":{"type":"string","description":"the name of the scheduled task"},"mode":{"type":"string","description":"the mode: \\n 1=range bit field.\\n 2=frequency field (not supported).\\n 3=cron field (not supported)"},"run_mode":{"type":"string","description":"the run mode:\\n. 0=schedule is disabled (not running).\\n1=schedule is also disabled but task use his own rule to select when running. \\n 2=task runs according to the schedule"},"color":{"type":"string","description":"the color associated to the task (in UI)"},"range_bit":{"type":"string","description":"range bit used to shedule the task if mode is range_bit"},"in_range":{"type":"string","description":"true if the task type is in range, false otherwise"},"period":{"type":"string","description":"period (3=monthy, 2=weekly, 3=daily) used to schedule the task if the mode is 'frequency'"},"day":{"type":"string","description":"day of the week/month used to schedule the task if the mode is 'frequency'"},"hour":{"type":"string","description":"hour [0-23] used to schedule the task if the mode is 'frequency'"},"cron":{"type":"string","description":"cron expression used to schedule the task if the mode is 'cron'"}}}}}}
```

## The LDAPCfgResult object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"LDAPCfgResult":{"type":"object","properties":{"configuration":{"type":"object","properties":{"server":{"type":"string"},"port":{"type":"integer","format":"int32"},"use_ssl":{"type":"boolean"},"user_id_attr":{"type":"string"},"ldap_group_attr":{"type":"string"},"ldap_email_attr":{"type":"string"},"ldap_prefix":{"type":"string"},"ldap_suffix":{"type":"string"}}},"connection_test":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"status_msg":{"type":"string"},"test":{"type":"string"},"test_parameters":{"type":"string"},"baseDN":{"type":"string"},"help":{"type":"string"}}},"authenticate_test":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"status_msg":{"type":"string"},"test":{"type":"string"},"test_parameters":{"type":"string"},"msg":{"type":"string"}}},"users_browsing_test":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"status_msg":{"type":"string"},"test":{"type":"string"},"test_parameters":{"type":"string"},"msg":{"type":"string"}}},"groups_browsing_test":{"type":"object","properties":{"status":{"type":"string"},"status_msg":{"type":"string"},"test":{"type":"string"},"test_parameters":{"type":"string"},"msg":{"type":"string"}}}}}}}}
```

## The LDAPCfgInfo object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"LDAPCfgInfo":{"type":"object","properties":{"note":{"type":"string","description":"the string \"Information about LDAP library used by ADE\""},"protocol_version":{"type":"integer","format":"int32","description":"highest protocol version supported"},"vendor_name":{"type":"string","description":"name of supplier"},"vendor_version":{"type":"integer","format":"int32","description":"supplier-specific version times 100"}}}}}}
```

## The LDAPTestAllTenants object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"LDAPTestAllTenants":{"type":"object","properties":{"name":{"type":"string"},"result":{"oneOf":[{"type":"string"},{"$ref":"#/components/schemas/LDAPCfgResult"}]}}},"LDAPCfgResult":{"type":"object","properties":{"configuration":{"type":"object","properties":{"server":{"type":"string"},"port":{"type":"integer","format":"int32"},"use_ssl":{"type":"boolean"},"user_id_attr":{"type":"string"},"ldap_group_attr":{"type":"string"},"ldap_email_attr":{"type":"string"},"ldap_prefix":{"type":"string"},"ldap_suffix":{"type":"string"}}},"connection_test":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"status_msg":{"type":"string"},"test":{"type":"string"},"test_parameters":{"type":"string"},"baseDN":{"type":"string"},"help":{"type":"string"}}},"authenticate_test":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"status_msg":{"type":"string"},"test":{"type":"string"},"test_parameters":{"type":"string"},"msg":{"type":"string"}}},"users_browsing_test":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"status_msg":{"type":"string"},"test":{"type":"string"},"test_parameters":{"type":"string"},"msg":{"type":"string"}}},"groups_browsing_test":{"type":"object","properties":{"status":{"type":"string"},"status_msg":{"type":"string"},"test":{"type":"string"},"test_parameters":{"type":"string"},"msg":{"type":"string"}}}}}}}}
```

## The UpdateUrlItem object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"UpdateUrlItem":{"type":"object","properties":{"name":{"type":"string"},"OsType":{"type":"number","description":"1=Windows, 2=Macos, 3=Linux, 4=Synology"},"url":{"type":"string"},"present":{"type":"boolean"},"enable":{"type":"boolean"},"version":{"type":"string"},"bmr":{"type":"boolean"}}}}}}
```

## The ListS3BucketItem object

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"components":{"schemas":{"ListS3BucketItem":{"type":"object","properties":{"name":{"type":"string"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.atempo.com/lina-7.4/lina-7.4-en/release-information/rest-api-reference/ade/models.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
