> 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/miria-4.6/miria-4.6-fr/documentation-de-reference/reference-de-lapi-rest/infrastructure.md). Agents can also search and read this documentation through its [MCP server](https://documentation.atempo.com/~gitbook/mcp).

# Infrastructure

## GET /infrastructure/agents/

> \*\*Get a list of agents\*\*\
> \
> \*\*Complementary information about output:\*\*\
> \
> \*\*status\*\*: One value in "0" (inactive), "1" (active).\
> \
> &#x20;              &#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/agents/":{"get":{"operationId":"agentList","description":"**Get a list of agents**\n\n**Complementary information about output:**\n\n**status**: One value in \"0\" (inactive), \"1\" (active).\n\n                ","parameters":[{"name":"ordering","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of results to return per page.","schema":{"type":"integer"}},{"name":"offset","required":false,"in":"query","description":"The initial index from which to return the results.","schema":{"type":"integer"}}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","required":["count","results"],"properties":{"count":{"type":"integer"},"next":{"type":"string","nullable":true,"format":"uri"},"previous":{"type":"string","nullable":true,"format":"uri"},"results":{"type":"array","items":{"description":""}}}}}},"description":""}}}}}}
```

## POST /infrastructure/agents/

> \*\*Create a new agent\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: Name of new Agent, it should not exist\
> else where in the table.\
> \
> \*\*comment\*\*: More information on the Agent.\
> \
> \*\*osType (required)\*\*: Should be "Windows" or "Unix/MacOS" (case sensitive).\
> \
> \*\*maximumParallelJobs\*\*: Maximum number of archiving su-jobs running in parallel by job.\
> \
> \*\*objectGroup\*\*: In a dictionary, insert the name\
> of the existing objectGroup for the new Agent.\
> \
> \*\*organization\*\*: In a dictionary, insert the name\
> of the existing organization for the new Agent.\
> \
> \*\*proxyIo\*\*: a list of dictionary. each one contain a rootPath, a rootPathTarget and\
> a dataMover which represent the target host.\
> \
> \*\*poolId\*\*: To associate the new Agent with an\
> existing Pool, insert the pool id.

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/agents/":{"post":{"operationId":"agentCreate","description":"**Create a new agent**\n\n**Input payload with:**\n\n**name (required)**: Name of new Agent, it should not exist\nelse where in the table.\n\n**comment**: More information on the Agent.\n\n**osType (required)**: Should be \"Windows\" or \"Unix/MacOS\" (case sensitive).\n\n**maximumParallelJobs**: Maximum number of archiving su-jobs running in parallel by job.\n\n**objectGroup**: In a dictionary, insert the name\nof the existing objectGroup for the new Agent.\n\n**organization**: In a dictionary, insert the name\nof the existing organization for the new Agent.\n\n**proxyIo**: a list of dictionary. each one contain a rootPath, a rootPathTarget and\na dataMover which represent the target host.\n\n**poolId**: To associate the new Agent with an\nexisting Pool, insert the pool id.","tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":"Returns detail of the new Agent"}}},"description":""}}}}}}
```

## GET /infrastructure/agents/{id}/

> \*\*Get an existing agent\*\*\
> \
> \*\*Complementary information about output:\*\*\
> \
> \*\*status\*\*: One value in "0" (inactive), "1" (active).\
> &#x20;              &#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/agents/{id}/":{"get":{"operationId":"agentRetrieve","description":"**Get an existing agent**\n\n**Complementary information about output:**\n\n**status**: One value in \"0\" (inactive), \"1\" (active).\n                ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this agent.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## PUT /infrastructure/agents/{id}/

> \*\*Update an existing agent\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: Name of new Agent, it should not exist else where\
> in the table.\
> \
> \*\*comment\*\*: More information on the Agent.\
> \
> \*\*maximumParallelJobs\*\*: Maximum number of archiving su-jobs running in parallel by job.\
> \
> \*\*objectGroup\*\*: In a dictionary, insert the name of the existing\
> objectGroup for the new Agent.\
> \
> \*\*organization\*\*: In a dictionary, insert the name of the existing\
> organization for the new Agent.\
> \
> \*\*proxyIo\*\*: a list of dictionary. each one contain a rootPath, a rootPathTarget and\
> a dataMover which represent the target host.\
> \
> \*\*poolId\*\*: To associate the new Agent with an existing Pool,\
> insert the pool id.\
> \
> \*\*OsType cannot be modified\*\*\
> \
> \*\*PLEASE REMEMBER THAT THIS IS A PUT METHOD, ALL OPTIONAL\
> FIELDS LEFT NULL OR UNDEFINED WILL BE UPDATED AS BLANK OR NULL VALUES\*\*

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/agents/{id}/":{"put":{"operationId":"agentUpdate","description":"**Update an existing agent**\n\n**Input payload with:**\n\n**name (required)**: Name of new Agent, it should not exist else where\nin the table.\n\n**comment**: More information on the Agent.\n\n**maximumParallelJobs**: Maximum number of archiving su-jobs running in parallel by job.\n\n**objectGroup**: In a dictionary, insert the name of the existing\nobjectGroup for the new Agent.\n\n**organization**: In a dictionary, insert the name of the existing\norganization for the new Agent.\n\n**proxyIo**: a list of dictionary. each one contain a rootPath, a rootPathTarget and\na dataMover which represent the target host.\n\n**poolId**: To associate the new Agent with an existing Pool,\ninsert the pool id.\n\n**OsType cannot be modified**\n\n**PLEASE REMEMBER THAT THIS IS A PUT METHOD, ALL OPTIONAL\nFIELDS LEFT NULL OR UNDEFINED WILL BE UPDATED AS BLANK OR NULL VALUES**","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this agent.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Returns the updated Agent"}}},"description":""}}}}}}
```

## DELETE /infrastructure/agents/{id}/

> \
> Delete an existing agent<br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/agents/{id}/":{"delete":{"operationId":"infrastructureAgentsDestroy","description":"\nDelete an existing agent\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this agent.","required":true},{"in":"query","name":"test","schema":{"type":"boolean"},"description":"Delete in test mode. (default: False)"}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /infrastructure/agents/{id}/advanced-integration/

> \*\*Get advanced integrated options for an agent if it supports it.\*\*\
> \
> note that for agents which do not support advanced options a 404 HTTP response\
> is returned with the message "Not Found"&#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"AdvancedIntegrationHost":{"type":"object","description":"Adds nested create feature","properties":{"enabled":{"type":"boolean"},"url":{"type":"string"},"isilonAccessZone":{"type":"string"},"user":{"type":"string"},"password":{"type":"string"},"secureMode":{"type":"boolean"},"checkCertificate":{"type":"boolean"},"snapshot":{"type":"boolean"},"fastscan":{"type":"boolean"},"maxNumberOfFastscan":{"type":"integer"},"user2":{"type":"string"},"url2":{"type":"string"},"password2":{"type":"string"},"noRegularScan":{"type":"boolean"}}}}},"paths":{"/infrastructure/agents/{id}/advanced-integration/":{"get":{"operationId":"infrastructureAgentsAdvancedIntegrationRetrieve","description":"**Get advanced integrated options for an agent if it supports it.**\n\nnote that for agents which do not support advanced options a 404 HTTP response\nis returned with the message \"Not Found\" ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this agent.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvancedIntegrationHost"}}},"description":""}}}}}}
```

## PUT /infrastructure/agents/{id}/advanced-integration/

> \*\*Update advanced integrated options for an agent if it supports it.\*\*\
> \
> note that for agents which do not support advanced integration a 404 HTTP response\
> is returned with the message "Not Found"&#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"AdvancedIntegrationHost":{"type":"object","description":"Adds nested create feature","properties":{"enabled":{"type":"boolean"},"url":{"type":"string"},"isilonAccessZone":{"type":"string"},"user":{"type":"string"},"password":{"type":"string"},"secureMode":{"type":"boolean"},"checkCertificate":{"type":"boolean"},"snapshot":{"type":"boolean"},"fastscan":{"type":"boolean"},"maxNumberOfFastscan":{"type":"integer"},"user2":{"type":"string"},"url2":{"type":"string"},"password2":{"type":"string"},"noRegularScan":{"type":"boolean"}}}}},"paths":{"/infrastructure/agents/{id}/advanced-integration/":{"put":{"operationId":"infrastructureAgentsAdvancedIntegrationUpdate","description":"**Update advanced integrated options for an agent if it supports it.**\n\nnote that for agents which do not support advanced integration a 404 HTTP response\nis returned with the message \"Not Found\" ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this agent.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvancedIntegrationHost"}}},"description":""}}}}}}
```

## GET /infrastructure/agents/{id}/aer/

> \*\*Get a list of AER for a specific agent\*\*\
> \
> \*\*Query Parameter:\*\*\
> \
> \*\*status\*\*: Must be one of values below\
> \- "finished": Only finished AER (default value)\
> \- "running": Only running AER (active jobs with AER type)\
> \- "all": Running and Finished AER\
> \
> \*-- Endpoint compatible with MaxDB --\*\
> &#x20;              &#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/agents/{id}/aer/":{"get":{"operationId":"agentAerRetrieve","description":"**Get a list of AER for a specific agent**\n\n**Query Parameter:**\n\n**status**: Must be one of values below\n- \"finished\": Only finished AER (default value)\n- \"running\": Only running AER (active jobs with AER type)\n- \"all\": Running and Finished AER\n\n*-- Endpoint compatible with MaxDB --*\n                ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this agent.","required":true},{"in":"query","name":"status","schema":{"type":"string"}},{"in":"query","name":"limit","schema":{"type":"integer"},"description":"Number of results to return per page."},{"in":"query","name":"offset","schema":{"type":"integer"},"description":"The initial index from which to return the results"}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /infrastructure/agents/{id}/aer/

> \*\*Create AER for a specific agent\*\*\
> \
> \*-- Endpoint compatible with MaxDB --\*\
> &#x20;              &#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/agents/{id}/aer/":{"post":{"operationId":"agentAerCreate","description":"**Create AER for a specific agent**\n\n*-- Endpoint compatible with MaxDB --*\n                ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this agent.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## DELETE /infrastructure/agents/{id}/aer/

> \*\*Delete AER files\*\*\
> \
> \*-- Endpoint compatible with MaxDB --\*\
> &#x20;              &#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/agents/{id}/aer/":{"delete":{"operationId":"agentAerDelete","description":"**Delete AER files**\n\n*-- Endpoint compatible with MaxDB --*\n                ","parameters":[{"in":"query","name":"files","schema":{"type":"string"},"description":"AER paths (separated by \",\" if several) as displayed by GET endpoint","required":true},{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this agent.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /infrastructure/agents/{id}/browse/

> Displays the contents of the specified path

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/agents/{id}/browse/":{"post":{"operationId":"infrastructureAgentsBrowseCreate","description":"Displays the contents of the specified path","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the object.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /infrastructure/agents/{id}/browse/folder/

> Create a folder

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/agents/{id}/browse/folder/":{"post":{"operationId":"infrastructureAgentsBrowseFolderCreate","description":"Create a folder","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the object.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /infrastructure/agents/{id}/browse/global-path/

> Displays global path version of the specified path

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/agents/{id}/browse/global-path/":{"post":{"operationId":"infrastructureAgentsBrowseGlobalPathCreate","description":"Displays global path version of the specified path","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the object.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /infrastructure/agents/{id}/browser/

> \
> \*\*Opens a browser\*\*\
> \
> Returns a root path and a browser handle to use in subsequent browse calls.\
> \
> \*\*Warning! When no more browsing activity is needed make sure to DELETE the browser\*\*<br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/agents/{id}/browser/":{"get":{"operationId":"infrastructureAgentsBrowserRetrieve","description":"\n**Opens a browser**\n\nReturns a root path and a browser handle to use in subsequent browse calls.\n\n**Warning! When no more browsing activity is needed make sure to DELETE the browser**\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the object.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## DELETE /infrastructure/agents/{id}/browser/

> \
> \*\*Closes a browser\*\*\
> \
> \*\*You must call this endpoint when no more browsing activity is needed!\*\*\ <br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/agents/{id}/browser/":{"delete":{"operationId":"infrastructureAgentsBrowserDestroy","description":"\n**Closes a browser**\n\n**You must call this endpoint when no more browsing activity is needed!**\n\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the object.","required":true},{"in":"query","name":"browserHandle","schema":{"type":"integer"},"description":"Browser handle id to close","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /infrastructure/agents/{id}/settings/

> \
> Get a list of a related object setting values.\
> \
> The related objects can be an archive, a host, a template, a user or user group value (depending on the endpoint).\
> \
> \*Note :\*To get or set global default settings, you must choose the following end point: /system/settings/\
> &#x20;      &#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/agents/{id}/settings/":{"get":{"operationId":"infrastructureAgentsSettingsRetrieve","description":"\nGet a list of a related object setting values.\n\nThe related objects can be an archive, a host, a template, a user or user group value (depending on the endpoint).\n\n*Note :*To get or set global default settings, you must choose the following end point: /system/settings/\n        ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"Jobs":{"archiveDirectoryExclusion":"none"}}}},"description":""}}}}}}
```

## GET /infrastructure/agents/{id}/settings/{setting}/

> \
> Get a related object setting value\
> \
> The related objects can be an archive, a host, a template, a user or user group value (depending on the endpoint).\
> &#x20;      &#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/agents/{id}/settings/{setting}/":{"get":{"operationId":"infrastructureAgentsSettingsRetrieve2","description":"\nGet a related object setting value\n\nThe related objects can be an archive, a host, a template, a user or user group value (depending on the endpoint).\n        ","parameters":[{"in":"path","name":"setting","schema":{"type":"string","pattern":"^[a-zA-Z]+$"},"required":true},{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the setting.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Acknowledgment if the value is recorded"}}},"description":""}}}}}}
```

## PUT /infrastructure/agents/{id}/settings/{setting}/

> \
> Update a related object setting value\
> \
> The related objects can be an archive, a host, a template, a user or user group value (depending on the endpoint).\
> \
> Payload for setting value has following format:\
> \
> {"value": \<VALUE\_TO\_SET>}\
> \
> A setting value can be set to None with values "null" or false.<br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/agents/{id}/settings/{setting}/":{"put":{"operationId":"infrastructureAgentsSettingsUpdate","description":"\nUpdate a related object setting value\n\nThe related objects can be an archive, a host, a template, a user or user group value (depending on the endpoint).\n\nPayload for setting value has following format:\n\n{\"value\": <VALUE_TO_SET>}\n\nA setting value can be set to None with values \"null\" or false.\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the setting.","required":true},{"in":"path","name":"setting","schema":{"type":"string"},"required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /infrastructure/filesystems/

> \*\*Get a list of file systems\*\*\
> \
> \*\*Complementary information about output:\*\*\
> \
> \*\*type\*\*: One value in:\
> \['GPFS', 'LUSTRE', 'WEKAFS', 'PANFS']\
> &#x20;              &#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/filesystems/":{"get":{"operationId":"infrastructureFilesystemsList","description":"**Get a list of file systems**\n\n**Complementary information about output:**\n\n**type**: One value in:\n['GPFS', 'LUSTRE', 'WEKAFS', 'PANFS']\n                ","parameters":[{"name":"ordering","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of results to return per page.","schema":{"type":"integer"}},{"name":"offset","required":false,"in":"query","description":"The initial index from which to return the results.","schema":{"type":"integer"}}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","required":["count","results"],"properties":{"count":{"type":"integer"},"next":{"type":"string","nullable":true,"format":"uri"},"previous":{"type":"string","nullable":true,"format":"uri"},"results":{"type":"array","items":{"description":""}}}}}},"description":""}}}}}}
```

## POST /infrastructure/filesystems/

> \
> \*\*Create new filesystem:\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: Name of new FileSystem, it should not exist else where\
> in the table.\
> \
> \*\*comment\*\*: More information on the FileSystem.\
> \
> \*\*objectGroup\*\*: In a dictionary, insert the name of the existing\
> objectGroup for the new filesystem.\
> \
> \*\*organization\*\*: In a dictionary, insert the name of the existing\
> organization for the new filesystem.\
> \
> \*\*dataMover (required)\*\*: In a dictionary, insert the name of an existing and valid dataMover,\
> it sould be either an Agent or a Pool.\
> \
> \*\*type (required)\*\*: Type of new FileSystem, it should be in the supported filesystem list (\
> LUSTRE, GPFS, WEKAFS, PANFS).\
> \
> \*\*unixMacOs\*\* or \*\*Unix/MacOs\*\*: if any of datamover may be used by the filesystem has a unix/mac os it can\
> (or should) be enabled.\
> \
> \*\*windows\*\* or \*\*Windows\*\*: if any of datamover may be used by the nas has a windows os it can (or should)\
> be enabled.\
> \
> \*\*Depending on data mover OS (Unix/MacOS or Windows), the appropriate windows or unixMacOs option must be enabled. You can enable both if the data mover is a pool containing both types of OS.\*\*

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"FileSystemDetail":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true,"maxLength":512},"creationDate":{"type":"string","format":"date-time","readOnly":true},"objectGroup":{"$ref":"#/components/schemas/CapacityGroupForAgent"},"type":{"type":"string"},"typeValue":{"type":"integer"},"organization":{"$ref":"#/components/schemas/HostOrganizationForAgent"},"aliases":{"type":"array","items":{"$ref":"#/components/schemas/HostAlias"}},"advancedIntegration":{"allOf":[{"$ref":"#/components/schemas/AdvancedIntegrationHost"}],"readOnly":true},"dataMover":{"$ref":"#/components/schemas/AgentForNasOrFileSystem"},"unixMacOs":{"$ref":"#/components/schemas/NFSStreamOption"},"windows":{"$ref":"#/components/schemas/SMBForSharedSStreamOption"}},"required":["advancedIntegration","creationDate","dataMover","id","name","type"]},"CapacityGroupForAgent":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"creationDate":{"type":"string","format":"date-time","readOnly":true}},"required":["creationDate","id"]},"HostOrganizationForAgent":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"creationDate":{"type":"string","format":"date-time","readOnly":true},"comment":{"type":"string","readOnly":true},"parent":{"allOf":[{"$ref":"#/components/schemas/HostOrganizationShort"}],"readOnly":true}},"required":["comment","creationDate","id","parent"]},"HostOrganizationShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","readOnly":true}},"required":["id","name"]},"HostAlias":{"type":"object","properties":{"name":{"type":"string","maxLength":256}},"required":["name"]},"AdvancedIntegrationHost":{"type":"object","description":"Adds nested create feature","properties":{"enabled":{"type":"boolean"},"url":{"type":"string"},"isilonAccessZone":{"type":"string"},"user":{"type":"string"},"password":{"type":"string"},"secureMode":{"type":"boolean"},"checkCertificate":{"type":"boolean"},"snapshot":{"type":"boolean"},"fastscan":{"type":"boolean"},"maxNumberOfFastscan":{"type":"integer"},"user2":{"type":"string"},"url2":{"type":"string"},"password2":{"type":"string"},"noRegularScan":{"type":"boolean"}}},"AgentForNasOrFileSystem":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"string","readOnly":true},"name":{"type":"string","readOnly":true},"type":{"type":"string","readOnly":true}},"required":["id","name","type"]},"NFSStreamOption":{"type":"object","description":"Adds nested create feature","properties":{"enabled":{"type":"boolean"},"streamOptions":{"type":"string"}}},"SMBForSharedSStreamOption":{"type":"object","description":"Adds nested create feature","properties":{"enabled":{"type":"boolean"},"streamOptions":{"type":"string"}}}}},"paths":{"/infrastructure/filesystems/":{"post":{"operationId":"filesystemCreate","description":"\n**Create new filesystem:**\n\n**Input payload with:**\n\n**name (required)**: Name of new FileSystem, it should not exist else where\nin the table.\n\n**comment**: More information on the FileSystem.\n\n**objectGroup**: In a dictionary, insert the name of the existing\nobjectGroup for the new filesystem.\n\n**organization**: In a dictionary, insert the name of the existing\norganization for the new filesystem.\n\n**dataMover (required)**: In a dictionary, insert the name of an existing and valid dataMover,\nit sould be either an Agent or a Pool.\n\n**type (required)**: Type of new FileSystem, it should be in the supported filesystem list (\nLUSTRE, GPFS, WEKAFS, PANFS).\n\n**unixMacOs** or **Unix/MacOs**: if any of datamover may be used by the filesystem has a unix/mac os it can\n(or should) be enabled.\n\n**windows** or **Windows**: if any of datamover may be used by the nas has a windows os it can (or should)\nbe enabled.\n\n**Depending on data mover OS (Unix/MacOS or Windows), the appropriate windows or unixMacOs option must be enabled. You can enable both if the data mover is a pool containing both types of OS.**","tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileSystemDetail"}}},"description":""}}}}}}
```

## GET /infrastructure/filesystems/{id}/

> \*\*Get an existing file system\*\*\
> \
> \*\*Complementary information about output:\*\*\
> \
> \*\*type\*\*: One value in :\
> \['GPFS', 'LUSTRE', 'WEKAFS', 'PANFS']\
> &#x20;              &#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/filesystems/{id}/":{"get":{"operationId":"filesystemRetrieve","description":"**Get an existing file system**\n\n**Complementary information about output:**\n\n**type**: One value in :\n['GPFS', 'LUSTRE', 'WEKAFS', 'PANFS']\n                ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this file system.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Returns detail "}}},"description":""}}}}}}
```

