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

# Agents

Agents management

## Get the list of compatible host types

> Return the list of all compatible host types with the specifed application

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"Agent":{"type":"object","properties":{"category":{"type":"string","description":"Agent category","enum":["HOST","APPLICATION"]},"name":{"type":"string","description":"Full platform name (host or application)"},"osType":{"$ref":"#/components/schemas/EnvVar"},"applicationType":{"$ref":"#/components/schemas/EnvVar"},"comment":{"type":"string","description":"Agent comment"},"softwareVersion":{"type":"string","description":"Backup software version of the system"},"publicId":{"type":"string","description":"Agent public Id"},"isStorageNode":{"type":"boolean","description":"The host is a storage node (host only)"},"isSecured":{"type":"boolean","description":"The host is secured (host only)"},"definedStratList":{"type":"array","items":{"type":"string","description":"Strategies defined on this agent","enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D"]}},"activeStratList":{"type":"array","items":{"type":"string","description":"Active Strategies on this agent","enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D"]}},"hostName":{"type":"string","description":"Host name"},"hostId":{"type":"string","description":"Host Id"},"isEnabled":{"type":"boolean","description":"Indicates if the agent is enabled"},"isServer":{"type":"boolean","description":"Indicates if the agent is a server"},"isUnix":{"type":"boolean","description":"Indicates if the agent has a Unix OS"},"isWindows":{"type":"boolean","description":"Indicates if the agent has a Windows OS"},"isBackupable":{"type":"boolean","description":"Indicates if the agent is backup-able"},"canStartBackupA":{"type":"boolean"},"canStartBackupB":{"type":"boolean"},"canStartBackupC":{"type":"boolean"},"canStartBackupD":{"type":"boolean"},"isRestorable":{"type":"boolean","description":"Indicates if the agent is restorable"},"hasTinaProtocol":{"type":"boolean","description":"Indicates if the agent has Tina protocol"},"hasNdmpProtocol":{"type":"boolean","description":"Indicates if the agent has NDMP protocol"},"canCreateStandardStrategy":{"type":"boolean","description":"Indicates if the agent can create standard strategy"},"canCreateSnapshotStrategy":{"type":"boolean","description":"Indicates if the agent can create snapshot strategy"},"canCreateDeduplicationStrategy":{"type":"boolean","description":"Indicates if the agent can create deduplication strategy"},"canCreateCloudStrategy":{"type":"boolean","description":"Indicates if the agent can create cloud strategy"},"canCreateEnhancedDiskStrategy":{"type":"boolean","description":"Indicates if the agent can create enhanced disk strategy"},"canCreateStreamStrategy":{"type":"boolean","description":"Indicates if the agent can create stream deduplication strategy"},"canUseTrustedAuthentication":{"type":"boolean","description":"Indicates if the agent can use trusted authentication, only available when software backup is configure in appliance mode"},"highestAlarm":{"type":"string","description":"Highest alarm associated to Agent","enum":["SEVERITY_MINOR","SEVERITY_MAJOR","SEVERITY_CRITICAL"]},"summaryStratList":{"type":"array","items":{"$ref":"#/components/schemas/SummaryStrategy"}},"availableActions":{"type":"array","items":{"type":"string","description":"Available actions on the agent","enum":["CheckConnection","AgentDelete","Disable","Enable","StartBackup","StartRestore"]}},"backupSelectionList":{"type":"array","items":{"$ref":"#/components/schemas/BackupSelection"}}},"xml":{"name":"Agent"}},"EnvVar":{"type":"object","properties":{"name":{"type":"string","description":"Environment variable name"},"value":{"type":"string","description":"Environment variable value"}},"description":"Tuplet name/value","xml":{"name":"EnvVar"}},"SummaryStrategy":{"type":"object","properties":{"name":{"type":"string","description":"Strategy Name","enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D"]},"publicId":{"type":"string"},"isActive":{"type":"boolean"},"isFullActive":{"type":"boolean"},"isIncrActive":{"type":"boolean"}},"description":"Summary of the strategies set on this agent","xml":{"name":"SummaryStrategy"},"enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D"]},"BackupSelection":{"type":"object","properties":{"availableActions":{"type":"array","items":{"type":"string","description":"Available action name","enum":["Delete","BulkEdition"]}},"secured":{"type":"boolean","description":"Indicates if the backup selection is secured"},"filtered":{"type":"boolean","description":"Indicates if the backup selection is filtered"},"publicId":{"type":"string","description":"Backup selection public Id"},"agentName":{"type":"string","description":"Name of the agent where the backup selection is defined"},"securedVolume":{"type":"integer","description":"Volume in bytes secured by this backup selection","format":"int64"},"path":{"type":"string","description":"Path of Backup Selection"},"strategyList":{"type":"array","items":{"type":"string","description":"Strategy name","enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D"]}}},"xml":{"name":"BackupSelection"}},"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/agents/application-types/{applicationTypeId}/compatible-host-types":{"get":{"tags":["List","Agents"],"summary":"Get the list of compatible host types","description":"Return the list of all compatible host types with the specifed application","operationId":"CompatibleHostTypes","parameters":[{"name":"applicationTypeId","in":"path","description":" Application type Id from which available host types will be retrieved","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"List  of host types","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Agent"}}}}},"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":{}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Get alarms filter list

> Return the list of all alarms filter

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"AlarmFilter":{"type":"object","properties":{"publicId":{"type":"string","description":"Alarm filter publicId"},"path":{"type":"string","description":"Alarm filter path"},"isEnabled":{"type":"boolean","description":"'true' if the Alarm filter is enable"},"comment":{"type":"string","description":"Alarm filter comment"},"catalogs":{"type":"array","items":{"type":"string","description":"List of catalog(s) name(s) affected by the Alarm filter, '*' means all catalogs","default":"*"}},"alarmFilterType":{"type":"string","description":"Alarm filter for file or reparse point (symbolic links)","enum":["FILE","REPARSE_POINT"]},"availableActions":{"type":"array","items":{"type":"string","enum":["Delete","Disable","Enable"]}}},"xml":{"name":"AlarmFilter"}},"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/agents/hosts/{hostPublicId}/alarm-filtering":{"get":{"tags":["List","Alarm filtering","Agents"],"summary":"Get alarms filter list","description":"Return the list of all alarms filter","operationId":"AlarmFiltersList","parameters":[{"name":"hostPublicId","in":"path","description":"Host publicId from which alarm filter list will be retrieved","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Alarm filtering","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AlarmFilter"}}}}},"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":{}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Add an alarm filter

> Add an alarm filter

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"AlarmFilterCreationInput":{"required":["alarmFilterType","pathList"],"type":"object","properties":{"comment":{"maxLength":1000,"minLength":0,"type":"string","description":"Alarm filter comment"},"catalogs":{"minItems":1,"type":"array","items":{"type":"string","description":"List of catalog(s) name(s) affected by the Alarm filter, set '*' if you want apply this Alarm filter to all catalogs","default":"*"}},"alarmFilterType":{"pattern":"^FILE$|^REPARSE_POINT$","type":"string","description":"Alarm filter for file or reparse point (symbolic links)","enum":["FILE","REPARSE_POINT"]},"isEnabled":{"type":"boolean","description":"'true' if the Alarm filter is enable"},"pathList":{"minItems":1,"type":"array","items":{"type":"string","description":"List of paths for creating Alarm filters. Each path will create an Alarm filter"}}}},"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/agents/hosts/{hostPublicId}/alarm-filtering":{"post":{"tags":["Creation","Alarm filtering","Agents"],"summary":"Add an alarm filter","description":"Add an alarm filter","operationId":"AlarmFiltersCreate","parameters":[{"name":"hostPublicId","in":"path","description":"Host publicId from which alarm filter object will be created","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlarmFilterCreationInput"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreationResponse"}}},"links":{"":{"operationId":"AlarmFiltersGet","parameters":{"publicId":"$response.body#/publicId"},"description":"the 'publicId' value returned in the response can be used as the 'alarmFilterPublicId' parameter in the 'GET /agents/hosts/{hostPublicId}/alarm-filtering/{alarmFilterPublicId}'"}}},"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":{}}}}}}}}
```

## Add an application

> Add an application

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"ApplicationCreationInput":{"required":["hostName","name"],"type":"object","properties":{"name":{"maxLength":1000,"minLength":0,"type":"string","description":"Application name"},"appType":{"minimum":1,"type":"integer","description":"Application type","format":"int32"},"comment":{"maxLength":1000,"minLength":0,"type":"string","description":"Application comment"},"isEnabled":{"type":"boolean","description":"Allow user to manually enable/disable an application"},"hostName":{"maxLength":1000,"minLength":0,"type":"string","description":"Application host name"},"environmentVariables":{"type":"array","items":{"$ref":"#/components/schemas/EnvVarEnabled"}},"parameters":{"type":"array","items":{"$ref":"#/components/schemas/HashMapParameter"}},"snapshotActivated":{"type":"boolean","description":"Indicate snapshot status for an application"},"snapshotConfigCreationInput":{"$ref":"#/components/schemas/SnapshotConfigCreationInput"}}},"EnvVarEnabled":{"type":"object","properties":{"isPassword":{"type":"boolean","description":"True if variable contain a password value"},"isEnabled":{"type":"boolean","description":"False if variable is disabled"},"name":{"type":"string","description":"Environment variable name"},"value":{"type":"string","description":"Environment variable value"}},"description":"Tuplet name/value with optional password information","xml":{"name":"EnvVarEnabled"}},"HashMapParameter":{"type":"object","properties":{"key":{"type":"string","description":"Key of the parameter"},"value":{"type":"string","description":"Value of the parameter"}},"description":"Array of key/value of appType dependent parameters"},"SnapshotConfigCreationInput":{"type":"object","properties":{"environmentVariables":{"type":"array","items":{"$ref":"#/components/schemas/EnvVarEnabled"}},"type":{"type":"string","description":"Snapshot technology","enum":["VOS","VSS","NDMP","SYMAPI","SNAPVAULT","ENGENIO","VSS_HYPERV","APFS","BTRFS","ZFS","OSTOR","NUTA"]},"parameters":{"type":"array","items":{"$ref":"#/components/schemas/HashMapParameter"}},"host":{"type":"string","description":"Snapshot hostname"},"password":{"type":"string","format":"user password"},"user":{"type":"string","description":"Snapshot host username"}},"description":"Application snapshot configuration","xml":{"name":"SnapshotConfigCreationInput"}},"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/agents/applications":{"post":{"tags":["Creation","Agents"],"summary":"Add an application","description":"Add an application","operationId":"ApplicationsCreate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationCreationInput"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreationResponse"}}},"links":{"":{"operationId":"ApplicationsGet","parameters":{"publicId":"$response.body#/publicId"},"description":"the 'hostPublicId' value returned in the response can be used as the 'publicId' parameter in the 'GET /agents/applications/{applicationPublicId}'"}}},"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":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"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":{}}}}}}}}
```

## Add a host

> Add a host

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"HostCreationInput":{"required":["name","type"],"type":"object","properties":{"name":{"maxLength":1000,"minLength":0,"type":"string","description":"Host name"},"type":{"minimum":1,"type":"integer","description":"Host type","format":"int32"},"comment":{"maxLength":1000,"minLength":0,"type":"string","description":"Host comment"},"isEnabled":{"type":"boolean","description":"Indicates if the host is enabled"},"isStorageNode":{"type":"boolean","description":"Indicates if the host is a storage node"},"isMobileHost":{"type":"boolean","description":"Indicates if the host is mobile"},"isSecured":{"type":"boolean","description":"Indicates if the host is secured"},"hasBackupMaster":{"type":"boolean","description":"Indicates if the host has a backup master"},"backupMasterType":{"type":"string","description":"Type of the backup master of the host","enum":["SERVER","TUNNEL","OTHER"]},"backupMasterHostName":{"type":"string","description":"Hostname of backup tutor if not tutored by server"},"hasTinaProtocol":{"type":"boolean","description":"Indicates if the host has Tina protocol"},"hasNdmpProtocol":{"type":"boolean","description":"Indicates if the host has NDMP protocol"},"ndmpVersion":{"type":"integer","description":"NDMP version of this host","format":"int32"},"ndmpUser":{"maxLength":1000,"minLength":0,"type":"string","description":"NDMP user of this host"},"ndmpPassword":{"maxLength":1000,"minLength":0,"type":"string","description":"NDMP password of this host"}},"description":"Name and Type are required only for creation"},"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/agents/hosts":{"post":{"tags":["Creation","Agents"],"summary":"Add a host","description":"Add a host","operationId":"HostsCreate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostCreationInput"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreationResponse"}}},"links":{"":{"operationId":"HostsGet","parameters":{"publicId":"$response.body#/publicId"},"description":"the 'hostPublicId' value returned in the response can be used as the 'publicId' parameter in the 'GET /agents/hosts/{hostPublicId}'"}}},"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 tunables list

> Return the list of all tunables

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"Tunable":{"type":"object","properties":{"publicId":{"type":"string","description":"Tunable publicId"},"name":{"pattern":"[a-zA-Z0-9_-]+","type":"string","description":"Tunable name can contain: letters (lowercase or capital), numbers, '-' (dash) and '_' (underscore)"},"isEnabled":{"type":"boolean","description":"'true' if the tunable is enable"},"comment":{"type":"string","description":"Tunable comment"},"binaryList":{"type":"array","items":{"type":"string","description":"List of binary(ies) affected by the tunable, set '*' if you want apply this tunable to all binaries.","enum":["tina_deamon","tina_config","tina_init","*"],"default":"*"}},"catalogList":{"type":"array","items":{"type":"string","description":"List of catalog(s) name(s) affected by the tunable, set '*' if you want apply this tunable to all catalogs","default":"*"}},"description":{"$ref":"#/components/schemas/TunableDescription"},"valueList":{"type":"array","items":{"type":"string","description":"A tunable's value can have specific type if you use a defined tunable, if you create your tunable manually the value can be anything"}},"availableActions":{"type":"array","items":{"type":"string","description":"You can Enable, Disable, Propagate or Delete a tunable","enum":["Delete","Disable","Enable","Propagate"]}}},"xml":{"name":"Tunable"}},"TunableDescription":{"type":"object","properties":{"name":{"type":"string","description":"Parameter name"},"environment":{"type":"string","description":"Tunable environment"},"tunableName":{"type":"string","description":"Name used in the parameter's file"},"brief":{"type":"string","description":"Tunable brief"},"description":{"type":"string","description":"Tunable Description"},"category":{"pattern":"^BASIC$|^ADVANCED$|^INTERNAL$","type":"string","description":"Tunable category","enum":["BASIC","ADVANCED","INTERNAL"]},"group":{"pattern":"^Agent$|^Authentication$|^Cache$|^Catalog$|^CommandLine$|^Debug$|^Logs$|^Filesytem$|^GraphicalInterface$|^HardwareConfig$|^Indexing$|^JobConfig$|^Lsm$|^Ndmp$|^Netware$|^Network$|^Replication$|^Scm$|^Snapshot$|^TerminalServer$|^Process$|^Service$|^VolumeBilling$|^Internal$","type":"string","description":"Tunable group","enum":["Agent","Authentication","Cache","Catalog","CommandLine","Debug","Logs","Filesytem","GraphicalInterface","HardwareConfig","Indexing","JobConfig","Lsm","Ndmp","Netware","Network","Replication","Scm","Snapshot","TerminalServer","Process","Service","VolumeBilling","Internal"]},"startTunable":{"type":"boolean","description":"Indicates if it's a start tunable"},"binaries":{"type":"array","items":{"type":"string","description":"List of binary(ies) which can be affected by the tunable."}},"l10nBinaries":{"type":"array","items":{"type":"string","description":"List of binary(ies) which can be affected by this tunable. These binaries are specific for each language."}},"applications":{"type":"array","items":{"type":"string","description":"List of application(s) which can be affected by this tunable"}},"l10nApplications":{"type":"array","items":{"type":"string","description":"List of application(s) which can be affected by this tunable. These applications are specific for each language."}},"toBeSetOn":{"type":"array","items":{"type":"string","description":"List of tunable to be set on."}},"type":{"pattern":"^UNKNOWN$|^INTEGER$|^INTEGER_ARRAY$|^ARGUMENT$|^STRING$|^STRING_ARRAY$","type":"string","description":"Tunable type","enum":["UNKNOWN","INTEGER","INTEGER_ARRAY","ARGUMENT","STRING","STRING_ARRAY"]},"valueType":{"pattern":"^NONE$|^ENUM$|^RANGE$|^POSITIVE$|^RAW$","type":"string","description":"Type of tunable's value","enum":["NONE","ENUM","RANGE","POSITIVE","RAW"]},"comment":{"maxLength":1000,"minLength":0,"type":"string","description":"Tunable comment"},"min":{"type":"integer","description":"The minimum value of the tunable","format":"int32"},"max":{"type":"integer","description":"The maximum value of the tunable","format":"int32"},"isMin":{"type":"boolean","description":"Indicates it the value of the tunable is minimum"},"isMax":{"type":"boolean","description":"Indicates it the value of the tunable is maximum"},"constant":{"type":"array","items":{"type":"string","description":"Constant list of the tunable"}},"symbolic":{"type":"array","items":{"type":"string","description":"Symbolic list of the tunable"}},"itemComment":{"type":"array","items":{"type":"string","description":"List of item comment of the tunable"}},"maxLength":{"type":"integer","description":"Max length of the tunable description","format":"int32"},"value":{"type":"string","description":"Tunable value"},"parameterValueDescription":{"$ref":"#/components/schemas/TNServerParameterValueDescription"},"default":{"type":"string","description":"Default value"}},"description":"If you use defined tunable, most of the time there is a description to explain how this tunable works","xml":{"name":"TunableDescription"}},"TNServerParameterValueDescription":{"type":"object","properties":{"comment":{"type":"string"}}},"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/agents/hosts/{hostPublicId}/tunables":{"get":{"tags":["List","Tunables","Agents"],"summary":"Get tunables list","description":"Return the list of all tunables","operationId":"TunablesList","parameters":[{"name":"hostPublicId","in":"path","description":"Host publicId from which tunable list will be retrieved","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Tunable","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Tunable"}}}}},"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":{}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Add a tunable

> Add a tunable

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"TunableCreationInput":{"type":"object","properties":{"publicId":{"type":"string","description":"Tunable publicId"},"name":{"pattern":"[a-zA-Z0-9_-]+","type":"string","description":"Tunable name can contain: letters (lowercase or capital), numbers, '-' (dash) and '_' (underscore)"},"isEnabled":{"type":"boolean","description":"'true' if the tunable is enable"},"comment":{"type":"string","description":"Tunable comment"},"binaryList":{"type":"array","items":{"type":"string","description":"List of binary(ies) affected by the tunable, set '*' if you want apply this tunable to all binaries.","enum":["tina_deamon","tina_config","tina_init","*"],"default":"*"}},"catalogList":{"type":"array","items":{"type":"string","description":"List of catalog(s) name(s) affected by the tunable, set '*' if you want apply this tunable to all catalogs","default":"*"}},"description":{"$ref":"#/components/schemas/TunableDescription"},"valueList":{"type":"array","items":{"type":"string","description":"A tunable's value can have specific type if you use a defined tunable, if you create your tunable manually the value can be anything"}},"availableActions":{"type":"array","items":{"type":"string","description":"You can Enable, Disable, Propagate or Delete a tunable","enum":["Delete","Disable","Enable","Propagate"]}}},"xml":{"name":"TunableCreationInput"}},"TunableDescription":{"type":"object","properties":{"name":{"type":"string","description":"Parameter name"},"environment":{"type":"string","description":"Tunable environment"},"tunableName":{"type":"string","description":"Name used in the parameter's file"},"brief":{"type":"string","description":"Tunable brief"},"description":{"type":"string","description":"Tunable Description"},"category":{"pattern":"^BASIC$|^ADVANCED$|^INTERNAL$","type":"string","description":"Tunable category","enum":["BASIC","ADVANCED","INTERNAL"]},"group":{"pattern":"^Agent$|^Authentication$|^Cache$|^Catalog$|^CommandLine$|^Debug$|^Logs$|^Filesytem$|^GraphicalInterface$|^HardwareConfig$|^Indexing$|^JobConfig$|^Lsm$|^Ndmp$|^Netware$|^Network$|^Replication$|^Scm$|^Snapshot$|^TerminalServer$|^Process$|^Service$|^VolumeBilling$|^Internal$","type":"string","description":"Tunable group","enum":["Agent","Authentication","Cache","Catalog","CommandLine","Debug","Logs","Filesytem","GraphicalInterface","HardwareConfig","Indexing","JobConfig","Lsm","Ndmp","Netware","Network","Replication","Scm","Snapshot","TerminalServer","Process","Service","VolumeBilling","Internal"]},"startTunable":{"type":"boolean","description":"Indicates if it's a start tunable"},"binaries":{"type":"array","items":{"type":"string","description":"List of binary(ies) which can be affected by the tunable."}},"l10nBinaries":{"type":"array","items":{"type":"string","description":"List of binary(ies) which can be affected by this tunable. These binaries are specific for each language."}},"applications":{"type":"array","items":{"type":"string","description":"List of application(s) which can be affected by this tunable"}},"l10nApplications":{"type":"array","items":{"type":"string","description":"List of application(s) which can be affected by this tunable. These applications are specific for each language."}},"toBeSetOn":{"type":"array","items":{"type":"string","description":"List of tunable to be set on."}},"type":{"pattern":"^UNKNOWN$|^INTEGER$|^INTEGER_ARRAY$|^ARGUMENT$|^STRING$|^STRING_ARRAY$","type":"string","description":"Tunable type","enum":["UNKNOWN","INTEGER","INTEGER_ARRAY","ARGUMENT","STRING","STRING_ARRAY"]},"valueType":{"pattern":"^NONE$|^ENUM$|^RANGE$|^POSITIVE$|^RAW$","type":"string","description":"Type of tunable's value","enum":["NONE","ENUM","RANGE","POSITIVE","RAW"]},"comment":{"maxLength":1000,"minLength":0,"type":"string","description":"Tunable comment"},"min":{"type":"integer","description":"The minimum value of the tunable","format":"int32"},"max":{"type":"integer","description":"The maximum value of the tunable","format":"int32"},"isMin":{"type":"boolean","description":"Indicates it the value of the tunable is minimum"},"isMax":{"type":"boolean","description":"Indicates it the value of the tunable is maximum"},"constant":{"type":"array","items":{"type":"string","description":"Constant list of the tunable"}},"symbolic":{"type":"array","items":{"type":"string","description":"Symbolic list of the tunable"}},"itemComment":{"type":"array","items":{"type":"string","description":"List of item comment of the tunable"}},"maxLength":{"type":"integer","description":"Max length of the tunable description","format":"int32"},"value":{"type":"string","description":"Tunable value"},"parameterValueDescription":{"$ref":"#/components/schemas/TNServerParameterValueDescription"},"default":{"type":"string","description":"Default value"}},"description":"If you use defined tunable, most of the time there is a description to explain how this tunable works","xml":{"name":"TunableDescription"}},"TNServerParameterValueDescription":{"type":"object","properties":{"comment":{"type":"string"}}},"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/agents/hosts/{hostPublicId}/tunables":{"post":{"tags":["Creation","Tunables","Agents"],"summary":"Add a tunable","description":"Add a tunable","operationId":"TunablesCreate","parameters":[{"name":"hostPublicId","in":"path","description":"Host publicId from which tunable object will be created","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TunableCreationInput"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreationResponse"}}},"links":{"":{"operationId":"TunablesGet","parameters":{"publicId":"$response.body#/publicId"},"description":"the 'tunablePublicId' value returned in the response can be used as the 'publicId' parameter in the 'GET /agents/hosts/{hostPublicId}/tunables/{tunableId}'"}}},"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":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Get an alarm filter by publicId

> Return an alarm filter by its publicId

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"AlarmFilter":{"type":"object","properties":{"publicId":{"type":"string","description":"Alarm filter publicId"},"path":{"type":"string","description":"Alarm filter path"},"isEnabled":{"type":"boolean","description":"'true' if the Alarm filter is enable"},"comment":{"type":"string","description":"Alarm filter comment"},"catalogs":{"type":"array","items":{"type":"string","description":"List of catalog(s) name(s) affected by the Alarm filter, '*' means all catalogs","default":"*"}},"alarmFilterType":{"type":"string","description":"Alarm filter for file or reparse point (symbolic links)","enum":["FILE","REPARSE_POINT"]},"availableActions":{"type":"array","items":{"type":"string","enum":["Delete","Disable","Enable"]}}},"xml":{"name":"AlarmFilter"}},"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/agents/hosts/{hostPublicId}/alarm-filtering/{alarmFilterPublicId}":{"get":{"tags":["Alarm filtering","Agents"],"summary":"Get an alarm filter by publicId","description":"Return an alarm filter by its publicId","operationId":"AlarmFiltersGet","parameters":[{"name":"hostPublicId","in":"path","description":"Host publicId from which alarm filter will be retrieved","required":true,"schema":{"type":"string"}},{"name":"alarmFilterPublicId","in":"path","description":"Alarm filter publicId from which alarm filter object will be retrieved","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlarmFilter"}}}},"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":{}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Update an alarm filter

> Edit an alarm filter by its publicId

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"AlarmFilterEditionInput":{"type":"object","properties":{"comment":{"maxLength":1000,"minLength":0,"type":"string","description":"Alarm filter comment"},"catalogs":{"minItems":1,"type":"array","items":{"type":"string","description":"List of catalog(s) name(s) affected by the Alarm filter, set '*' if you want apply this Alarm filter to all catalogs","default":"*"}},"alarmFilterType":{"pattern":"^FILE$|^REPARSE_POINT$","type":"string","description":"Alarm filter for file or reparse point (symbolic links)","enum":["FILE","REPARSE_POINT"]},"isEnabled":{"type":"boolean","description":"'true' if the Alarm filter is enable"},"path":{"type":"string","description":"Alarm filter path"}}},"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/agents/hosts/{hostPublicId}/alarm-filtering/{alarmFilterPublicId}":{"put":{"tags":["Alarm filtering","Agents"],"summary":"Update an alarm filter","description":"Edit an alarm filter by its publicId","operationId":"AlarmFiltersEdit","parameters":[{"name":"hostPublicId","in":"path","description":"Host publicId from which alarm filter object will be updated","required":true,"schema":{"type":"string"}},{"name":"alarmFilterPublicId","in":"path","description":"Alarm filter publicId to update","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlarmFilterEditionInput"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreationResponse"}}}},"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":{}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Update an application

> Edit an application by its publicId

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"ApplicationEditionInput":{"type":"object","properties":{"name":{"maxLength":1000,"minLength":0,"type":"string","description":"Application name"},"appType":{"type":"integer","description":"Application type","format":"int32"},"comment":{"maxLength":1000,"minLength":0,"type":"string","description":"Application comment"},"isEnabled":{"type":"boolean","description":"Allow user to manually enable/disable an application"},"hostName":{"maxLength":1000,"minLength":0,"type":"string","description":"Application host name"},"environmentVariables":{"type":"array","items":{"$ref":"#/components/schemas/EnvVarEnabled"}},"parameters":{"type":"array","items":{"$ref":"#/components/schemas/HashMapParameter"}},"snapshotActivated":{"type":"boolean","description":"Indicate snapshot status for an application"},"snapshotConfigCreationInput":{"$ref":"#/components/schemas/SnapshotConfigCreationInput"}}},"EnvVarEnabled":{"type":"object","properties":{"isPassword":{"type":"boolean","description":"True if variable contain a password value"},"isEnabled":{"type":"boolean","description":"False if variable is disabled"},"name":{"type":"string","description":"Environment variable name"},"value":{"type":"string","description":"Environment variable value"}},"description":"Tuplet name/value with optional password information","xml":{"name":"EnvVarEnabled"}},"HashMapParameter":{"type":"object","properties":{"key":{"type":"string","description":"Key of the parameter"},"value":{"type":"string","description":"Value of the parameter"}},"description":"Array of key/value of appType dependent parameters"},"SnapshotConfigCreationInput":{"type":"object","properties":{"environmentVariables":{"type":"array","items":{"$ref":"#/components/schemas/EnvVarEnabled"}},"type":{"type":"string","description":"Snapshot technology","enum":["VOS","VSS","NDMP","SYMAPI","SNAPVAULT","ENGENIO","VSS_HYPERV","APFS","BTRFS","ZFS","OSTOR","NUTA"]},"parameters":{"type":"array","items":{"$ref":"#/components/schemas/HashMapParameter"}},"host":{"type":"string","description":"Snapshot hostname"},"password":{"type":"string","format":"user password"},"user":{"type":"string","description":"Snapshot host username"}},"description":"Application snapshot configuration","xml":{"name":"SnapshotConfigCreationInput"}},"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/agents/applications/{publicId}":{"put":{"tags":["Agents"],"summary":"Update an application","description":"Edit an application by its publicId","operationId":"ApplicationsEdit","parameters":[{"name":"publicId","in":"path","description":"PublicId of application to update","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationEditionInput"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreationResponse"}}}},"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":{}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Update a host

> Edit a host by its publicId

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"HostEditionInput":{"required":["name","type"],"type":"object","properties":{"name":{"maxLength":1000,"minLength":0,"type":"string","description":"Host name"},"type":{"type":"integer","description":"Host type","format":"int32"},"comment":{"maxLength":1000,"minLength":0,"type":"string","description":"Host comment"},"isEnabled":{"type":"boolean","description":"Indicates if the host is enabled"},"isStorageNode":{"type":"boolean","description":"Indicates if the host is a storage node"},"isMobileHost":{"type":"boolean","description":"Indicates if the host is mobile"},"isSecured":{"type":"boolean","description":"Indicates if the host is secured"},"hasBackupMaster":{"type":"boolean","description":"Indicates if the host has a backup master"},"backupMasterType":{"type":"string","description":"Type of the backup master of the host","enum":["SERVER","TUNNEL","OTHER"]},"backupMasterHostName":{"type":"string","description":"Hostname of backup tutor if not tutored by server"},"hasTinaProtocol":{"type":"boolean","description":"Indicates if the host has Tina protocol"},"hasNdmpProtocol":{"type":"boolean","description":"Indicates if the host has NDMP protocol"},"ndmpVersion":{"type":"integer","description":"NDMP version of this host","format":"int32"},"ndmpUser":{"maxLength":1000,"minLength":0,"type":"string","description":"NDMP user of this host"},"ndmpPassword":{"maxLength":1000,"minLength":0,"type":"string","description":"NDMP password of this host"}}},"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/agents/hosts/{publicId}":{"put":{"tags":["Agents"],"summary":"Update a host","description":"Edit a host by its publicId","operationId":"HostsEdit","parameters":[{"name":"publicId","in":"path","description":"PublicId of host to update","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostEditionInput"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreationResponse"}}}},"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":{}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Get an agent by publicId

> Return an agent by its publicId

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"Host":{"type":"object","properties":{"category":{"type":"string","description":"Agent category","enum":["HOST","APPLICATION"]},"name":{"type":"string","description":"Full platform name (host or application)"},"osType":{"$ref":"#/components/schemas/EnvVar"},"applicationType":{"$ref":"#/components/schemas/EnvVar"},"comment":{"type":"string","description":"Agent comment"},"softwareVersion":{"type":"string","description":"Backup software version of the system"},"publicId":{"type":"string","description":"Agent public Id"},"isStorageNode":{"type":"boolean","description":"The host is a storage node (host only)"},"isSecured":{"type":"boolean","description":"The host is secured (host only)"},"definedStratList":{"type":"array","items":{"type":"string","description":"Strategies defined on this agent","enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D"]}},"activeStratList":{"type":"array","items":{"type":"string","description":"Active Strategies on this agent","enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D"]}},"hostName":{"type":"string","description":"Host name"},"hostId":{"type":"string","description":"Host Id"},"isEnabled":{"type":"boolean","description":"Indicates if the agent is enabled"},"isServer":{"type":"boolean","description":"Indicates if the agent is a server"},"isUnix":{"type":"boolean","description":"Indicates if the agent has a Unix OS"},"isWindows":{"type":"boolean","description":"Indicates if the agent has a Windows OS"},"isBackupable":{"type":"boolean","description":"Indicates if the agent is backup-able"},"canStartBackupA":{"type":"boolean"},"canStartBackupB":{"type":"boolean"},"canStartBackupC":{"type":"boolean"},"canStartBackupD":{"type":"boolean"},"isRestorable":{"type":"boolean","description":"Indicates if the agent is restorable"},"hasTinaProtocol":{"type":"boolean","description":"Indicates if the agent has Tina protocol"},"hasNdmpProtocol":{"type":"boolean","description":"Indicates if the agent has NDMP protocol"},"canCreateStandardStrategy":{"type":"boolean","description":"Indicates if the agent can create standard strategy"},"canCreateSnapshotStrategy":{"type":"boolean","description":"Indicates if the agent can create snapshot strategy"},"canCreateDeduplicationStrategy":{"type":"boolean","description":"Indicates if the agent can create deduplication strategy"},"canCreateCloudStrategy":{"type":"boolean","description":"Indicates if the agent can create cloud strategy"},"canCreateEnhancedDiskStrategy":{"type":"boolean","description":"Indicates if the agent can create enhanced disk strategy"},"canCreateStreamStrategy":{"type":"boolean","description":"Indicates if the agent can create stream deduplication strategy"},"canUseTrustedAuthentication":{"type":"boolean","description":"Indicates if the agent can use trusted authentication, only available when software backup is configure in appliance mode"},"highestAlarm":{"type":"string","description":"Highest alarm associated to Agent","enum":["SEVERITY_MINOR","SEVERITY_MAJOR","SEVERITY_CRITICAL"]},"summaryStratList":{"type":"array","items":{"$ref":"#/components/schemas/SummaryStrategy"}},"deviceLinkList":{"type":"array","items":{"$ref":"#/components/schemas/DeviceLink"}},"isMobileHost":{"type":"boolean","description":"Indicates if the host is mobile"},"hasBackupMaster":{"type":"boolean","description":"Always true in tunnel Mode"},"filesystemEncoding":{"type":"integer","description":"Available encoding recognized as multi-byte encodings. The enum value is the IANA mib enum value for encoding","format":"int32"},"isFolderInMaintenance":{"type":"boolean","description":"This flag indicates that a manual intervention is necessary to allow backup to be started again"},"backupMasterType":{"type":"string","description":"Backup master type. Used with HasBackupMaster=true","enum":["SERVER","TUNNEL","OTHER"]},"backupMasterHostName":{"type":"string","description":"Hostname of backup tutor if not tutored by server"},"ndmpVersion":{"type":"integer","description":"NDMP version of this host","format":"int32"},"ndmpUser":{"type":"string","description":"NDMP user of this host"},"configurationModuleNameList":{"type":"array","items":{"type":"string","description":"List of all configuration modules compatible with this Host type"}},"hostType":{"$ref":"#/components/schemas/HostType"},"backupSelectionList":{"type":"array","items":{"$ref":"#/components/schemas/BackupSelection"}},"strategyList":{"type":"array","items":{"$ref":"#/components/schemas/Strategy"}},"availableActions":{"type":"array","items":{"type":"string","description":"Available actions on the agent","enum":["CheckConnection","AgentDelete","Disable","Enable","StartBackup","StartRestore"]}}},"xml":{"name":"Host"}},"EnvVar":{"type":"object","properties":{"name":{"type":"string","description":"Environment variable name"},"value":{"type":"string","description":"Environment variable value"}},"description":"Tuplet name/value","xml":{"name":"EnvVar"}},"SummaryStrategy":{"type":"object","properties":{"name":{"type":"string","description":"Strategy Name","enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D"]},"publicId":{"type":"string"},"isActive":{"type":"boolean"},"isFullActive":{"type":"boolean"},"isIncrActive":{"type":"boolean"}},"description":"Summary of the strategies set on this agent","xml":{"name":"SummaryStrategy"},"enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D"]},"DeviceLink":{"type":"object","properties":{"deviceDescriptor":{"type":"string","description":"Device descriptor"},"hostPublicId":{"type":"string","description":"Public id of the host associated with the device link"},"hostName":{"type":"string","description":"Name of the host associated with the device link"},"drivePublicId":{"type":"string","description":"Public id of the drive associated with the device link"},"driveName":{"type":"string","description":"Name of the drive associated with the device link"},"isEnabled":{"type":"boolean","description":"Indicates if the device link is enabled"}},"description":"Device Link (device descriptor, host and drive information)","xml":{"name":"DeviceLink"}},"HostType":{"type":"object","properties":{"isValidForCreation":{"type":"boolean","description":"Indicates a host can be created with this host type"},"longString":{"type":"string","description":"Long name of the OS"},"shortString":{"type":"string","description":"Short name of the OS"},"backupable":{"type":"boolean","description":"Whether host type is support backup"},"backupFioCapable":{"type":"boolean","description":"Whether host type can backup using FIO technology"},"tarFormatCapable":{"type":"boolean","description":"Whether host type can use TAR format to backup"},"tinaFormatCapable":{"type":"boolean","description":"Whether host type can use TINA format to backup"},"cpioFormatCapable":{"type":"boolean","description":"Whether host type can use CPIO format to backup"},"syntheticCapable":{"type":"boolean","description":"Whether host type can use synthetic backup"},"backupThroughNFSCapable":{"type":"boolean","description":"Indicates if a host support backup trough NFS"},"backupACLSCapable":{"type":"boolean","description":"Indicates if a host support backup of ACLS attributes"},"backupFFSCapable":{"type":"boolean","description":"Indicates if an application support backup using FFS flag"},"storageNode":{"type":"boolean","description":"Whether host type can be a storage node"},"useTiNaProtocol":{"type":"boolean","description":"Whether host type use TINA protocol"},"useNdmpProtocol":{"type":"boolean","description":"Whether host type use NDMP protocol"},"supportSnapshots":{"type":"boolean","description":"Whether host type supports snapshot technologies"},"secondaryPoolCapable":{"type":"boolean","description":"Whether host type can use secondary pool to backup"},"type":{"type":"integer","description":"Integer representation of Host Type<pre><code><li>Linux=37<li>Windows 10=83<li>Windows Server 2019=86<li>etc</pre></code>","format":"int32"},"osType":{"$ref":"#/components/schemas/OsType"}},"description":"Integer representation of Host Type<pre><code><li>Linux=37<li>Windows 10=83<li>Windows Server 2019=86<li>etc</pre></code>"},"OsType":{"type":"object","properties":{"isUnix":{"type":"boolean","description":"Indicates if OS is a Unix OS type"},"isWindows":{"type":"boolean","description":"Indicates if OS is a Windows OS type"},"name":{"type":"string","description":"OS Name"},"type":{"type":"integer","description":"OS Type id, 2=Q_TYPE_OS_UNIX, 4=Q_TYPE_OS_WIN3_OLD, 5=Q_TYPE_OS_WINAPI32","format":"int32","enum":[2,4,5]}},"description":"ArchiveFolder OS Type"},"BackupSelection":{"type":"object","properties":{"availableActions":{"type":"array","items":{"type":"string","description":"Available action name","enum":["Delete","BulkEdition"]}},"secured":{"type":"boolean","description":"Indicates if the backup selection is secured"},"filtered":{"type":"boolean","description":"Indicates if the backup selection is filtered"},"publicId":{"type":"string","description":"Backup selection public Id"},"agentName":{"type":"string","description":"Name of the agent where the backup selection is defined"},"securedVolume":{"type":"integer","description":"Volume in bytes secured by this backup selection","format":"int64"},"path":{"type":"string","description":"Path of Backup Selection"},"strategyList":{"type":"array","items":{"type":"string","description":"Strategy name","enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D"]}}},"xml":{"name":"BackupSelection"}},"Strategy":{"type":"object","properties":{"category":{"type":"string","description":"Strategy category","enum":["BACKUP","SNAPSHOT","REPLICA","DEDUPLICATION","CLOUD","ENHANCED_DISK","STREAM"]},"name":{"type":"string","description":"Strategy name","enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D"]},"agentName":{"type":"string","description":"Agent name"},"publicId":{"type":"string","description":"Strategy public id"},"format":{"type":"string","description":"Cartridge format value","enum":["CPIO","NONE","SIDF","TAR","TINA","TINA2","TINA3","TINA4","TINA5","UNKNOWN"],"default":"SIDF"},"fullPoolName":{"type":"string","description":"Full pool name"},"incrPoolName":{"type":"string","description":"Incremental pool name"},"fullScheduleName":{"type":"string","description":"Full schedule name"},"incrScheduleName":{"type":"string","description":"Incremental schedule name"},"fullSchedulePublicId":{"type":"string","description":"Full schedule public id"},"incrSchedulePublicId":{"type":"string","description":"Incremental schedule public id"},"fullScheduleActive":{"type":"boolean","description":"Indicates if schedule for full backup is enabled"},"incrScheduleActive":{"type":"boolean","description":"Indicates if schedule for incremental backup is enabled"},"incrParallelismIndex":{"maximum":255,"minimum":1,"type":"integer","description":"Incremental parallelism index","format":"int32","default":1},"parallelismIndex":{"maximum":255,"minimum":1,"type":"integer","description":"Full parallelism index","format":"int32","default":1},"fullPoolPublicId":{"type":"string","description":"Full pool public id"},"incrPoolPublicId":{"type":"string","description":"Incremental pool public id"},"hasHssDrive":{"type":"boolean","description":"Indicates if this strategy use an HyperStream Drive. In this case the choice for pool is limited"},"availableActions":{"type":"array","items":{"type":"string","description":"List of available actions on strategy. BulkEdition is available only if strategies have the same category","enum":["Delete","BulkEdition","StartBackup"]}},"activateFastFileScan":{"type":"boolean","description":"Indicates if fast file scan is activated (Windows Only)"},"goThroughNetworkFileSystem":{"type":"boolean","description":"Indicates if backup go through network file system mounting point"},"doNotGoThroughLocalFileSystem":{"type":"boolean","description":"Indicates if backup don't go through local file system (Linux with multiple file system only)"},"backupSpecificAttributes":{"type":"boolean","description":"Indicates if OS specific file attributes backup is enabled"},"isActive":{"type":"boolean","description":"Indicates if a strategy is already running"},"isAgentEnabled":{"type":"boolean","description":"Indicates if the agent associated to the strategy is enabled"},"preProcessingCommand":{"type":"string","description":"Pre processing command before backup"},"postProcessingCommand":{"type":"string","description":"Post processing command after backup"}},"xml":{"name":"Strategy"}},"Application":{"type":"object","properties":{"category":{"type":"string","description":"Agent category","enum":["HOST","APPLICATION"]},"name":{"type":"string","description":"Full platform name (host or application)"},"osType":{"$ref":"#/components/schemas/EnvVar"},"applicationType":{"$ref":"#/components/schemas/EnvVar"},"comment":{"type":"string","description":"Agent comment"},"softwareVersion":{"type":"string","description":"Backup software version of the system"},"publicId":{"type":"string","description":"Agent public Id"},"isStorageNode":{"type":"boolean","description":"The host is a storage node (host only)"},"isSecured":{"type":"boolean","description":"The host is secured (host only)"},"definedStratList":{"type":"array","items":{"type":"string","description":"Strategies defined on this agent","enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D"]}},"activeStratList":{"type":"array","items":{"type":"string","description":"Active Strategies on this agent","enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D"]}},"hostName":{"type":"string","description":"Host name"},"hostId":{"type":"string","description":"Host Id"},"isEnabled":{"type":"boolean","description":"Indicates if the agent is enabled"},"isServer":{"type":"boolean","description":"Indicates if the agent is a server"},"isUnix":{"type":"boolean","description":"Indicates if the agent has a Unix OS"},"isWindows":{"type":"boolean","description":"Indicates if the agent has a Windows OS"},"isBackupable":{"type":"boolean","description":"Indicates if the agent is backup-able"},"canStartBackupA":{"type":"boolean"},"canStartBackupB":{"type":"boolean"},"canStartBackupC":{"type":"boolean"},"canStartBackupD":{"type":"boolean"},"isRestorable":{"type":"boolean","description":"Indicates if the agent is restorable"},"hasTinaProtocol":{"type":"boolean","description":"Indicates if the agent has Tina protocol"},"hasNdmpProtocol":{"type":"boolean","description":"Indicates if the agent has NDMP protocol"},"canCreateStandardStrategy":{"type":"boolean","description":"Indicates if the agent can create standard strategy"},"canCreateSnapshotStrategy":{"type":"boolean","description":"Indicates if the agent can create snapshot strategy"},"canCreateDeduplicationStrategy":{"type":"boolean","description":"Indicates if the agent can create deduplication strategy"},"canCreateCloudStrategy":{"type":"boolean","description":"Indicates if the agent can create cloud strategy"},"canCreateEnhancedDiskStrategy":{"type":"boolean","description":"Indicates if the agent can create enhanced disk strategy"},"canCreateStreamStrategy":{"type":"boolean","description":"Indicates if the agent can create stream deduplication strategy"},"canUseTrustedAuthentication":{"type":"boolean","description":"Indicates if the agent can use trusted authentication, only available when software backup is configure in appliance mode"},"highestAlarm":{"type":"string","description":"Highest alarm associated to Agent","enum":["SEVERITY_MINOR","SEVERITY_MAJOR","SEVERITY_CRITICAL"]},"summaryStratList":{"type":"array","items":{"$ref":"#/components/schemas/SummaryStrategy"}},"snapshotActivated":{"type":"boolean"},"snapshotConfig":{"$ref":"#/components/schemas/SnapshotConfig"},"environmentVariables":{"type":"array","items":{"$ref":"#/components/schemas/EnvVarEnabled"}},"parameters":{"type":"array","items":{"$ref":"#/components/schemas/HashMapParameter"}},"strategyList":{"type":"array","items":{"$ref":"#/components/schemas/Strategy"}},"availableActions":{"type":"array","items":{"type":"string","description":"Available actions on the agent","enum":["CheckConnection","AgentDelete","Disable","Enable","StartBackup","StartRestore"]}},"backupSelectionList":{"type":"array","items":{"$ref":"#/components/schemas/BackupSelection"}}},"xml":{"name":"Application"}},"SnapshotConfig":{"type":"object","properties":{"type":{"pattern":"^VOS$|^VSS$|^NDMP$|^SYMAPI$|^SNAPVAULT$|^ENGENIO$|^VSS_HYPERV$|^APFS$|^BTRFS$|^ZFS$|^OSTOR$|^NUTA$","type":"string","description":"Snapshot technology","enum":["VOS","VSS","NDMP","SYMAPI","SNAPVAULT","ENGENIO","VSS_HYPERV","APFS","BTRFS","ZFS","OSTOR","NUTA"]},"host":{"type":"string","description":"Host of the snapshot config"},"user":{"type":"string","description":"User of the snapshot config"},"environmentVariables":{"type":"array","items":{"$ref":"#/components/schemas/EnvVarEnabled"}},"parameters":{"type":"array","items":{"$ref":"#/components/schemas/HashMapParameter"}}},"description":"Snapshot configuration","xml":{"name":"SnapshotConfig"}},"EnvVarEnabled":{"type":"object","properties":{"isPassword":{"type":"boolean","description":"True if variable contain a password value"},"isEnabled":{"type":"boolean","description":"False if variable is disabled"},"name":{"type":"string","description":"Environment variable name"},"value":{"type":"string","description":"Environment variable value"}},"description":"Tuplet name/value with optional password information","xml":{"name":"EnvVarEnabled"}},"HashMapParameter":{"type":"object","properties":{"key":{"type":"string","description":"Key of the parameter"},"value":{"type":"string","description":"Value of the parameter"}},"description":"Array of key/value of appType dependent parameters"},"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/agents/{agentPublicId}":{"get":{"tags":["Agents"],"summary":"Get an agent by publicId","description":"Return an agent by its publicId","operationId":"AgentsGet","parameters":[{"name":"agentPublicId","in":"path","description":"Agent publicId from which host or application will be retrieved","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Host"},{"$ref":"#/components/schemas/Application"}]}}}},"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":{}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Get agents list

> Return the list of all agents

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"Agent":{"type":"object","properties":{"category":{"type":"string","description":"Agent category","enum":["HOST","APPLICATION"]},"name":{"type":"string","description":"Full platform name (host or application)"},"osType":{"$ref":"#/components/schemas/EnvVar"},"applicationType":{"$ref":"#/components/schemas/EnvVar"},"comment":{"type":"string","description":"Agent comment"},"softwareVersion":{"type":"string","description":"Backup software version of the system"},"publicId":{"type":"string","description":"Agent public Id"},"isStorageNode":{"type":"boolean","description":"The host is a storage node (host only)"},"isSecured":{"type":"boolean","description":"The host is secured (host only)"},"definedStratList":{"type":"array","items":{"type":"string","description":"Strategies defined on this agent","enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D"]}},"activeStratList":{"type":"array","items":{"type":"string","description":"Active Strategies on this agent","enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D"]}},"hostName":{"type":"string","description":"Host name"},"hostId":{"type":"string","description":"Host Id"},"isEnabled":{"type":"boolean","description":"Indicates if the agent is enabled"},"isServer":{"type":"boolean","description":"Indicates if the agent is a server"},"isUnix":{"type":"boolean","description":"Indicates if the agent has a Unix OS"},"isWindows":{"type":"boolean","description":"Indicates if the agent has a Windows OS"},"isBackupable":{"type":"boolean","description":"Indicates if the agent is backup-able"},"canStartBackupA":{"type":"boolean"},"canStartBackupB":{"type":"boolean"},"canStartBackupC":{"type":"boolean"},"canStartBackupD":{"type":"boolean"},"isRestorable":{"type":"boolean","description":"Indicates if the agent is restorable"},"hasTinaProtocol":{"type":"boolean","description":"Indicates if the agent has Tina protocol"},"hasNdmpProtocol":{"type":"boolean","description":"Indicates if the agent has NDMP protocol"},"canCreateStandardStrategy":{"type":"boolean","description":"Indicates if the agent can create standard strategy"},"canCreateSnapshotStrategy":{"type":"boolean","description":"Indicates if the agent can create snapshot strategy"},"canCreateDeduplicationStrategy":{"type":"boolean","description":"Indicates if the agent can create deduplication strategy"},"canCreateCloudStrategy":{"type":"boolean","description":"Indicates if the agent can create cloud strategy"},"canCreateEnhancedDiskStrategy":{"type":"boolean","description":"Indicates if the agent can create enhanced disk strategy"},"canCreateStreamStrategy":{"type":"boolean","description":"Indicates if the agent can create stream deduplication strategy"},"canUseTrustedAuthentication":{"type":"boolean","description":"Indicates if the agent can use trusted authentication, only available when software backup is configure in appliance mode"},"highestAlarm":{"type":"string","description":"Highest alarm associated to Agent","enum":["SEVERITY_MINOR","SEVERITY_MAJOR","SEVERITY_CRITICAL"]},"summaryStratList":{"type":"array","items":{"$ref":"#/components/schemas/SummaryStrategy"}},"availableActions":{"type":"array","items":{"type":"string","description":"Available actions on the agent","enum":["CheckConnection","AgentDelete","Disable","Enable","StartBackup","StartRestore"]}},"backupSelectionList":{"type":"array","items":{"$ref":"#/components/schemas/BackupSelection"}}},"xml":{"name":"Agent"}},"EnvVar":{"type":"object","properties":{"name":{"type":"string","description":"Environment variable name"},"value":{"type":"string","description":"Environment variable value"}},"description":"Tuplet name/value","xml":{"name":"EnvVar"}},"SummaryStrategy":{"type":"object","properties":{"name":{"type":"string","description":"Strategy Name","enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D"]},"publicId":{"type":"string"},"isActive":{"type":"boolean"},"isFullActive":{"type":"boolean"},"isIncrActive":{"type":"boolean"}},"description":"Summary of the strategies set on this agent","xml":{"name":"SummaryStrategy"},"enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D"]},"BackupSelection":{"type":"object","properties":{"availableActions":{"type":"array","items":{"type":"string","description":"Available action name","enum":["Delete","BulkEdition"]}},"secured":{"type":"boolean","description":"Indicates if the backup selection is secured"},"filtered":{"type":"boolean","description":"Indicates if the backup selection is filtered"},"publicId":{"type":"string","description":"Backup selection public Id"},"agentName":{"type":"string","description":"Name of the agent where the backup selection is defined"},"securedVolume":{"type":"integer","description":"Volume in bytes secured by this backup selection","format":"int64"},"path":{"type":"string","description":"Path of Backup Selection"},"strategyList":{"type":"array","items":{"type":"string","description":"Strategy name","enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D"]}}},"xml":{"name":"BackupSelection"}},"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/agents":{"get":{"tags":["List","Agents"],"summary":"Get agents list","description":"Return the list of all agents","operationId":"AgentsList","parameters":[{"name":"category","in":"query","schema":{"type":"string","enum":["host","application"]}}],"responses":{"200":{"description":"Agent","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Agent"}}}}},"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":{}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Get applications types list

> Return the list of all applications types

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"ApplicationType":{"type":"object","properties":{"isValidForCreation":{"type":"boolean","description":"Indicates if application type can be created for the server version"},"longString":{"type":"string","description":"Application name and more details"},"shortString":{"type":"string","description":"Application name"},"backupFioCapable":{"type":"boolean","description":"Indicates if backup using FIO technology is available for the application"},"tarFormatCapable":{"type":"boolean","description":"Indicates if Tar format is available for an application"},"tinaFormatCapable":{"type":"boolean","description":"Indicates if Tina format is available for an application"},"cpioFormatCapable":{"type":"boolean","description":"Indicates if Cpio format is available for an application"},"syntheticCapable":{"type":"boolean","description":"Indicates if an application support synthetic backup"},"backupThroughNFSCapable":{"type":"boolean","description":"Indicates if an application support backup through NFS"},"backupACLSCapable":{"type":"boolean","description":"Indicates if an application support backup of ACLS"},"backupFFSCapable":{"type":"boolean","description":"Indicates if an application support backup using FFS flag"},"applicationSheetType":{"type":"integer","description":"Correspondence between application sheet type and application type: <pre><code><li>1=1<li>1=2<li>9=3<li>8=4<li>4=5<li>5=6<li>4=7<li>3=8<li>3=9<li>1=10<li>6=11<li>10=12<li>1=13<li>4=14<li>7=15<li>3=16<li>4=17<li>4=18<li>6=19<li>5=20<li>4=21<li>5=22<li>4=23<li>4=24<li>3=25<li>5=26<li>9=27<li>6=28<li>4=29<li>6=30<li>10=31<li>10=32<li>4=33<li>4=34<li>6=35<li>6=36<li>4=37<li>0=38<li>0=39<li>5=40<li>6=41<li>4=42<li>6=43<li>4=44<li>6=45<li>6=46<li>6=47<li>6=48<li>4=50</pre></code>","format":"int32","enum":[0,3,4,5,6,8,9,10]},"clonable":{"type":"boolean","description":"Boolean value that indicates if the application is cloneable"},"clonableOtherHost":{"type":"boolean","description":"Boolean value that indicates if the application type is cloneable to an other host"},"clonableSameHost":{"type":"boolean","description":"boolean value that indicate if the application type is clonable on the same host"},"containVm":{"type":"boolean","description":"Contain a virtual machine, only for the following application type : <pre><code><li>35<li>33<li>47<li>45</pre></code> application types"},"isValidForUse":{"type":"boolean","description":"Indicates if application type is usable for the server version"},"supportSnapshots":{"type":"boolean","description":"Indicates if an application support snapshot backup"},"secondaryPoolCapable":{"type":"boolean","description":"Indicates if backup on multiple devices are available for an application"},"type":{"maximum":48,"minimum":1,"type":"integer","description":"<pre><code><li>1=Oracle7<li>2=Informix<li>3=Filesystem<li>4=Oracle<li>5=Exchange Server<li>6=List<li>7=Lotus Domino<li>8=SQL Server<li>9=Sybase ASE<li>10=Novell NDS<li>11=NDMP<li>12=Catalog<li>13=Novell SMS<li>14=System State<li>15=Net Disk<li>16=Db2<li>17=SharePoint Server 2000<li>18=Automated System Recovery<li>19=i5 OS<li>20=VMware VM<li>21=SharePoint Server<li>22=VMware VCB<li>23=System Recovery Agent<li>24=ALN Migration<li>25=MySQL<li>26=PostgreSQL<li>27=VM Restore<li>28=Xen Server<li>29=Hyper-V<li>30=vSphere<li>31=Catalog Backup<li>32=HV FileSystem<li>33=HV Agent for Hyper-V (Legacy)<li>34=HV Agent for Exchange<li>35=HV Agent for VMware<li>36=HV VMware Slave<li>37=HV Exchange Slave<li>38=HV VMware Indexation<li>39=HV Hyper-V Indexation<li>40=K-DB database<li>41=HV Agent for FusionCompute<li>42=HV FusionCompute Slave<li>43=Agent for Office 365<li>44=Office 365 Slave<li>45=OpenStack Virtualisation Agent<li>46=OpenStack Virtualisation Agent slave<li>47=Nutanix Virtualisation Agent<li>48=Nutanix Virtualisation Agent slave<li>50=Hyper-V Agent</pre></code>","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/agents/applications/types":{"get":{"tags":["List","Agents"],"summary":"Get applications types list","description":"Return the list of all applications types","operationId":"ApplicationsTypesList","responses":{"200":{"description":"Application Type","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApplicationType"}}}}},"400":{"description":"Bad request","content":{"application/json":{}}},"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":{}}}}}}}}
```

## Get discovered hosts list

> Return the list of all hosts discovered

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"HostGhostDto":{"type":"object","properties":{"availableActions":{"type":"array","items":{"type":"string","description":"List of available actions on discovered host","enum":["Create","Delete","Blacklist"]}},"publicId":{"type":"string","description":"Discovered host publicId"},"name":{"type":"string","description":"Discovered hostname or ip address"},"osTypeName":{"type":"string","description":"Human readable OS type"},"protocolVersion":{"type":"string","description":"Backup software protocol version available on discovered host"},"status":{"type":"string","description":"Status of the discovered host","enum":["DISCOVERED_NOT_DECLARED","DISCOVERED_ALREADY_DECLARED","BLACKLISTED"]},"hostType":{"$ref":"#/components/schemas/HostType"}},"xml":{"name":"HostGhostDto"}},"HostType":{"type":"object","properties":{"isValidForCreation":{"type":"boolean","description":"Indicates a host can be created with this host type"},"longString":{"type":"string","description":"Long name of the OS"},"shortString":{"type":"string","description":"Short name of the OS"},"backupable":{"type":"boolean","description":"Whether host type is support backup"},"backupFioCapable":{"type":"boolean","description":"Whether host type can backup using FIO technology"},"tarFormatCapable":{"type":"boolean","description":"Whether host type can use TAR format to backup"},"tinaFormatCapable":{"type":"boolean","description":"Whether host type can use TINA format to backup"},"cpioFormatCapable":{"type":"boolean","description":"Whether host type can use CPIO format to backup"},"syntheticCapable":{"type":"boolean","description":"Whether host type can use synthetic backup"},"backupThroughNFSCapable":{"type":"boolean","description":"Indicates if a host support backup trough NFS"},"backupACLSCapable":{"type":"boolean","description":"Indicates if a host support backup of ACLS attributes"},"backupFFSCapable":{"type":"boolean","description":"Indicates if an application support backup using FFS flag"},"storageNode":{"type":"boolean","description":"Whether host type can be a storage node"},"useTiNaProtocol":{"type":"boolean","description":"Whether host type use TINA protocol"},"useNdmpProtocol":{"type":"boolean","description":"Whether host type use NDMP protocol"},"supportSnapshots":{"type":"boolean","description":"Whether host type supports snapshot technologies"},"secondaryPoolCapable":{"type":"boolean","description":"Whether host type can use secondary pool to backup"},"type":{"type":"integer","description":"Integer representation of Host Type<pre><code><li>Linux=37<li>Windows 10=83<li>Windows Server 2019=86<li>etc</pre></code>","format":"int32"},"osType":{"$ref":"#/components/schemas/OsType"}},"description":"Integer representation of Host Type<pre><code><li>Linux=37<li>Windows 10=83<li>Windows Server 2019=86<li>etc</pre></code>"},"OsType":{"type":"object","properties":{"isUnix":{"type":"boolean","description":"Indicates if OS is a Unix OS type"},"isWindows":{"type":"boolean","description":"Indicates if OS is a Windows OS type"},"name":{"type":"string","description":"OS Name"},"type":{"type":"integer","description":"OS Type id, 2=Q_TYPE_OS_UNIX, 4=Q_TYPE_OS_WIN3_OLD, 5=Q_TYPE_OS_WINAPI32","format":"int32","enum":[2,4,5]}},"description":"ArchiveFolder OS Type"},"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/agents/hosts/discovered":{"get":{"tags":["List","Agents"],"summary":"Get discovered hosts list","description":"Return the list of all hosts discovered","operationId":"HostsDiscoveredList","responses":{"200":{"description":"Host Discovered","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HostGhostDto"}}}}},"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":{}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Get hosts types list

> Return the list of all hosts types

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"HostType":{"type":"object","properties":{"isValidForCreation":{"type":"boolean","description":"Indicates a host can be created with this host type"},"longString":{"type":"string","description":"Long name of the OS"},"shortString":{"type":"string","description":"Short name of the OS"},"backupable":{"type":"boolean","description":"Whether host type is support backup"},"backupFioCapable":{"type":"boolean","description":"Whether host type can backup using FIO technology"},"tarFormatCapable":{"type":"boolean","description":"Whether host type can use TAR format to backup"},"tinaFormatCapable":{"type":"boolean","description":"Whether host type can use TINA format to backup"},"cpioFormatCapable":{"type":"boolean","description":"Whether host type can use CPIO format to backup"},"syntheticCapable":{"type":"boolean","description":"Whether host type can use synthetic backup"},"backupThroughNFSCapable":{"type":"boolean","description":"Indicates if a host support backup trough NFS"},"backupACLSCapable":{"type":"boolean","description":"Indicates if a host support backup of ACLS attributes"},"backupFFSCapable":{"type":"boolean","description":"Indicates if an application support backup using FFS flag"},"storageNode":{"type":"boolean","description":"Whether host type can be a storage node"},"useTiNaProtocol":{"type":"boolean","description":"Whether host type use TINA protocol"},"useNdmpProtocol":{"type":"boolean","description":"Whether host type use NDMP protocol"},"supportSnapshots":{"type":"boolean","description":"Whether host type supports snapshot technologies"},"secondaryPoolCapable":{"type":"boolean","description":"Whether host type can use secondary pool to backup"},"type":{"type":"integer","description":"Integer representation of Host Type<pre><code><li>Linux=37<li>Windows 10=83<li>Windows Server 2019=86<li>etc</pre></code>","format":"int32"},"osType":{"$ref":"#/components/schemas/OsType"}},"description":"Integer representation of Host Type<pre><code><li>Linux=37<li>Windows 10=83<li>Windows Server 2019=86<li>etc</pre></code>"},"OsType":{"type":"object","properties":{"isUnix":{"type":"boolean","description":"Indicates if OS is a Unix OS type"},"isWindows":{"type":"boolean","description":"Indicates if OS is a Windows OS type"},"name":{"type":"string","description":"OS Name"},"type":{"type":"integer","description":"OS Type id, 2=Q_TYPE_OS_UNIX, 4=Q_TYPE_OS_WIN3_OLD, 5=Q_TYPE_OS_WINAPI32","format":"int32","enum":[2,4,5]}},"description":"ArchiveFolder OS Type"},"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/agents/hosts/types":{"get":{"tags":["List","Agents"],"summary":"Get hosts types list","description":"Return the list of all hosts types","operationId":"HostsTypesList","responses":{"200":{"description":"Host Type","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HostType"}}}}},"400":{"description":"Bad request","content":{"application/json":{}}},"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":{}}}}}}}}
```

## Get binaries list

> Return the list of all binaries

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"Binary":{"type":"object","properties":{"binaryList":{"type":"array","items":{"type":"string","description":"List of available binaries for module installation. When a binary is missing the module won't be available"}}},"xml":{"name":"Binary"}},"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/agents/hosts/binaries":{"get":{"tags":["List","Tunables","Event notifications","Agents"],"summary":"Get binaries list","description":"Return the list of all binaries","operationId":"BinariesList","responses":{"200":{"description":"Binaries","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Binary"}}}}},"400":{"description":"Bad request","content":{"application/json":{}}},"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":{}}}}}}}}
```

## Get catalogs list

> Return the list of all catalogs

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"Catalog":{"type":"object","properties":{"name":{"type":"string","description":"Catalog name"},"id":{"type":"string","description":"catalogName@serverName@tcpPort"},"comment":{"type":"string","description":"Comment about catalog"},"serverName":{"type":"string","description":"Server name"},"tcpPort":{"type":"integer","description":"TCP port","format":"int32"},"udpPort":{"type":"integer","description":"UDP port","format":"int32"}},"xml":{"name":"Catalog"}},"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/agents/hosts/{hostPublicId}/catalogs":{"get":{"tags":["List","Tunables","Event notifications","Agents"],"summary":"Get catalogs list","description":"Return the list of all catalogs","operationId":"CatalogsList","parameters":[{"name":"hostPublicId","in":"path","description":"Host publicId from which catalog list will be retrieved","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Catalogs","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Catalog"}}}}},"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":{}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Get a configuration module by publicId

> Return a configuration module by its publicId

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"ConfigurationModule":{"type":"object","properties":{"availableActions":{"type":"array","items":{"type":"string","description":"Available actions for the module"}},"moduleName":{"type":"string","description":"Module name"},"moduleStatus":{"pattern":"^CONFIGURED$|^CANT_BE_CONFIGURED$|^NOT_CONFIGURED$|^HOST_UNREACHABLE$|^UNKNOWN$","type":"string","description":"Module status","enum":["CONFIGURED","CANT_BE_CONFIGURED","NOT_CONFIGURED","UNKNOWN","HOST_UNREACHABLE"]},"publicId":{"type":"string","description":"Module public id (now equals the module name)","enum":["NDMP","FFS","OFFICE365","VSTORAGE","XDCS"]}},"xml":{"name":"ConfigurationModule"}},"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/agents/{agentPublicId}/configuration-modules/{configurationModuleId}":{"get":{"tags":["Agents"],"summary":"Get a configuration module by publicId","description":"Return a configuration module by its publicId","operationId":"ConfigurationModulesGet","parameters":[{"name":"agentPublicId","in":"path","description":"Agent publicId from which configuration module object will be retrieved","required":true,"schema":{"type":"string"}},{"name":"configurationModuleId","in":"path","description":"Configuration module publicId from which configuration module object will be retrieved","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigurationModule"}}}},"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":{}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Get configuration modules list

> Return the list of all configuration modules

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"ConfigurationModule":{"type":"object","properties":{"availableActions":{"type":"array","items":{"type":"string","description":"Available actions for the module"}},"moduleName":{"type":"string","description":"Module name"},"moduleStatus":{"pattern":"^CONFIGURED$|^CANT_BE_CONFIGURED$|^NOT_CONFIGURED$|^HOST_UNREACHABLE$|^UNKNOWN$","type":"string","description":"Module status","enum":["CONFIGURED","CANT_BE_CONFIGURED","NOT_CONFIGURED","UNKNOWN","HOST_UNREACHABLE"]},"publicId":{"type":"string","description":"Module public id (now equals the module name)","enum":["NDMP","FFS","OFFICE365","VSTORAGE","XDCS"]}},"xml":{"name":"ConfigurationModule"}},"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/agents/{agentPublicId}/configuration-modules":{"get":{"tags":["List","Agents"],"summary":"Get configuration modules list","description":"Return the list of all configuration modules","operationId":"ConfigurationModulesList","parameters":[{"name":"agentPublicId","in":"path","description":"Agent publicId from which configuration module list will be retrieved","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Configuration Module","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ConfigurationModule"}}}}},"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":{}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Get environment variables descriptions list

> Return the list of all environment variables descriptions

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"EnvVarDescription":{"type":"object","properties":{"name":{"type":"string","description":"Return environment variable name "},"presentationName":{"type":"string","description":"Return an explicit name, a short description"},"description":{"type":"string","description":"Return the description qualifying the environment variable"},"defaultValue":{"type":"string","description":"If available will provide a default value"},"versionApp":{"type":"string","description":"Return the application version linked to the environment variable"},"isMandatory":{"type":"boolean","description":"Return true if the environment variable is mandatory"},"isWindows":{"type":"boolean","description":"Return true if the environment variable is only applicable on Windows"},"isUnix":{"type":"boolean","description":"Return true if the environment variable is only applicable on Unix"},"isUsedForEdition":{"type":"boolean","description":"Set if environment variable is needed in edition"},"isUsedForCreation":{"type":"boolean","description":"Set if environment variable is needed for creation"},"isPassword":{"type":"boolean","description":"Return true if the environment variable contain a password or secret"},"valueType":{"type":"string","description":"Return variable type as a string","enum":["STRING","BOOLEAN","INTEGER","DATE","FILENAME","PATH","APPLICATION_FILENAME","APPLICATION_PATH","HOST_FILENAME","HOST_PATH","USERNAME"]},"valueForm":{"type":"string","description":"Return variable form as a string","enum":["SINGLE","ENUM","RANGE","RAW"]},"EnvVarValueDescriptionEnumItem":{"type":"array","items":{"$ref":"#/components/schemas/EnvVarValueDescriptionEnumItem"}},"EnvVarValueDescriptionRange":{"$ref":"#/components/schemas/EnvVarValueDescriptionRange"}},"description":"List of available environment variables descriptions","xml":{"name":"EnvironmentVariableDescription"}},"EnvVarValueDescriptionEnumItem":{"type":"object","properties":{"comment":{"type":"string","description":"Comment of the custom enumeration"},"name":{"type":"string","description":"Name of the custom enumeration"},"value":{"type":"string","description":"Value of the custom enumeration"}},"description":"Return custom enumeration containing the name, value and comment"},"EnvVarValueDescriptionRange":{"type":"object","properties":{"comment":{"type":"string"},"hasMinThreshold":{"type":"boolean","description":"Indicates if there is a minimum threshold according to environment variable specification"},"hasMaxThreshold":{"type":"boolean","description":"Indicates if there is a maximum threshold according to environment variable specification"},"min":{"type":"integer","description":"Minimum value available according to environment variable specification","format":"int32"},"max":{"type":"integer","description":"Maximum value available according to environment variable specification","format":"int32"}},"description":"Return minimum and maximum values available according to environment variable specification"},"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/agents/application-types/{applicationTypeId}/environment-variables-descriptions":{"get":{"tags":["List","Agents"],"summary":"Get environment variables descriptions list","description":"Return the list of all environment variables descriptions","operationId":"EnvironmentVariablesDescriptionsList","parameters":[{"name":"applicationTypeId","in":"path","description":" Application type Id from which environment variables descriptions will be retrieved","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Environment VariablesDescriptions","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EnvVarDescription"}}}}},"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":{}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Get host system information

> Return the information from the host passed as parameter

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"HostSystemInfo":{"type":"object","properties":{"installPath":{"type":"string","description":"Backup Software installation path"},"name":{"type":"string","description":"Host name"},"type":{"$ref":"#/components/schemas/HostType"}}},"HostType":{"type":"object","properties":{"isValidForCreation":{"type":"boolean","description":"Indicates a host can be created with this host type"},"longString":{"type":"string","description":"Long name of the OS"},"shortString":{"type":"string","description":"Short name of the OS"},"backupable":{"type":"boolean","description":"Whether host type is support backup"},"backupFioCapable":{"type":"boolean","description":"Whether host type can backup using FIO technology"},"tarFormatCapable":{"type":"boolean","description":"Whether host type can use TAR format to backup"},"tinaFormatCapable":{"type":"boolean","description":"Whether host type can use TINA format to backup"},"cpioFormatCapable":{"type":"boolean","description":"Whether host type can use CPIO format to backup"},"syntheticCapable":{"type":"boolean","description":"Whether host type can use synthetic backup"},"backupThroughNFSCapable":{"type":"boolean","description":"Indicates if a host support backup trough NFS"},"backupACLSCapable":{"type":"boolean","description":"Indicates if a host support backup of ACLS attributes"},"backupFFSCapable":{"type":"boolean","description":"Indicates if an application support backup using FFS flag"},"storageNode":{"type":"boolean","description":"Whether host type can be a storage node"},"useTiNaProtocol":{"type":"boolean","description":"Whether host type use TINA protocol"},"useNdmpProtocol":{"type":"boolean","description":"Whether host type use NDMP protocol"},"supportSnapshots":{"type":"boolean","description":"Whether host type supports snapshot technologies"},"secondaryPoolCapable":{"type":"boolean","description":"Whether host type can use secondary pool to backup"},"type":{"type":"integer","description":"Integer representation of Host Type<pre><code><li>Linux=37<li>Windows 10=83<li>Windows Server 2019=86<li>etc</pre></code>","format":"int32"},"osType":{"$ref":"#/components/schemas/OsType"}},"description":"Integer representation of Host Type<pre><code><li>Linux=37<li>Windows 10=83<li>Windows Server 2019=86<li>etc</pre></code>"},"OsType":{"type":"object","properties":{"isUnix":{"type":"boolean","description":"Indicates if OS is a Unix OS type"},"isWindows":{"type":"boolean","description":"Indicates if OS is a Windows OS type"},"name":{"type":"string","description":"OS Name"},"type":{"type":"integer","description":"OS Type id, 2=Q_TYPE_OS_UNIX, 4=Q_TYPE_OS_WIN3_OLD, 5=Q_TYPE_OS_WINAPI32","format":"int32","enum":[2,4,5]}},"description":"ArchiveFolder OS Type"},"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/agents/hosts/{hostPublicId}/information":{"get":{"tags":["Agents"],"summary":"Get host system information","description":"Return the information from the host passed as parameter","operationId":"getHostSystemInfo","parameters":[{"name":"hostPublicId","in":"path","description":"Host publicId from which host system information will be retrieved","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Host System Information","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HostSystemInfo"}}}}},"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":{}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Get hosts available list

> Return the list of all hosts available

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"Agent":{"type":"object","properties":{"category":{"type":"string","description":"Agent category","enum":["HOST","APPLICATION"]},"name":{"type":"string","description":"Full platform name (host or application)"},"osType":{"$ref":"#/components/schemas/EnvVar"},"applicationType":{"$ref":"#/components/schemas/EnvVar"},"comment":{"type":"string","description":"Agent comment"},"softwareVersion":{"type":"string","description":"Backup software version of the system"},"publicId":{"type":"string","description":"Agent public Id"},"isStorageNode":{"type":"boolean","description":"The host is a storage node (host only)"},"isSecured":{"type":"boolean","description":"The host is secured (host only)"},"definedStratList":{"type":"array","items":{"type":"string","description":"Strategies defined on this agent","enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D"]}},"activeStratList":{"type":"array","items":{"type":"string","description":"Active Strategies on this agent","enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D"]}},"hostName":{"type":"string","description":"Host name"},"hostId":{"type":"string","description":"Host Id"},"isEnabled":{"type":"boolean","description":"Indicates if the agent is enabled"},"isServer":{"type":"boolean","description":"Indicates if the agent is a server"},"isUnix":{"type":"boolean","description":"Indicates if the agent has a Unix OS"},"isWindows":{"type":"boolean","description":"Indicates if the agent has a Windows OS"},"isBackupable":{"type":"boolean","description":"Indicates if the agent is backup-able"},"canStartBackupA":{"type":"boolean"},"canStartBackupB":{"type":"boolean"},"canStartBackupC":{"type":"boolean"},"canStartBackupD":{"type":"boolean"},"isRestorable":{"type":"boolean","description":"Indicates if the agent is restorable"},"hasTinaProtocol":{"type":"boolean","description":"Indicates if the agent has Tina protocol"},"hasNdmpProtocol":{"type":"boolean","description":"Indicates if the agent has NDMP protocol"},"canCreateStandardStrategy":{"type":"boolean","description":"Indicates if the agent can create standard strategy"},"canCreateSnapshotStrategy":{"type":"boolean","description":"Indicates if the agent can create snapshot strategy"},"canCreateDeduplicationStrategy":{"type":"boolean","description":"Indicates if the agent can create deduplication strategy"},"canCreateCloudStrategy":{"type":"boolean","description":"Indicates if the agent can create cloud strategy"},"canCreateEnhancedDiskStrategy":{"type":"boolean","description":"Indicates if the agent can create enhanced disk strategy"},"canCreateStreamStrategy":{"type":"boolean","description":"Indicates if the agent can create stream deduplication strategy"},"canUseTrustedAuthentication":{"type":"boolean","description":"Indicates if the agent can use trusted authentication, only available when software backup is configure in appliance mode"},"highestAlarm":{"type":"string","description":"Highest alarm associated to Agent","enum":["SEVERITY_MINOR","SEVERITY_MAJOR","SEVERITY_CRITICAL"]},"summaryStratList":{"type":"array","items":{"$ref":"#/components/schemas/SummaryStrategy"}},"availableActions":{"type":"array","items":{"type":"string","description":"Available actions on the agent","enum":["CheckConnection","AgentDelete","Disable","Enable","StartBackup","StartRestore"]}},"backupSelectionList":{"type":"array","items":{"$ref":"#/components/schemas/BackupSelection"}}},"xml":{"name":"Agent"}},"EnvVar":{"type":"object","properties":{"name":{"type":"string","description":"Environment variable name"},"value":{"type":"string","description":"Environment variable value"}},"description":"Tuplet name/value","xml":{"name":"EnvVar"}},"SummaryStrategy":{"type":"object","properties":{"name":{"type":"string","description":"Strategy Name","enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D"]},"publicId":{"type":"string"},"isActive":{"type":"boolean"},"isFullActive":{"type":"boolean"},"isIncrActive":{"type":"boolean"}},"description":"Summary of the strategies set on this agent","xml":{"name":"SummaryStrategy"},"enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D"]},"BackupSelection":{"type":"object","properties":{"availableActions":{"type":"array","items":{"type":"string","description":"Available action name","enum":["Delete","BulkEdition"]}},"secured":{"type":"boolean","description":"Indicates if the backup selection is secured"},"filtered":{"type":"boolean","description":"Indicates if the backup selection is filtered"},"publicId":{"type":"string","description":"Backup selection public Id"},"agentName":{"type":"string","description":"Name of the agent where the backup selection is defined"},"securedVolume":{"type":"integer","description":"Volume in bytes secured by this backup selection","format":"int64"},"path":{"type":"string","description":"Path of Backup Selection"},"strategyList":{"type":"array","items":{"type":"string","description":"Strategy name","enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D"]}}},"xml":{"name":"BackupSelection"}},"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/agents/application-types/{applicationTypeId}/available-hosts":{"get":{"tags":["List","Agents"],"summary":"Get hosts available list","description":"Return the list of all hosts available","operationId":"HostsAvailableList","parameters":[{"name":"applicationTypeId","in":"path","description":" Application type Id from which available hosts will be retrieved","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Host Available","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Agent"}}}}},"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":{}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Get O365 SharePoint Site list

> Return the list of all O365 SharePoint Site

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"O365SharePointSiteFilterInput":{"required":["sharePointSiteFilter"],"type":"object","properties":{"applicationIdListFilter":{"type":"array","items":{"type":"string","description":"List of application ids"}},"strategyFilter":{"type":"string","description":"Search filter for a specific strategy, if not specified, default value is STRATEGY_ANY","enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D","STRATEGY_ANY"]},"syncDate":{"type":"string","description":"Synchronization date (in ISO 8601 format - ex : \"2022-03-17\""},"searchInAlternateName":{"type":"boolean","description":"Search in alternate name if one exist","default":false},"sharePointSiteFilter":{"type":"string","description":"SharePoint site filter"},"nbSharePointSiteMax":{"type":"integer","description":"Maximum number of SharePoint Sites","format":"int32"},"syncDateAsDateIncludingLastMinute":{"type":"string","description":"Sync date as date including last Minute","format":"date-time"}}},"O365SharePointSite":{"type":"object","properties":{"sharePointEntry":{"$ref":"#/components/schemas/NavigatorEntryDto"},"sharePointName":{"type":"string","description":"O365 Sharepoint name"},"applicationName":{"type":"string","description":"O365 application name"},"applicationPublicId":{"type":"string","description":"O365 application public Id"}}},"NavigatorEntryDto":{"type":"object","properties":{"tinaPathFull":{"type":"string","description":"Full path"},"presentationPathFull":{"type":"string","description":"Full presentation path"},"presentationPathRel":{"type":"string","description":"Relative presentation path"},"alternatePresentationPathRel":{"type":"string","description":"Relative alternate presentation path"},"isDir":{"type":"boolean","description":"Indicates if navigator entry is a directory"},"isVm":{"type":"boolean","description":"Indicates if the navigator entry is a virtual machine"},"backupTime":{"type":"string","description":"Backup time","format":"date-time"},"fileSize":{"type":"integer","description":"File size","format":"int64"},"backupId":{"type":"integer","description":"Backup id","format":"int64"},"disappeared":{"type":"boolean","description":"Indicates if the navigator entry has disappeared"},"isBackupSelection":{"type":"boolean","description":"Indicates if the navigator entry is a backup selection"},"hasBackupSelectionUnder":{"type":"boolean","description":"Indicates if there are backup selections in its folders"},"disappearedDate":{"type":"string","description":"Indicates when the navigator entry has disappeared","format":"date-time"},"strategyList":{"type":"array","items":{"type":"string","description":"List of strategies associated to the navigator entry"}},"type":{"type":"integer","description":" Object operating system type. 0: file ; 1 : folder/file ; 2 : symbolic link ; 3 : file special character ; 4 : file special bloc ;  5 :  pipe or FIFO  ;  6 : socket ;  7 : door ; 16 :  init; 32 : unknown object","format":"int32","enum":[1,2,3,4,5,6,7,16,32]},"metaType":{"type":"integer","description":"Object meta-types, used to define the icon","format":"int32"},"fuzzy":{"type":"boolean","description":"Indicates if a file was edited during its backup which makes the instance fuzzy"}},"description":"Navigator Entry of the task result","xml":{"name":"NavigatorEntryDto"}},"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/agents/application-types/{applicationTypeId}/sharepoint-sites":{"post":{"tags":["List","Agents"],"summary":"Get O365 SharePoint Site list","description":"Return the list of all O365 SharePoint Site","operationId":"getO365SharePointSiteList","parameters":[{"name":"applicationTypeId","in":"path","description":"Application type id from which Users will be retrieved","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/O365SharePointSiteFilterInput"}}}},"responses":{"200":{"description":"Full result, return the list of all found O365 SharePoint Site","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/O365SharePointSite"}}}}},"206":{"description":"Partial result return an incomplete list of O365 SharePoint Site","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/O365SharePointSite"}}}}},"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":{}}},"413":{"description":"Request Entity Too Large","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 O365 Teams Chat list

> Return the list of all O365 Teams Chat

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"O365TeamsChatFilterInput":{"required":["teamsChatFilter"],"type":"object","properties":{"applicationIdListFilter":{"type":"array","items":{"type":"string","description":"List of application ids"}},"strategyFilter":{"type":"string","description":"Search filter for a specific strategy, if not specified, default value is STRATEGY_ANY","enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D","STRATEGY_ANY"]},"syncDate":{"type":"string","description":"Synchronization date (in ISO 8601 format - ex : \"2022-03-17\""},"searchInAlternateName":{"type":"boolean","description":"Search in alternate name if one exist","default":false},"teamsChatFilter":{"type":"string","description":"Teams chat filter"},"nbTeamsChatMax":{"type":"integer","description":"Maximum number of teams chat","format":"int32"},"syncDateAsDateIncludingLastMinute":{"type":"string","description":"Sync date as date including last Minute","format":"date-time"}}},"O365TeamsChat":{"type":"object","properties":{"teamsChatEntry":{"$ref":"#/components/schemas/NavigatorEntryDto"},"teamsChatName":{"type":"string","description":"O365 Teams chat name"},"applicationName":{"type":"string","description":"O365 application name"},"applicationPublicId":{"type":"string","description":"O365 application public Id"}}},"NavigatorEntryDto":{"type":"object","properties":{"tinaPathFull":{"type":"string","description":"Full path"},"presentationPathFull":{"type":"string","description":"Full presentation path"},"presentationPathRel":{"type":"string","description":"Relative presentation path"},"alternatePresentationPathRel":{"type":"string","description":"Relative alternate presentation path"},"isDir":{"type":"boolean","description":"Indicates if navigator entry is a directory"},"isVm":{"type":"boolean","description":"Indicates if the navigator entry is a virtual machine"},"backupTime":{"type":"string","description":"Backup time","format":"date-time"},"fileSize":{"type":"integer","description":"File size","format":"int64"},"backupId":{"type":"integer","description":"Backup id","format":"int64"},"disappeared":{"type":"boolean","description":"Indicates if the navigator entry has disappeared"},"isBackupSelection":{"type":"boolean","description":"Indicates if the navigator entry is a backup selection"},"hasBackupSelectionUnder":{"type":"boolean","description":"Indicates if there are backup selections in its folders"},"disappearedDate":{"type":"string","description":"Indicates when the navigator entry has disappeared","format":"date-time"},"strategyList":{"type":"array","items":{"type":"string","description":"List of strategies associated to the navigator entry"}},"type":{"type":"integer","description":" Object operating system type. 0: file ; 1 : folder/file ; 2 : symbolic link ; 3 : file special character ; 4 : file special bloc ;  5 :  pipe or FIFO  ;  6 : socket ;  7 : door ; 16 :  init; 32 : unknown object","format":"int32","enum":[1,2,3,4,5,6,7,16,32]},"metaType":{"type":"integer","description":"Object meta-types, used to define the icon","format":"int32"},"fuzzy":{"type":"boolean","description":"Indicates if a file was edited during its backup which makes the instance fuzzy"}},"description":"Navigator Entry of the task result","xml":{"name":"NavigatorEntryDto"}},"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/agents/application-types/{applicationTypeId}/teams-chats":{"post":{"tags":["List","Agents"],"summary":"Get O365 Teams Chat list","description":"Return the list of all O365 Teams Chat","operationId":"getO365TeamsChatList","parameters":[{"name":"applicationTypeId","in":"path","description":"Application type id from which Users will be retrieved","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/O365TeamsChatFilterInput"}}}},"responses":{"200":{"description":"Full result, return the list of all found O365 Teams Chat","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/O365TeamsChat"}}}}},"206":{"description":"Partial result return an incomplete list of O365 Teams Chat","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/O365TeamsChat"}}}}},"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":{}}},"413":{"description":"Request Entity Too Large","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 O365 User list

> Return the list of all O365 Users

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"O365UserFilterInput":{"required":["userNameFilter"],"type":"object","properties":{"applicationIdListFilter":{"type":"array","items":{"type":"string","description":"List of application ids"}},"strategyFilter":{"type":"string","description":"Search filter for a specific strategy, if not specified, default value is STRATEGY_ANY","enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D","STRATEGY_ANY"]},"syncDate":{"type":"string","description":"Synchronization date (in ISO 8601 format - ex : \"2022-03-17\""},"searchInAlternateName":{"type":"boolean","description":"Search in alternate name if one exist","default":false},"nbUserMax":{"type":"integer","description":"Maximum number of users","format":"int32"},"userNameFilter":{"type":"string","description":"User name filter"},"syncDateAsDateIncludingLastMinute":{"type":"string","description":"Sync date as date including last Minute","format":"date-time"}}},"O365User":{"type":"object","properties":{"userEntry":{"$ref":"#/components/schemas/NavigatorEntryDto"},"userName":{"type":"string","description":"O365 user name"},"applicationName":{"type":"string","description":"O365 application name"},"applicationPublicId":{"type":"string","description":"O365 application public Id"}}},"NavigatorEntryDto":{"type":"object","properties":{"tinaPathFull":{"type":"string","description":"Full path"},"presentationPathFull":{"type":"string","description":"Full presentation path"},"presentationPathRel":{"type":"string","description":"Relative presentation path"},"alternatePresentationPathRel":{"type":"string","description":"Relative alternate presentation path"},"isDir":{"type":"boolean","description":"Indicates if navigator entry is a directory"},"isVm":{"type":"boolean","description":"Indicates if the navigator entry is a virtual machine"},"backupTime":{"type":"string","description":"Backup time","format":"date-time"},"fileSize":{"type":"integer","description":"File size","format":"int64"},"backupId":{"type":"integer","description":"Backup id","format":"int64"},"disappeared":{"type":"boolean","description":"Indicates if the navigator entry has disappeared"},"isBackupSelection":{"type":"boolean","description":"Indicates if the navigator entry is a backup selection"},"hasBackupSelectionUnder":{"type":"boolean","description":"Indicates if there are backup selections in its folders"},"disappearedDate":{"type":"string","description":"Indicates when the navigator entry has disappeared","format":"date-time"},"strategyList":{"type":"array","items":{"type":"string","description":"List of strategies associated to the navigator entry"}},"type":{"type":"integer","description":" Object operating system type. 0: file ; 1 : folder/file ; 2 : symbolic link ; 3 : file special character ; 4 : file special bloc ;  5 :  pipe or FIFO  ;  6 : socket ;  7 : door ; 16 :  init; 32 : unknown object","format":"int32","enum":[1,2,3,4,5,6,7,16,32]},"metaType":{"type":"integer","description":"Object meta-types, used to define the icon","format":"int32"},"fuzzy":{"type":"boolean","description":"Indicates if a file was edited during its backup which makes the instance fuzzy"}},"description":"Navigator Entry of the task result","xml":{"name":"NavigatorEntryDto"}},"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/agents/application-types/{applicationTypeId}/users":{"post":{"tags":["List","Agents"],"summary":"Get O365 User list","description":"Return the list of all O365 Users","operationId":"getO365UserList","parameters":[{"name":"applicationTypeId","in":"path","description":"Application type id from which Users will be retrieved","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/O365UserFilterInput"}}}},"responses":{"200":{"description":"Full result, return the list of all found O365 Users","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/O365User"}}}}},"206":{"description":"Partial result return an incomplete list of O365User","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/O365User"}}}}},"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":{}}},"413":{"description":"Request Entity Too Large","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 os users groups list

> Return the list of all os users groups

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"OsUsersGroups":{"type":"object","properties":{"users":{"type":"array","items":{"$ref":"#/components/schemas/OsObject"}},"groups":{"type":"array","items":{"$ref":"#/components/schemas/OsObject"}}},"xml":{"name":"OsUsersGroups"}},"OsObject":{"type":"object","properties":{"name":{"type":"string","description":"Name of the OS object which can either be an OS user or group"},"id":{"type":"integer","description":"Id of the OS object which can either be an OS user or group","format":"int32"}},"description":"Id and name of the group","xml":{"name":"OsObject"}},"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/agents/hosts/{hostPublicId}/os-users-groups":{"get":{"tags":["List","Agents"],"summary":"Get os users groups list","description":"Return the list of all os users groups","operationId":"OSUsersGroupsList","parameters":[{"name":"hostPublicId","in":"path","description":"Host publicId from which OsUsersGroups object will be retrieved","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OSUsersGroups","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OsUsersGroups"}}}}},"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":{}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Get snapshot types list

> Return the list of all snapshot types

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"SnapshotType":{"type":"object","properties":{"name":{"type":"string","description":"Snapshot type short name"},"longName":{"type":"string","description":"Snapshot type long name"},"technology":{"type":"string","description":"Snapshot technology","enum":["VOS","VSS","NDMP","SYMAPI","SNAPVAULT","ENGENIO","VSS_HYPERV","APFS","BTRFS","ZFS","OSTOR","NUTA"]}},"xml":{"name":"SnapshotType"}},"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/agents/{appPublicId}/snapshot-types":{"get":{"tags":["List","Agents"],"summary":"Get snapshot types list","description":"Return the list of all snapshot types","operationId":"SnapshotTypesList","parameters":[{"name":"appPublicId","in":"path","description":"Application publicId from which available snapshot types will be retrieved","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Snapshot Type","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SnapshotType"}}}}},"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":{}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Get a tunable by publicId

> Return a tunable by its publicId

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"Tunable":{"type":"object","properties":{"publicId":{"type":"string","description":"Tunable publicId"},"name":{"pattern":"[a-zA-Z0-9_-]+","type":"string","description":"Tunable name can contain: letters (lowercase or capital), numbers, '-' (dash) and '_' (underscore)"},"isEnabled":{"type":"boolean","description":"'true' if the tunable is enable"},"comment":{"type":"string","description":"Tunable comment"},"binaryList":{"type":"array","items":{"type":"string","description":"List of binary(ies) affected by the tunable, set '*' if you want apply this tunable to all binaries.","enum":["tina_deamon","tina_config","tina_init","*"],"default":"*"}},"catalogList":{"type":"array","items":{"type":"string","description":"List of catalog(s) name(s) affected by the tunable, set '*' if you want apply this tunable to all catalogs","default":"*"}},"description":{"$ref":"#/components/schemas/TunableDescription"},"valueList":{"type":"array","items":{"type":"string","description":"A tunable's value can have specific type if you use a defined tunable, if you create your tunable manually the value can be anything"}},"availableActions":{"type":"array","items":{"type":"string","description":"You can Enable, Disable, Propagate or Delete a tunable","enum":["Delete","Disable","Enable","Propagate"]}}},"xml":{"name":"Tunable"}},"TunableDescription":{"type":"object","properties":{"name":{"type":"string","description":"Parameter name"},"environment":{"type":"string","description":"Tunable environment"},"tunableName":{"type":"string","description":"Name used in the parameter's file"},"brief":{"type":"string","description":"Tunable brief"},"description":{"type":"string","description":"Tunable Description"},"category":{"pattern":"^BASIC$|^ADVANCED$|^INTERNAL$","type":"string","description":"Tunable category","enum":["BASIC","ADVANCED","INTERNAL"]},"group":{"pattern":"^Agent$|^Authentication$|^Cache$|^Catalog$|^CommandLine$|^Debug$|^Logs$|^Filesytem$|^GraphicalInterface$|^HardwareConfig$|^Indexing$|^JobConfig$|^Lsm$|^Ndmp$|^Netware$|^Network$|^Replication$|^Scm$|^Snapshot$|^TerminalServer$|^Process$|^Service$|^VolumeBilling$|^Internal$","type":"string","description":"Tunable group","enum":["Agent","Authentication","Cache","Catalog","CommandLine","Debug","Logs","Filesytem","GraphicalInterface","HardwareConfig","Indexing","JobConfig","Lsm","Ndmp","Netware","Network","Replication","Scm","Snapshot","TerminalServer","Process","Service","VolumeBilling","Internal"]},"startTunable":{"type":"boolean","description":"Indicates if it's a start tunable"},"binaries":{"type":"array","items":{"type":"string","description":"List of binary(ies) which can be affected by the tunable."}},"l10nBinaries":{"type":"array","items":{"type":"string","description":"List of binary(ies) which can be affected by this tunable. These binaries are specific for each language."}},"applications":{"type":"array","items":{"type":"string","description":"List of application(s) which can be affected by this tunable"}},"l10nApplications":{"type":"array","items":{"type":"string","description":"List of application(s) which can be affected by this tunable. These applications are specific for each language."}},"toBeSetOn":{"type":"array","items":{"type":"string","description":"List of tunable to be set on."}},"type":{"pattern":"^UNKNOWN$|^INTEGER$|^INTEGER_ARRAY$|^ARGUMENT$|^STRING$|^STRING_ARRAY$","type":"string","description":"Tunable type","enum":["UNKNOWN","INTEGER","INTEGER_ARRAY","ARGUMENT","STRING","STRING_ARRAY"]},"valueType":{"pattern":"^NONE$|^ENUM$|^RANGE$|^POSITIVE$|^RAW$","type":"string","description":"Type of tunable's value","enum":["NONE","ENUM","RANGE","POSITIVE","RAW"]},"comment":{"maxLength":1000,"minLength":0,"type":"string","description":"Tunable comment"},"min":{"type":"integer","description":"The minimum value of the tunable","format":"int32"},"max":{"type":"integer","description":"The maximum value of the tunable","format":"int32"},"isMin":{"type":"boolean","description":"Indicates it the value of the tunable is minimum"},"isMax":{"type":"boolean","description":"Indicates it the value of the tunable is maximum"},"constant":{"type":"array","items":{"type":"string","description":"Constant list of the tunable"}},"symbolic":{"type":"array","items":{"type":"string","description":"Symbolic list of the tunable"}},"itemComment":{"type":"array","items":{"type":"string","description":"List of item comment of the tunable"}},"maxLength":{"type":"integer","description":"Max length of the tunable description","format":"int32"},"value":{"type":"string","description":"Tunable value"},"parameterValueDescription":{"$ref":"#/components/schemas/TNServerParameterValueDescription"},"default":{"type":"string","description":"Default value"}},"description":"If you use defined tunable, most of the time there is a description to explain how this tunable works","xml":{"name":"TunableDescription"}},"TNServerParameterValueDescription":{"type":"object","properties":{"comment":{"type":"string"}}},"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/agents/hosts/{hostPublicId}/tunables/{tunablePublicId}":{"get":{"tags":["Tunables","Agents"],"summary":"Get a tunable by publicId","description":"Return a tunable by its publicId","operationId":"TunablesGet","parameters":[{"name":"hostPublicId","in":"path","description":"Host publicId from which tunable object will be retrieved","required":true,"schema":{"type":"string"}},{"name":"tunablePublicId","in":"path","description":"Tunable publicId from which tunable object will be retrieved","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tunable"}}}},"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":{}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Update a tunable

> Edit a tunable by its publicId

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"TunableEditionInput":{"type":"object","properties":{"publicId":{"type":"string","description":"Tunable publicId"},"name":{"pattern":"[a-zA-Z0-9_-]+","type":"string","description":"Tunable name can contain: letters (lowercase or capital), numbers, '-' (dash) and '_' (underscore)"},"isEnabled":{"type":"boolean","description":"'true' if the tunable is enable"},"comment":{"type":"string","description":"Tunable comment"},"binaryList":{"type":"array","items":{"type":"string","description":"List of binary(ies) affected by the tunable, set '*' if you want apply this tunable to all binaries.","enum":["tina_deamon","tina_config","tina_init","*"],"default":"*"}},"catalogList":{"type":"array","items":{"type":"string","description":"List of catalog(s) name(s) affected by the tunable, set '*' if you want apply this tunable to all catalogs","default":"*"}},"description":{"$ref":"#/components/schemas/TunableDescription"},"valueList":{"type":"array","items":{"type":"string","description":"A tunable's value can have specific type if you use a defined tunable, if you create your tunable manually the value can be anything"}},"availableActions":{"type":"array","items":{"type":"string","description":"You can Enable, Disable, Propagate or Delete a tunable","enum":["Delete","Disable","Enable","Propagate"]}}},"xml":{"name":"TunableEditionInput"}},"TunableDescription":{"type":"object","properties":{"name":{"type":"string","description":"Parameter name"},"environment":{"type":"string","description":"Tunable environment"},"tunableName":{"type":"string","description":"Name used in the parameter's file"},"brief":{"type":"string","description":"Tunable brief"},"description":{"type":"string","description":"Tunable Description"},"category":{"pattern":"^BASIC$|^ADVANCED$|^INTERNAL$","type":"string","description":"Tunable category","enum":["BASIC","ADVANCED","INTERNAL"]},"group":{"pattern":"^Agent$|^Authentication$|^Cache$|^Catalog$|^CommandLine$|^Debug$|^Logs$|^Filesytem$|^GraphicalInterface$|^HardwareConfig$|^Indexing$|^JobConfig$|^Lsm$|^Ndmp$|^Netware$|^Network$|^Replication$|^Scm$|^Snapshot$|^TerminalServer$|^Process$|^Service$|^VolumeBilling$|^Internal$","type":"string","description":"Tunable group","enum":["Agent","Authentication","Cache","Catalog","CommandLine","Debug","Logs","Filesytem","GraphicalInterface","HardwareConfig","Indexing","JobConfig","Lsm","Ndmp","Netware","Network","Replication","Scm","Snapshot","TerminalServer","Process","Service","VolumeBilling","Internal"]},"startTunable":{"type":"boolean","description":"Indicates if it's a start tunable"},"binaries":{"type":"array","items":{"type":"string","description":"List of binary(ies) which can be affected by the tunable."}},"l10nBinaries":{"type":"array","items":{"type":"string","description":"List of binary(ies) which can be affected by this tunable. These binaries are specific for each language."}},"applications":{"type":"array","items":{"type":"string","description":"List of application(s) which can be affected by this tunable"}},"l10nApplications":{"type":"array","items":{"type":"string","description":"List of application(s) which can be affected by this tunable. These applications are specific for each language."}},"toBeSetOn":{"type":"array","items":{"type":"string","description":"List of tunable to be set on."}},"type":{"pattern":"^UNKNOWN$|^INTEGER$|^INTEGER_ARRAY$|^ARGUMENT$|^STRING$|^STRING_ARRAY$","type":"string","description":"Tunable type","enum":["UNKNOWN","INTEGER","INTEGER_ARRAY","ARGUMENT","STRING","STRING_ARRAY"]},"valueType":{"pattern":"^NONE$|^ENUM$|^RANGE$|^POSITIVE$|^RAW$","type":"string","description":"Type of tunable's value","enum":["NONE","ENUM","RANGE","POSITIVE","RAW"]},"comment":{"maxLength":1000,"minLength":0,"type":"string","description":"Tunable comment"},"min":{"type":"integer","description":"The minimum value of the tunable","format":"int32"},"max":{"type":"integer","description":"The maximum value of the tunable","format":"int32"},"isMin":{"type":"boolean","description":"Indicates it the value of the tunable is minimum"},"isMax":{"type":"boolean","description":"Indicates it the value of the tunable is maximum"},"constant":{"type":"array","items":{"type":"string","description":"Constant list of the tunable"}},"symbolic":{"type":"array","items":{"type":"string","description":"Symbolic list of the tunable"}},"itemComment":{"type":"array","items":{"type":"string","description":"List of item comment of the tunable"}},"maxLength":{"type":"integer","description":"Max length of the tunable description","format":"int32"},"value":{"type":"string","description":"Tunable value"},"parameterValueDescription":{"$ref":"#/components/schemas/TNServerParameterValueDescription"},"default":{"type":"string","description":"Default value"}},"description":"If you use defined tunable, most of the time there is a description to explain how this tunable works","xml":{"name":"TunableDescription"}},"TNServerParameterValueDescription":{"type":"object","properties":{"comment":{"type":"string"}}},"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/agents/hosts/{hostPublicId}/tunables/{tunablePublicId}":{"put":{"tags":["Tunables","Agents"],"summary":"Update a tunable","description":"Edit a tunable by its publicId","operationId":"TunablesEdit","parameters":[{"name":"hostPublicId","in":"path","description":"Host publicId from which tunable object will be updated","required":true,"schema":{"type":"string"}},{"name":"tunablePublicId","in":"path","description":"Tunable publicId to update","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TunableEditionInput"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreationResponse"}}}},"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":{}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Get tunables descriptions list

> Return the list of all tunables descriptions

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"TunableDescription":{"type":"object","properties":{"name":{"type":"string","description":"Parameter name"},"environment":{"type":"string","description":"Tunable environment"},"tunableName":{"type":"string","description":"Name used in the parameter's file"},"brief":{"type":"string","description":"Tunable brief"},"description":{"type":"string","description":"Tunable Description"},"category":{"pattern":"^BASIC$|^ADVANCED$|^INTERNAL$","type":"string","description":"Tunable category","enum":["BASIC","ADVANCED","INTERNAL"]},"group":{"pattern":"^Agent$|^Authentication$|^Cache$|^Catalog$|^CommandLine$|^Debug$|^Logs$|^Filesytem$|^GraphicalInterface$|^HardwareConfig$|^Indexing$|^JobConfig$|^Lsm$|^Ndmp$|^Netware$|^Network$|^Replication$|^Scm$|^Snapshot$|^TerminalServer$|^Process$|^Service$|^VolumeBilling$|^Internal$","type":"string","description":"Tunable group","enum":["Agent","Authentication","Cache","Catalog","CommandLine","Debug","Logs","Filesytem","GraphicalInterface","HardwareConfig","Indexing","JobConfig","Lsm","Ndmp","Netware","Network","Replication","Scm","Snapshot","TerminalServer","Process","Service","VolumeBilling","Internal"]},"startTunable":{"type":"boolean","description":"Indicates if it's a start tunable"},"binaries":{"type":"array","items":{"type":"string","description":"List of binary(ies) which can be affected by the tunable."}},"l10nBinaries":{"type":"array","items":{"type":"string","description":"List of binary(ies) which can be affected by this tunable. These binaries are specific for each language."}},"applications":{"type":"array","items":{"type":"string","description":"List of application(s) which can be affected by this tunable"}},"l10nApplications":{"type":"array","items":{"type":"string","description":"List of application(s) which can be affected by this tunable. These applications are specific for each language."}},"toBeSetOn":{"type":"array","items":{"type":"string","description":"List of tunable to be set on."}},"type":{"pattern":"^UNKNOWN$|^INTEGER$|^INTEGER_ARRAY$|^ARGUMENT$|^STRING$|^STRING_ARRAY$","type":"string","description":"Tunable type","enum":["UNKNOWN","INTEGER","INTEGER_ARRAY","ARGUMENT","STRING","STRING_ARRAY"]},"valueType":{"pattern":"^NONE$|^ENUM$|^RANGE$|^POSITIVE$|^RAW$","type":"string","description":"Type of tunable's value","enum":["NONE","ENUM","RANGE","POSITIVE","RAW"]},"comment":{"maxLength":1000,"minLength":0,"type":"string","description":"Tunable comment"},"min":{"type":"integer","description":"The minimum value of the tunable","format":"int32"},"max":{"type":"integer","description":"The maximum value of the tunable","format":"int32"},"isMin":{"type":"boolean","description":"Indicates it the value of the tunable is minimum"},"isMax":{"type":"boolean","description":"Indicates it the value of the tunable is maximum"},"constant":{"type":"array","items":{"type":"string","description":"Constant list of the tunable"}},"symbolic":{"type":"array","items":{"type":"string","description":"Symbolic list of the tunable"}},"itemComment":{"type":"array","items":{"type":"string","description":"List of item comment of the tunable"}},"maxLength":{"type":"integer","description":"Max length of the tunable description","format":"int32"},"value":{"type":"string","description":"Tunable value"},"parameterValueDescription":{"$ref":"#/components/schemas/TNServerParameterValueDescription"},"default":{"type":"string","description":"Default value"}},"description":"If you use defined tunable, most of the time there is a description to explain how this tunable works","xml":{"name":"TunableDescription"}},"TNServerParameterValueDescription":{"type":"object","properties":{"comment":{"type":"string"}}},"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/agents/hosts/{hostPublicId}/tunables-descriptions":{"get":{"tags":["List","Tunables","Agents"],"summary":"Get tunables descriptions list","description":"Return the list of all tunables descriptions","operationId":"TunablesDescriptionsList","parameters":[{"name":"hostPublicId","in":"path","description":"Host publicId from which tunables description will be retrieved","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Tunable description","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TunableDescription"}}}}},"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":{}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## Get Virtual Machines list

> Return the list of all Virtual Machines

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"VmFilterInput":{"required":["vmNameFilter"],"type":"object","properties":{"applicationIdListFilter":{"type":"array","items":{"type":"string","description":"List of application ids"}},"strategyFilter":{"type":"string","description":"Search filter for a specific strategy, if not specified, default value is STRATEGY_ANY","enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D","STRATEGY_ANY"]},"syncDate":{"type":"string","description":"Synchronization date (in ISO 8601 format - ex : \"2022-03-17\""},"searchInAlternateName":{"type":"boolean","description":"Search in alternate name if one exist","default":false},"vmNameFilter":{"type":"string","description":"VM name filter"},"nbVmMax":{"type":"integer","description":"Maximum number of VMs","format":"int32"},"syncDateAsDateIncludingLastMinute":{"type":"string","description":"Sync date as date including last Minute","format":"date-time"}},"xml":{"name":"VmFilterInput"}},"VirtualMachine":{"type":"object","properties":{"vmEntry":{"$ref":"#/components/schemas/NavigatorEntryVMDto"},"applicationName":{"type":"string","description":"Application name"},"applicationPublicId":{"type":"string","description":"Application public id"},"virtualisationServerName":{"type":"string","description":"Virtualization server name"},"lastBackupDate":{"type":"string","description":"Last backup date","format":"date-time"}},"xml":{"name":"VirtualMachine"}},"NavigatorEntryVMDto":{"type":"object","properties":{"tinaPathFull":{"type":"string","description":"Full path"},"presentationPathFull":{"type":"string","description":"Full presentation path"},"presentationPathRel":{"type":"string","description":"Relative presentation path"},"alternatePresentationPathRel":{"type":"string","description":"Relative alternate presentation path"},"isDir":{"type":"boolean","description":"Indicates if navigator entry is a directory"},"isVm":{"type":"boolean","description":"Indicates if the navigator entry is a virtual machine"},"backupTime":{"type":"string","description":"Backup time","format":"date-time"},"fileSize":{"type":"integer","description":"File size","format":"int64"},"backupId":{"type":"integer","description":"Backup id","format":"int64"},"disappeared":{"type":"boolean","description":"Indicates if the navigator entry has disappeared"},"isBackupSelection":{"type":"boolean","description":"Indicates if the navigator entry is a backup selection"},"hasBackupSelectionUnder":{"type":"boolean","description":"Indicates if there are backup selections in its folders"},"disappearedDate":{"type":"string","description":"Indicates when the navigator entry has disappeared","format":"date-time"},"strategyList":{"type":"array","items":{"type":"string","description":"List of strategies associated to the navigator entry"}},"type":{"type":"integer","description":" Object operating system type. 0: file ; 1 : folder/file ; 2 : symbolic link ; 3 : file special character ; 4 : file special bloc ;  5 :  pipe or FIFO  ;  6 : socket ;  7 : door ; 16 :  init; 32 : unknown object","format":"int32","enum":[1,2,3,4,5,6,7,16,32]},"metaType":{"type":"integer","description":"Object meta-types, used to define the icon","format":"int32"},"fuzzy":{"type":"boolean","description":"Indicates if a file was edited during its backup which makes the instance fuzzy"},"getvmName":{"type":"string","description":"Name of the virtual machine on which browsing takes place"},"getvmUuid":{"type":"string","description":"UUID (unique id) of the virtual machine on which browsing takes place"}},"description":"VM entry","xml":{"name":"NavigatorEntryVMDto"}},"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/agents/application-types/{applicationTypeId}/vms":{"post":{"tags":["List","Agents"],"summary":"Get Virtual Machines list","description":"Return the list of all Virtual Machines","operationId":"VirtualMachinesList","parameters":[{"name":"applicationTypeId","in":"path","description":"Application type id from which VMs will be retrieved (filter with VM name or application Id in request body)","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VmFilterInput"}}}},"responses":{"200":{"description":"Full result, return the list of all found Vms","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VirtualMachine"}}}}},"206":{"description":"Partial response return an incomplete result","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VirtualMachine"}}}}},"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":{}}},"413":{"description":"Request Entity Too Large","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":{}}}}}}}}
```

