> 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/tina-4.9.5/tina-4.9.5-en/version-information/rest-api-reference/pools.md). Agents can also search and read this documentation through its [MCP server](https://documentation.atempo.com/~gitbook/mcp).

# Pools

Pools management

## Get pool list

> Return a list of all pools

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Pools","description":"Pools management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"PoolDrive":{"type":"object","properties":{"storageList":{"type":"array","items":{"$ref":"#/components/schemas/NameId"}},"availableActions":{"type":"array","items":{"type":"string","description":"List of available action for this poll","enum":["Delete","Labelize"]}},"category":{"type":"string","description":"Pool category","enum":["DRIVE"]},"label":{"type":"string","description":"Pool label"},"nbCartridges":{"type":"integer","description":"Number of cartridges in pool","format":"int32"},"isBackupUsable":{"type":"boolean","description":"Usable pool, to be able to hide \"spare\" and \"lost+found\""},"nbDrives":{"type":"integer","description":"Number of drives in pool","format":"int32"},"hasHssDrives":{"type":"boolean","description":"Indicates if the pool has HSS drives"},"isRetentionInfinite":{"type":"boolean","description":"Indicates if pool retention is infinite"},"retentionUnit":{"type":"string","description":"Unit of the retention","enum":["year","month","week","day","hour"]},"retentionValue":{"type":"integer","description":"Retention time of the pool (unit depend on RetentionUnit), 0 means 4 hours minimum","format":"int32"},"name":{"type":"string","description":"Pool name"},"comment":{"type":"string","description":"Pool comment"},"publicId":{"type":"string","description":"Public id of the pool"}},"xml":{"name":"PoolDrive"}},"NameId":{"type":"object","properties":{"name":{"type":"string","description":"Name of the couple name/value"},"id":{"type":"string","description":"Value of the couple name/value"}},"description":"Certificate name and public id linked to the template","xml":{"name":"NameId"}},"PoolDedup":{"type":"object","properties":{"storageList":{"type":"array","items":{"$ref":"#/components/schemas/NameId"}},"availableActions":{"type":"array","items":{"type":"string","description":"List of available action for this poll","enum":["Delete","Labelize"]}},"category":{"type":"string","description":"Pool category","enum":["DEDUP"]},"repositoryName":{"type":"string","description":"Repository name of the pool"},"isRetentionInfinite":{"type":"boolean","description":"Indicates if pool retention is infinite"},"retentionUnit":{"type":"string","description":"Unit of the retention","enum":["year","month","week","day","hour"]},"retentionValue":{"type":"integer","description":"Retention time of the pool (unit depend on RetentionUnit), 0 means 4 hours minimum","format":"int32"},"name":{"type":"string","description":"Pool name"},"comment":{"type":"string","description":"Pool comment"},"publicId":{"type":"string","description":"Public id of the pool"}},"xml":{"name":"PoolDedup"}},"PoolCloud":{"type":"object","properties":{"storageList":{"type":"array","items":{"$ref":"#/components/schemas/NameId"}},"availableActions":{"type":"array","items":{"type":"string","description":"List of available action for this poll","enum":["Delete","Labelize"]}},"category":{"type":"string","description":"Pool category","enum":["CLOUD"]},"repositoryName":{"type":"string","description":"Repository name of the pool"},"isRetentionInfinite":{"type":"boolean","description":"Indicates if pool retention is infinite"},"retentionUnit":{"type":"string","description":"Unit of the retention","enum":["year","month","week","day","hour"]},"retentionValue":{"type":"integer","description":"Retention time of the pool (unit depend on RetentionUnit), 0 means 4 hours minimum","format":"int32"},"name":{"type":"string","description":"Pool name"},"comment":{"type":"string","description":"Pool comment"},"publicId":{"type":"string","description":"Public id of the pool"}},"xml":{"name":"PoolCloud"}},"PoolEnhancedDisk":{"type":"object","properties":{"storageList":{"type":"array","items":{"$ref":"#/components/schemas/NameId"}},"availableActions":{"type":"array","items":{"type":"string","description":"List of available action for this poll","enum":["Delete","Labelize"]}},"category":{"type":"string","description":"Pool category","enum":["ENHANCED_DISK"]},"repositoryName":{"type":"string","description":"Repository name of the pool"},"isRetentionInfinite":{"type":"boolean","description":"Indicates if pool retention is infinite"},"retentionUnit":{"type":"string","description":"Unit of the retention","enum":["year","month","week","day","hour"]},"retentionValue":{"type":"integer","description":"Retention time of the pool (unit depend on RetentionUnit), 0 means 4 hours minimum","format":"int32"},"name":{"type":"string","description":"Pool name"},"comment":{"type":"string","description":"Pool comment"},"publicId":{"type":"string","description":"Public id of the pool"}},"xml":{"name":"EnhancedDiskDedup"}},"ErrorResponse":{"type":"object","properties":{"message":{"type":"string","description":"Error message"},"errorCode":{"type":"integer","description":"<table><thead><th>errorCode</th><th>message</th></thead><tbody><tr><td>10000</td><td>Undefined error</td></tr><tr><td>10004</td><td>Host is unreachable</td></tr><tr><td>10014</td><td>Backup software service is unavailable</td></tr><tr><td>10023</td><td>Your catalog is stopped</td></tr><tr><td>10033</td><td>Your catalog is in maintenance</td></tr><tr><td>10043</td><td>Your catalog is suspended</td></tr><tr><td>10053</td><td>Your catalog status is unknown</td></tr><tr><td>10063</td><td>Your catalog is activating</td></tr><tr><td>10073</td><td>Your catalog is inactivating</td></tr><tr><td>10083</td><td>Your catalog is in status 'Init in progress'</td></tr><tr><td>10500</td><td>Incorrect fields has been provided</td></tr><tr><td>10501</td><td>Creation failed</td></tr><tr><td>10503</td><td>Permission denied</td></tr><tr><td>10504</td><td>Retrieve failed</td></tr><tr><td>10505</td><td>Edition failed</td></tr><tr><td>10507</td><td>Deletion failed</td></tr><tr><td>10509</td><td>Operation failed</td></tr><tr><td>10510</td><td>The field must not be empty</td></tr><tr><td>10511</td><td>Objet already exists</td></tr><tr><td>10513</td><td>Token is invalid</td></tr><tr><td>10514</td><td>Objet does not exist</td></tr><tr><td>10519</td><td>Build failed</td></tr><tr><td>10520</td><td>Verification failed</td></tr><tr><td>10523</td><td>Unauthorized to get this content</td></tr><tr><td>10524</td><td>Two Many Retrieved Objects</td></tr><tr><td>10529</td><td>Operation result are unacceptable</td></tr><tr><td>10533</td><td>Connection to the API REST refused. You do not have sufficient rights to access it.</td></tr><tr><td>10543</td><td>Operation is not allowed</td></tr><tr><td>10553</td><td>Code does not match secret</td></tr><tr><td>10563</td><td>Your credentials are not valid</td></tr><tr><td>10570</td><td>Invalid public Id</td></tr><tr><td>10580</td><td>Invalid parameter input provided</td></tr><tr><td>11000</td><td>Invalid Agent public Id</td></tr><tr><td>11003</td><td>Permission denied to get Agent</td></tr><tr><td>11004</td><td>Failed to find Agent</td></tr><tr><td>11010</td><td>Invalid action on Agent</td></tr><tr><td>11019</td><td>Failed to execute action on agent</td></tr><tr><td>11020</td><td>Invalid agent type</td></tr><tr><td>11024</td><td>Failed to get discovered agent system list</td></tr><tr><td>11034</td><td>Failed to get host public Id</td></tr><tr><td>11104</td><td>Failed to get Backup Selection list</td></tr><tr><td>11107</td><td>Operation failed to delete Backup Selection</td></tr><tr><td>11109</td><td>List of Backup Selection where action failed</td></tr><tr><td>11206</td><td>Restore operation was not complete</td></tr><tr><td>11208</td><td>Nothing has been restored, error during preparation</td></tr><tr><td>11209</td><td>Restoration failed</td></tr><tr><td>11300</td><td>Fail to get the result of your http request</td></tr><tr><td>11308</td><td>Fail to parse the result of your http request</td></tr><tr><td>11309</td><td>Fail to open socket for your http request</td></tr><tr><td>11310</td><td>Fail to Build http request with the given parameter </td></tr><tr><td>11400</td><td>Invalid strategy public Id</td></tr><tr><td>11404</td><td>Operation failed to getStrategy</td></tr><tr><td>11409</td><td>List of Strategy where action failed</td></tr><tr><td>11410</td><td>Invalid type for strategy</td></tr><tr><td>11413</td><td>Permission denied to execute action on strategy</td></tr><tr><td>11419</td><td>Failed to execute Strategy</td></tr><tr><td>11420</td><td>Platform does not support this type of strategy</td></tr><tr><td>11429</td><td>Failed to verify action on strategy</td></tr><tr><td>11500</td><td>Failed to get discovered device</td></tr><tr><td>11508</td><td>Failed to generate available name</td></tr><tr><td>11510</td><td>Failed to get existing devices names</td></tr><tr><td>11600</td><td>Invalid task public Id</td></tr><tr><td>11604</td><td>Task public Id is not in your catalog</td></tr><tr><td>11606</td><td>Aborted too early</td></tr><tr><td>11608</td><td>Task is not abortable</td></tr><tr><td>11614</td><td>Failed to find task</td></tr><tr><td>11618</td><td>TNHclPoolTask Exception</td></tr><tr><td>11621</td><td>An exception occurred while copying a tunable</td></tr><tr><td>11628</td><td>TNHclDriveTask Exception</td></tr><tr><td>11629</td><td>An exception occurred while changing tcp and udp port</td></tr><tr><td>11638</td><td>TNHclLibraryTask Exception</td></tr><tr><td>11648</td><td>Unknown action for this task</td></tr><tr><td>11700</td><td>Invalid cartridge public Id provided</td></tr><tr><td>11704</td><td>Failed to get cartridge integrity status</td></tr><tr><td>11709</td><td>Failed to execute cartridge action</td></tr><tr><td>11719</td><td>Failed to execute action, cartridge is locked</td></tr><tr><td>11804</td><td>Unable to fetch tunable list for this host</td></tr><tr><td>11814</td><td>Unable to Fetch host with this public Id </td></tr><tr><td>11904</td><td>Fail to get M365 easy setup configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11914</td><td>Fail to get ApplianceMode, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11924</td><td>Fail to get Backup Software Configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11925</td><td>Fail to update Backup Software Configuration, Problem occurred while serializing your apache-tomcat configuration file</td></tr><tr><td>11934</td><td>Fail to get Backup Software Configuration Manager. This manager should have been initialized by the servlet in Tomcat web server. (You may be running a test without passing through the web server).</td></tr><tr><td>12004</td><td>Unable to get scheduler information</td></tr><tr><td>12105</td><td>The edition of the password policy failed</td></tr><tr><td>12200</td><td>Invalid user public Id</td></tr><tr><td>12201</td><td>The creation of the user failed</td></tr><tr><td>12204</td><td>Failed to find user</td></tr><tr><td>12205</td><td>The edition of the user failed</td></tr><tr><td>12206</td><td>Some actions failed</td></tr><tr><td>12208</td><td>Authentication error for user</td></tr><tr><td>12210</td><td>Password length is too high</td></tr><tr><td>12214</td><td>User group does not exist</td></tr><tr><td>12215</td><td>Cannot set user group</td></tr><tr><td>12224</td><td>Profile does not exist</td></tr><tr><td>12225</td><td>Cannot set profile</td></tr><tr><td>12234</td><td>Failed to get user list</td></tr><tr><td>12243</td><td>The password change failed as it does not respect password policy</td></tr><tr><td>12244</td><td>Failed to get user</td></tr><tr><td>12245</td><td>The password change failed</td></tr><tr><td>12301</td><td>Unable to convert storage</td></tr><tr><td>12304</td><td>Unable to return storage</td></tr><tr><td>12305</td><td>The edition of drive status failed</td></tr><tr><td>12400</td><td>PrepareRestore failed during Office365NgaSettings xml conversion</td></tr><tr><td>12410</td><td>PrepareRestore unsupported xml version</td></tr><tr><td>12420</td><td>PrepareRestore failed during office365NgaSettings xml conversion due to xml inconsistency</td></tr><tr><td>12430</td><td>PrepareRestore failed during GvaNgaSettings xml conversion</td></tr><tr><td>12440</td><td>PrepareRestore failed during NgaSettings xml conversion</td></tr><tr><td>12504</td><td>Failed to get this content</td></tr><tr><td>12505</td><td>Failed to update nav context</td></tr><tr><td>12510</td><td>Invalid or missing information</td></tr><tr><td>12514</td><td>Failed to get VM's list</td></tr><tr><td>12520</td><td>Empty navigationContentInput provided</td></tr><tr><td>12524</td><td>Failed to get column names list</td></tr><tr><td>12530</td><td>Invalid query param values</td></tr><tr><td>12534</td><td>Failed to get column items list</td></tr><tr><td>12540</td><td>Page index out of bounds</td></tr><tr><td>12544</td><td>Failed to get instances list</td></tr><tr><td>12554</td><td>Unable to get user informations</td></tr><tr><td>12564</td><td>Unable to get valid entry path</td></tr><tr><td>12574</td><td>Unable to get Teams informations</td></tr><tr><td>12584</td><td>Unable to get Sharepoint sites informations</td></tr><tr><td>12600</td><td>InstancesInput can't be null</td></tr><tr><td>12700</td><td>Missing pool public Id</td></tr><tr><td>12704</td><td>Pool not found</td></tr><tr><td>12710</td><td>Invalid category field</td></tr><tr><td>12720</td><td>Missing PoolCreationInput object</td></tr><tr><td>12730</td><td>Missing PoolEditionInput object</td></tr><tr><td>12800</td><td>Invalid alarm public Id</td></tr><tr><td>12809</td><td>Action failed on alarm filter</td></tr><tr><td>12810</td><td>Unknown alarm filter</td></tr><tr><td>12904</td><td>Unable to check deduplication server connection</td></tr><tr><td>12914</td><td>Deduplication server is not alive</td></tr><tr><td>13109</td><td>We are currently unable to start the search</td></tr><tr><td>13209</td><td>Module configuration failed</td></tr><tr><td>13300</td><td>Unknown backup tutor configuration</td></tr><tr><td>13404</td><td>Unable to get licence information</td></tr><tr><td>13405</td><td>Unable to set licence server</td></tr><tr><td>13501</td><td>Application configuration already exist</td></tr><tr><td>13505</td><td>Failed to configure application</td></tr><tr><td>13600</td><td>The Requested log level is unknown</td></tr><tr><td>13604</td><td>Failed to get event list</td></tr><tr><td>13608</td><td>To many requested event. The maximum amount of event by request is 5000</td></tr><tr><td>13700</td><td>Missing Report Configuration public Id</td></tr></tbody></table>","format":"int32"}},"description":"List of error response","xml":{"name":"ErrorResponse"}},"ErrorResponseList":{"type":"object","properties":{"empty":{"type":"boolean"},"errorResponseList":{"type":"array","description":"List of error response","items":{"$ref":"#/components/schemas/ErrorResponse"}}},"xml":{"name":"ErrorResponseList"}}}},"paths":{"/api/pools":{"get":{"tags":["List","Pools"],"summary":"Get pool list","description":"Return a list of all pools","operationId":"PoolsList","parameters":[{"name":"category","in":"query","schema":{"type":"string","enum":["drive","deduplication","cloud","enhancedDisk","stream"]}}],"responses":{"200":{"description":"Pool list","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","oneOf":[{"$ref":"#/components/schemas/PoolDrive"},{"$ref":"#/components/schemas/PoolDedup"},{"$ref":"#/components/schemas/PoolCloud"},{"$ref":"#/components/schemas/PoolEnhancedDisk"}]}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized: you are not authenticated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"403":{"description":"Forbidden: you are not authorized to use this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"404":{"description":"The resource you were trying to reach is not found","content":{"text/html":{}}},"406":{"description":"Not acceptable","content":{"text/plain":{}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Add a pool

> Add a pool

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Pools","description":"Pools management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"PoolCreationInput":{"required":["isRetentionInfinite","storagePublicIds"],"type":"object","properties":{"prefixCartridge":{"maxLength":1000,"minLength":0,"type":"string","description":"Prefix of cartridges belonging to the created pool, it's mandatory for all storages except HVDS, Enhanced Disk and Cloud"},"storagePublicIds":{"maxItems":1000,"minItems":0,"type":"array","items":{"type":"string","description":"PublicId(s) of the storage(s) destination"}},"isRetentionInfinite":{"type":"boolean","description":"Indicates if pool retention is infinite"},"retentionUnit":{"pattern":"^year$|^month$|^week$|^day$|^hour$|","type":"string","description":"Unit of the retention","enum":["year","month","week","day","hour"]},"retentionValue":{"type":"integer","description":"Retention time of the pool (unit depend on RetentionUnit), 0 means 4 hours minimum","format":"int32"},"name":{"maxLength":1000,"minLength":0,"type":"string","description":"Pool name"},"comment":{"maxLength":1000,"minLength":0,"type":"string","description":"Pool comment"}}},"CreationResponse":{"type":"object","properties":{"name":{"type":"string"},"publicId":{"type":"string"},"key":{"type":"string"},"value":{"type":"string"}},"xml":{"name":"CreationResponse"}},"ErrorResponseList":{"type":"object","properties":{"empty":{"type":"boolean"},"errorResponseList":{"type":"array","description":"List of error response","items":{"$ref":"#/components/schemas/ErrorResponse"}}},"xml":{"name":"ErrorResponseList"}},"ErrorResponse":{"type":"object","properties":{"message":{"type":"string","description":"Error message"},"errorCode":{"type":"integer","description":"<table><thead><th>errorCode</th><th>message</th></thead><tbody><tr><td>10000</td><td>Undefined error</td></tr><tr><td>10004</td><td>Host is unreachable</td></tr><tr><td>10014</td><td>Backup software service is unavailable</td></tr><tr><td>10023</td><td>Your catalog is stopped</td></tr><tr><td>10033</td><td>Your catalog is in maintenance</td></tr><tr><td>10043</td><td>Your catalog is suspended</td></tr><tr><td>10053</td><td>Your catalog status is unknown</td></tr><tr><td>10063</td><td>Your catalog is activating</td></tr><tr><td>10073</td><td>Your catalog is inactivating</td></tr><tr><td>10083</td><td>Your catalog is in status 'Init in progress'</td></tr><tr><td>10500</td><td>Incorrect fields has been provided</td></tr><tr><td>10501</td><td>Creation failed</td></tr><tr><td>10503</td><td>Permission denied</td></tr><tr><td>10504</td><td>Retrieve failed</td></tr><tr><td>10505</td><td>Edition failed</td></tr><tr><td>10507</td><td>Deletion failed</td></tr><tr><td>10509</td><td>Operation failed</td></tr><tr><td>10510</td><td>The field must not be empty</td></tr><tr><td>10511</td><td>Objet already exists</td></tr><tr><td>10513</td><td>Token is invalid</td></tr><tr><td>10514</td><td>Objet does not exist</td></tr><tr><td>10519</td><td>Build failed</td></tr><tr><td>10520</td><td>Verification failed</td></tr><tr><td>10523</td><td>Unauthorized to get this content</td></tr><tr><td>10524</td><td>Two Many Retrieved Objects</td></tr><tr><td>10529</td><td>Operation result are unacceptable</td></tr><tr><td>10533</td><td>Connection to the API REST refused. You do not have sufficient rights to access it.</td></tr><tr><td>10543</td><td>Operation is not allowed</td></tr><tr><td>10553</td><td>Code does not match secret</td></tr><tr><td>10563</td><td>Your credentials are not valid</td></tr><tr><td>10570</td><td>Invalid public Id</td></tr><tr><td>10580</td><td>Invalid parameter input provided</td></tr><tr><td>11000</td><td>Invalid Agent public Id</td></tr><tr><td>11003</td><td>Permission denied to get Agent</td></tr><tr><td>11004</td><td>Failed to find Agent</td></tr><tr><td>11010</td><td>Invalid action on Agent</td></tr><tr><td>11019</td><td>Failed to execute action on agent</td></tr><tr><td>11020</td><td>Invalid agent type</td></tr><tr><td>11024</td><td>Failed to get discovered agent system list</td></tr><tr><td>11034</td><td>Failed to get host public Id</td></tr><tr><td>11104</td><td>Failed to get Backup Selection list</td></tr><tr><td>11107</td><td>Operation failed to delete Backup Selection</td></tr><tr><td>11109</td><td>List of Backup Selection where action failed</td></tr><tr><td>11206</td><td>Restore operation was not complete</td></tr><tr><td>11208</td><td>Nothing has been restored, error during preparation</td></tr><tr><td>11209</td><td>Restoration failed</td></tr><tr><td>11300</td><td>Fail to get the result of your http request</td></tr><tr><td>11308</td><td>Fail to parse the result of your http request</td></tr><tr><td>11309</td><td>Fail to open socket for your http request</td></tr><tr><td>11310</td><td>Fail to Build http request with the given parameter </td></tr><tr><td>11400</td><td>Invalid strategy public Id</td></tr><tr><td>11404</td><td>Operation failed to getStrategy</td></tr><tr><td>11409</td><td>List of Strategy where action failed</td></tr><tr><td>11410</td><td>Invalid type for strategy</td></tr><tr><td>11413</td><td>Permission denied to execute action on strategy</td></tr><tr><td>11419</td><td>Failed to execute Strategy</td></tr><tr><td>11420</td><td>Platform does not support this type of strategy</td></tr><tr><td>11429</td><td>Failed to verify action on strategy</td></tr><tr><td>11500</td><td>Failed to get discovered device</td></tr><tr><td>11508</td><td>Failed to generate available name</td></tr><tr><td>11510</td><td>Failed to get existing devices names</td></tr><tr><td>11600</td><td>Invalid task public Id</td></tr><tr><td>11604</td><td>Task public Id is not in your catalog</td></tr><tr><td>11606</td><td>Aborted too early</td></tr><tr><td>11608</td><td>Task is not abortable</td></tr><tr><td>11614</td><td>Failed to find task</td></tr><tr><td>11618</td><td>TNHclPoolTask Exception</td></tr><tr><td>11621</td><td>An exception occurred while copying a tunable</td></tr><tr><td>11628</td><td>TNHclDriveTask Exception</td></tr><tr><td>11629</td><td>An exception occurred while changing tcp and udp port</td></tr><tr><td>11638</td><td>TNHclLibraryTask Exception</td></tr><tr><td>11648</td><td>Unknown action for this task</td></tr><tr><td>11700</td><td>Invalid cartridge public Id provided</td></tr><tr><td>11704</td><td>Failed to get cartridge integrity status</td></tr><tr><td>11709</td><td>Failed to execute cartridge action</td></tr><tr><td>11719</td><td>Failed to execute action, cartridge is locked</td></tr><tr><td>11804</td><td>Unable to fetch tunable list for this host</td></tr><tr><td>11814</td><td>Unable to Fetch host with this public Id </td></tr><tr><td>11904</td><td>Fail to get M365 easy setup configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11914</td><td>Fail to get ApplianceMode, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11924</td><td>Fail to get Backup Software Configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11925</td><td>Fail to update Backup Software Configuration, Problem occurred while serializing your apache-tomcat configuration file</td></tr><tr><td>11934</td><td>Fail to get Backup Software Configuration Manager. This manager should have been initialized by the servlet in Tomcat web server. (You may be running a test without passing through the web server).</td></tr><tr><td>12004</td><td>Unable to get scheduler information</td></tr><tr><td>12105</td><td>The edition of the password policy failed</td></tr><tr><td>12200</td><td>Invalid user public Id</td></tr><tr><td>12201</td><td>The creation of the user failed</td></tr><tr><td>12204</td><td>Failed to find user</td></tr><tr><td>12205</td><td>The edition of the user failed</td></tr><tr><td>12206</td><td>Some actions failed</td></tr><tr><td>12208</td><td>Authentication error for user</td></tr><tr><td>12210</td><td>Password length is too high</td></tr><tr><td>12214</td><td>User group does not exist</td></tr><tr><td>12215</td><td>Cannot set user group</td></tr><tr><td>12224</td><td>Profile does not exist</td></tr><tr><td>12225</td><td>Cannot set profile</td></tr><tr><td>12234</td><td>Failed to get user list</td></tr><tr><td>12243</td><td>The password change failed as it does not respect password policy</td></tr><tr><td>12244</td><td>Failed to get user</td></tr><tr><td>12245</td><td>The password change failed</td></tr><tr><td>12301</td><td>Unable to convert storage</td></tr><tr><td>12304</td><td>Unable to return storage</td></tr><tr><td>12305</td><td>The edition of drive status failed</td></tr><tr><td>12400</td><td>PrepareRestore failed during Office365NgaSettings xml conversion</td></tr><tr><td>12410</td><td>PrepareRestore unsupported xml version</td></tr><tr><td>12420</td><td>PrepareRestore failed during office365NgaSettings xml conversion due to xml inconsistency</td></tr><tr><td>12430</td><td>PrepareRestore failed during GvaNgaSettings xml conversion</td></tr><tr><td>12440</td><td>PrepareRestore failed during NgaSettings xml conversion</td></tr><tr><td>12504</td><td>Failed to get this content</td></tr><tr><td>12505</td><td>Failed to update nav context</td></tr><tr><td>12510</td><td>Invalid or missing information</td></tr><tr><td>12514</td><td>Failed to get VM's list</td></tr><tr><td>12520</td><td>Empty navigationContentInput provided</td></tr><tr><td>12524</td><td>Failed to get column names list</td></tr><tr><td>12530</td><td>Invalid query param values</td></tr><tr><td>12534</td><td>Failed to get column items list</td></tr><tr><td>12540</td><td>Page index out of bounds</td></tr><tr><td>12544</td><td>Failed to get instances list</td></tr><tr><td>12554</td><td>Unable to get user informations</td></tr><tr><td>12564</td><td>Unable to get valid entry path</td></tr><tr><td>12574</td><td>Unable to get Teams informations</td></tr><tr><td>12584</td><td>Unable to get Sharepoint sites informations</td></tr><tr><td>12600</td><td>InstancesInput can't be null</td></tr><tr><td>12700</td><td>Missing pool public Id</td></tr><tr><td>12704</td><td>Pool not found</td></tr><tr><td>12710</td><td>Invalid category field</td></tr><tr><td>12720</td><td>Missing PoolCreationInput object</td></tr><tr><td>12730</td><td>Missing PoolEditionInput object</td></tr><tr><td>12800</td><td>Invalid alarm public Id</td></tr><tr><td>12809</td><td>Action failed on alarm filter</td></tr><tr><td>12810</td><td>Unknown alarm filter</td></tr><tr><td>12904</td><td>Unable to check deduplication server connection</td></tr><tr><td>12914</td><td>Deduplication server is not alive</td></tr><tr><td>13109</td><td>We are currently unable to start the search</td></tr><tr><td>13209</td><td>Module configuration failed</td></tr><tr><td>13300</td><td>Unknown backup tutor configuration</td></tr><tr><td>13404</td><td>Unable to get licence information</td></tr><tr><td>13405</td><td>Unable to set licence server</td></tr><tr><td>13501</td><td>Application configuration already exist</td></tr><tr><td>13505</td><td>Failed to configure application</td></tr><tr><td>13600</td><td>The Requested log level is unknown</td></tr><tr><td>13604</td><td>Failed to get event list</td></tr><tr><td>13608</td><td>To many requested event. The maximum amount of event by request is 5000</td></tr><tr><td>13700</td><td>Missing Report Configuration public Id</td></tr></tbody></table>","format":"int32"}},"description":"List of error response","xml":{"name":"ErrorResponse"}}}},"paths":{"/api/pools":{"post":{"tags":["Creation","Pools"],"summary":"Add a pool","description":"Add a pool","operationId":"PoolsCreate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PoolCreationInput"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreationResponse"}}},"links":{"":{"operationId":"getPool","parameters":{"publicId":"$response.body#/publicId"},"description":"the 'publicId' value returned in the response can be used as the 'publicId' parameter in the 'GET /pools/{publicId}'"}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"401":{"description":"Unauthorized: you are not authenticated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"403":{"description":"Forbidden: you are not authorized to use this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"404":{"description":"The resource you were trying to reach is not found","content":{"text/html":{}}},"406":{"description":"Not acceptable","content":{"text/plain":{}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Get a pool by publicId

> Return a pool by its publicId

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Pools","description":"Pools management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"PoolDrive":{"type":"object","properties":{"storageList":{"type":"array","items":{"$ref":"#/components/schemas/NameId"}},"availableActions":{"type":"array","items":{"type":"string","description":"List of available action for this poll","enum":["Delete","Labelize"]}},"category":{"type":"string","description":"Pool category","enum":["DRIVE"]},"label":{"type":"string","description":"Pool label"},"nbCartridges":{"type":"integer","description":"Number of cartridges in pool","format":"int32"},"isBackupUsable":{"type":"boolean","description":"Usable pool, to be able to hide \"spare\" and \"lost+found\""},"nbDrives":{"type":"integer","description":"Number of drives in pool","format":"int32"},"hasHssDrives":{"type":"boolean","description":"Indicates if the pool has HSS drives"},"isRetentionInfinite":{"type":"boolean","description":"Indicates if pool retention is infinite"},"retentionUnit":{"type":"string","description":"Unit of the retention","enum":["year","month","week","day","hour"]},"retentionValue":{"type":"integer","description":"Retention time of the pool (unit depend on RetentionUnit), 0 means 4 hours minimum","format":"int32"},"name":{"type":"string","description":"Pool name"},"comment":{"type":"string","description":"Pool comment"},"publicId":{"type":"string","description":"Public id of the pool"}},"xml":{"name":"PoolDrive"}},"NameId":{"type":"object","properties":{"name":{"type":"string","description":"Name of the couple name/value"},"id":{"type":"string","description":"Value of the couple name/value"}},"description":"Certificate name and public id linked to the template","xml":{"name":"NameId"}},"PoolDedup":{"type":"object","properties":{"storageList":{"type":"array","items":{"$ref":"#/components/schemas/NameId"}},"availableActions":{"type":"array","items":{"type":"string","description":"List of available action for this poll","enum":["Delete","Labelize"]}},"category":{"type":"string","description":"Pool category","enum":["DEDUP"]},"repositoryName":{"type":"string","description":"Repository name of the pool"},"isRetentionInfinite":{"type":"boolean","description":"Indicates if pool retention is infinite"},"retentionUnit":{"type":"string","description":"Unit of the retention","enum":["year","month","week","day","hour"]},"retentionValue":{"type":"integer","description":"Retention time of the pool (unit depend on RetentionUnit), 0 means 4 hours minimum","format":"int32"},"name":{"type":"string","description":"Pool name"},"comment":{"type":"string","description":"Pool comment"},"publicId":{"type":"string","description":"Public id of the pool"}},"xml":{"name":"PoolDedup"}},"PoolCloud":{"type":"object","properties":{"storageList":{"type":"array","items":{"$ref":"#/components/schemas/NameId"}},"availableActions":{"type":"array","items":{"type":"string","description":"List of available action for this poll","enum":["Delete","Labelize"]}},"category":{"type":"string","description":"Pool category","enum":["CLOUD"]},"repositoryName":{"type":"string","description":"Repository name of the pool"},"isRetentionInfinite":{"type":"boolean","description":"Indicates if pool retention is infinite"},"retentionUnit":{"type":"string","description":"Unit of the retention","enum":["year","month","week","day","hour"]},"retentionValue":{"type":"integer","description":"Retention time of the pool (unit depend on RetentionUnit), 0 means 4 hours minimum","format":"int32"},"name":{"type":"string","description":"Pool name"},"comment":{"type":"string","description":"Pool comment"},"publicId":{"type":"string","description":"Public id of the pool"}},"xml":{"name":"PoolCloud"}},"PoolEnhancedDisk":{"type":"object","properties":{"storageList":{"type":"array","items":{"$ref":"#/components/schemas/NameId"}},"availableActions":{"type":"array","items":{"type":"string","description":"List of available action for this poll","enum":["Delete","Labelize"]}},"category":{"type":"string","description":"Pool category","enum":["ENHANCED_DISK"]},"repositoryName":{"type":"string","description":"Repository name of the pool"},"isRetentionInfinite":{"type":"boolean","description":"Indicates if pool retention is infinite"},"retentionUnit":{"type":"string","description":"Unit of the retention","enum":["year","month","week","day","hour"]},"retentionValue":{"type":"integer","description":"Retention time of the pool (unit depend on RetentionUnit), 0 means 4 hours minimum","format":"int32"},"name":{"type":"string","description":"Pool name"},"comment":{"type":"string","description":"Pool comment"},"publicId":{"type":"string","description":"Public id of the pool"}},"xml":{"name":"EnhancedDiskDedup"}},"ErrorResponse":{"type":"object","properties":{"message":{"type":"string","description":"Error message"},"errorCode":{"type":"integer","description":"<table><thead><th>errorCode</th><th>message</th></thead><tbody><tr><td>10000</td><td>Undefined error</td></tr><tr><td>10004</td><td>Host is unreachable</td></tr><tr><td>10014</td><td>Backup software service is unavailable</td></tr><tr><td>10023</td><td>Your catalog is stopped</td></tr><tr><td>10033</td><td>Your catalog is in maintenance</td></tr><tr><td>10043</td><td>Your catalog is suspended</td></tr><tr><td>10053</td><td>Your catalog status is unknown</td></tr><tr><td>10063</td><td>Your catalog is activating</td></tr><tr><td>10073</td><td>Your catalog is inactivating</td></tr><tr><td>10083</td><td>Your catalog is in status 'Init in progress'</td></tr><tr><td>10500</td><td>Incorrect fields has been provided</td></tr><tr><td>10501</td><td>Creation failed</td></tr><tr><td>10503</td><td>Permission denied</td></tr><tr><td>10504</td><td>Retrieve failed</td></tr><tr><td>10505</td><td>Edition failed</td></tr><tr><td>10507</td><td>Deletion failed</td></tr><tr><td>10509</td><td>Operation failed</td></tr><tr><td>10510</td><td>The field must not be empty</td></tr><tr><td>10511</td><td>Objet already exists</td></tr><tr><td>10513</td><td>Token is invalid</td></tr><tr><td>10514</td><td>Objet does not exist</td></tr><tr><td>10519</td><td>Build failed</td></tr><tr><td>10520</td><td>Verification failed</td></tr><tr><td>10523</td><td>Unauthorized to get this content</td></tr><tr><td>10524</td><td>Two Many Retrieved Objects</td></tr><tr><td>10529</td><td>Operation result are unacceptable</td></tr><tr><td>10533</td><td>Connection to the API REST refused. You do not have sufficient rights to access it.</td></tr><tr><td>10543</td><td>Operation is not allowed</td></tr><tr><td>10553</td><td>Code does not match secret</td></tr><tr><td>10563</td><td>Your credentials are not valid</td></tr><tr><td>10570</td><td>Invalid public Id</td></tr><tr><td>10580</td><td>Invalid parameter input provided</td></tr><tr><td>11000</td><td>Invalid Agent public Id</td></tr><tr><td>11003</td><td>Permission denied to get Agent</td></tr><tr><td>11004</td><td>Failed to find Agent</td></tr><tr><td>11010</td><td>Invalid action on Agent</td></tr><tr><td>11019</td><td>Failed to execute action on agent</td></tr><tr><td>11020</td><td>Invalid agent type</td></tr><tr><td>11024</td><td>Failed to get discovered agent system list</td></tr><tr><td>11034</td><td>Failed to get host public Id</td></tr><tr><td>11104</td><td>Failed to get Backup Selection list</td></tr><tr><td>11107</td><td>Operation failed to delete Backup Selection</td></tr><tr><td>11109</td><td>List of Backup Selection where action failed</td></tr><tr><td>11206</td><td>Restore operation was not complete</td></tr><tr><td>11208</td><td>Nothing has been restored, error during preparation</td></tr><tr><td>11209</td><td>Restoration failed</td></tr><tr><td>11300</td><td>Fail to get the result of your http request</td></tr><tr><td>11308</td><td>Fail to parse the result of your http request</td></tr><tr><td>11309</td><td>Fail to open socket for your http request</td></tr><tr><td>11310</td><td>Fail to Build http request with the given parameter </td></tr><tr><td>11400</td><td>Invalid strategy public Id</td></tr><tr><td>11404</td><td>Operation failed to getStrategy</td></tr><tr><td>11409</td><td>List of Strategy where action failed</td></tr><tr><td>11410</td><td>Invalid type for strategy</td></tr><tr><td>11413</td><td>Permission denied to execute action on strategy</td></tr><tr><td>11419</td><td>Failed to execute Strategy</td></tr><tr><td>11420</td><td>Platform does not support this type of strategy</td></tr><tr><td>11429</td><td>Failed to verify action on strategy</td></tr><tr><td>11500</td><td>Failed to get discovered device</td></tr><tr><td>11508</td><td>Failed to generate available name</td></tr><tr><td>11510</td><td>Failed to get existing devices names</td></tr><tr><td>11600</td><td>Invalid task public Id</td></tr><tr><td>11604</td><td>Task public Id is not in your catalog</td></tr><tr><td>11606</td><td>Aborted too early</td></tr><tr><td>11608</td><td>Task is not abortable</td></tr><tr><td>11614</td><td>Failed to find task</td></tr><tr><td>11618</td><td>TNHclPoolTask Exception</td></tr><tr><td>11621</td><td>An exception occurred while copying a tunable</td></tr><tr><td>11628</td><td>TNHclDriveTask Exception</td></tr><tr><td>11629</td><td>An exception occurred while changing tcp and udp port</td></tr><tr><td>11638</td><td>TNHclLibraryTask Exception</td></tr><tr><td>11648</td><td>Unknown action for this task</td></tr><tr><td>11700</td><td>Invalid cartridge public Id provided</td></tr><tr><td>11704</td><td>Failed to get cartridge integrity status</td></tr><tr><td>11709</td><td>Failed to execute cartridge action</td></tr><tr><td>11719</td><td>Failed to execute action, cartridge is locked</td></tr><tr><td>11804</td><td>Unable to fetch tunable list for this host</td></tr><tr><td>11814</td><td>Unable to Fetch host with this public Id </td></tr><tr><td>11904</td><td>Fail to get M365 easy setup configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11914</td><td>Fail to get ApplianceMode, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11924</td><td>Fail to get Backup Software Configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11925</td><td>Fail to update Backup Software Configuration, Problem occurred while serializing your apache-tomcat configuration file</td></tr><tr><td>11934</td><td>Fail to get Backup Software Configuration Manager. This manager should have been initialized by the servlet in Tomcat web server. (You may be running a test without passing through the web server).</td></tr><tr><td>12004</td><td>Unable to get scheduler information</td></tr><tr><td>12105</td><td>The edition of the password policy failed</td></tr><tr><td>12200</td><td>Invalid user public Id</td></tr><tr><td>12201</td><td>The creation of the user failed</td></tr><tr><td>12204</td><td>Failed to find user</td></tr><tr><td>12205</td><td>The edition of the user failed</td></tr><tr><td>12206</td><td>Some actions failed</td></tr><tr><td>12208</td><td>Authentication error for user</td></tr><tr><td>12210</td><td>Password length is too high</td></tr><tr><td>12214</td><td>User group does not exist</td></tr><tr><td>12215</td><td>Cannot set user group</td></tr><tr><td>12224</td><td>Profile does not exist</td></tr><tr><td>12225</td><td>Cannot set profile</td></tr><tr><td>12234</td><td>Failed to get user list</td></tr><tr><td>12243</td><td>The password change failed as it does not respect password policy</td></tr><tr><td>12244</td><td>Failed to get user</td></tr><tr><td>12245</td><td>The password change failed</td></tr><tr><td>12301</td><td>Unable to convert storage</td></tr><tr><td>12304</td><td>Unable to return storage</td></tr><tr><td>12305</td><td>The edition of drive status failed</td></tr><tr><td>12400</td><td>PrepareRestore failed during Office365NgaSettings xml conversion</td></tr><tr><td>12410</td><td>PrepareRestore unsupported xml version</td></tr><tr><td>12420</td><td>PrepareRestore failed during office365NgaSettings xml conversion due to xml inconsistency</td></tr><tr><td>12430</td><td>PrepareRestore failed during GvaNgaSettings xml conversion</td></tr><tr><td>12440</td><td>PrepareRestore failed during NgaSettings xml conversion</td></tr><tr><td>12504</td><td>Failed to get this content</td></tr><tr><td>12505</td><td>Failed to update nav context</td></tr><tr><td>12510</td><td>Invalid or missing information</td></tr><tr><td>12514</td><td>Failed to get VM's list</td></tr><tr><td>12520</td><td>Empty navigationContentInput provided</td></tr><tr><td>12524</td><td>Failed to get column names list</td></tr><tr><td>12530</td><td>Invalid query param values</td></tr><tr><td>12534</td><td>Failed to get column items list</td></tr><tr><td>12540</td><td>Page index out of bounds</td></tr><tr><td>12544</td><td>Failed to get instances list</td></tr><tr><td>12554</td><td>Unable to get user informations</td></tr><tr><td>12564</td><td>Unable to get valid entry path</td></tr><tr><td>12574</td><td>Unable to get Teams informations</td></tr><tr><td>12584</td><td>Unable to get Sharepoint sites informations</td></tr><tr><td>12600</td><td>InstancesInput can't be null</td></tr><tr><td>12700</td><td>Missing pool public Id</td></tr><tr><td>12704</td><td>Pool not found</td></tr><tr><td>12710</td><td>Invalid category field</td></tr><tr><td>12720</td><td>Missing PoolCreationInput object</td></tr><tr><td>12730</td><td>Missing PoolEditionInput object</td></tr><tr><td>12800</td><td>Invalid alarm public Id</td></tr><tr><td>12809</td><td>Action failed on alarm filter</td></tr><tr><td>12810</td><td>Unknown alarm filter</td></tr><tr><td>12904</td><td>Unable to check deduplication server connection</td></tr><tr><td>12914</td><td>Deduplication server is not alive</td></tr><tr><td>13109</td><td>We are currently unable to start the search</td></tr><tr><td>13209</td><td>Module configuration failed</td></tr><tr><td>13300</td><td>Unknown backup tutor configuration</td></tr><tr><td>13404</td><td>Unable to get licence information</td></tr><tr><td>13405</td><td>Unable to set licence server</td></tr><tr><td>13501</td><td>Application configuration already exist</td></tr><tr><td>13505</td><td>Failed to configure application</td></tr><tr><td>13600</td><td>The Requested log level is unknown</td></tr><tr><td>13604</td><td>Failed to get event list</td></tr><tr><td>13608</td><td>To many requested event. The maximum amount of event by request is 5000</td></tr><tr><td>13700</td><td>Missing Report Configuration public Id</td></tr></tbody></table>","format":"int32"}},"description":"List of error response","xml":{"name":"ErrorResponse"}},"ErrorResponseList":{"type":"object","properties":{"empty":{"type":"boolean"},"errorResponseList":{"type":"array","description":"List of error response","items":{"$ref":"#/components/schemas/ErrorResponse"}}},"xml":{"name":"ErrorResponseList"}}}},"paths":{"/api/pools/{publicId}":{"get":{"tags":["Pools"],"summary":"Get a pool by publicId","description":"Return a pool by its publicId","operationId":"PoolsGet","parameters":[{"name":"publicId","in":"path","description":"Pool publicId from which pool object will be retrieved","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PoolDrive"},{"$ref":"#/components/schemas/PoolDedup"},{"$ref":"#/components/schemas/PoolCloud"},{"$ref":"#/components/schemas/PoolEnhancedDisk"}]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ErrorResponse"},{"$ref":"#/components/schemas/ErrorResponseList"}]}}}},"401":{"description":"Unauthorized: you are not authenticated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"403":{"description":"Forbidden: you are not authorized to use this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"404":{"description":"The resource you were trying to reach is not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"406":{"description":"Not acceptable","content":{"text/plain":{}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Update a pool

> Edit a pool by its publicId

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Pools","description":"Pools management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"PoolEditionInput":{"required":["isRetentionInfinite"],"type":"object","properties":{"prefixCartridge":{"maxLength":1000,"minLength":0,"type":"string","description":"Prefix of cartridges belonging to the changed pool"},"storagePublicIds":{"maxItems":1000,"minItems":0,"type":"array","items":{"type":"string","description":"PublicId(s) of the storage(s) destination, can't be changed for cloud pool, enhanced disk pool, HVDS pool and HSS pool"}},"isRetentionInfinite":{"type":"boolean","description":"Indicates if pool retention is infinite"},"retentionUnit":{"pattern":"^year$|^month$|^week$|^day$|^hour$|","type":"string","description":"Unit of the retention","enum":["year","month","week","day","hour"]},"retentionValue":{"type":"integer","description":"Retention time of the pool (unit depend on RetentionUnit), 0 means 4 hours minimum","format":"int32"},"name":{"maxLength":1000,"minLength":0,"type":"string","description":"Pool name"},"comment":{"maxLength":1000,"minLength":0,"type":"string","description":"Pool comment"}}},"ErrorResponseList":{"type":"object","properties":{"empty":{"type":"boolean"},"errorResponseList":{"type":"array","description":"List of error response","items":{"$ref":"#/components/schemas/ErrorResponse"}}},"xml":{"name":"ErrorResponseList"}},"ErrorResponse":{"type":"object","properties":{"message":{"type":"string","description":"Error message"},"errorCode":{"type":"integer","description":"<table><thead><th>errorCode</th><th>message</th></thead><tbody><tr><td>10000</td><td>Undefined error</td></tr><tr><td>10004</td><td>Host is unreachable</td></tr><tr><td>10014</td><td>Backup software service is unavailable</td></tr><tr><td>10023</td><td>Your catalog is stopped</td></tr><tr><td>10033</td><td>Your catalog is in maintenance</td></tr><tr><td>10043</td><td>Your catalog is suspended</td></tr><tr><td>10053</td><td>Your catalog status is unknown</td></tr><tr><td>10063</td><td>Your catalog is activating</td></tr><tr><td>10073</td><td>Your catalog is inactivating</td></tr><tr><td>10083</td><td>Your catalog is in status 'Init in progress'</td></tr><tr><td>10500</td><td>Incorrect fields has been provided</td></tr><tr><td>10501</td><td>Creation failed</td></tr><tr><td>10503</td><td>Permission denied</td></tr><tr><td>10504</td><td>Retrieve failed</td></tr><tr><td>10505</td><td>Edition failed</td></tr><tr><td>10507</td><td>Deletion failed</td></tr><tr><td>10509</td><td>Operation failed</td></tr><tr><td>10510</td><td>The field must not be empty</td></tr><tr><td>10511</td><td>Objet already exists</td></tr><tr><td>10513</td><td>Token is invalid</td></tr><tr><td>10514</td><td>Objet does not exist</td></tr><tr><td>10519</td><td>Build failed</td></tr><tr><td>10520</td><td>Verification failed</td></tr><tr><td>10523</td><td>Unauthorized to get this content</td></tr><tr><td>10524</td><td>Two Many Retrieved Objects</td></tr><tr><td>10529</td><td>Operation result are unacceptable</td></tr><tr><td>10533</td><td>Connection to the API REST refused. You do not have sufficient rights to access it.</td></tr><tr><td>10543</td><td>Operation is not allowed</td></tr><tr><td>10553</td><td>Code does not match secret</td></tr><tr><td>10563</td><td>Your credentials are not valid</td></tr><tr><td>10570</td><td>Invalid public Id</td></tr><tr><td>10580</td><td>Invalid parameter input provided</td></tr><tr><td>11000</td><td>Invalid Agent public Id</td></tr><tr><td>11003</td><td>Permission denied to get Agent</td></tr><tr><td>11004</td><td>Failed to find Agent</td></tr><tr><td>11010</td><td>Invalid action on Agent</td></tr><tr><td>11019</td><td>Failed to execute action on agent</td></tr><tr><td>11020</td><td>Invalid agent type</td></tr><tr><td>11024</td><td>Failed to get discovered agent system list</td></tr><tr><td>11034</td><td>Failed to get host public Id</td></tr><tr><td>11104</td><td>Failed to get Backup Selection list</td></tr><tr><td>11107</td><td>Operation failed to delete Backup Selection</td></tr><tr><td>11109</td><td>List of Backup Selection where action failed</td></tr><tr><td>11206</td><td>Restore operation was not complete</td></tr><tr><td>11208</td><td>Nothing has been restored, error during preparation</td></tr><tr><td>11209</td><td>Restoration failed</td></tr><tr><td>11300</td><td>Fail to get the result of your http request</td></tr><tr><td>11308</td><td>Fail to parse the result of your http request</td></tr><tr><td>11309</td><td>Fail to open socket for your http request</td></tr><tr><td>11310</td><td>Fail to Build http request with the given parameter </td></tr><tr><td>11400</td><td>Invalid strategy public Id</td></tr><tr><td>11404</td><td>Operation failed to getStrategy</td></tr><tr><td>11409</td><td>List of Strategy where action failed</td></tr><tr><td>11410</td><td>Invalid type for strategy</td></tr><tr><td>11413</td><td>Permission denied to execute action on strategy</td></tr><tr><td>11419</td><td>Failed to execute Strategy</td></tr><tr><td>11420</td><td>Platform does not support this type of strategy</td></tr><tr><td>11429</td><td>Failed to verify action on strategy</td></tr><tr><td>11500</td><td>Failed to get discovered device</td></tr><tr><td>11508</td><td>Failed to generate available name</td></tr><tr><td>11510</td><td>Failed to get existing devices names</td></tr><tr><td>11600</td><td>Invalid task public Id</td></tr><tr><td>11604</td><td>Task public Id is not in your catalog</td></tr><tr><td>11606</td><td>Aborted too early</td></tr><tr><td>11608</td><td>Task is not abortable</td></tr><tr><td>11614</td><td>Failed to find task</td></tr><tr><td>11618</td><td>TNHclPoolTask Exception</td></tr><tr><td>11621</td><td>An exception occurred while copying a tunable</td></tr><tr><td>11628</td><td>TNHclDriveTask Exception</td></tr><tr><td>11629</td><td>An exception occurred while changing tcp and udp port</td></tr><tr><td>11638</td><td>TNHclLibraryTask Exception</td></tr><tr><td>11648</td><td>Unknown action for this task</td></tr><tr><td>11700</td><td>Invalid cartridge public Id provided</td></tr><tr><td>11704</td><td>Failed to get cartridge integrity status</td></tr><tr><td>11709</td><td>Failed to execute cartridge action</td></tr><tr><td>11719</td><td>Failed to execute action, cartridge is locked</td></tr><tr><td>11804</td><td>Unable to fetch tunable list for this host</td></tr><tr><td>11814</td><td>Unable to Fetch host with this public Id </td></tr><tr><td>11904</td><td>Fail to get M365 easy setup configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11914</td><td>Fail to get ApplianceMode, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11924</td><td>Fail to get Backup Software Configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11925</td><td>Fail to update Backup Software Configuration, Problem occurred while serializing your apache-tomcat configuration file</td></tr><tr><td>11934</td><td>Fail to get Backup Software Configuration Manager. This manager should have been initialized by the servlet in Tomcat web server. (You may be running a test without passing through the web server).</td></tr><tr><td>12004</td><td>Unable to get scheduler information</td></tr><tr><td>12105</td><td>The edition of the password policy failed</td></tr><tr><td>12200</td><td>Invalid user public Id</td></tr><tr><td>12201</td><td>The creation of the user failed</td></tr><tr><td>12204</td><td>Failed to find user</td></tr><tr><td>12205</td><td>The edition of the user failed</td></tr><tr><td>12206</td><td>Some actions failed</td></tr><tr><td>12208</td><td>Authentication error for user</td></tr><tr><td>12210</td><td>Password length is too high</td></tr><tr><td>12214</td><td>User group does not exist</td></tr><tr><td>12215</td><td>Cannot set user group</td></tr><tr><td>12224</td><td>Profile does not exist</td></tr><tr><td>12225</td><td>Cannot set profile</td></tr><tr><td>12234</td><td>Failed to get user list</td></tr><tr><td>12243</td><td>The password change failed as it does not respect password policy</td></tr><tr><td>12244</td><td>Failed to get user</td></tr><tr><td>12245</td><td>The password change failed</td></tr><tr><td>12301</td><td>Unable to convert storage</td></tr><tr><td>12304</td><td>Unable to return storage</td></tr><tr><td>12305</td><td>The edition of drive status failed</td></tr><tr><td>12400</td><td>PrepareRestore failed during Office365NgaSettings xml conversion</td></tr><tr><td>12410</td><td>PrepareRestore unsupported xml version</td></tr><tr><td>12420</td><td>PrepareRestore failed during office365NgaSettings xml conversion due to xml inconsistency</td></tr><tr><td>12430</td><td>PrepareRestore failed during GvaNgaSettings xml conversion</td></tr><tr><td>12440</td><td>PrepareRestore failed during NgaSettings xml conversion</td></tr><tr><td>12504</td><td>Failed to get this content</td></tr><tr><td>12505</td><td>Failed to update nav context</td></tr><tr><td>12510</td><td>Invalid or missing information</td></tr><tr><td>12514</td><td>Failed to get VM's list</td></tr><tr><td>12520</td><td>Empty navigationContentInput provided</td></tr><tr><td>12524</td><td>Failed to get column names list</td></tr><tr><td>12530</td><td>Invalid query param values</td></tr><tr><td>12534</td><td>Failed to get column items list</td></tr><tr><td>12540</td><td>Page index out of bounds</td></tr><tr><td>12544</td><td>Failed to get instances list</td></tr><tr><td>12554</td><td>Unable to get user informations</td></tr><tr><td>12564</td><td>Unable to get valid entry path</td></tr><tr><td>12574</td><td>Unable to get Teams informations</td></tr><tr><td>12584</td><td>Unable to get Sharepoint sites informations</td></tr><tr><td>12600</td><td>InstancesInput can't be null</td></tr><tr><td>12700</td><td>Missing pool public Id</td></tr><tr><td>12704</td><td>Pool not found</td></tr><tr><td>12710</td><td>Invalid category field</td></tr><tr><td>12720</td><td>Missing PoolCreationInput object</td></tr><tr><td>12730</td><td>Missing PoolEditionInput object</td></tr><tr><td>12800</td><td>Invalid alarm public Id</td></tr><tr><td>12809</td><td>Action failed on alarm filter</td></tr><tr><td>12810</td><td>Unknown alarm filter</td></tr><tr><td>12904</td><td>Unable to check deduplication server connection</td></tr><tr><td>12914</td><td>Deduplication server is not alive</td></tr><tr><td>13109</td><td>We are currently unable to start the search</td></tr><tr><td>13209</td><td>Module configuration failed</td></tr><tr><td>13300</td><td>Unknown backup tutor configuration</td></tr><tr><td>13404</td><td>Unable to get licence information</td></tr><tr><td>13405</td><td>Unable to set licence server</td></tr><tr><td>13501</td><td>Application configuration already exist</td></tr><tr><td>13505</td><td>Failed to configure application</td></tr><tr><td>13600</td><td>The Requested log level is unknown</td></tr><tr><td>13604</td><td>Failed to get event list</td></tr><tr><td>13608</td><td>To many requested event. The maximum amount of event by request is 5000</td></tr><tr><td>13700</td><td>Missing Report Configuration public Id</td></tr></tbody></table>","format":"int32"}},"description":"List of error response","xml":{"name":"ErrorResponse"}}}},"paths":{"/api/pools/{publicId}":{"put":{"tags":["Pools"],"summary":"Update a pool","description":"Edit a pool by its publicId","operationId":"PoolsEdit","parameters":[{"name":"publicId","in":"path","description":"Pool publicId to update","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PoolEditionInput"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"401":{"description":"Unauthorized: you are not authenticated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"403":{"description":"Forbidden: you are not authorized to use this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"404":{"description":"The resource you were trying to reach is not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"406":{"description":"Not acceptable","content":{"text/plain":{}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Get cartridges list of a pool

> Return the list of cartridges associated to a pool identified by its publicId

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Pools","description":"Pools management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"Cartridge":{"type":"object","properties":{"publicId":{"type":"string","description":"Cartridge public id"},"availableActions":{"type":"array","items":{"type":"string","description":"List of available action for this cartridge","enum":["Close","Delete","Duplicate","AutoOffline","Recycle","Reopen","Spare"]}},"remainingRetentionTime":{"type":"integer","description":"Remaining retention time in seconds","format":"int64"},"highestAlarm":{"type":"string","description":"Highest alarm associated to the cartridge","enum":["SEVERITY_MINOR","SEVERITY_MAJOR","SEVERITY_CRITICAL"]},"nbCartFile":{"type":"integer","description":"Number of \"tape file\" on the cartridge","format":"int64"},"lastBackupDate":{"type":"string","description":"Last use date of this cartridge in a backup","format":"date-time"},"retentionTime":{"type":"integer","description":"Retention time of the cartridge in seconds (0 means infinite retention)","format":"int64"},"barcode":{"type":"string","description":"Cartridge barcode"},"fillingStatus":{"type":"string","description":"Filling status of cartridge","enum":["EMPTY","PARTIAL","FULL","ERROR","EMPTIED"]},"volume":{"type":"integer","description":"Tape volume in bytes","format":"int64"},"writtenVolume":{"type":"integer","description":"Written volume in bytes","format":"int64"},"readVolume":{"type":"integer","description":"Read volume in bytes","format":"int64"},"totalTimeUsed":{"type":"integer","description":"Total used time in seconds","format":"int64"},"lastUseMode":{"type":"integer","description":"CREATE = 0; \nREAD = 1   \nWRITE = 2  \nDELETE = 3 \nUNKNOWN = 4\nNONE = 5","format":"int32","enum":[0,1,2,3,4,5]},"nbUse":{"type":"integer","description":"Number of usage of the cartridge since last recycle","format":"int32"},"nbRecycle":{"type":"integer","description":"Number of time the cartridge has been recycled","format":"int64"},"cruleName":{"type":"string","description":"Name of the cypher rule"},"lastRecycleDate":{"type":"string","description":"Last recycle date of the cartridge","format":"date-time"},"hasRetention":{"type":"boolean","description":"If true, retention period is defined. False means that the retention is infinite (no cycling)."},"typeString":{"type":"string","description":"Drive type string representation"},"retentionType":{"type":"string","description":"Cartridge retention type","enum":["CYCLING","NO_RETENTION","INFINITE"]},"lastUseDate":{"type":"string","description":"Date of the last cartridge usage (create, read, write, delete)","format":"date-time"},"isLocked":{"type":"boolean","description":"Indicates if a cartridge is locked"},"name":{"type":"string","description":"Cartridge name"},"location":{"type":"string","description":"Cartridge location"},"type":{"maximum":109,"minimum":0,"type":"integer","description":"Drive type : DAT           =0    \nMGOP          =1    \nEXABYTE 2GO   =2    \n...","format":"int32"},"format":{"type":"string","description":"Cartridge format","enum":["NONE","TINA","TAR","CPIO","TINA2","TINA3","TINA4","TINA5","SIDF","UNKNOWN"]},"comment":{"type":"string","description":"Comment about the cartridge"},"status":{"type":"string","description":"Status of cartridge","enum":["OPENED","CLOSED_BY_USER","CLOSED_ON_INIT","CLOSED_ON_ERROR","CLOSED_BY_COMPLIANCE"]}},"description":"Cartridge of the library location","xml":{"name":"Cartridge"}},"ErrorResponse":{"type":"object","properties":{"message":{"type":"string","description":"Error message"},"errorCode":{"type":"integer","description":"<table><thead><th>errorCode</th><th>message</th></thead><tbody><tr><td>10000</td><td>Undefined error</td></tr><tr><td>10004</td><td>Host is unreachable</td></tr><tr><td>10014</td><td>Backup software service is unavailable</td></tr><tr><td>10023</td><td>Your catalog is stopped</td></tr><tr><td>10033</td><td>Your catalog is in maintenance</td></tr><tr><td>10043</td><td>Your catalog is suspended</td></tr><tr><td>10053</td><td>Your catalog status is unknown</td></tr><tr><td>10063</td><td>Your catalog is activating</td></tr><tr><td>10073</td><td>Your catalog is inactivating</td></tr><tr><td>10083</td><td>Your catalog is in status 'Init in progress'</td></tr><tr><td>10500</td><td>Incorrect fields has been provided</td></tr><tr><td>10501</td><td>Creation failed</td></tr><tr><td>10503</td><td>Permission denied</td></tr><tr><td>10504</td><td>Retrieve failed</td></tr><tr><td>10505</td><td>Edition failed</td></tr><tr><td>10507</td><td>Deletion failed</td></tr><tr><td>10509</td><td>Operation failed</td></tr><tr><td>10510</td><td>The field must not be empty</td></tr><tr><td>10511</td><td>Objet already exists</td></tr><tr><td>10513</td><td>Token is invalid</td></tr><tr><td>10514</td><td>Objet does not exist</td></tr><tr><td>10519</td><td>Build failed</td></tr><tr><td>10520</td><td>Verification failed</td></tr><tr><td>10523</td><td>Unauthorized to get this content</td></tr><tr><td>10524</td><td>Two Many Retrieved Objects</td></tr><tr><td>10529</td><td>Operation result are unacceptable</td></tr><tr><td>10533</td><td>Connection to the API REST refused. You do not have sufficient rights to access it.</td></tr><tr><td>10543</td><td>Operation is not allowed</td></tr><tr><td>10553</td><td>Code does not match secret</td></tr><tr><td>10563</td><td>Your credentials are not valid</td></tr><tr><td>10570</td><td>Invalid public Id</td></tr><tr><td>10580</td><td>Invalid parameter input provided</td></tr><tr><td>11000</td><td>Invalid Agent public Id</td></tr><tr><td>11003</td><td>Permission denied to get Agent</td></tr><tr><td>11004</td><td>Failed to find Agent</td></tr><tr><td>11010</td><td>Invalid action on Agent</td></tr><tr><td>11019</td><td>Failed to execute action on agent</td></tr><tr><td>11020</td><td>Invalid agent type</td></tr><tr><td>11024</td><td>Failed to get discovered agent system list</td></tr><tr><td>11034</td><td>Failed to get host public Id</td></tr><tr><td>11104</td><td>Failed to get Backup Selection list</td></tr><tr><td>11107</td><td>Operation failed to delete Backup Selection</td></tr><tr><td>11109</td><td>List of Backup Selection where action failed</td></tr><tr><td>11206</td><td>Restore operation was not complete</td></tr><tr><td>11208</td><td>Nothing has been restored, error during preparation</td></tr><tr><td>11209</td><td>Restoration failed</td></tr><tr><td>11300</td><td>Fail to get the result of your http request</td></tr><tr><td>11308</td><td>Fail to parse the result of your http request</td></tr><tr><td>11309</td><td>Fail to open socket for your http request</td></tr><tr><td>11310</td><td>Fail to Build http request with the given parameter </td></tr><tr><td>11400</td><td>Invalid strategy public Id</td></tr><tr><td>11404</td><td>Operation failed to getStrategy</td></tr><tr><td>11409</td><td>List of Strategy where action failed</td></tr><tr><td>11410</td><td>Invalid type for strategy</td></tr><tr><td>11413</td><td>Permission denied to execute action on strategy</td></tr><tr><td>11419</td><td>Failed to execute Strategy</td></tr><tr><td>11420</td><td>Platform does not support this type of strategy</td></tr><tr><td>11429</td><td>Failed to verify action on strategy</td></tr><tr><td>11500</td><td>Failed to get discovered device</td></tr><tr><td>11508</td><td>Failed to generate available name</td></tr><tr><td>11510</td><td>Failed to get existing devices names</td></tr><tr><td>11600</td><td>Invalid task public Id</td></tr><tr><td>11604</td><td>Task public Id is not in your catalog</td></tr><tr><td>11606</td><td>Aborted too early</td></tr><tr><td>11608</td><td>Task is not abortable</td></tr><tr><td>11614</td><td>Failed to find task</td></tr><tr><td>11618</td><td>TNHclPoolTask Exception</td></tr><tr><td>11621</td><td>An exception occurred while copying a tunable</td></tr><tr><td>11628</td><td>TNHclDriveTask Exception</td></tr><tr><td>11629</td><td>An exception occurred while changing tcp and udp port</td></tr><tr><td>11638</td><td>TNHclLibraryTask Exception</td></tr><tr><td>11648</td><td>Unknown action for this task</td></tr><tr><td>11700</td><td>Invalid cartridge public Id provided</td></tr><tr><td>11704</td><td>Failed to get cartridge integrity status</td></tr><tr><td>11709</td><td>Failed to execute cartridge action</td></tr><tr><td>11719</td><td>Failed to execute action, cartridge is locked</td></tr><tr><td>11804</td><td>Unable to fetch tunable list for this host</td></tr><tr><td>11814</td><td>Unable to Fetch host with this public Id </td></tr><tr><td>11904</td><td>Fail to get M365 easy setup configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11914</td><td>Fail to get ApplianceMode, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11924</td><td>Fail to get Backup Software Configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11925</td><td>Fail to update Backup Software Configuration, Problem occurred while serializing your apache-tomcat configuration file</td></tr><tr><td>11934</td><td>Fail to get Backup Software Configuration Manager. This manager should have been initialized by the servlet in Tomcat web server. (You may be running a test without passing through the web server).</td></tr><tr><td>12004</td><td>Unable to get scheduler information</td></tr><tr><td>12105</td><td>The edition of the password policy failed</td></tr><tr><td>12200</td><td>Invalid user public Id</td></tr><tr><td>12201</td><td>The creation of the user failed</td></tr><tr><td>12204</td><td>Failed to find user</td></tr><tr><td>12205</td><td>The edition of the user failed</td></tr><tr><td>12206</td><td>Some actions failed</td></tr><tr><td>12208</td><td>Authentication error for user</td></tr><tr><td>12210</td><td>Password length is too high</td></tr><tr><td>12214</td><td>User group does not exist</td></tr><tr><td>12215</td><td>Cannot set user group</td></tr><tr><td>12224</td><td>Profile does not exist</td></tr><tr><td>12225</td><td>Cannot set profile</td></tr><tr><td>12234</td><td>Failed to get user list</td></tr><tr><td>12243</td><td>The password change failed as it does not respect password policy</td></tr><tr><td>12244</td><td>Failed to get user</td></tr><tr><td>12245</td><td>The password change failed</td></tr><tr><td>12301</td><td>Unable to convert storage</td></tr><tr><td>12304</td><td>Unable to return storage</td></tr><tr><td>12305</td><td>The edition of drive status failed</td></tr><tr><td>12400</td><td>PrepareRestore failed during Office365NgaSettings xml conversion</td></tr><tr><td>12410</td><td>PrepareRestore unsupported xml version</td></tr><tr><td>12420</td><td>PrepareRestore failed during office365NgaSettings xml conversion due to xml inconsistency</td></tr><tr><td>12430</td><td>PrepareRestore failed during GvaNgaSettings xml conversion</td></tr><tr><td>12440</td><td>PrepareRestore failed during NgaSettings xml conversion</td></tr><tr><td>12504</td><td>Failed to get this content</td></tr><tr><td>12505</td><td>Failed to update nav context</td></tr><tr><td>12510</td><td>Invalid or missing information</td></tr><tr><td>12514</td><td>Failed to get VM's list</td></tr><tr><td>12520</td><td>Empty navigationContentInput provided</td></tr><tr><td>12524</td><td>Failed to get column names list</td></tr><tr><td>12530</td><td>Invalid query param values</td></tr><tr><td>12534</td><td>Failed to get column items list</td></tr><tr><td>12540</td><td>Page index out of bounds</td></tr><tr><td>12544</td><td>Failed to get instances list</td></tr><tr><td>12554</td><td>Unable to get user informations</td></tr><tr><td>12564</td><td>Unable to get valid entry path</td></tr><tr><td>12574</td><td>Unable to get Teams informations</td></tr><tr><td>12584</td><td>Unable to get Sharepoint sites informations</td></tr><tr><td>12600</td><td>InstancesInput can't be null</td></tr><tr><td>12700</td><td>Missing pool public Id</td></tr><tr><td>12704</td><td>Pool not found</td></tr><tr><td>12710</td><td>Invalid category field</td></tr><tr><td>12720</td><td>Missing PoolCreationInput object</td></tr><tr><td>12730</td><td>Missing PoolEditionInput object</td></tr><tr><td>12800</td><td>Invalid alarm public Id</td></tr><tr><td>12809</td><td>Action failed on alarm filter</td></tr><tr><td>12810</td><td>Unknown alarm filter</td></tr><tr><td>12904</td><td>Unable to check deduplication server connection</td></tr><tr><td>12914</td><td>Deduplication server is not alive</td></tr><tr><td>13109</td><td>We are currently unable to start the search</td></tr><tr><td>13209</td><td>Module configuration failed</td></tr><tr><td>13300</td><td>Unknown backup tutor configuration</td></tr><tr><td>13404</td><td>Unable to get licence information</td></tr><tr><td>13405</td><td>Unable to set licence server</td></tr><tr><td>13501</td><td>Application configuration already exist</td></tr><tr><td>13505</td><td>Failed to configure application</td></tr><tr><td>13600</td><td>The Requested log level is unknown</td></tr><tr><td>13604</td><td>Failed to get event list</td></tr><tr><td>13608</td><td>To many requested event. The maximum amount of event by request is 5000</td></tr><tr><td>13700</td><td>Missing Report Configuration public Id</td></tr></tbody></table>","format":"int32"}},"description":"List of error response","xml":{"name":"ErrorResponse"}},"ErrorResponseList":{"type":"object","properties":{"empty":{"type":"boolean"},"errorResponseList":{"type":"array","description":"List of error response","items":{"$ref":"#/components/schemas/ErrorResponse"}}},"xml":{"name":"ErrorResponseList"}}}},"paths":{"/api/pools/{publicId}/cartridges":{"get":{"tags":["Pools"],"summary":"Get cartridges list of a pool","description":"Return the list of cartridges associated to a pool identified by its publicId","operationId":"PoolsCartridges","parameters":[{"name":"publicId","in":"path","description":"Pool publicId from which cartridge list will be retrieved","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Cartridge"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ErrorResponse"},{"$ref":"#/components/schemas/ErrorResponseList"}]}}}},"401":{"description":"Unauthorized: you are not authenticated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"403":{"description":"Forbidden: you are not authorized to use this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"404":{"description":"The resource you were trying to reach is not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"406":{"description":"Not acceptable","content":{"text/plain":{}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Pools actions

> Perform action on selected pools

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Pools","description":"Pools management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"PoolActionInputDelete":{"required":["actionName"],"type":"object","properties":{"publicIds":{"type":"array","items":{"type":"string","description":"List of public id of pool to delete"}},"actionName":{"type":"string","description":"Name of the action: Delete","enum":["Delete"]}},"xml":{"name":"Action"}},"PoolActionInputLabelize":{"required":["actionName"],"type":"object","properties":{"publicIds":{"type":"array","items":{"type":"string","description":"List of public id of pool to labelize"}},"payload":{"$ref":"#/components/schemas/LabelizeCartridgeActionParameters"},"actionName":{"type":"string","description":"Name of the action: Labelize","enum":["Labelize"]}},"xml":{"name":"Action"}},"LabelizeCartridgeActionParameters":{"required":["cartridgesNumber"],"type":"object","properties":{"cartridgesNumber":{"maximum":10,"minimum":1,"type":"integer","description":"Number of cartridges","format":"int32"}}},"ErrorResponseList":{"type":"object","properties":{"empty":{"type":"boolean"},"errorResponseList":{"type":"array","description":"List of error response","items":{"$ref":"#/components/schemas/ErrorResponse"}}},"xml":{"name":"ErrorResponseList"}},"ErrorResponse":{"type":"object","properties":{"message":{"type":"string","description":"Error message"},"errorCode":{"type":"integer","description":"<table><thead><th>errorCode</th><th>message</th></thead><tbody><tr><td>10000</td><td>Undefined error</td></tr><tr><td>10004</td><td>Host is unreachable</td></tr><tr><td>10014</td><td>Backup software service is unavailable</td></tr><tr><td>10023</td><td>Your catalog is stopped</td></tr><tr><td>10033</td><td>Your catalog is in maintenance</td></tr><tr><td>10043</td><td>Your catalog is suspended</td></tr><tr><td>10053</td><td>Your catalog status is unknown</td></tr><tr><td>10063</td><td>Your catalog is activating</td></tr><tr><td>10073</td><td>Your catalog is inactivating</td></tr><tr><td>10083</td><td>Your catalog is in status 'Init in progress'</td></tr><tr><td>10500</td><td>Incorrect fields has been provided</td></tr><tr><td>10501</td><td>Creation failed</td></tr><tr><td>10503</td><td>Permission denied</td></tr><tr><td>10504</td><td>Retrieve failed</td></tr><tr><td>10505</td><td>Edition failed</td></tr><tr><td>10507</td><td>Deletion failed</td></tr><tr><td>10509</td><td>Operation failed</td></tr><tr><td>10510</td><td>The field must not be empty</td></tr><tr><td>10511</td><td>Objet already exists</td></tr><tr><td>10513</td><td>Token is invalid</td></tr><tr><td>10514</td><td>Objet does not exist</td></tr><tr><td>10519</td><td>Build failed</td></tr><tr><td>10520</td><td>Verification failed</td></tr><tr><td>10523</td><td>Unauthorized to get this content</td></tr><tr><td>10524</td><td>Two Many Retrieved Objects</td></tr><tr><td>10529</td><td>Operation result are unacceptable</td></tr><tr><td>10533</td><td>Connection to the API REST refused. You do not have sufficient rights to access it.</td></tr><tr><td>10543</td><td>Operation is not allowed</td></tr><tr><td>10553</td><td>Code does not match secret</td></tr><tr><td>10563</td><td>Your credentials are not valid</td></tr><tr><td>10570</td><td>Invalid public Id</td></tr><tr><td>10580</td><td>Invalid parameter input provided</td></tr><tr><td>11000</td><td>Invalid Agent public Id</td></tr><tr><td>11003</td><td>Permission denied to get Agent</td></tr><tr><td>11004</td><td>Failed to find Agent</td></tr><tr><td>11010</td><td>Invalid action on Agent</td></tr><tr><td>11019</td><td>Failed to execute action on agent</td></tr><tr><td>11020</td><td>Invalid agent type</td></tr><tr><td>11024</td><td>Failed to get discovered agent system list</td></tr><tr><td>11034</td><td>Failed to get host public Id</td></tr><tr><td>11104</td><td>Failed to get Backup Selection list</td></tr><tr><td>11107</td><td>Operation failed to delete Backup Selection</td></tr><tr><td>11109</td><td>List of Backup Selection where action failed</td></tr><tr><td>11206</td><td>Restore operation was not complete</td></tr><tr><td>11208</td><td>Nothing has been restored, error during preparation</td></tr><tr><td>11209</td><td>Restoration failed</td></tr><tr><td>11300</td><td>Fail to get the result of your http request</td></tr><tr><td>11308</td><td>Fail to parse the result of your http request</td></tr><tr><td>11309</td><td>Fail to open socket for your http request</td></tr><tr><td>11310</td><td>Fail to Build http request with the given parameter </td></tr><tr><td>11400</td><td>Invalid strategy public Id</td></tr><tr><td>11404</td><td>Operation failed to getStrategy</td></tr><tr><td>11409</td><td>List of Strategy where action failed</td></tr><tr><td>11410</td><td>Invalid type for strategy</td></tr><tr><td>11413</td><td>Permission denied to execute action on strategy</td></tr><tr><td>11419</td><td>Failed to execute Strategy</td></tr><tr><td>11420</td><td>Platform does not support this type of strategy</td></tr><tr><td>11429</td><td>Failed to verify action on strategy</td></tr><tr><td>11500</td><td>Failed to get discovered device</td></tr><tr><td>11508</td><td>Failed to generate available name</td></tr><tr><td>11510</td><td>Failed to get existing devices names</td></tr><tr><td>11600</td><td>Invalid task public Id</td></tr><tr><td>11604</td><td>Task public Id is not in your catalog</td></tr><tr><td>11606</td><td>Aborted too early</td></tr><tr><td>11608</td><td>Task is not abortable</td></tr><tr><td>11614</td><td>Failed to find task</td></tr><tr><td>11618</td><td>TNHclPoolTask Exception</td></tr><tr><td>11621</td><td>An exception occurred while copying a tunable</td></tr><tr><td>11628</td><td>TNHclDriveTask Exception</td></tr><tr><td>11629</td><td>An exception occurred while changing tcp and udp port</td></tr><tr><td>11638</td><td>TNHclLibraryTask Exception</td></tr><tr><td>11648</td><td>Unknown action for this task</td></tr><tr><td>11700</td><td>Invalid cartridge public Id provided</td></tr><tr><td>11704</td><td>Failed to get cartridge integrity status</td></tr><tr><td>11709</td><td>Failed to execute cartridge action</td></tr><tr><td>11719</td><td>Failed to execute action, cartridge is locked</td></tr><tr><td>11804</td><td>Unable to fetch tunable list for this host</td></tr><tr><td>11814</td><td>Unable to Fetch host with this public Id </td></tr><tr><td>11904</td><td>Fail to get M365 easy setup configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11914</td><td>Fail to get ApplianceMode, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11924</td><td>Fail to get Backup Software Configuration, there is/are problem(s) in your apache-tomcat configuration file</td></tr><tr><td>11925</td><td>Fail to update Backup Software Configuration, Problem occurred while serializing your apache-tomcat configuration file</td></tr><tr><td>11934</td><td>Fail to get Backup Software Configuration Manager. This manager should have been initialized by the servlet in Tomcat web server. (You may be running a test without passing through the web server).</td></tr><tr><td>12004</td><td>Unable to get scheduler information</td></tr><tr><td>12105</td><td>The edition of the password policy failed</td></tr><tr><td>12200</td><td>Invalid user public Id</td></tr><tr><td>12201</td><td>The creation of the user failed</td></tr><tr><td>12204</td><td>Failed to find user</td></tr><tr><td>12205</td><td>The edition of the user failed</td></tr><tr><td>12206</td><td>Some actions failed</td></tr><tr><td>12208</td><td>Authentication error for user</td></tr><tr><td>12210</td><td>Password length is too high</td></tr><tr><td>12214</td><td>User group does not exist</td></tr><tr><td>12215</td><td>Cannot set user group</td></tr><tr><td>12224</td><td>Profile does not exist</td></tr><tr><td>12225</td><td>Cannot set profile</td></tr><tr><td>12234</td><td>Failed to get user list</td></tr><tr><td>12243</td><td>The password change failed as it does not respect password policy</td></tr><tr><td>12244</td><td>Failed to get user</td></tr><tr><td>12245</td><td>The password change failed</td></tr><tr><td>12301</td><td>Unable to convert storage</td></tr><tr><td>12304</td><td>Unable to return storage</td></tr><tr><td>12305</td><td>The edition of drive status failed</td></tr><tr><td>12400</td><td>PrepareRestore failed during Office365NgaSettings xml conversion</td></tr><tr><td>12410</td><td>PrepareRestore unsupported xml version</td></tr><tr><td>12420</td><td>PrepareRestore failed during office365NgaSettings xml conversion due to xml inconsistency</td></tr><tr><td>12430</td><td>PrepareRestore failed during GvaNgaSettings xml conversion</td></tr><tr><td>12440</td><td>PrepareRestore failed during NgaSettings xml conversion</td></tr><tr><td>12504</td><td>Failed to get this content</td></tr><tr><td>12505</td><td>Failed to update nav context</td></tr><tr><td>12510</td><td>Invalid or missing information</td></tr><tr><td>12514</td><td>Failed to get VM's list</td></tr><tr><td>12520</td><td>Empty navigationContentInput provided</td></tr><tr><td>12524</td><td>Failed to get column names list</td></tr><tr><td>12530</td><td>Invalid query param values</td></tr><tr><td>12534</td><td>Failed to get column items list</td></tr><tr><td>12540</td><td>Page index out of bounds</td></tr><tr><td>12544</td><td>Failed to get instances list</td></tr><tr><td>12554</td><td>Unable to get user informations</td></tr><tr><td>12564</td><td>Unable to get valid entry path</td></tr><tr><td>12574</td><td>Unable to get Teams informations</td></tr><tr><td>12584</td><td>Unable to get Sharepoint sites informations</td></tr><tr><td>12600</td><td>InstancesInput can't be null</td></tr><tr><td>12700</td><td>Missing pool public Id</td></tr><tr><td>12704</td><td>Pool not found</td></tr><tr><td>12710</td><td>Invalid category field</td></tr><tr><td>12720</td><td>Missing PoolCreationInput object</td></tr><tr><td>12730</td><td>Missing PoolEditionInput object</td></tr><tr><td>12800</td><td>Invalid alarm public Id</td></tr><tr><td>12809</td><td>Action failed on alarm filter</td></tr><tr><td>12810</td><td>Unknown alarm filter</td></tr><tr><td>12904</td><td>Unable to check deduplication server connection</td></tr><tr><td>12914</td><td>Deduplication server is not alive</td></tr><tr><td>13109</td><td>We are currently unable to start the search</td></tr><tr><td>13209</td><td>Module configuration failed</td></tr><tr><td>13300</td><td>Unknown backup tutor configuration</td></tr><tr><td>13404</td><td>Unable to get licence information</td></tr><tr><td>13405</td><td>Unable to set licence server</td></tr><tr><td>13501</td><td>Application configuration already exist</td></tr><tr><td>13505</td><td>Failed to configure application</td></tr><tr><td>13600</td><td>The Requested log level is unknown</td></tr><tr><td>13604</td><td>Failed to get event list</td></tr><tr><td>13608</td><td>To many requested event. The maximum amount of event by request is 5000</td></tr><tr><td>13700</td><td>Missing Report Configuration public Id</td></tr></tbody></table>","format":"int32"}},"description":"List of error response","xml":{"name":"ErrorResponse"}}}},"paths":{"/api/pools/actions":{"put":{"tags":["Actions","Pools"],"summary":"Pools actions","description":"Perform action on selected pools","operationId":"PoolsAction","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/PoolActionInputDelete"},{"$ref":"#/components/schemas/PoolActionInputLabelize"}]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{}}},"204":{"description":"No Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized: you are not authenticated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"403":{"description":"Forbidden: you are not authorized to use this resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"404":{"description":"The resource you were trying to reach is not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"406":{"description":"Not acceptable","content":{"text/plain":{}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```


---

# 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/tina-4.9.5/tina-4.9.5-en/version-information/rest-api-reference/pools.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.