## PUT /infrastructure/filesystems/{id}/

> \
> \*\*Update existing filesystem:\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name(required)\*\*: Name of filesystem, it should not exist else where\
> in the table.\
> \
> \*\*comment\*\*: More information on the filesystem.\
> \
> \*\*objectGroup\*\*: In a dictionary, insert the name of the existing\
> objectGroup for the filesystem.\
> \
> \*\*organization\*\*: In a dictionary, insert the name of the existing\
> organization for the filesystem.\
> \
> \*\*dataMover\*\*: In a dictionary, insert the name of an existing and valid dataMover,\
> it sould be either an Agent or a Pool.\
> \
> \*\*unixMacOs\*\* or \*\*Unix/MacOs\*\*: (or \*\*Unix/MacOs\*\*) if any of datamover may be used by the nas has a unix/mac os it can (or should)\
> be enabled\
> \
> \*\*windows\*\* or \*\*Windows\*\*: if any of datamover may be used by the nas has a windows os it can (or should)\
> be enabled\
> \
> \*\*Depending on data mover OS (Unix/MacOS or Windows), the appropriate windows or unixMacOs option must be enabled. You can enable both if the data mover is a pool containing both types of OS.\*\*\
> \
> \*\*PLEASE REMEMBER THAT THIS IS A PUT METHOD, ALL OPTIONAL\
> FIELDS LEFT NULL OR UNDEFINED WILL BE UPDATED AS BLANK OR NULL VALUES\*\*

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"FileSystemDetailForUpdate":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"comment":{"type":"string","nullable":true,"maxLength":512},"creationDate":{"type":"string","format":"date-time","readOnly":true},"objectGroup":{"$ref":"#/components/schemas/CapacityGroupForAgent"},"type":{"allOf":[{"$ref":"#/components/schemas/TypeE75Enum"}],"readOnly":true},"typeValue":{"type":"integer"},"organization":{"$ref":"#/components/schemas/HostOrganizationForAgent"},"aliases":{"type":"array","items":{"$ref":"#/components/schemas/HostAlias"}},"advancedIntegration":{"allOf":[{"$ref":"#/components/schemas/AdvancedIntegrationHost"}],"readOnly":true},"dataMover":{"$ref":"#/components/schemas/AgentForNasOrFileSystem"},"unixMacOs":{"$ref":"#/components/schemas/NFSStreamOption"},"windows":{"$ref":"#/components/schemas/SMBForSharedSStreamOption"}},"required":["advancedIntegration","creationDate","id","type"]},"CapacityGroupForAgent":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"creationDate":{"type":"string","format":"date-time","readOnly":true}},"required":["creationDate","id"]},"TypeE75Enum":{"enum":[0,1,2,3,4,5,6,7,8,9,10,12,13,14,15,16],"type":"integer","description":"* `0` - OTHER\n* `1` - CELERRA\n* `2` - NETAPP\n* `3` - ISILON\n* `4` - BLUEARC\n* `5` - UNITY\n* `6` - PANZURA\n* `7` - PANASAS\n* `8` - QUMULO\n* `9` - OCEANSTOR\n* `10` - NUTANIX\n* `12` - VAST\n* `13` - FLASHARRAY\n* `14` - FLASHBLADE\n* `15` - AZURE\n* `16` - AZURE_NETAPP"},"HostOrganizationForAgent":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"creationDate":{"type":"string","format":"date-time","readOnly":true},"comment":{"type":"string","readOnly":true},"parent":{"allOf":[{"$ref":"#/components/schemas/HostOrganizationShort"}],"readOnly":true}},"required":["comment","creationDate","id","parent"]},"HostOrganizationShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","readOnly":true}},"required":["id","name"]},"HostAlias":{"type":"object","properties":{"name":{"type":"string","maxLength":256}},"required":["name"]},"AdvancedIntegrationHost":{"type":"object","description":"Adds nested create feature","properties":{"enabled":{"type":"boolean"},"url":{"type":"string"},"isilonAccessZone":{"type":"string"},"user":{"type":"string"},"password":{"type":"string"},"secureMode":{"type":"boolean"},"checkCertificate":{"type":"boolean"},"snapshot":{"type":"boolean"},"fastscan":{"type":"boolean"},"maxNumberOfFastscan":{"type":"integer"},"user2":{"type":"string"},"url2":{"type":"string"},"password2":{"type":"string"},"noRegularScan":{"type":"boolean"}}},"AgentForNasOrFileSystem":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"string","readOnly":true},"name":{"type":"string","readOnly":true},"type":{"type":"string","readOnly":true}},"required":["id","name","type"]},"NFSStreamOption":{"type":"object","description":"Adds nested create feature","properties":{"enabled":{"type":"boolean"},"streamOptions":{"type":"string"}}},"SMBForSharedSStreamOption":{"type":"object","description":"Adds nested create feature","properties":{"enabled":{"type":"boolean"},"streamOptions":{"type":"string"}}}}},"paths":{"/infrastructure/filesystems/{id}/":{"put":{"operationId":"filesystemUpdate","description":"\n**Update existing filesystem:**\n\n**Input payload with:**\n\n**name(required)**: Name of filesystem, it should not exist else where\nin the table.\n\n**comment**: More information on the filesystem.\n\n**objectGroup**: In a dictionary, insert the name of the existing\nobjectGroup for the filesystem.\n\n**organization**: In a dictionary, insert the name of the existing\norganization for the filesystem.\n\n**dataMover**: In a dictionary, insert the name of an existing and valid dataMover,\nit sould be either an Agent or a Pool.\n\n**unixMacOs** or **Unix/MacOs**: (or **Unix/MacOs**) if any of datamover may be used by the nas has a unix/mac os it can (or should)\nbe enabled\n\n**windows** or **Windows**: if any of datamover may be used by the nas has a windows os it can (or should)\nbe enabled\n\n**Depending on data mover OS (Unix/MacOS or Windows), the appropriate windows or unixMacOs option must be enabled. You can enable both if the data mover is a pool containing both types of OS.**\n\n**PLEASE REMEMBER THAT THIS IS A PUT METHOD, ALL OPTIONAL\nFIELDS LEFT NULL OR UNDEFINED WILL BE UPDATED AS BLANK OR NULL VALUES**","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this file system.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileSystemDetailForUpdate"}}},"description":""}}}}}}
```

## DELETE /infrastructure/filesystems/{id}/

> \
> Delete an existing file system<br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/filesystems/{id}/":{"delete":{"operationId":"infrastructureFilesystemsDestroy","description":"\nDelete an existing file system\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this file system.","required":true},{"in":"query","name":"test","schema":{"type":"boolean"},"description":"Delete in test mode. (default: False)"}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /infrastructure/filesystems/{id}/advanced-integration/

> \*\*Get advanced integrated options for a File System if it supports it.\*\*\
> \
> Depending on its type, some options are specific.\
> \
> Also some options are dependent as for the 'fastcan' which depends on the 'snapshot'.\
> \
> if the 'snapshot' is not active, the 'fastscan' is not displayed.\
> \
> 'snapshot' depends on 'enabled', and 'noRegularScan' depends on "fastscan".\
> \
> note that for file systems which do not support advanced integration a 404 HTTP response\
> is returned with the message "Not Found"&#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"AdvancedIntegrationHost":{"type":"object","description":"Adds nested create feature","properties":{"enabled":{"type":"boolean"},"url":{"type":"string"},"isilonAccessZone":{"type":"string"},"user":{"type":"string"},"password":{"type":"string"},"secureMode":{"type":"boolean"},"checkCertificate":{"type":"boolean"},"snapshot":{"type":"boolean"},"fastscan":{"type":"boolean"},"maxNumberOfFastscan":{"type":"integer"},"user2":{"type":"string"},"url2":{"type":"string"},"password2":{"type":"string"},"noRegularScan":{"type":"boolean"}}}}},"paths":{"/infrastructure/filesystems/{id}/advanced-integration/":{"get":{"operationId":"infrastructureFilesystemsAdvancedIntegrationRetrieve","description":"**Get advanced integrated options for a File System if it supports it.**\n\nDepending on its type, some options are specific.\n\nAlso some options are dependent as for the 'fastcan' which depends on the 'snapshot'.\n\nif the 'snapshot' is not active, the 'fastscan' is not displayed.\n\n'snapshot' depends on 'enabled', and 'noRegularScan' depends on \"fastscan\".\n\nnote that for file systems which do not support advanced integration a 404 HTTP response\nis returned with the message \"Not Found\" ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this file system.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvancedIntegrationHost"}}},"description":""}}}}}}
```