## Agents actions

> Perform action on selected agents

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"AgentActionInputDelete":{"required":["actionName"],"type":"object","properties":{"publicIds":{"type":"array","items":{"type":"string","description":"List of public id of agents to delete"}},"payload":{"$ref":"#/components/schemas/AgentDeleteActionParameters"},"actionName":{"type":"string","description":"Name of the action:AgentDelete","enum":["AgentDelete"]}},"xml":{"name":"Action"}},"AgentDeleteActionParameters":{"type":"object","properties":{"saveBackupFolderInArchive":{"type":"boolean","description":"Allow user to archive agent on delete (agent must be of type system)"}},"description":"Payload for deleting an agent"},"AgentActionInputDisable":{"required":["actionName"],"type":"object","properties":{"publicIds":{"type":"array","items":{"type":"string","description":"List of public id of agents to disable"}},"actionName":{"type":"string","description":"Name of the action: Disable","enum":["Disable"]}},"xml":{"name":"Action"}},"AgentActionInputEnable":{"required":["actionName"],"type":"object","properties":{"publicIds":{"type":"array","items":{"type":"string","description":"List of public id of agents to enable"}},"actionName":{"type":"string","description":"Name of the action: Enable","enum":["Enable"]}},"xml":{"name":"Action"}},"AgentActionInputStartBackup":{"required":["actionName"],"type":"object","properties":{"publicIds":{"type":"array","items":{"type":"string","description":"List of public id of agents on which starting a backup"}},"payload":{"$ref":"#/components/schemas/AgentStartBackupActionParameters"},"actionName":{"type":"string","description":"Name of the action: StartBackup","enum":["StartBackup"]}},"xml":{"name":"Action"}},"AgentStartBackupActionParameters":{"required":["strategyMode","strategyName"],"type":"object","properties":{"strategyName":{"minLength":1,"pattern":"^STRATEGY_A$|^STRATEGY_B$|^STRATEGY_C$|^STRATEGY_D$","type":"string","description":"Strategy Name","enum":["STRATEGY_A","STRATEGY_B","STRATEGY_C","STRATEGY_D"]},"strategyMode":{"minLength":1,"pattern":"^FULL$|^INCREMENTAL$","type":"string","description":"Strategy Mode","enum":["FULL","INCREMENTAL"]}},"xml":{"name":"AgentActionStartBackupParameters"}},"AgentActionInputCheckConnection":{"required":["actionName"],"type":"object","properties":{"publicIds":{"type":"array","items":{"type":"string","description":"List of public id of the agents for which to check the connection"}},"actionName":{"type":"string","description":"Name of the action: CheckConnection","enum":["CheckConnection"]}},"xml":{"name":"Action"}},"AgentActionInputClone":{"required":["actionName"],"type":"object","properties":{"publicIds":{"type":"array","items":{"type":"string","description":"List of public id of agents to clone"}},"actionName":{"type":"string","description":"Name of the action: Clone","enum":["Clone"]}},"xml":{"name":"Action"}},"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/agents/actions":{"put":{"tags":["Actions","Agents"],"summary":"Agents actions","description":"Perform action on selected agents","operationId":"AgentsAction","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentActionInputDelete"},{"$ref":"#/components/schemas/AgentActionInputDisable"},{"$ref":"#/components/schemas/AgentActionInputEnable"},{"$ref":"#/components/schemas/AgentActionInputStartBackup"},{"$ref":"#/components/schemas/AgentActionInputCheckConnection"},{"$ref":"#/components/schemas/AgentActionInputClone"}]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{}}},"206":{"description":"Partial Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"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":{}}},"500":{"description":"Internal server error","content":{"application/json":{}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## AlarmFilters actions

> Perform action on selected alarms filters

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"AlarmFilterActionInputDelete":{"required":["actionName"],"type":"object","properties":{"publicIds":{"type":"array","items":{"type":"string","description":"List of public id of alarm filters to delete"}},"actionName":{"type":"string","description":"Name of the action: Delete","enum":["Delete"]}},"xml":{"name":"Action"}},"AlarmFilterActionInputDisable":{"required":["actionName"],"type":"object","properties":{"publicIds":{"type":"array","items":{"type":"string","description":"List of public id of alarm filters to disable"}},"actionName":{"type":"string","description":"Name of the action: Disable","enum":["Disable"]}},"xml":{"name":"Action"}},"AlarmFilterActionInputEnable":{"required":["actionName"],"type":"object","properties":{"publicIds":{"type":"array","items":{"type":"string","description":"List of public id of alarm filters to enable"}},"actionName":{"type":"string","description":"Name of the action: Enable","enum":["Enable"]}},"xml":{"name":"Action"}},"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/agents/hosts/{hostPublicId}/alarm-filtering/actions":{"put":{"tags":["Actions","Alarm filtering","Agents"],"summary":"AlarmFilters actions","description":"Perform action on selected alarms filters","operationId":"AlarmFiltersAction","parameters":[{"name":"hostPublicId","in":"path","description":"Host publicId from which alarm filtering action will be performed","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AlarmFilterActionInputDelete"},{"$ref":"#/components/schemas/AlarmFilterActionInputDisable"},{"$ref":"#/components/schemas/AlarmFilterActionInputEnable"}]}}}},"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":{"text/html":{}}},"406":{"description":"Not acceptable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponseList"}}}},"503":{"description":"Backup Service or catalog is unavailable","content":{"application/json":{}}}}}}}}
```

## ConfigurationModules actions

> Perform action on selected configuration modules

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"ConfigureModuleActionInputConfigure":{"required":["actionName"],"type":"object","properties":{"publicIds":{"type":"array","items":{"type":"string","description":"List of public id of module to configure"}},"payload":{"$ref":"#/components/schemas/ConfigurationModuleActionParameters"},"actionName":{"type":"string","description":"Name of the action: ConfigureModule","enum":["ConfigureModule"]}},"xml":{"name":"Action"}},"ConfigurationModuleActionParameters":{"type":"object"},"ConfigureModuleActionInputUnconfigure":{"required":["actionName"],"type":"object","properties":{"publicIds":{"type":"array","items":{"type":"string","description":"List of public id of module to unconfigure"}},"actionName":{"type":"string","description":"Name of the action: UnconfigureModule","enum":["UnconfigureModule"]}},"xml":{"name":"Action"}},"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/agents/{agentPublicId}/configuration-modules/actions":{"put":{"tags":["Actions","Agents"],"summary":"ConfigurationModules actions","description":"Perform action on selected configuration modules","operationId":"ConfigurationModulesAction","parameters":[{"name":"agentPublicId","in":"path","description":"Agent publicId from which configuration modules action will be performed","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ConfigureModuleActionInputConfigure"},{"$ref":"#/components/schemas/ConfigureModuleActionInputUnconfigure"}]}}}},"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":{"text/html":{}}},"406":{"description":"Not acceptable","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":{}}}}}}}}
```

