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

# Server Configuration

Update Server configuration

## Test SMTP configuration

> Return SMTP Task id

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

## Get Tina configuration appliance mode

> Return appliance configuration

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

## Get the status of the available distributions

> Return Distributions Configuration

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

## Get SMTP configuration

> Return SMTP configuration

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

## Set SMTP configuration

> Return SMTP configuration

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

## Get Tina configuration

> Return Parameters configuration

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

## Update tina configuration

> Allow user to change some parameters in tina

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

## Get Tomcat server configuration

> Return the configuration of Tomcat server

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

## Update Tomcat configuration

> Allow user to change some parameters in Tomcat

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


---

# 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/server-configuration.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.