## PUT /infrastructure/filesystems/{id}/advanced-integration/

> \*\*Update advanced integrated options for a File System if it supports it.\*\*\
> \
> Depending on its type, some options are specific.\
> \
> for the dependent options, enabling an option will automatically enable their dependencies.\
> \
> trying to update a non supported option will raise an exception with adapted message.\
> \
> note that for file systems which do not support advanced integration a 404 HTTP response\
> is returned with the message "Not Found"&#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"AdvancedIntegrationHost":{"type":"object","description":"Adds nested create feature","properties":{"enabled":{"type":"boolean"},"url":{"type":"string"},"isilonAccessZone":{"type":"string"},"user":{"type":"string"},"password":{"type":"string"},"secureMode":{"type":"boolean"},"checkCertificate":{"type":"boolean"},"snapshot":{"type":"boolean"},"fastscan":{"type":"boolean"},"maxNumberOfFastscan":{"type":"integer"},"user2":{"type":"string"},"url2":{"type":"string"},"password2":{"type":"string"},"noRegularScan":{"type":"boolean"}}}}},"paths":{"/infrastructure/filesystems/{id}/advanced-integration/":{"put":{"operationId":"infrastructureFilesystemsAdvancedIntegrationUpdate","description":"**Update advanced integrated options for a File System if it supports it.**\n\nDepending on its type, some options are specific.\n\nfor the dependent options, enabling an option will automatically enable their dependencies.\n\ntrying to update a non supported option will raise an exception with adapted message.\n\nnote that for file systems which do not support advanced integration a 404 HTTP response\nis returned with the message \"Not Found\" ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this file system.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvancedIntegrationHost"}}},"description":""}}}}}}
```

## POST /infrastructure/filesystems/{id}/browse/

> Displays the contents of the specified path

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/filesystems/{id}/browse/":{"post":{"operationId":"infrastructureFilesystemsBrowseCreate","description":"Displays the contents of the specified path","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the object.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /infrastructure/filesystems/{id}/browse/folder/

> Create a folder

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/filesystems/{id}/browse/folder/":{"post":{"operationId":"infrastructureFilesystemsBrowseFolderCreate","description":"Create a folder","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the object.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /infrastructure/filesystems/{id}/browse/global-path/

> Displays global path version of the specified path

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/filesystems/{id}/browse/global-path/":{"post":{"operationId":"infrastructureFilesystemsBrowseGlobalPathCreate","description":"Displays global path version of the specified path","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the object.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /infrastructure/filesystems/{id}/browser/

> \
> \*\*Opens a browser\*\*\
> \
> Returns a root path and a browser handle to use in subsequent browse calls.\
> \
> \*\*Warning! When no more browsing activity is needed make sure to DELETE the browser\*\*<br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/filesystems/{id}/browser/":{"get":{"operationId":"infrastructureFilesystemsBrowserRetrieve","description":"\n**Opens a browser**\n\nReturns a root path and a browser handle to use in subsequent browse calls.\n\n**Warning! When no more browsing activity is needed make sure to DELETE the browser**\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the object.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## DELETE /infrastructure/filesystems/{id}/browser/

> \
> \*\*Closes a browser\*\*\
> \
> \*\*You must call this endpoint when no more browsing activity is needed!\*\*\ <br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/filesystems/{id}/browser/":{"delete":{"operationId":"infrastructureFilesystemsBrowserDestroy","description":"\n**Closes a browser**\n\n**You must call this endpoint when no more browsing activity is needed!**\n\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the object.","required":true},{"in":"query","name":"browserHandle","schema":{"type":"integer"},"description":"Browser handle id to close","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /infrastructure/nas/

> Get a list of nas

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/nas/":{"get":{"operationId":"infrastructureNasList","description":"Get a list of nas","parameters":[{"name":"ordering","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of results to return per page.","schema":{"type":"integer"}},{"name":"offset","required":false,"in":"query","description":"The initial index from which to return the results.","schema":{"type":"integer"}}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","required":["count","results"],"properties":{"count":{"type":"integer"},"next":{"type":"string","nullable":true,"format":"uri"},"previous":{"type":"string","nullable":true,"format":"uri"},"results":{"type":"array","items":{"description":""}}}}}},"description":""}}}}}}
```

## POST /infrastructure/nas/

> \*\*Create new NAS\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: Name of new Nas, it should not exist else where\
> in the table.\
> \
> \*\*comment\*\*: More information on the Nas.\
> \
> \*\*objectGroup\*\*: In a dictionary, insert the name of the existing\
> objectGroup for the new nas.\
> \
> \*\*organization\*\*: In a dictionary, insert the name of the existing\
> organization for the new nas.\
> \
> \*\*dataMover (required)\*\*: In a dictionary, insert the name of an existing and valid dataMover,\
> it sould be either an Agent or a Pool\
> \
> \*\*type (required)\*\*: Type of new Nas, it sould be in the supported nas list (\['OTHER', 'CELERRA', 'NETAPP', 'ISILON', 'BLUEARC', 'UNITY', 'PANZURA', 'PANASAS', 'QUMULO', 'OCEANSTOR', 'NUTANIX', 'VAST', 'FLASHARRAY', 'FLASHBLADE', 'AZURE', 'AZURE\_NETAPP'])\
> \
> \*\*allowCrossPlatform\*\*: available only on UNITY nas\
> \
> \*\*proxyIo\*\*: a list of dictionary. each one contain a rootPath, a rootPathTarget and\
> a dataMover which represent the target host.\
> \
> \*\*Unix/MacOs\*\*: if any of datamover may be used by the nas has a unix/mac os it can (or should)\
> be enabled\
> \
> \*\*Windows\*\*: if any of datamover may be used by the nas has a windows os it can (or should)\
> be enabled\
> \
> \*\*Depending on data mover OS (Unix/MacOS or Windows), the appropriate nfs or smb option must be enabled. You can enable both if the data mover is a pool containing both types of OS.\*\*\
> \
> \*\*For smb stream we need to set credentials as a dict with user and password fields.\
> However streamOptions it can be set for both and is a string with this format: host=XXX\
> where XXX is the real name of the target nas.\*\*

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/nas/":{"post":{"operationId":"infrastructureNasCreate","description":"**Create new NAS**\n\n**Input payload with:**\n\n**name (required)**: Name of new Nas, it should not exist else where\nin the table.\n\n**comment**: More information on the Nas.\n\n**objectGroup**: In a dictionary, insert the name of the existing\nobjectGroup for the new nas.\n\n**organization**: In a dictionary, insert the name of the existing\norganization for the new nas.\n\n**dataMover (required)**: In a dictionary, insert the name of an existing and valid dataMover,\nit sould be either an Agent or a Pool\n\n**type (required)**: Type of new Nas, it sould be in the supported nas list (['OTHER', 'CELERRA', 'NETAPP', 'ISILON', 'BLUEARC', 'UNITY', 'PANZURA', 'PANASAS', 'QUMULO', 'OCEANSTOR', 'NUTANIX', 'VAST', 'FLASHARRAY', 'FLASHBLADE', 'AZURE', 'AZURE_NETAPP'])\n\n**allowCrossPlatform**: available only on UNITY nas\n\n**proxyIo**: a list of dictionary. each one contain a rootPath, a rootPathTarget and\na dataMover which represent the target host.\n\n**Unix/MacOs**: if any of datamover may be used by the nas has a unix/mac os it can (or should)\nbe enabled\n\n**Windows**: if any of datamover may be used by the nas has a windows os it can (or should)\nbe enabled\n\n**Depending on data mover OS (Unix/MacOS or Windows), the appropriate nfs or smb option must be enabled. You can enable both if the data mover is a pool containing both types of OS.**\n\n**For smb stream we need to set credentials as a dict with user and password fields.\nHowever streamOptions it can be set for both and is a string with this format: host=XXX\nwhere XXX is the real name of the target nas.**","tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /infrastructure/nas/{id}/

> \*\*Get an existing NAS\*\*\
> \
> \*\*Complementary information about output:\*\*\
> \
> \*\*type\*\*: One value in :\
> \['OTHER', 'CELERRA', 'NETAPP', 'ISILON', 'BLUEARC', 'UNITY', 'PANZURA', 'PANASAS', 'QUMULO', 'OCEANSTOR', 'NUTANIX', 'VAST', 'FLASHARRAY', 'FLASHBLADE', 'AZURE', 'AZURE\_NETAPP']\
> &#x20;              &#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/nas/{id}/":{"get":{"operationId":"infrastructureNasRetrieve","description":"**Get an existing NAS**\n\n**Complementary information about output:**\n\n**type**: One value in :\n['OTHER', 'CELERRA', 'NETAPP', 'ISILON', 'BLUEARC', 'UNITY', 'PANZURA', 'PANASAS', 'QUMULO', 'OCEANSTOR', 'NUTANIX', 'VAST', 'FLASHARRAY', 'FLASHBLADE', 'AZURE', 'AZURE_NETAPP']\n                ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this NAS.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## PUT /infrastructure/nas/{id}/

