> 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/hss.md). Agents can also search and read this documentation through its [MCP server](https://documentation.atempo.com/~gitbook/mcp).

# HSS

## List all HSS streams

> List all HSS streams\
> Roles required: \`Roles\_canViewStreams\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"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"}}}}},"paths":{"/HSS/list_stream.json":{"get":{"tags":["HSS"],"summary":"List all HSS streams","description":"List all HSS streams\nRoles required: `Roles_canViewStreams`\n","responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamList"}}}}}}}}}
```

## Get info from a stream

> Get info from a stream\
> Roles required: \`Roles\_canViewStreams\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"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},"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"}}}}},"paths":{"/HSS/get_stream_info.json":{"get":{"tags":["HSS"],"summary":"Get info from a stream","description":"Get info from a stream\nRoles required: `Roles_canViewStreams`\n","parameters":[{"name":"uuid","description":"uuid of the stream","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"},"info":{"type":"array","items":{"$ref":"#/components/schemas/StreamInfo"}}}}}}}}}}}}
```

## List all HSS/HVDS streams with server-side filters

> List all HSS/HVDS streams with server-side filters.\
> Roles required: \`CHECK\_LOGGED\` <br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"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},"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"}}},"paths":{"/HSS/stream/list.json":{"post":{"tags":["HSS"],"summary":"List all HSS/HVDS streams with server-side filters","description":"List all HSS/HVDS streams with server-side filters.\nRoles required: `CHECK_LOGGED` \n","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"filters":{"type":"object","properties":{"hss":{"description":"HSS stream filter","type":"boolean"},"hvds":{"description":"HVDS stream filter","type":"boolean"},"max_streams":{"description":"maximum result returned","type":"integer"}}},"pattern":{"type":"object","properties":{"value":{"description":"an optional text filter that search in many fields","type":"string"}}},"status":{"type":"object","properties":{"running":{"description":"return running streams","type":"boolean"},"complete":{"description":"return completed streams","type":"boolean"},"aborted":{"description":"return aborted streams","type":"boolean"},"error":{"description":"return streams on error","type":"boolean"},"to_delete":{"description":"return streams to be deleted","type":"boolean"},"deleting":{"description":"return deleting streams","type":"boolean"},"deleted":{"description":"return deleted streams","type":"boolean"},"replicating":{"description":"return replicating streams","type":"boolean"},"partial_repli":{"description":"return incomplete replicated streams","type":"boolean"}}}},"required":["filters"]}}}},"responses":{"200":{"description":" Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Get a list of statistics

> Get a list of statistics grouped by client hostnames or ip.\
> Roles required: \`Roles\_canViewStatistics\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"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"}}},"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"}}},"paths":{"/HSS/ls_stat.json":{"get":{"tags":["HSS"],"summary":"Get a list of statistics","description":"Get a list of statistics grouped by client hostnames or ip.\nRoles required: `Roles_canViewStatistics`\n","responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"streams_by_host":{"type":"array","items":{"$ref":"#/components/schemas/StreamStats"}},"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Get a list of statistics

> Get a list of stats grouped by Tina folders.\
> Roles required: \`Roles\_canViewStatistics\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"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"}}},"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"}}},"paths":{"/HSS/ls_stat_by_folder.json":{"get":{"tags":["HSS"],"summary":"Get a list of statistics","description":"Get a list of stats grouped by Tina folders.\nRoles required: `Roles_canViewStatistics`\n","responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"streams_by_folder":{"type":"array","items":{"$ref":"#/components/schemas/StreamStats"}},"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Get a list of statistics

> Get a list of stats grouped by Tina folder types.\
> Roles required: \`Roles\_canViewStatistics\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"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"}}},"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"}}},"paths":{"/HSS/ls_stat_by_folder_type.json":{"get":{"tags":["HSS"],"summary":"Get a list of statistics","description":"Get a list of stats grouped by Tina folder types.\nRoles required: `Roles_canViewStatistics`\n","responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"streams_by_folder_type":{"type":"array","items":{"$ref":"#/components/schemas/StreamStats"}},"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Get a list of statistics

> Get a list of stats grouped by Tina pools.\
> Roles required: \`Roles\_canViewStatistics\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"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"}}},"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"}}},"paths":{"/HSS/ls_stat_by_pool.json":{"get":{"tags":["HSS"],"summary":"Get a list of statistics","description":"Get a list of stats grouped by Tina pools.\nRoles required: `Roles_canViewStatistics`\n","parameters":[{"name":"cat","in":"query","description":"filter by ATN catalog [OPTIONAL]","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"streams_by_pool":{"type":"array","items":{"$ref":"#/components/schemas/StreamStats"}},"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Remove an HSS stream

> Remove an HSS stream.\
> Roles required: \`Roles\_canDeleteStreams\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"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"}}},"paths":{"/HSS/remove_stream.json":{"post":{"tags":["HSS"],"summary":"Remove an HSS stream","description":"Remove an HSS stream.\nRoles required: `Roles_canDeleteStreams`\n","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"uuid":{"type":"string"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Remove stream

> Remove a stream.\
> Roles required: \`Roles\_canDeleteStreams\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"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"}}},"paths":{"/HSS/destroy_stream.json":{"get":{"tags":["HSS"],"summary":"Remove stream","description":"Remove a stream.\nRoles required: `Roles_canDeleteStreams`\n","parameters":[{"name":"uuid","description":"Stream UUID","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","$ref":"#/components/schemas/Status"}}}}}}}}}
```

## Check if a stream file is corrupted

> Check if a stream file is corrupted.\
> Roles required: \`Roles\_canViewStreams\`<br>

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"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"}}},"paths":{"/HSS/parse_stream.json":{"get":{"tags":["HSS"],"summary":"Check if a stream file is corrupted","description":"Check if a stream file is corrupted.\nRoles required: `Roles_canViewStreams`\n","parameters":[{"name":"uuid","description":"Stream UUID","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","$ref":"#/components/schemas/Status"}}}}}}}}}
```

## List all HSS streams

> List all HSS streams from an atn\_client\_uuid\
> Roles required: \`Roles\_canViewStreams\`

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"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"}}}}},"paths":{"/HSS/stream/list_by_client.json":{"get":{"tags":["HSS"],"summary":"List all HSS streams","description":"List all HSS streams from an atn_client_uuid\nRoles required: `Roles_canViewStreams`","parameters":[{"name":"client_uuid","in":"query","description":"atn_client_uuid filter","required":false,"schema":{"type":"string"}},{"name":"catalog_uuid","in":"query","description":"catalog_uuid filter","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamList"}}}}}}}}}
```

## List all distincts atn\_client\_uuid

> List all distincts atn\_client\_uuid.\
> Roles required: \`Roles\_canViewReplications\`

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"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},"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"}}},"paths":{"/HSS/client/list.json":{"get":{"tags":["HSS"],"summary":"List all distincts atn_client_uuid","description":"List all distincts atn_client_uuid.\nRoles required: `Roles_canViewReplications`","parameters":[{"name":"catalog_uuid","in":"query","description":"catalog_uuid filter","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```

## Remove all streams from an atn\_client\_uuid

> Remove all streams from an atn\_client\_uuid.\
> Roles required: \`Roles\_canDeleteStreams\`

```json
{"openapi":"3.0.0","info":{"title":"ADE API","version":"7.3.0"},"servers":[{"url":"/"}],"security":[{"APIKeyAuth":[]}],"components":{"securitySchemes":{"APIKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY"}},"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},"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"}}},"paths":{"/HSS/client/delete.json":{"get":{"tags":["HSS"],"summary":"Remove all streams from an atn_client_uuid","description":"Remove all streams from an atn_client_uuid.\nRoles required: `Roles_canDeleteStreams`","parameters":[{"name":"client_uuid","in":"query","description":"atn_client_uuid filter","required":false,"schema":{"type":"string"}},{"name":"catalog_uuid","in":"query","description":"catalog_uuid filter","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/StatusCode"},"status_msg":{"$ref":"#/components/schemas/StatusMsg"}}}}}}}}}}}
```


---

# 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/hss.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.