## Actions on discovered host

> Perform action on selected discovered host

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"GhostActionInputCreate":{"required":["actionName"],"type":"object","properties":{"publicIds":{"type":"array","items":{"type":"string","description":"List of public id of the discovered hosts to create"}},"actionName":{"type":"string","description":"Name of the action: Create","enum":["Create"]}},"xml":{"name":"Action"}},"GhostActionInputBlacklist":{"required":["actionName"],"type":"object","properties":{"publicIds":{"type":"array","items":{"type":"string","description":"List of public id of the discovered hosts to blacklist"}},"actionName":{"type":"string","description":"Name of the action: Blacklist","enum":["Blacklist"]}},"xml":{"name":"Action"}},"GhostActionInputDelete":{"required":["actionName"],"type":"object","properties":{"publicIds":{"type":"array","items":{"type":"string","description":"List of public id of the discovered hosts to delete"}},"actionName":{"type":"string","description":"Name of the action: Delete","enum":["Delete"]}},"xml":{"name":"Action"}},"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/agents/hosts/discovered/actions":{"put":{"tags":["Actions","Agents"],"summary":"Actions on discovered host","description":"Perform action on selected discovered host","operationId":"DiscoveredAction","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/GhostActionInputCreate"},{"$ref":"#/components/schemas/GhostActionInputBlacklist"},{"$ref":"#/components/schemas/GhostActionInputDelete"}]}}}},"responses":{"200":{"description":"Other Action successSuccess"},"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":{"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":{}}}}}}}}
```

## Tunables actions

> Perform action on selected tunables

```json
{"openapi":"3.0.1","info":{"title":"Backup Software Rest Api","version":"0.9"},"tags":[{"name":"Agents","description":"Agents management"}],"servers":[{"url":"/tina"}],"security":[{"bearerToken":[]}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"TunableActionInputDelete":{"required":["actionName"],"type":"object","properties":{"publicIds":{"type":"array","items":{"type":"string","description":"List of public id of the objects on which to perform the action"}},"actionName":{"type":"string","description":"Name of the action: Delete","enum":["Delete"]}},"xml":{"name":"Action"}},"TunableActionInputDisable":{"required":["actionName"],"type":"object","properties":{"publicIds":{"type":"array","items":{"type":"string","description":"List of public id of the objects on which to perform the action"}},"actionName":{"type":"string","description":"Name of the action: Disable","enum":["Disable"]}},"xml":{"name":"Action"}},"TunableActionInputEnable":{"required":["actionName"],"type":"object","properties":{"publicIds":{"type":"array","items":{"type":"string","description":"List of public id of the objects on which to perform the action"}},"actionName":{"type":"string","description":"Name of the action: Enable","enum":["Enable"]}},"xml":{"name":"Action"}},"TunableActionInputPropagate":{"required":["actionName"],"type":"object","properties":{"publicIds":{"type":"array","items":{"type":"string","description":"List of public id of tunables to propagate"}},"payload":{"$ref":"#/components/schemas/PropagateTunablesToHostActionParameters"},"actionName":{"type":"string","description":"Name of the action: Propagate","enum":["Propagate"]}},"xml":{"name":"Action"}},"PropagateTunablesToHostActionParameters":{"required":["forceTunableOnHost","hostPublicIds"],"type":"object","properties":{"hostPublicIds":{"type":"array","items":{"type":"string","description":"Host public id"}},"forceTunableOnHost":{"type":"boolean","description":"Force tunable on host"}}},"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/agents/hosts/{hostPublicId}/tunables/actions":{"put":{"tags":["Actions","Tunables","Agents"],"summary":"Tunables actions","description":"Perform action on selected tunables","operationId":"TunablesAction","parameters":[{"name":"hostPublicId","in":"path","description":"Host publicId from which tunable action will be performed","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TunableActionInputDelete"},{"$ref":"#/components/schemas/TunableActionInputDisable"},{"$ref":"#/components/schemas/TunableActionInputEnable"},{"$ref":"#/components/schemas/TunableActionInputPropagate"}]}}}},"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":{"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":{}}}}}}}}
```


---

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