> \*\*Update existing NAS\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: Name of Nas, it should not exist else where\
> in the table.\
> \
> \*\*comment\*\*: More information on the Nas.\
> \
> \*\*objectGroup\*\*: In a dictionary, insert the name of the existing\
> objectGroup for the nas.\
> \
> \*\*organization\*\*: In a dictionary, insert the name of the existing\
> organization for the nas.\
> \
> \*\*dataMover\*\*: In a dictionary, insert the name of an existing and valid dataMover,\
> it sould be either an Agent or a Pool\
> \
> \*\*allowCrossPlatform\*\*: available only on UNITY nas\
> \
> \*\*proxyIo\*\*: a list of dictionary. each one contain a rootPath, a rootPathTarget and\
> a dataMover which represent the target host;\
> \
> \*\*Unix/MacOs\*\*: if any of datamover may be used by the nas has a unix/mac os it can (or should)\
> be enabled\
> \
> \*\*Windows\*\*: if any of datamover may be used by the nas has a windows os it can (or should)\
> be enabled\
> \
> \*\*Depending on data mover OS (Unix/MacOS or Windows), the appropriate nfs or smb option must be enabled. You can enable both if the data mover is a pool containing both types of OS.\*\*\
> \
> \*\*For smb stream we need to set credentials as a dict with user and password fields.\
> However streamOptions it can be set for both and is a string with this format: host=XXX\
> where XXX is the real name of the target nas.\*\*\
> \
> \*\*Type cannot be modified.\*\*\
> \
> \*\*PLEASE REMEMBER THAT THIS IS A PUT METHOD, ALL OPTIONAL\
> FIELDS LEFT NULL OR UNDEFINED WILL BE UPDATED AS BLANK OR NULL VALUES\*\*

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/nas/{id}/":{"put":{"operationId":"infrastructureNasUpdate","description":"**Update existing NAS**\n\n**Input payload with:**\n\n**name (required)**: Name of Nas, it should not exist else where\nin the table.\n\n**comment**: More information on the Nas.\n\n**objectGroup**: In a dictionary, insert the name of the existing\nobjectGroup for the nas.\n\n**organization**: In a dictionary, insert the name of the existing\norganization for the nas.\n\n**dataMover**: In a dictionary, insert the name of an existing and valid dataMover,\nit sould be either an Agent or a Pool\n\n**allowCrossPlatform**: available only on UNITY nas\n\n**proxyIo**: a list of dictionary. each one contain a rootPath, a rootPathTarget and\na dataMover which represent the target host;\n\n**Unix/MacOs**: if any of datamover may be used by the nas has a unix/mac os it can (or should)\nbe enabled\n\n**Windows**: if any of datamover may be used by the nas has a windows os it can (or should)\nbe enabled\n\n**Depending on data mover OS (Unix/MacOS or Windows), the appropriate nfs or smb option must be enabled. You can enable both if the data mover is a pool containing both types of OS.**\n\n**For smb stream we need to set credentials as a dict with user and password fields.\nHowever streamOptions it can be set for both and is a string with this format: host=XXX\nwhere XXX is the real name of the target nas.**\n\n**Type cannot be modified.**\n\n**PLEASE REMEMBER THAT THIS IS A PUT METHOD, ALL OPTIONAL\nFIELDS LEFT NULL OR UNDEFINED WILL BE UPDATED AS BLANK OR NULL VALUES**","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this NAS.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## DELETE /infrastructure/nas/{id}/

> \
> Delete an existing NAS<br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/nas/{id}/":{"delete":{"operationId":"infrastructureNasDestroy","description":"\nDelete an existing NAS\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this NAS.","required":true},{"in":"query","name":"test","schema":{"type":"boolean"},"description":"Delete in test mode. (default: False)"}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /infrastructure/nas/{id}/advanced-integration/

> \*\*Get advanced integrated options for a nas if it supports it.\*\*\
> \
> Depending on its type, some options are specific.\
> \
> &#x20;\- 'access\_zone' is specific to ISILON,\
> &#x20;\- 'url2', 'user2', and 'password2', these fields concern: TRINO Server for VAST and CVM Server for NUTANIX'\
> , ''\
> &#x20;\- 'accessKey', 'secretKey', 'virtualIpList' for VAST or 'user', 'password', 'url' for other server types\
> \
> Also some options are dependent as for the 'fastcan' which depends on the 'snapshot'.\
> \
> if the 'snapshot' is not active, the 'fastscan' is not displayed.\
> \
> 'snapshot' depends on 'enabled', and 'noRegularScan' depends on "fastscan".\
> \
> Depending on the options activated, only those which can be modified are displayed.\
> \
> \*\*Note that for nas which do not support advanced integration a 404 HTTP response\
> is returned with the message "Not Found"\*\*&#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/nas/{id}/advanced-integration/":{"get":{"operationId":"infrastructureNasAdvancedIntegrationRetrieve","description":"**Get advanced integrated options for a nas if it supports it.**\n\nDepending on its type, some options are specific.\n\n - 'access_zone' is specific to ISILON,\n - 'url2', 'user2', and 'password2', these fields concern: TRINO Server for VAST and CVM Server for NUTANIX'\n, ''\n - 'accessKey', 'secretKey', 'virtualIpList' for VAST or 'user', 'password', 'url' for other server types\n\nAlso some options are dependent as for the 'fastcan' which depends on the 'snapshot'.\n\nif the 'snapshot' is not active, the 'fastscan' is not displayed.\n\n'snapshot' depends on 'enabled', and 'noRegularScan' depends on \"fastscan\".\n\nDepending on the options activated, only those which can be modified are displayed.\n\n**Note that for nas which do not support advanced integration a 404 HTTP response\nis returned with the message \"Not Found\"** ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this host.","required":true}],"tags":["infrastructure"],"responses":{"200":{"description":"No response body"}}}}}}
```

## PUT /infrastructure/nas/{id}/advanced-integration/

> \*\*Update advanced integrated options for a nas if it supports it.\*\*\
> \
> Depending on its type, some options are specific.\
> \
> &#x20;\- 'access\_zone' is specific to ISILON,\
> &#x20;\- 'url2', 'user2', and 'password2', these fields concern: TRINO Server for VAST and CVM Server for NUTANIX'\
> \
> &#x20; \- 'accessKey', 'secretKey', 'virtualIpList' for VAST or 'user', 'password', 'url' for other server types\
> \
> for the dependent options, enabling any option will automatically enable their dependencies.\
> \
> trying to update a non supported option will raise an exception with adapted message.\
> \
> note that for nas which do not support advanced integration a 404 HTTP response\
> is returned with the message "Not Found"&#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/nas/{id}/advanced-integration/":{"put":{"operationId":"infrastructureNasAdvancedIntegrationUpdate","description":"**Update advanced integrated options for a nas if it supports it.**\n\nDepending on its type, some options are specific.\n\n - 'access_zone' is specific to ISILON,\n - 'url2', 'user2', and 'password2', these fields concern: TRINO Server for VAST and CVM Server for NUTANIX'\n\n  - 'accessKey', 'secretKey', 'virtualIpList' for VAST or 'user', 'password', 'url' for other server types\n\nfor the dependent options, enabling any option will automatically enable their dependencies.\n\ntrying to update a non supported option will raise an exception with adapted message.\n\nnote that for nas which do not support advanced integration a 404 HTTP response\nis returned with the message \"Not Found\" ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this host.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"description":"No response body"}}}}}}
```

## POST /infrastructure/nas/{id}/browse/

> Displays the contents of the specified path

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/nas/{id}/browse/":{"post":{"operationId":"infrastructureNasBrowseCreate","description":"Displays the contents of the specified path","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the object.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /infrastructure/nas/{id}/browse/folder/

> Create a folder

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/nas/{id}/browse/folder/":{"post":{"operationId":"infrastructureNasBrowseFolderCreate","description":"Create a folder","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the object.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /infrastructure/nas/{id}/browse/global-path/

> Displays global path version of the specified path

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/nas/{id}/browse/global-path/":{"post":{"operationId":"infrastructureNasBrowseGlobalPathCreate","description":"Displays global path version of the specified path","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the object.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /infrastructure/nas/{id}/browser/

> \
> \*\*Opens a browser\*\*\
> \
> Returns a root path and a browser handle to use in subsequent browse calls.\
> \
> \*\*Warning! When no more browsing activity is needed make sure to DELETE the browser\*\*<br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/nas/{id}/browser/":{"get":{"operationId":"infrastructureNasBrowserRetrieve","description":"\n**Opens a browser**\n\nReturns a root path and a browser handle to use in subsequent browse calls.\n\n**Warning! When no more browsing activity is needed make sure to DELETE the browser**\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the object.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## DELETE /infrastructure/nas/{id}/browser/

> \
> \*\*Closes a browser\*\*\
> \
> \*\*You must call this endpoint when no more browsing activity is needed!\*\*\ <br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/nas/{id}/browser/":{"delete":{"operationId":"infrastructureNasBrowserDestroy","description":"\n**Closes a browser**\n\n**You must call this endpoint when no more browsing activity is needed!**\n\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the object.","required":true},{"in":"query","name":"browserHandle","schema":{"type":"integer"},"description":"Browser handle id to close","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /infrastructure/nas/{id}/policies/

> \
> \*\*Get list of vast policies if any\*\*<br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/nas/{id}/policies/":{"get":{"operationId":"infrastructureNasPoliciesRetrieve","description":"\n**Get list of vast policies if any**\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this NAS.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /infrastructure/object-storages/

> \*\*Get a list of object storage, payload may vary regarding type\*\*\
> \
> \*\*Complementary information about output:\*\*\
> \
> \*\*type\*\*: One value :\
> \['amazon\_s3', 'activescale', 'ecs', 'storagegrid', 'huawei\_oceanstor\_pacific', 'generic\_s3', 'wasabi', 'scaleway', 'alibaba\_cloud', 'ovh\_cloud', 'ibm\_cloud\_object\_storage', 'cloudian\_hyperstore', 'ugloo', 'artesca', 'hcap', 'centera', 'emc\_css', 'ddn', 'scality\_ring', 'scality\_ring\_cdmi', 'swift', 'azure', 'gcs', 'scality', 'lyve\_cloud', 'datacore\_swarm', 'hualu', 'outscale\_s3', 'ddn\_infinia', 'qumulo\_s3', 'vast\_s3', 'purestorage\_s3', 'ontap\_s3']\
> &#x20;              &#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"PaginatedObjectStorageListList":{"type":"object","required":["count","results"],"properties":{"count":{"type":"integer"},"next":{"type":"string","nullable":true,"format":"uri"},"previous":{"type":"string","nullable":true,"format":"uri"},"results":{"type":"array","items":{"$ref":"#/components/schemas/ObjectStorageList"}}}},"ObjectStorageList":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","nullable":true,"maxLength":128},"type":{"allOf":[{"$ref":"#/components/schemas/ObjectStorageListTypeEnum"}],"readOnly":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"enabled":{"type":"boolean","readOnly":true},"smParam1":{"type":"string","nullable":true,"maxLength":1028},"agent":{"type":"integer","nullable":true},"alternativeAccess":{"type":"array","items":{"$ref":"#/components/schemas/SMAccess"}},"volumeManagement":{"$ref":"#/components/schemas/VolumeManagement"},"lastErrorDate":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$","nullable":true},"smParam6":{"type":"string","nullable":true,"maxLength":1028},"smParam3":{"type":"string","nullable":true,"maxLength":1028},"smParam4":{"type":"string","nullable":true,"maxLength":1028},"smParam5":{"type":"string","nullable":true,"maxLength":1028},"smParam2":{"type":"string","nullable":true,"maxLength":1028},"smParam7":{"type":"string","nullable":true,"maxLength":1028},"smParam8":{"type":"string","nullable":true,"maxLength":1028},"smParam9":{"type":"string","nullable":true,"maxLength":1028},"smParam10":{"type":"string","nullable":true,"maxLength":1028},"smParam11":{"type":"string","nullable":true,"maxLength":1028},"smParam12":{"type":"string","nullable":true,"maxLength":1028},"version":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"advancedIntegration":{"allOf":[{"$ref":"#/components/schemas/AdvancedIntegrationObjectStorage"}],"readOnly":true}},"required":["advancedIntegration","creationDate","enabled","id","type"]},"ObjectStorageListTypeEnum":{"enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,32,33,34,35,36,37,38,39,45,40,41,43,42,44,47,48,49,50,51,52,53,54,55],"type":"integer","description":"* `0` - none\n* `1` - tina\n* `2` - hcap\n* `3` - centera\n* `4` - one_to_one\n* `5` - fs_container\n* `6` - exalead\n* `7` - nirvanix\n* `8` - emc_css\n* `9` - virtual_storage\n* `10` - amm\n* `11` - cecurity_com\n* `12` - media_metadata\n* `13` - dell_dx\n* `14` - ddn\n* `15` - object_matrix\n* `16` - caringo\n* `17` - amazon_s3\n* `18` - spectra_s3\n* `19` - scality_ring\n* `20` - copy\n* `21` - google_drive\n* `22` - amazon_glacier\n* `23` - oda\n* `24` - proxi\n* `25` - scality_ring_cdmi\n* `26` - activescale\n* `27` - ecs\n* `28` - storagegrid\n* `29` - snapstor\n* `32` - huawei_oceanstor_pacific\n* `33` - generic_s3\n* `34` - swift\n* `35` - azure\n* `36` - gcs\n* `37` - wasabi\n* `38` - scaleway\n* `39` - alibaba_cloud\n* `45` - ovh_cloud\n* `40` - ibm_cloud_object_storage\n* `41` - cloudian_hyperstore\n* `43` - scality\n* `42` - lyve_cloud\n* `44` - datacore_swarm\n* `47` - hualu\n* `48` - ugloo\n* `49` - outscale_s3\n* `50` - artesca\n* `51` - ddn_infinia\n* `52` - qumulo_s3\n* `53` - vast_s3\n* `54` - purestorage_s3\n* `55` - ontap_s3"},"SMAccess":{"type":"object","description":"Adds nested create feature","properties":{"order":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"readOnly":true},"dataMover":{"type":"string"},"defaultProxyDataMover":{"type":"string"},"serverName":{"type":"string"},"enabled":{"type":"boolean"}},"required":["dataMover","enabled","order"]},"VolumeManagement":{"type":"object","description":"Adds nested create feature","properties":{"enabled":{"type":"boolean"},"highWaterMarkGb":{"type":"integer","readOnly":true},"autoWaterMarkGb":{"type":"integer","readOnly":true},"lowWaterMarkGb":{"type":"integer","readOnly":true}},"required":["autoWaterMarkGb","highWaterMarkGb","lowWaterMarkGb"]},"AdvancedIntegrationObjectStorage":{"type":"object","description":"Adds nested create feature","properties":{"enabled":{"type":"boolean"},"url":{"type":"string"},"user":{"type":"string"},"password":{"type":"string"},"checkCertificate":{"type":"boolean"},"noRegularScan":{"type":"boolean"},"fastscan":{"type":"boolean"},"snapshot":{"type":"boolean"},"maxNumberOfFastscan":{"type":"integer"},"capmask":{"type":"integer"}}}}},"paths":{"/infrastructure/object-storages/":{"get":{"operationId":"infrastructureObjectStoragesList","description":"**Get a list of object storage, payload may vary regarding type**\n\n**Complementary information about output:**\n\n**type**: One value :\n['amazon_s3', 'activescale', 'ecs', 'storagegrid', 'huawei_oceanstor_pacific', 'generic_s3', 'wasabi', 'scaleway', 'alibaba_cloud', 'ovh_cloud', 'ibm_cloud_object_storage', 'cloudian_hyperstore', 'ugloo', 'artesca', 'hcap', 'centera', 'emc_css', 'ddn', 'scality_ring', 'scality_ring_cdmi', 'swift', 'azure', 'gcs', 'scality', 'lyve_cloud', 'datacore_swarm', 'hualu', 'outscale_s3', 'ddn_infinia', 'qumulo_s3', 'vast_s3', 'purestorage_s3', 'ontap_s3']\n                ","parameters":[{"name":"ordering","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of results to return per page.","schema":{"type":"integer"}},{"name":"offset","required":false,"in":"query","description":"The initial index from which to return the results.","schema":{"type":"integer"}}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedObjectStorageListList"}}},"description":""}}}}}}
```

## POST /infrastructure/object-storages/

> Create a new Object Storage

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/object-storages/":{"post":{"operationId":"infrastructureObjectStoragesCreate","description":"Create a new Object Storage","tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /infrastructure/object-storages/{objectStoragePk}/buckets/

> \*\*Get a list of object storage buckets\*\*\
> \
> \*\*Complementary information about output:\*\*\
> \
> \*\*digestType\*\*: One value in :\
> \['none', 'MD5', 'SHA-1', 'SHA-256', 'SHA-384', 'SHA-512', 'xxHash32', 'xxHash64']\
> \
> \*\*compressionType\*\*: One value in :\
> \['none', 'adazip', 'zlib']\
> \
> \*\*archiveFolderPrefix/type\*\*: One value in :\
> \['archive', 'timestamp', 'none']\
> \
> \*\*archiveFolderPrefix/archiveMode\*\*: One value in :\
> \['byNumber', 'byName']\
> \
> \*\*archiveFolderPrefix/pathPrefix\*\*: One value in :\
> \['archiveTypeRelativePath', 'archiveRelativePath', 'objectPath']\
> \
> \*\*objectLock\*\*:\
> \
> For S3 buckets one value in :\
> \['disabled', 'governance', 'compliance']\
> \
> For Google cloud buckets one value in :\
> \['disabled', 'enabled']\
> \
> For Azure buckets one value in :\
> \['disabled', 'enabled']\
> \
> \
> \*\*lifecycleRules/type\*\*: One value in :\
> \['glacier', 'deepArchive', 'glacierInstant']\
> \
> \*\*lifecycleRules/retrievalMode\*\*: One value in :\
> \['standard', 'bulk', 'expedited']\
> &#x20;              &#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/object-storages/{objectStoragePk}/buckets/":{"get":{"operationId":"infrastructureObjectStoragesBucketsList","description":"**Get a list of object storage buckets**\n\n**Complementary information about output:**\n\n**digestType**: One value in :\n['none', 'MD5', 'SHA-1', 'SHA-256', 'SHA-384', 'SHA-512', 'xxHash32', 'xxHash64']\n\n**compressionType**: One value in :\n['none', 'adazip', 'zlib']\n\n**archiveFolderPrefix/type**: One value in :\n['archive', 'timestamp', 'none']\n\n**archiveFolderPrefix/archiveMode**: One value in :\n['byNumber', 'byName']\n\n**archiveFolderPrefix/pathPrefix**: One value in :\n['archiveTypeRelativePath', 'archiveRelativePath', 'objectPath']\n\n**objectLock**:\n\nFor S3 buckets one value in :\n['disabled', 'governance', 'compliance']\n\nFor Google cloud buckets one value in :\n['disabled', 'enabled']\n\nFor Azure buckets one value in :\n['disabled', 'enabled']\n\n\n**lifecycleRules/type**: One value in :\n['glacier', 'deepArchive', 'glacierInstant']\n\n**lifecycleRules/retrievalMode**: One value in :\n['standard', 'bulk', 'expedited']\n                ","parameters":[{"name":"ordering","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of results to return per page.","schema":{"type":"integer"}},{"name":"offset","required":false,"in":"query","description":"The initial index from which to return the results.","schema":{"type":"integer"}},{"in":"path","name":"objectStoragePk","schema":{"type":"integer"},"description":"A unique integer value identifying the object storage.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","required":["count","results"],"properties":{"count":{"type":"integer"},"next":{"type":"string","nullable":true,"format":"uri"},"previous":{"type":"string","nullable":true,"format":"uri"},"results":{"type":"array","items":{"description":""}}}}}},"description":""}}}}}}
```

## POST /infrastructure/object-storages/{objectStoragePk}/buckets/

> Create a new Object Storage bucket

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/object-storages/{objectStoragePk}/buckets/":{"post":{"operationId":"infrastructureObjectStoragesBucketsCreate","description":"Create a new Object Storage bucket","parameters":[{"in":"path","name":"objectStoragePk","schema":{"type":"integer"},"description":"A unique integer value identifying the object storage.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /infrastructure/object-storages/{objectStoragePk}/buckets/{id}/

> \*\*Get an existing object storage bucket\*\*\
> \
> \*\*Complementary information about output:\*\*\
> \
> \*\*digestType\*\*: One value in :\
> \['none', 'MD5', 'SHA-1', 'SHA-256', 'SHA-384', 'SHA-512', 'xxHash32', 'xxHash64']\
> \
> \*\*compressionType\*\*: One value in :\
> \['none', 'adazip', 'zlib']\
> \
> \*\*archiveFolderPrefix/type\*\*: One value in :\
> \['archive', 'timestamp', 'none']\
> \
> \*\*archiveFolderPrefix/archiveMode\*\*: One value in :\
> \['byNumber', 'byName']\
> \
> \*\*archiveFolderPrefix/pathPrefix\*\*: One value in :\
> \['archiveTypeRelativePath', 'archiveRelativePath', 'objectPath']\
> \
> \*\*objectLock\*\*:\
> \
> For S3 buckets one value in :\
> \['disabled', 'governance', 'compliance']\
> \
> For Google cloud buckets one value in :\
> \['disabled', 'enabled']\
> \
> For Azure buckets one value in :\
> \['disabled', 'enabled']\
> \
> \*\*lifecycleRules/type\*\*: One value in :\
> \['glacier', 'deepArchive', 'glacierInstant']\
> \
> \*\*lifecycleRules/retrievalMode\*\*: One value in :\
> \['standard', 'bulk', 'expedited']\
> &#x20;              &#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/object-storages/{objectStoragePk}/buckets/{id}/":{"get":{"operationId":"infrastructureObjectStoragesBucketsRetrieve","description":"**Get an existing object storage bucket**\n\n**Complementary information about output:**\n\n**digestType**: One value in :\n['none', 'MD5', 'SHA-1', 'SHA-256', 'SHA-384', 'SHA-512', 'xxHash32', 'xxHash64']\n\n**compressionType**: One value in :\n['none', 'adazip', 'zlib']\n\n**archiveFolderPrefix/type**: One value in :\n['archive', 'timestamp', 'none']\n\n**archiveFolderPrefix/archiveMode**: One value in :\n['byNumber', 'byName']\n\n**archiveFolderPrefix/pathPrefix**: One value in :\n['archiveTypeRelativePath', 'archiveRelativePath', 'objectPath']\n\n**objectLock**:\n\nFor S3 buckets one value in :\n['disabled', 'governance', 'compliance']\n\nFor Google cloud buckets one value in :\n['disabled', 'enabled']\n\nFor Azure buckets one value in :\n['disabled', 'enabled']\n\n**lifecycleRules/type**: One value in :\n['glacier', 'deepArchive', 'glacierInstant']\n\n**lifecycleRules/retrievalMode**: One value in :\n['standard', 'bulk', 'expedited']\n                ","parameters":[{"in":"path","name":"objectStoragePk","schema":{"type":"integer"},"description":"A unique integer value identifying the object storage.","required":true},{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the bucket.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## PUT /infrastructure/object-storages/{objectStoragePk}/buckets/{id}/

> \*\*Update an existing Object Storage bucket\*\*

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/object-storages/{objectStoragePk}/buckets/{id}/":{"put":{"operationId":"infrastructureObjectStoragesBucketsUpdate","description":"**Update an existing Object Storage bucket**","parameters":[{"in":"path","name":"objectStoragePk","schema":{"type":"integer"},"description":"A unique integer value identifying the object storage.","required":true},{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the bucket.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## DELETE /infrastructure/object-storages/{objectStoragePk}/buckets/{id}/

> \
> Delete an existing object storage bucket<br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/object-storages/{objectStoragePk}/buckets/{id}/":{"delete":{"operationId":"infrastructureObjectStoragesBucketsDestroy","description":"\nDelete an existing object storage bucket\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this object storage bucket.","required":true},{"in":"query","name":"test","schema":{"type":"boolean"},"description":"Delete in test mode. (default: False)"},{"in":"path","name":"objectStoragePk","schema":{"type":"integer"},"description":"A unique integer value identifying the object storage.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /infrastructure/object-storages/{objectStoragePk}/buckets/{id}/browse/

> Displays the contents of the specified path

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/object-storages/{objectStoragePk}/buckets/{id}/browse/":{"post":{"operationId":"infrastructureObjectStoragesBucketsBrowseCreate","description":"Displays the contents of the specified path","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the bucket.","required":true},{"in":"path","name":"objectStoragePk","schema":{"type":"integer"},"description":"A unique integer value identifying the object storage.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /infrastructure/object-storages/{objectStoragePk}/buckets/{id}/browse/folder/

> Create a folder

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/object-storages/{objectStoragePk}/buckets/{id}/browse/folder/":{"post":{"operationId":"infrastructureObjectStoragesBucketsBrowseFolderCreate","description":"Create a folder","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the bucket.","required":true},{"in":"path","name":"objectStoragePk","schema":{"type":"integer"},"description":"A unique integer value identifying the object storage.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /infrastructure/object-storages/{objectStoragePk}/buckets/{id}/browse/global-path/

> Displays global path version of the specified path

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/object-storages/{objectStoragePk}/buckets/{id}/browse/global-path/":{"post":{"operationId":"infrastructureObjectStoragesBucketsBrowseGlobalPathCreate","description":"Displays global path version of the specified path","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the bucket.","required":true},{"in":"path","name":"objectStoragePk","schema":{"type":"integer"},"description":"A unique integer value identifying the object storage.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /infrastructure/object-storages/{objectStoragePk}/buckets/{id}/browser/

> \
> \*\*Opens a browser\*\*\
> \
> Returns a root path and a browser handle to use in subsequent browse calls.\
> \
> \*\*Warning! When no more browsing activity is needed make sure to DELETE the browser\*\*<br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/object-storages/{objectStoragePk}/buckets/{id}/browser/":{"get":{"operationId":"infrastructureObjectStoragesBucketsBrowserRetrieve","description":"\n**Opens a browser**\n\nReturns a root path and a browser handle to use in subsequent browse calls.\n\n**Warning! When no more browsing activity is needed make sure to DELETE the browser**\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the bucket.","required":true},{"in":"path","name":"objectStoragePk","schema":{"type":"integer"},"description":"A unique integer value identifying the object storage.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## DELETE /infrastructure/object-storages/{objectStoragePk}/buckets/{id}/browser/

> \
> \*\*Closes a browser\*\*\
> \
> \*\*You must call this endpoint when no more browsing activity is needed!\*\*\ <br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/object-storages/{objectStoragePk}/buckets/{id}/browser/":{"delete":{"operationId":"infrastructureObjectStoragesBucketsBrowserDestroy","description":"\n**Closes a browser**\n\n**You must call this endpoint when no more browsing activity is needed!**\n\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the bucket.","required":true},{"in":"path","name":"objectStoragePk","schema":{"type":"integer"},"description":"A unique integer value identifying the object storage.","required":true},{"in":"query","name":"browserHandle","schema":{"type":"integer"},"description":"Browser handle id to close","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## DELETE /infrastructure/object-storages/{objectStoragePk}/buckets/{id}/host/

> \
> Delete an existing object storage as source host<br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/object-storages/{objectStoragePk}/buckets/{id}/host/":{"delete":{"operationId":"infrastructureObjectStoragesBucketsHostDestroy","description":"\nDelete an existing object storage as source host\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this object storage as source host.","required":true},{"in":"query","name":"test","schema":{"type":"boolean"},"description":"Delete in test mode. (default: False)"},{"in":"path","name":"objectStoragePk","schema":{"type":"integer"},"description":"A unique integer value identifying the object storage.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /infrastructure/object-storages/{objectStoragePk}/bulk-buckets/

> Create a raw of bucket containers on current object-storage

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/object-storages/{objectStoragePk}/bulk-buckets/":{"post":{"operationId":"infrastructureObjectStoragesBulkBucketsCreate","description":"Create a raw of bucket containers on current object-storage","parameters":[{"in":"path","name":"objectStoragePk","schema":{"type":"string","pattern":"^\\d+$"},"required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /infrastructure/object-storages/{objectStoragePk}/checkIntegrity/

> Check integrity for object storage

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/object-storages/{objectStoragePk}/checkIntegrity/":{"post":{"operationId":"infrastructureObjectStoragesCheckIntegrityCreate","description":"Check integrity for object storage","parameters":[{"in":"query","name":"toList","schema":{"type":"boolean"},"description":"List only, no synchronization if true. (default: True)"},{"in":"path","name":"objectStoragePk","schema":{"type":"integer"},"description":"A unique integer value identifying the object storage.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /infrastructure/object-storages/{id}/

> \*\*Get an existing object storage\*\*\
> \
> \*\*Complementary information about output:\*\*\
> \
> \*\*type\*\*: One value in :\
> \['amazon\_s3', 'activescale', 'ecs', 'storagegrid', 'huawei\_oceanstor\_pacific', 'generic\_s3', 'wasabi', 'scaleway', 'alibaba\_cloud', 'ovh\_cloud', 'ibm\_cloud\_object\_storage', 'cloudian\_hyperstore', 'ugloo', 'artesca', 'hcap', 'centera', 'emc\_css', 'ddn', 'scality\_ring', 'scality\_ring\_cdmi', 'swift', 'azure', 'gcs', 'scality', 'lyve\_cloud', 'datacore\_swarm', 'hualu', 'outscale\_s3', 'ddn\_infinia', 'qumulo\_s3', 'vast\_s3', 'purestorage\_s3', 'ontap\_s3']\
> \
> \*\*connectionSettings\*\*: One value in : \["tcp\_latency", "dns\_round\_robin"]\
> &#x20;              &#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/object-storages/{id}/":{"get":{"operationId":"infrastructureObjectStoragesRetrieve","description":"**Get an existing object storage**\n\n**Complementary information about output:**\n\n**type**: One value in :\n['amazon_s3', 'activescale', 'ecs', 'storagegrid', 'huawei_oceanstor_pacific', 'generic_s3', 'wasabi', 'scaleway', 'alibaba_cloud', 'ovh_cloud', 'ibm_cloud_object_storage', 'cloudian_hyperstore', 'ugloo', 'artesca', 'hcap', 'centera', 'emc_css', 'ddn', 'scality_ring', 'scality_ring_cdmi', 'swift', 'azure', 'gcs', 'scality', 'lyve_cloud', 'datacore_swarm', 'hualu', 'outscale_s3', 'ddn_infinia', 'qumulo_s3', 'vast_s3', 'purestorage_s3', 'ontap_s3']\n\n**connectionSettings**: One value in : [\"tcp_latency\", \"dns_round_robin\"]\n                ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this Object Storage.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## PUT /infrastructure/object-storages/{id}/

> \*\*Update an existing Object Storage\*\*

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/object-storages/{id}/":{"put":{"operationId":"infrastructureObjectStoragesUpdate","description":"**Update an existing Object Storage**","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## DELETE /infrastructure/object-storages/{id}/

> \
> Delete an existing object storage<br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/object-storages/{id}/":{"delete":{"operationId":"infrastructureObjectStoragesDestroy","description":"\nDelete an existing object storage\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this object storage.","required":true},{"in":"query","name":"test","schema":{"type":"boolean"},"description":"Delete in test mode. (default: False)"}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /infrastructure/object-storages/{id}/advanced-integration/

> \*\*Get advanced integrated options for an object storage.\*\*\
> \
> Allowed types of object storages are : scality.\
> \
> Depending on its type, some options are specific.\
> \
> \
> \*\*Note that for object storage which do not support advanced integration a 404 HTTP response\
> is returned with the message "Not Found"\*\*&#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"AdvancedIntegrationObjectStorage":{"type":"object","description":"Adds nested create feature","properties":{"enabled":{"type":"boolean"},"url":{"type":"string"},"user":{"type":"string"},"password":{"type":"string"},"checkCertificate":{"type":"boolean"},"noRegularScan":{"type":"boolean"},"fastscan":{"type":"boolean"},"snapshot":{"type":"boolean"},"maxNumberOfFastscan":{"type":"integer"},"capmask":{"type":"integer"}}}}},"paths":{"/infrastructure/object-storages/{id}/advanced-integration/":{"get":{"operationId":"infrastructureObjectStoragesAdvancedIntegrationRetrieve","description":"**Get advanced integrated options for an object storage.**\n\nAllowed types of object storages are : scality.\n\nDepending on its type, some options are specific.\n\n\n**Note that for object storage which do not support advanced integration a 404 HTTP response\nis returned with the message \"Not Found\"** ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this object storage.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvancedIntegrationObjectStorage"}}},"description":""}}}}}}
```

## PUT /infrastructure/object-storages/{id}/advanced-integration/

> \*\*Update advanced integrated options for an object storage if it supports it.\*\*\
> \
> Allowed types of object storages are : scality.\
> \
> Depending on its type, some options are specific.\
> \
> \
> \*\*Input payload with:\*\*\
> \
> \*\*url\*\*: address of the related fastcan server\
> \
> \*\*user\*\*: user to connect to fastscan server\
> \
> \*\*password\*\*: password to connect to fastscan server\
> \
> \*\*checkCertificate\*\*: boolean that indicates if the certificate validity will be checked, if the server use ssl\
> \
> \*\*fastscan\*\*: boolean that indicates fastcan usage\
> \
> \*\*noRegularScan\*\*: boolean that indicates, if true, that no regular scan will be performed if there is no last reference for fastscan\
> \
> \*\*maxNumberOfFastscan\*\*: maximum number of allowed parallel fastcan\
> \
> \*\*Note that for object storage which do not support advanced integration a 404 HTTP response\
> is returned with the message "Not Found"\*\*&#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"AdvancedIntegrationObjectStorage":{"type":"object","description":"Adds nested create feature","properties":{"enabled":{"type":"boolean"},"url":{"type":"string"},"user":{"type":"string"},"password":{"type":"string"},"checkCertificate":{"type":"boolean"},"noRegularScan":{"type":"boolean"},"fastscan":{"type":"boolean"},"snapshot":{"type":"boolean"},"maxNumberOfFastscan":{"type":"integer"},"capmask":{"type":"integer"}}}}},"paths":{"/infrastructure/object-storages/{id}/advanced-integration/":{"put":{"operationId":"infrastructureObjectStoragesAdvancedIntegrationUpdate","description":"**Update advanced integrated options for an object storage if it supports it.**\n\nAllowed types of object storages are : scality.\n\nDepending on its type, some options are specific.\n\n\n**Input payload with:**\n\n**url**: address of the related fastcan server\n\n**user**: user to connect to fastscan server\n\n**password**: password to connect to fastscan server\n\n**checkCertificate**: boolean that indicates if the certificate validity will be checked, if the server use ssl\n\n**fastscan**: boolean that indicates fastcan usage\n\n**noRegularScan**: boolean that indicates, if true, that no regular scan will be performed if there is no last reference for fastscan\n\n**maxNumberOfFastscan**: maximum number of allowed parallel fastcan\n\n**Note that for object storage which do not support advanced integration a 404 HTTP response\nis returned with the message \"Not Found\"** ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this object storage.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdvancedIntegrationObjectStorage"}}},"description":""}}}}}}
```

## POST /infrastructure/object-storages/{id}/remote/list-buckets/

> List the clouds of existing object manager

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/object-storages/{id}/remote/list-buckets/":{"post":{"operationId":"infrastructureObjectStoragesRemoteListBucketsCreate","description":"List the clouds of existing object manager","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the object.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"description":""}}}},"description":""}}}}}}
```

## GET /infrastructure/pools/

> Get a list of pools

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/pools/":{"get":{"operationId":"poolList","description":"Get a list of pools","parameters":[{"name":"ordering","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of results to return per page.","schema":{"type":"integer"}},{"name":"offset","required":false,"in":"query","description":"The initial index from which to return the results.","schema":{"type":"integer"}}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","required":["count","results"],"properties":{"count":{"type":"integer"},"next":{"type":"string","nullable":true,"format":"uri"},"previous":{"type":"string","nullable":true,"format":"uri"},"results":{"type":"array","items":{"description":""}}}}}},"description":""}}}}}}
```

## POST /infrastructure/pools/

> \*\*Create a new pool\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: Name of new pool, it should not exist\
> else where in the table.\
> \
> \*\*comment\*\*: More information on the pool.\
> \
> \*\*objectGroup\*\*: In a dictionary, insert the name\
> of the existing objectGroup for the new pool.\
> \
> \*\*organization\*\*: In a dictionary, insert the name\
> of the existing organization for the new pool.\
> \
> \*\*aliases\*\*: In a list of dictionaries, insert the name\
> aliases.\
> \
> \*\*hosts (required)\*\*: To associate the new pool with\
> existing hosts.

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"PoolDetail":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true,"maxLength":512},"creationDate":{"type":"string","format":"date-time","readOnly":true},"objectGroup":{"$ref":"#/components/schemas/CapacityGroupForAgent"},"organization":{"$ref":"#/components/schemas/HostOrganizationForAgent"},"hosts":{"type":"array","items":{"$ref":"#/components/schemas/HostPoolForPoolDetail"}},"aliases":{"type":"array","items":{"$ref":"#/components/schemas/HostAlias"}}},"required":["creationDate","hosts","id","name"]},"CapacityGroupForAgent":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"creationDate":{"type":"string","format":"date-time","readOnly":true}},"required":["creationDate","id"]},"HostOrganizationForAgent":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"creationDate":{"type":"string","format":"date-time","readOnly":true},"comment":{"type":"string","readOnly":true},"parent":{"allOf":[{"$ref":"#/components/schemas/HostOrganizationShort"}],"readOnly":true}},"required":["comment","creationDate","id","parent"]},"HostOrganizationShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","readOnly":true}},"required":["id","name"]},"HostPoolForPoolDetail":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"string","readOnly":true},"name":{"type":"string","readOnly":true},"comment":{"type":"string","readOnly":true},"creationDate":{"type":"string","readOnly":true},"osType":{"type":"string","readOnly":true}},"required":["comment","creationDate","id","name","osType"]},"HostAlias":{"type":"object","properties":{"name":{"type":"string","maxLength":256}},"required":["name"]}}},"paths":{"/infrastructure/pools/":{"post":{"operationId":"infrastructurePoolsCreate","description":"**Create a new pool**\n\n**Input payload with:**\n\n**name (required)**: Name of new pool, it should not exist\nelse where in the table.\n\n**comment**: More information on the pool.\n\n**objectGroup**: In a dictionary, insert the name\nof the existing objectGroup for the new pool.\n\n**organization**: In a dictionary, insert the name\nof the existing organization for the new pool.\n\n**aliases**: In a list of dictionaries, insert the name\naliases.\n\n**hosts (required)**: To associate the new pool with\nexisting hosts.","tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PoolDetail"}}},"description":""}}}}}}
```

## GET /infrastructure/pools/{id}/

> Get an existing pool

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/pools/{id}/":{"get":{"operationId":"poolRetrieve","description":"Get an existing pool","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this Pool.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## PUT /infrastructure/pools/{id}/

> \*\*Update an existing pool\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: Name of pool, it should not exist\
> else where in the table.\
> \
> \*\*comment\*\*: More information on the pool.\
> \
> \*\*objectGroup\*\*: In a dictionary, insert the name\
> of the existing objectGroup for the pool.\
> \
> \*\*organization\*\*: In a dictionary, insert the name\
> of the existing organization for the pool.\
> \
> \*\*aliases\*\*: In a list of dictionaries, insert the name\
> aliases.\
> \
> \*\*hosts\*\*: To associate the pool with\
> existing hosts.

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"PoolDetailSerializerForUpdate":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"comment":{"type":"string","nullable":true,"maxLength":512},"creationDate":{"type":"string","format":"date-time","readOnly":true},"objectGroup":{"$ref":"#/components/schemas/CapacityGroupForAgent"},"organization":{"$ref":"#/components/schemas/HostOrganizationForAgent"},"hosts":{"type":"array","items":{"$ref":"#/components/schemas/HostPoolForPoolDetail"}},"aliases":{"type":"array","items":{"$ref":"#/components/schemas/HostAlias"}}},"required":["creationDate","id"]},"CapacityGroupForAgent":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"creationDate":{"type":"string","format":"date-time","readOnly":true}},"required":["creationDate","id"]},"HostOrganizationForAgent":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"creationDate":{"type":"string","format":"date-time","readOnly":true},"comment":{"type":"string","readOnly":true},"parent":{"allOf":[{"$ref":"#/components/schemas/HostOrganizationShort"}],"readOnly":true}},"required":["comment","creationDate","id","parent"]},"HostOrganizationShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","readOnly":true}},"required":["id","name"]},"HostPoolForPoolDetail":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"string","readOnly":true},"name":{"type":"string","readOnly":true},"comment":{"type":"string","readOnly":true},"creationDate":{"type":"string","readOnly":true},"osType":{"type":"string","readOnly":true}},"required":["comment","creationDate","id","name","osType"]},"HostAlias":{"type":"object","properties":{"name":{"type":"string","maxLength":256}},"required":["name"]}}},"paths":{"/infrastructure/pools/{id}/":{"put":{"operationId":"poolUpdate","description":"**Update an existing pool**\n\n**Input payload with:**\n\n**name (required)**: Name of pool, it should not exist\nelse where in the table.\n\n**comment**: More information on the pool.\n\n**objectGroup**: In a dictionary, insert the name\nof the existing objectGroup for the pool.\n\n**organization**: In a dictionary, insert the name\nof the existing organization for the pool.\n\n**aliases**: In a list of dictionaries, insert the name\naliases.\n\n**hosts**: To associate the pool with\nexisting hosts.","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this Pool.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PoolDetailSerializerForUpdate"}}},"description":""}}}}}}
```

## DELETE /infrastructure/pools/{id}/

> \
> Delete an existing pool<br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/pools/{id}/":{"delete":{"operationId":"infrastructurePoolsDestroy","description":"\nDelete an existing pool\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this pool.","required":true},{"in":"query","name":"test","schema":{"type":"boolean"},"description":"Delete in test mode. (default: False)"}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /infrastructure/pools/{id}/browse/

> Displays the contents of the specified path

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/pools/{id}/browse/":{"post":{"operationId":"infrastructurePoolsBrowseCreate","description":"Displays the contents of the specified path","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the object.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /infrastructure/pools/{id}/browse/folder/

> Create a folder

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/pools/{id}/browse/folder/":{"post":{"operationId":"infrastructurePoolsBrowseFolderCreate","description":"Create a folder","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the object.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /infrastructure/pools/{id}/browse/global-path/

> Displays global path version of the specified path

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/pools/{id}/browse/global-path/":{"post":{"operationId":"infrastructurePoolsBrowseGlobalPathCreate","description":"Displays global path version of the specified path","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the object.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /infrastructure/pools/{id}/browser/

> \
> \*\*Opens a browser\*\*\
> \
> Returns a root path and a browser handle to use in subsequent browse calls.\
> \
> \*\*Warning! When no more browsing activity is needed make sure to DELETE the browser\*\*<br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/pools/{id}/browser/":{"get":{"operationId":"infrastructurePoolsBrowserRetrieve","description":"\n**Opens a browser**\n\nReturns a root path and a browser handle to use in subsequent browse calls.\n\n**Warning! When no more browsing activity is needed make sure to DELETE the browser**\n","parameters":[{"in":"query","name":"osType","schema":{"type":"string","enum":["UnixMacOs","Windows"]},"description":"select connect type"},{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the object.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## DELETE /infrastructure/pools/{id}/browser/

> \
> \*\*Closes a browser\*\*\
> \
> \*\*You must call this endpoint when no more browsing activity is needed!\*\*\ <br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/pools/{id}/browser/":{"delete":{"operationId":"infrastructurePoolsBrowserDestroy","description":"\n**Closes a browser**\n\n**You must call this endpoint when no more browsing activity is needed!**\n\n","parameters":[{"in":"query","name":"browserHandle","schema":{"type":"integer"},"description":"Browser handle id to close","required":true},{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the object.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /infrastructure/snapshots/

> Get a list of snapshots

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"PaginatedSnapshotListList":{"type":"object","required":["count","results"],"properties":{"count":{"type":"integer"},"next":{"type":"string","nullable":true,"format":"uri"},"previous":{"type":"string","nullable":true,"format":"uri"},"results":{"type":"array","items":{"$ref":"#/components/schemas/SnapshotList"}}}},"SnapshotList":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","nullable":true,"maxLength":256},"host":{"allOf":[{"$ref":"#/components/schemas/HostShort"}],"readOnly":true},"archive":{"allOf":[{"$ref":"#/components/schemas/ArchiveShort"}],"readOnly":true}},"required":["archive","host","id"]},"HostShort":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256}},"required":["id","name"]},"ArchiveShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","pattern":"[/\\u005c:]","maxLength":256}},"required":["id","name"]}}},"paths":{"/infrastructure/snapshots/":{"get":{"operationId":"infrastructureSnapshotsList","description":"Get a list of snapshots","parameters":[{"name":"ordering","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of results to return per page.","schema":{"type":"integer"}},{"name":"offset","required":false,"in":"query","description":"The initial index from which to return the results.","schema":{"type":"integer"}}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedSnapshotListList"}}},"description":""}}}}}}
```

## GET /infrastructure/snapshots/{id}/

> Get an existing snapshot

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"SnapshotDetail":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","nullable":true,"maxLength":256},"creationDate":{"type":"string","format":"date-time"},"type":{"allOf":[{"$ref":"#/components/schemas/SnapshotDetailTypeEnum"}],"maximum":100,"exclusiveMaximum":true,"minimum":-100,"exclusiveMinimum":true},"status":{"allOf":[{"$ref":"#/components/schemas/StatusEnum"}],"maximum":10,"exclusiveMaximum":true,"minimum":-10,"exclusiveMinimum":true},"host":{"allOf":[{"$ref":"#/components/schemas/HostForSnapShot"}],"readOnly":true},"snapshotId":{"type":"string","maxLength":256},"path":{"type":"string","nullable":true},"globalPath":{"type":"string","nullable":true},"archive":{"allOf":[{"$ref":"#/components/schemas/ArchiveAll"}],"readOnly":true},"parentSnapshot":{"allOf":[{"$ref":"#/components/schemas/SnapshotList"}],"readOnly":true}},"required":["archive","creationDate","host","id","parentSnapshot","snapshotId"]},"SnapshotDetailTypeEnum":{"enum":[0,1,2,3,4],"type":"integer","description":"* `0` - Fastscan\n* `1` - Snapshot\n* `2` - SnapStor\n* `3` - Fastscan (Unmanaged)\n* `4` - Snapshot (Unmanaged)"},"StatusEnum":{"enum":[0,1,2,3],"type":"integer","description":"* `0` - Valid\n* `1` - Invalid\n* `2` - Temporary\n* `3` - Deletion Error"},"HostForSnapShot":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true,"maxLength":512},"creationDate":{"type":"string","format":"date-time","readOnly":true},"gatewayUnix":{"type":"string","nullable":true,"maxLength":256},"gatewayWindows":{"type":"string","nullable":true,"maxLength":256},"objectGroup":{"allOf":[{"$ref":"#/components/schemas/CapacityGroupAll"}],"readOnly":true},"advancedIntegrationUrl":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationUser":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationPassword":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationCertificate":{"type":"string","nullable":true},"advancedIntegrationMaxNumberOfFastscan":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"organization":{"allOf":[{"$ref":"#/components/schemas/HostOrganizationAll"}],"readOnly":true},"allowCrossPlatform":{"type":"string","readOnly":true},"advancedIntegrationApiAccessZone":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationCheckCertificate":{"type":"string","readOnly":true}},"required":["advancedIntegrationCheckCertificate","allowCrossPlatform","creationDate","id","name","objectGroup","organization"]},"CapacityGroupAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"comment":{"type":"string","nullable":true,"maxLength":512}},"required":["creationDate","id","name"]},"HostOrganizationAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"parent":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"ArchiveAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","pattern":"[/\\u005c:]","maxLength":256},"comment":{"type":"string","nullable":true,"maxLength":512},"creationDate":{"type":"string","format":"date-time","readOnly":true},"Type":{"nullable":true,"title":" type","maximum":100,"exclusiveMaximum":true,"minimum":-100,"exclusiveMinimum":true,"oneOf":[{"$ref":"#/components/schemas/_typeA48Enum"},{"$ref":"#/components/schemas/NullEnum"}]},"Mode":{"nullable":true,"title":" mode","minimum":-2147483648,"maximum":2147483647,"oneOf":[{"$ref":"#/components/schemas/_modeEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"volumeQuota":{"type":"string","format":"decimal","pattern":"^-?\\d{0,18}(?:\\.\\d{0,0})?$","nullable":true},"object":{"type":"integer","nullable":true},"owner":{"type":"integer","nullable":true},"objectGroup":{"type":"integer","nullable":true},"organization":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"_typeA48Enum":{"enum":[1,2,4],"type":"integer","description":"* `1` - user\n* `2` - project\n* `4` - synchro"},"NullEnum":{"enum":[null]},"_modeEnum":{"enum":[0,1,2],"type":"integer","description":"* `0` - archiving\n* `1` - backup\n* `2` - by setting"},"SnapshotList":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","nullable":true,"maxLength":256},"host":{"allOf":[{"$ref":"#/components/schemas/HostShort"}],"readOnly":true},"archive":{"allOf":[{"$ref":"#/components/schemas/ArchiveShort"}],"readOnly":true}},"required":["archive","host","id"]},"HostShort":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256}},"required":["id","name"]},"ArchiveShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","pattern":"[/\\u005c:]","maxLength":256}},"required":["id","name"]}}},"paths":{"/infrastructure/snapshots/{id}/":{"get":{"operationId":"infrastructureSnapshotsRetrieve","description":"Get an existing snapshot","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this snaphot.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnapshotDetail"}}},"description":""}}}}}}
```

## DELETE /infrastructure/snapshots/{id}/

> \
> Delete an existing snapshot<br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/snapshots/{id}/":{"delete":{"operationId":"infrastructureSnapshotsDestroy","description":"\nDelete an existing snapshot\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this snapshot.","required":true},{"in":"query","name":"test","schema":{"type":"boolean"},"description":"Delete in test mode. (default: False)"}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /infrastructure/storage-managers/

> \*\*Get a list of storage managers\*\*\
> \
> \*\*Complementary information about output:\*\*\
> \
> \*\*type\*\*: One value in :\
> \['one\_to\_one', 'fs\_container', 'amm', 'oda', 'tina', 'virtual\_storage', 'snapstor']\
> \
> \*\*operatingMode\*\*: One value in :\
> "fail\_over", "load\_balancing"\
> &#x20;              &#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"PaginatedStorageManagerList":{"type":"object","required":["count","results"],"properties":{"count":{"type":"integer"},"next":{"type":"string","nullable":true,"format":"uri"},"previous":{"type":"string","nullable":true,"format":"uri"},"results":{"type":"array","items":{"$ref":"#/components/schemas/StorageManager"}}}},"StorageManager":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","nullable":true,"maxLength":128},"type":{"type":"string"},"creationDate":{"type":"string","format":"date-time","readOnly":true},"enabled":{"type":"boolean"},"storagePlatform":{"$ref":"#/components/schemas/StoragePlatform"},"volumeManagement":{"$ref":"#/components/schemas/VolumeManagement"},"application":{"allOf":[{"$ref":"#/components/schemas/ApplicationShort"}],"readOnly":true},"comment":{"type":"string","nullable":true}},"required":["application","creationDate","id"]},"StoragePlatform":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"osType":{"type":"string","readOnly":true}},"required":["id","name","osType"]},"VolumeManagement":{"type":"object","description":"Adds nested create feature","properties":{"enabled":{"type":"boolean"},"highWaterMarkGb":{"type":"integer","readOnly":true},"autoWaterMarkGb":{"type":"integer","readOnly":true},"lowWaterMarkGb":{"type":"integer","readOnly":true}},"required":["autoWaterMarkGb","highWaterMarkGb","lowWaterMarkGb"]},"ApplicationShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256}},"required":["id","name"]}}},"paths":{"/infrastructure/storage-managers/":{"get":{"operationId":"infrastructureStorageManagersList","description":"**Get a list of storage managers**\n\n**Complementary information about output:**\n\n**type**: One value in :\n['one_to_one', 'fs_container', 'amm', 'oda', 'tina', 'virtual_storage', 'snapstor']\n\n**operatingMode**: One value in :\n\"fail_over\", \"load_balancing\"\n                ","parameters":[{"name":"ordering","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of results to return per page.","schema":{"type":"integer"}},{"name":"offset","required":false,"in":"query","description":"The initial index from which to return the results.","schema":{"type":"integer"}}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedStorageManagerList"}}},"description":""}}}}}}
```

## POST /infrastructure/storage-managers/

> \*\*Create a new Storage Manager\*\*\
> &#x20;              &#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"StorageManager":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","nullable":true,"maxLength":128},"type":{"type":"string"},"creationDate":{"type":"string","format":"date-time","readOnly":true},"enabled":{"type":"boolean"},"storagePlatform":{"$ref":"#/components/schemas/StoragePlatform"},"volumeManagement":{"$ref":"#/components/schemas/VolumeManagement"},"application":{"allOf":[{"$ref":"#/components/schemas/ApplicationShort"}],"readOnly":true},"comment":{"type":"string","nullable":true}},"required":["application","creationDate","id"]},"StoragePlatform":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"osType":{"type":"string","readOnly":true}},"required":["id","name","osType"]},"VolumeManagement":{"type":"object","description":"Adds nested create feature","properties":{"enabled":{"type":"boolean"},"highWaterMarkGb":{"type":"integer","readOnly":true},"autoWaterMarkGb":{"type":"integer","readOnly":true},"lowWaterMarkGb":{"type":"integer","readOnly":true}},"required":["autoWaterMarkGb","highWaterMarkGb","lowWaterMarkGb"]},"ApplicationShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256}},"required":["id","name"]}}},"paths":{"/infrastructure/storage-managers/":{"post":{"operationId":"infrastructureStorageManagersCreate","description":"**Create a new Storage Manager**\n                ","tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageManager"}}},"description":""}}}}}}
```

## GET /infrastructure/storage-managers/{id}/

> \*\*Get an existing storage manager\*\*\
> \
> \*\*Complementary information about output:\*\*\
> \
> \*\*type\*\*: One value in :\
> \['one\_to\_one', 'fs\_container', 'amm', 'oda', 'tina', 'virtual\_storage', 'snapstor']\
> \
> \*\*operatingMode\*\*: One value in :\
> "fail\_over", "load\_balancing"\
> &#x20;              &#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"StorageManager":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","nullable":true,"maxLength":128},"type":{"type":"string"},"creationDate":{"type":"string","format":"date-time","readOnly":true},"enabled":{"type":"boolean"},"storagePlatform":{"$ref":"#/components/schemas/StoragePlatform"},"volumeManagement":{"$ref":"#/components/schemas/VolumeManagement"},"application":{"allOf":[{"$ref":"#/components/schemas/ApplicationShort"}],"readOnly":true},"comment":{"type":"string","nullable":true}},"required":["application","creationDate","id"]},"StoragePlatform":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"osType":{"type":"string","readOnly":true}},"required":["id","name","osType"]},"VolumeManagement":{"type":"object","description":"Adds nested create feature","properties":{"enabled":{"type":"boolean"},"highWaterMarkGb":{"type":"integer","readOnly":true},"autoWaterMarkGb":{"type":"integer","readOnly":true},"lowWaterMarkGb":{"type":"integer","readOnly":true}},"required":["autoWaterMarkGb","highWaterMarkGb","lowWaterMarkGb"]},"ApplicationShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256}},"required":["id","name"]}}},"paths":{"/infrastructure/storage-managers/{id}/":{"get":{"operationId":"infrastructureStorageManagersRetrieve","description":"**Get an existing storage manager**\n\n**Complementary information about output:**\n\n**type**: One value in :\n['one_to_one', 'fs_container', 'amm', 'oda', 'tina', 'virtual_storage', 'snapstor']\n\n**operatingMode**: One value in :\n\"fail_over\", \"load_balancing\"\n                ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this storage manager.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageManager"}}},"description":""}}}}}}
```

## PUT /infrastructure/storage-managers/{id}/

> \*\*Update an existing Storage Manager\*\*\
> &#x20;              &#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"StorageManager":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","nullable":true,"maxLength":128},"type":{"type":"string"},"creationDate":{"type":"string","format":"date-time","readOnly":true},"enabled":{"type":"boolean"},"storagePlatform":{"$ref":"#/components/schemas/StoragePlatform"},"volumeManagement":{"$ref":"#/components/schemas/VolumeManagement"},"application":{"allOf":[{"$ref":"#/components/schemas/ApplicationShort"}],"readOnly":true},"comment":{"type":"string","nullable":true}},"required":["application","creationDate","id"]},"StoragePlatform":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"osType":{"type":"string","readOnly":true}},"required":["id","name","osType"]},"VolumeManagement":{"type":"object","description":"Adds nested create feature","properties":{"enabled":{"type":"boolean"},"highWaterMarkGb":{"type":"integer","readOnly":true},"autoWaterMarkGb":{"type":"integer","readOnly":true},"lowWaterMarkGb":{"type":"integer","readOnly":true}},"required":["autoWaterMarkGb","highWaterMarkGb","lowWaterMarkGb"]},"ApplicationShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256}},"required":["id","name"]}}},"paths":{"/infrastructure/storage-managers/{id}/":{"put":{"operationId":"infrastructureStorageManagersUpdate","description":"**Update an existing Storage Manager**\n                ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this storage manager.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorageManager"}}},"description":""}}}}}}
```

## DELETE /infrastructure/storage-managers/{id}/

> \
> Delete an existing \
> &#x20;   storage manager.\<br>\<br>\
> &#x20;   Note that all "hard dependencies" of "session" type must be deleted with the proper retention policy.<br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/storage-managers/{id}/":{"delete":{"operationId":"infrastructureStorageManagersDestroy","description":"\nDelete an existing \n    storage manager.<br><br>\n    Note that all \"hard dependencies\" of \"session\" type must be deleted with the proper retention policy.\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this \n    storage manager.<br><br>\n    Note that all \"hard dependencies\" of \"session\" type must be deleted with the proper retention policy..","required":true},{"in":"query","name":"test","schema":{"type":"boolean"},"description":"Delete in test mode. (default: False)"}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /infrastructure/storage-managers/{storageManagerPk}/checkIntegrity/

> Check integrity for storage manager

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/storage-managers/{storageManagerPk}/checkIntegrity/":{"post":{"operationId":"infrastructureStorageManagersCheckIntegrityCreate","description":"Check integrity for storage manager","parameters":[{"in":"query","name":"toList","schema":{"type":"boolean"},"description":"List only, no synchronization if true. (default: True)"},{"in":"path","name":"storageManagerPk","schema":{"type":"integer"},"description":"A unique integer value identifying the storage manager.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /infrastructure/storage-managers/{storageManagerPk}/containers/

> Get a list of storage containers associated with an storage manager

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/storage-managers/{storageManagerPk}/containers/":{"get":{"operationId":"storageContainerList","description":"Get a list of storage containers associated with an storage manager","parameters":[{"name":"ordering","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of results to return per page.","schema":{"type":"integer"}},{"name":"offset","required":false,"in":"query","description":"The initial index from which to return the results.","schema":{"type":"integer"}},{"in":"path","name":"storageManagerPk","schema":{"type":"integer"},"description":"A unique integer value identifying a storage manager.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","required":["count","results"],"properties":{"count":{"type":"integer"},"next":{"type":"string","nullable":true,"format":"uri"},"previous":{"type":"string","nullable":true,"format":"uri"},"results":{"type":"array","items":{"description":""}}}}}},"description":""}}}}}}
```

## POST /infrastructure/storage-managers/{storageManagerPk}/containers/

> \*\*Create a new storage container associated with the storage manager specified in the url.\*\*\
> &#x20;              &#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/storage-managers/{storageManagerPk}/containers/":{"post":{"operationId":"storageManagerContainerCreate","description":"**Create a new storage container associated with the storage manager specified in the url.**\n                ","parameters":[{"in":"path","name":"storageManagerPk","schema":{"type":"integer"},"description":"A unique integer value identifying a storage manager.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /infrastructure/storage-managers/{storageManagerPk}/containers/{id}/

> \*\*Get an existing storage manager container\*\*\
> \
> \*\*Complementary information about output:\*\*\
> \
> \*\*digestType\*\*: One value in :\
> \['none', 'MD5', 'SHA-1', 'SHA-256', 'SHA-384', 'SHA-512', 'xxHash32', 'xxHash64']\
> \
> \*\*compressionType\*\*: One value in :\
> \['none', 'adazip', 'zlib']\
> \
> \*\*archiveFolderPrefix/type\*\*: One value in :\
> \['archive', 'timestamp', 'none']\
> \
> \*\*archiveFolderPrefix/pathPrefix\*\*: One value in :\
> \['archiveTypeRelativePath', 'archiveRelativePath', 'objectPath']\
> \
> \*\*exportShare\*\*: One value in :\
> \["none", "smb", "nfs", "nfs\_smb"]\
> \
> \*\*smbTypeShare\*\*: One value in :\
> \["prefix", "auto"]\
> \
> \*\*mediaFormat\*\*: One value in :\
> \["ltfs", "pax"]\
> \
> \*\*logSeverity\*\*: One value in :\
> \["none", "emergency", "alert", "critical", "error", "warning", "notice", "information", "debug", "development"]\
> \
> \*\*mediaRule\*\*: One value in :\
> \["byArchive", "byJob", "custom", "none"]\
> \
> \*\*ltfsWritingMode\*\*: One value in :\
> \["rename", "replace"]\
> &#x20;              &#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/storage-managers/{storageManagerPk}/containers/{id}/":{"get":{"operationId":"storageManagerContainerRetrieve","description":"**Get an existing storage manager container**\n\n**Complementary information about output:**\n\n**digestType**: One value in :\n['none', 'MD5', 'SHA-1', 'SHA-256', 'SHA-384', 'SHA-512', 'xxHash32', 'xxHash64']\n\n**compressionType**: One value in :\n['none', 'adazip', 'zlib']\n\n**archiveFolderPrefix/type**: One value in :\n['archive', 'timestamp', 'none']\n\n**archiveFolderPrefix/pathPrefix**: One value in :\n['archiveTypeRelativePath', 'archiveRelativePath', 'objectPath']\n\n**exportShare**: One value in :\n[\"none\", \"smb\", \"nfs\", \"nfs_smb\"]\n\n**smbTypeShare**: One value in :\n[\"prefix\", \"auto\"]\n\n**mediaFormat**: One value in :\n[\"ltfs\", \"pax\"]\n\n**logSeverity**: One value in :\n[\"none\", \"emergency\", \"alert\", \"critical\", \"error\", \"warning\", \"notice\", \"information\", \"debug\", \"development\"]\n\n**mediaRule**: One value in :\n[\"byArchive\", \"byJob\", \"custom\", \"none\"]\n\n**ltfsWritingMode**: One value in :\n[\"rename\", \"replace\"]\n                ","parameters":[{"in":"path","name":"storageManagerPk","schema":{"type":"integer"},"description":"A unique integer value identifying a storage manager.","required":true},{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this container.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## PUT /infrastructure/storage-managers/{storageManagerPk}/containers/{id}/

> \*\*Update an existing storage container associated with the storage manager specified in the url.\*\*\
> &#x20;              &#x20;

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/storage-managers/{storageManagerPk}/containers/{id}/":{"put":{"operationId":"storageManagerContainerUpdate","description":"**Update an existing storage container associated with the storage manager specified in the url.**\n                ","parameters":[{"in":"path","name":"storageManagerPk","schema":{"type":"integer"},"description":"A unique integer value identifying a storage manager.","required":true},{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this container.","required":true}],"tags":["infrastructure"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## DELETE /infrastructure/storage-managers/{storageManagerPk}/containers/{id}/

> \
> Delete an existing storage container<br>

```json
{"openapi":"3.0.3","info":{"title":"Miria REST API","version":"1.0.0"},"servers":[{"url":"/restapi/"}],"security":[{"jwtAuth":[]}],"components":{"securitySchemes":{"jwtAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/infrastructure/storage-managers/{storageManagerPk}/containers/{id}/":{"delete":{"operationId":"infrastructureStorageManagersContainersDestroy","description":"\nDelete an existing storage container\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this storage container.","required":true},{"in":"query","name":"test","schema":{"type":"boolean"},"description":"Delete in test mode. (default: False)"},{"in":"path","name":"storageManagerPk","schema":{"type":"integer"},"description":"A unique integer value identifying a storage manager.","required":true}],"tags":["infrastructure"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```


---

# 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/miria-4.6/miria-4.6-fr/documentation-de-reference/reference-de-lapi-rest/infrastructure.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.
