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

# System

## GET /system/cleaner/history/

> \
> \*\*Get list of cleaner history\*\*<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":{"/system/cleaner/history/":{"get":{"operationId":"systemCleanerHistoryList","description":"\n**Get list of cleaner history**\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":["system"],"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":""}}}}}}
```

## GET /system/cleaner/history/{id}/

> \
> \*\*Get a specific cleaner history\*\*<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"}},"schemas":{"VacuumDaemonHistoryDetail":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"isRunning":{"type":"boolean"},"startTime":{"type":"string","format":"date-time"},"endTime":{"type":"string","format":"date-time"},"duration":{"type":"integer"},"nbFile":{"type":"integer"},"nbFileScanned":{"type":"integer"},"volume":{"type":"integer"},"selectDuration":{"type":"integer"},"deletionDuration":{"type":"integer"},"storageDeletionDuration":{"type":"integer"}},"required":["id"]}}},"paths":{"/system/cleaner/history/{id}/":{"get":{"operationId":"systemCleanerHistoryRetrieve","description":"\n**Get a specific cleaner history**\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this cleaner rule history.","required":true}],"tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VacuumDaemonHistoryDetail"}}},"description":""}}}}}}
```

## GET /system/cleaner/run-summary/

> \
> \*\*Get the current and the previous cleaner run status\*\*<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":{"/system/cleaner/run-summary/":{"get":{"operationId":"systemCleanerRunSummaryRetrieve","description":"\n**Get the current and the previous cleaner run status**\n","tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/cleaner/schedule/

> \
> \*\*Get list of cleaner schedules\*\*<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":{"/system/cleaner/schedule/":{"get":{"operationId":"systemCleanerScheduleList","description":"\n**Get list of cleaner schedules**\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":["system"],"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 /system/cleaner/schedule/

> \
> \*\*Create a cleaner schedule\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*weekDays (required)\*\*: list of day(s): \['MO', 'TU', 'WE', 'TH', 'FR', 'SA', 'SU'] separated by '-' if many.\
> \
> \*\*startTime (required)\*\*: time indication with following format: hh:mm\
> \
> \*\*endTime (required)\*\*: time indication with following format: hh:mm\
> \
> Note: each field combinations of registered schedules must be distinct each other.<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":{"/system/cleaner/schedule/":{"post":{"operationId":"systemCleanerScheduleCreate","description":"\n**Create a cleaner schedule**\n\n**Input payload with:**\n\n**weekDays (required)**: list of day(s): ['MO', 'TU', 'WE', 'TH', 'FR', 'SA', 'SU'] separated by '-' if many.\n\n**startTime (required)**: time indication with following format: hh:mm\n\n**endTime (required)**: time indication with following format: hh:mm\n\nNote: each field combinations of registered schedules must be distinct each other.\n","tags":["system"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/cleaner/schedule/{id}/

> \
> \*\*Get a cleaner schedule\*\*<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":{"/system/cleaner/schedule/{id}/":{"get":{"operationId":"systemCleanerScheduleRetrieve","description":"\n**Get a cleaner schedule**\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this cleaner schedule.","required":true}],"tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## PUT /system/cleaner/schedule/{id}/

> \
> \*\*Update a cleaner schedule\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*weekDays (required)\*\*: list of day(s): \['MO', 'TU', 'WE', 'TH', 'FR', 'SA', 'SU'] separated by '-' if many.\
> \
> \*\*startTime (required)\*\*: time indication with following format: hh:mm\
> \
> \*\*endTime (required)\*\*: time indication with following format: hh:mm\
> \
> Note: each field combinations of registered schedules must be distinct each other.<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":{"/system/cleaner/schedule/{id}/":{"put":{"operationId":"systemCleanerScheduleUpdate","description":"\n**Update a cleaner schedule**\n\n**Input payload with:**\n\n**weekDays (required)**: list of day(s): ['MO', 'TU', 'WE', 'TH', 'FR', 'SA', 'SU'] separated by '-' if many.\n\n**startTime (required)**: time indication with following format: hh:mm\n\n**endTime (required)**: time indication with following format: hh:mm\n\nNote: each field combinations of registered schedules must be distinct each other.\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this cleaner schedule.","required":true}],"tags":["system"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## DELETE /system/cleaner/schedule/{id}/

> \
> Delete an existing cleaner schedule<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":{"/system/cleaner/schedule/{id}/":{"delete":{"operationId":"systemCleanerScheduleDestroy","description":"\nDelete an existing cleaner schedule\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this cleaner schedule.","required":true},{"in":"query","name":"test","schema":{"type":"boolean"},"description":"Delete in test mode. (default: False)"}],"tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/cleaner/suggest/

> \
> \*\*Get a cleaner schedule suggestion\*\*\
> \
> Each slot in the response payload can be registered as is in cleaner schedule end point.\<br>\
> Make sure existing slots do not conflict with the actual suggestion.\ <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":{"/system/cleaner/suggest/":{"get":{"operationId":"systemCleanerSuggestRetrieve","description":"\n**Get a cleaner schedule suggestion**\n\nEach slot in the response payload can be registered as is in cleaner schedule end point.<br>\nMake sure existing slots do not conflict with the actual suggestion.\n\n","parameters":[{"in":"query","name":"nbDays","schema":{"type":"string"},"description":"Number days of activity to analyze from today (between 1 and 365), default: 30"},{"in":"query","name":"minSlotHours","schema":{"type":"string"},"description":"Minimum number of contiguous free hours to consider a free slot, default: 2"},{"in":"query","name":"mode","schema":{"type":"string","enum":["analysis","matrix"]},"description":"Presentation mode 'analysis' or 'matrix' (default: matrix).\n\n*analysis*: returns suggested vacuum slots as a various ranges of hours in a day.\n\n*matrix*: returns a raw matrix (7 days X 24 hours) with nb of active jobs in each elements.\n"}],"tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/encryption/algorithm/

> \*\*Get list of encryption algorithms\*\*

```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":{"/system/encryption/algorithm/":{"get":{"operationId":"systemEncryptionAlgorithmList","description":"**Get list of encryption algorithms**","tags":["system"],"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":""}}}}}}
```

## GET /system/encryption/certificates/

> \*\*Get list of encryption certificates\*\*

```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":{"/system/encryption/certificates/":{"get":{"operationId":"systemEncryptionCertificatesList","description":"**Get list of encryption certificates**","parameters":[{"name":"ordering","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"in":"query","name":"fullDetail","schema":{"type":"string"},"description":"true|false, give detailed items into the content list if true, default: false"}],"tags":["system"],"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 /system/encryption/certificates/

> \
> \*\*Create a new encryption certificate\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: the name of the certificate.\
> \
> \*\*comment\*\*: comment associated to certificate.\
> \
> \*\*x509Certificate (required)\*\*: raw content of the certificate.\
> &#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":{"/system/encryption/certificates/":{"post":{"operationId":"systemEncryptionCertificatesCreate","description":"\n**Create a new encryption certificate**\n\n**Input payload with:**\n\n**name (required)**: the name of the certificate.\n\n**comment**: comment associated to certificate.\n\n**x509Certificate (required)**: raw content of the certificate.\n            ","tags":["system"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/encryption/certificates/{id}/

> \*\*Get a specific encryption certificate\*\*

```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":{"/system/encryption/certificates/{id}/":{"get":{"operationId":"systemEncryptionCertificatesRetrieve","description":"**Get a specific encryption certificate**","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this encryption_certificate.","required":true}],"tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## PUT /system/encryption/certificates/{id}/

> \
> \*\*Update an encryption certificate\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: the name of the certificate.\
> \
> \*\*comment\*\*: comment associated to certificate.\
> \
> \*\*x509Certificate (required)\*\*: raw content of the certificate.\
> &#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":{"/system/encryption/certificates/{id}/":{"put":{"operationId":"systemEncryptionCertificatesUpdate","description":"\n**Update an encryption certificate**\n\n**Input payload with:**\n\n**name (required)**: the name of the certificate.\n\n**comment**: comment associated to certificate.\n\n**x509Certificate (required)**: raw content of the certificate.\n             ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this encryption_certificate.","required":true}],"tags":["system"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/encryption/kms/

> \*\*Get list of encryption key management service\*\*

```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":{"/system/encryption/kms/":{"get":{"operationId":"systemEncryptionKmsList","description":"**Get list of encryption key management service**","parameters":[{"name":"ordering","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"in":"query","name":"fullDetail","schema":{"type":"string"},"description":"true|false, give detailed items into the content list if true, default: false"}],"tags":["system"],"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 /system/encryption/kms/

> \
> \*\*Create a new encryption key management service\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: the name of the key management service.\
> \
> \*\*comment\*\*: comment associated to key management service.\
> \
> \*\*type (required)\*\*:type must be "ciphertrust".\
> \
> \*\*serverName\*\*: name server of key management service.\
> \
> \*\*serverPort\*\*: port server of key management service (default="443")\
> \
> \*\*user\*\*: key management service user id\
> \
> \*\*password\*\*: key management service user password\
> \
> \*\*certificate\*\*: certificate content of the key management service.\
> \
> \*\*trustedSsl\*\*: true - to ignore SSL certificate validity (allows self signed certificates), false - to force checking certificate validity.\
> \
> \*\*comment\*\*: Comment of the nex key management service.\
> \
> \*\*There are three authentication options:\*\*\
> \
> \- with KMS user/password and proxy certificate (when using a reverse proxy for example, in this case the certificate is used to authenticate with proxy using mTLS)\
> \
> \- with KMS user/password\
> \
> \- with KMS certificate\
> &#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":{"/system/encryption/kms/":{"post":{"operationId":"systemEncryptionKmsCreate","description":"\n**Create a new encryption key management service**\n\n**Input payload with:**\n\n**name (required)**: the name of the key management service.\n\n**comment**: comment associated to key management service.\n\n**type (required)**:type must be \"ciphertrust\".\n\n**serverName**: name server of key management service.\n\n**serverPort**: port server of key management service (default=\"443\")\n\n**user**: key management service user id\n\n**password**: key management service user password\n\n**certificate**: certificate content of the key management service.\n\n**trustedSsl**: true - to ignore SSL certificate validity (allows self signed certificates), false - to force checking certificate validity.\n\n**comment**: Comment of the nex key management service.\n\n**There are three authentication options:**\n\n- with KMS user/password and proxy certificate (when using a reverse proxy for example, in this case the certificate is used to authenticate with proxy using mTLS)\n\n- with KMS user/password\n\n- with KMS certificate\n            ","tags":["system"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/encryption/kms/{id}/alternate-access/

> \*\*Get list of alternate accesses linked to a kms\*\*

```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":{"/system/encryption/kms/{id}/alternate-access/":{"get":{"operationId":"systemEncryptionKmsAlternateAccessList","description":"**Get list of alternate accesses linked to a kms**","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":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the kms.","required":true}],"tags":["system"],"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":""}}}}}}
```

## GET /system/encryption/kms/{id}/alternate-access/{agentId}/

> \*\*Get an alternate access linked to a couple kms/agent\*\*

```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":{"/system/encryption/kms/{id}/alternate-access/{agentId}/":{"get":{"operationId":"systemEncryptionKmsAlternateAccessRetrieve","description":"**Get an alternate access linked to a couple kms/agent**","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the kms.","required":true},{"in":"path","name":"agentId","schema":{"type":"integer"},"description":"A unique integer value identifying the agent.","required":true}],"tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /system/encryption/kms/{id}/alternate-access/{agentId}/

> \
> \*\*Create an alternate access for a couple kms/agent\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*serverName (required)\*\*: name server of key management service.\
> \
> \*\*serverPort\*\*: port server of key management service (default="443")\
> \
> \*\*user\*\*: key management service user id\
> \
> \*\*password\*\*: key management service user password\
> \
> \*\*certificate\*\*: certificate content of the key management service. Should be included in tags -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----, line breaks should be replaced by "\n"\
> \
> \*\*comment\*\*: Comment of the new key management service\
> \
> \*\*Only one alternate access is allowed for a couple kms/agent\*\*\
> \
> \*\*At least one is required: user/password or certificate\*\*<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":{"/system/encryption/kms/{id}/alternate-access/{agentId}/":{"post":{"operationId":"systemEncryptionKmsAlternateAccessCreate","description":"\n**Create an alternate access for a couple kms/agent**\n\n**Input payload with:**\n\n**serverName (required)**: name server of key management service.\n\n**serverPort**: port server of key management service (default=\"443\")\n\n**user**: key management service user id\n\n**password**: key management service user password\n\n**certificate**: certificate content of the key management service. Should be included in tags -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----, line breaks should be replaced by \"\\n\"\n\n**comment**: Comment of the new key management service\n\n**Only one alternate access is allowed for a couple kms/agent**\n\n**At least one is required: user/password or certificate**\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the kms.","required":true},{"in":"path","name":"agentId","schema":{"type":"integer"},"description":"A unique integer value identifying the agent.","required":true}],"tags":["system"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## DELETE /system/encryption/kms/{id}/alternate-access/{agentId}/

> \*\*Delete an alternate access for a couple kms/agent\*\*

```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":{"/system/encryption/kms/{id}/alternate-access/{agentId}/":{"delete":{"operationId":"systemEncryptionKmsAlternateAccessDestroy","description":"**Delete an alternate access for a couple kms/agent**","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the kms.","required":true},{"in":"path","name":"agentId","schema":{"type":"integer"},"description":"A unique integer value identifying the agent.","required":true}],"tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/encryption/kms/{id}/

> \*\*Get a specific encryption key management service\*\*

```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":{"/system/encryption/kms/{id}/":{"get":{"operationId":"systemEncryptionKmsRetrieve","description":"**Get a specific encryption key management service**","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this encryption_kms.","required":true}],"tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## PUT /system/encryption/kms/{id}/

> \
> \*\*Update an encryption key management service\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: the name of the key management service.\
> \
> \*\*comment\*\*: comment associated to key management service.\
> \
> \*\*type (required)\*\*: type must be "ciphertrust".\
> \
> \*\*serverName\*\*: name server of key management service.\
> \
> \*\*serverPort\*\*: port server of key management service (default="443")\
> \
> \*\*user\*\*: key management service user id\
> \
> \*\*password\*\*: key management service user password\
> \
> \*\*certificate\*\*: certificate content of the key management service.\
> \
> \*\*trustedSsl\*\*: true - to ignore SSL certificate validity (allows self signed certificates), false - to force checking certificate validity.\
> \
> \*\*comment\*\*: Comment of the modified key management service.\
> \
> \*\*There are three authentication options:\*\*\
> \
> \- with KMS user/password and proxy certificate (when using a reverse proxy for example, in this case the certificate is used to authenticate with proxy using mTLS)\
> \
> \- with KMS user/password\
> \
> \- with KMS certificate\
> &#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":{"/system/encryption/kms/{id}/":{"put":{"operationId":"systemEncryptionKmsUpdate","description":"\n**Update an encryption key management service**\n\n**Input payload with:**\n\n**name (required)**: the name of the key management service.\n\n**comment**: comment associated to key management service.\n\n**type (required)**: type must be \"ciphertrust\".\n\n**serverName**: name server of key management service.\n\n**serverPort**: port server of key management service (default=\"443\")\n\n**user**: key management service user id\n\n**password**: key management service user password\n\n**certificate**: certificate content of the key management service.\n\n**trustedSsl**: true - to ignore SSL certificate validity (allows self signed certificates), false - to force checking certificate validity.\n\n**comment**: Comment of the modified key management service.\n\n**There are three authentication options:**\n\n- with KMS user/password and proxy certificate (when using a reverse proxy for example, in this case the certificate is used to authenticate with proxy using mTLS)\n\n- with KMS user/password\n\n- with KMS certificate\n             ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this encryption_kms.","required":true}],"tags":["system"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/encryption/kms/{id}/keys/

> \*\*Get list of public keys from encryption key management service\*\*

```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":{"/system/encryption/kms/{id}/keys/":{"get":{"operationId":"systemEncryptionKmsKeysRetrieve","description":"**Get list of public keys from encryption key management service**","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this encryption_kms.","required":true}],"tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /system/encryption/kms/{id}/test/

> \
> \*\*Test connection to an encryption key management service\*\*\
> \
> Use an empty payload to test the registered kms user.\
> &#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":{"/system/encryption/kms/{id}/test/":{"post":{"operationId":"systemEncryptionKmsTestCreate","description":"\n**Test connection to an encryption key management service**\n\nUse an empty payload to test the registered kms user.\n            ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this encryption_kms.","required":true}],"tags":["system"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/encryption/policies/

> \*\*Get list of encryption policies\*\*

```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":{"/system/encryption/policies/":{"get":{"operationId":"systemEncryptionPoliciesList","description":"**Get list of encryption policies**","parameters":[{"name":"ordering","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"in":"query","name":"fullDetail","schema":{"type":"string"},"description":"true|false, give detailed items into the content list if true, default: false"}],"tags":["system"],"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 /system/encryption/policies/

> \
> \*\*Create a new encryption policy\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: the name of the encryption policy.\
> \
> \*\*comment\*\*: comment associated to the encryption policy.\
> \
> \*\*algo (required)\*\*: algorithm name of the encryption policy.\
> \
> \*\*keyLength (required)\*\*: key length of the algorithm.\
> \
> \*\*keyChgTrigger (required)\*\*: volume triggering key change of the encryption policy.\
> \
> \*\*data (required)\*\*: raw content of the policy.\
> &#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":{"/system/encryption/policies/":{"post":{"operationId":"systemEncryptionPoliciesCreate","description":"\n**Create a new encryption policy**\n\n**Input payload with:**\n\n**name (required)**: the name of the encryption policy.\n\n**comment**: comment associated to the encryption policy.\n\n**algo (required)**: algorithm name of the encryption policy.\n\n**keyLength (required)**: key length of the algorithm.\n\n**keyChgTrigger (required)**: volume triggering key change of the encryption policy.\n\n**data (required)**: raw content of the policy.\n            ","tags":["system"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/encryption/policies/{id}/

> \*\*Get a specific encryption policy\*\*

```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":{"/system/encryption/policies/{id}/":{"get":{"operationId":"systemEncryptionPoliciesRetrieve","description":"**Get a specific encryption policy**","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this encryption_policy.","required":true}],"tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/encryption/rules/

> \*\*Get list of encryption rules\*\*

```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":{"/system/encryption/rules/":{"get":{"operationId":"systemEncryptionRulesList","description":"**Get list of encryption rules**","parameters":[{"name":"ordering","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"in":"query","name":"fullDetail","schema":{"type":"string"},"description":"true|false, give detailed items into the content list if true, default: false"}],"tags":["system"],"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 /system/encryption/rules/

> \
> \*\*Create a new encryption rule\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: the name of the rule.\
> \
> \*\*comment\*\*: comment associated to the rule.\
> \
> \*\*policy (required)\*\*: related policy (name or id) of the rule.\<br>\
> Name takes priority if both name and id are indicated.\
> \
> \*\*kms\*\*: related key management service (name or id) of the rule. None by default, for use of certificates.\<br>\
> Name takes priority if both name and id are indicated.\
> \
> \*\*keys (required)\*\*: keys of the rule (id certificates separated by commas).\
> &#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":{"/system/encryption/rules/":{"post":{"operationId":"systemEncryptionRulesCreate","description":"\n**Create a new encryption rule**\n\n**Input payload with:**\n\n**name (required)**: the name of the rule.\n\n**comment**: comment associated to the rule.\n\n**policy (required)**: related policy (name or id) of the rule.<br>\nName takes priority if both name and id are indicated.\n\n**kms**: related key management service (name or id) of the rule. None by default, for use of certificates.<br>\nName takes priority if both name and id are indicated.\n\n**keys (required)**: keys of the rule (id certificates separated by commas).\n            ","tags":["system"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/encryption/rules-history/

> \*\*Get list of encryption rules\*\*

```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":{"/system/encryption/rules-history/":{"get":{"operationId":"systemEncryptionRulesHistoryList","description":"**Get list of encryption rules**","parameters":[{"name":"ordering","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}},{"in":"query","name":"fullDetail","schema":{"type":"string"},"description":"true|false, give detailed items into the content list if true, default: false"}],"tags":["system"],"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":""}}}}}}
```

## GET /system/encryption/rules-history/{id}/

> \*\*Get a specific encryption rule\*\*

```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":{"/system/encryption/rules-history/{id}/":{"get":{"operationId":"systemEncryptionRulesHistoryRetrieve","description":"**Get a specific encryption rule**","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this encryption_rule_history.","required":true}],"tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/encryption/rules/{id}/

> \*\*Get a specific encryption rule\*\*

```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":{"/system/encryption/rules/{id}/":{"get":{"operationId":"systemEncryptionRulesRetrieve","description":"**Get a specific encryption rule**","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this encryption_rule.","required":true}],"tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## PUT /system/encryption/rules/{id}/

> \
> \*\*Update an encryption rule\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: the name of the rule.\
> \
> \*\*comment\*\*: comment associated to the rule.\
> \
> \*\*policy (required)\*\*: related policy (name or id) of the rule.\<br>\
> Name takes priority if both name and id are indicated.\
> \
> \*\*kms\*\*: related key management service (name or id) of the rule. Can be set to None for use of certificates.\<br>\
> Name takes priority if both name and id are indicated.\
> \
> \*\*keys (required)\*\*: keys of the rule.\
> \
> &#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":{"/system/encryption/rules/{id}/":{"put":{"operationId":"systemEncryptionRulesUpdate","description":"\n**Update an encryption rule**\n\n**Input payload with:**\n\n**name (required)**: the name of the rule.\n\n**comment**: comment associated to the rule.\n\n**policy (required)**: related policy (name or id) of the rule.<br>\nName takes priority if both name and id are indicated.\n\n**kms**: related key management service (name or id) of the rule. Can be set to None for use of certificates.<br>\nName takes priority if both name and id are indicated.\n\n**keys (required)**: keys of the rule.\n\n             ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this encryption_rule.","required":true}],"tags":["system"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/errors/

> \
> \*\*Get the server errors list\*\*\
> \
> A json formatted list of the errors returned by the Miria server.\<br>\
> Each key represents the error hexadecimal code associated to a short explanation string value.\ <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":{"/system/errors/":{"get":{"operationId":"systemErrorsRetrieve","description":"\n**Get the server errors list**\n\nA json formatted list of the errors returned by the Miria server.<br>\nEach key represents the error hexadecimal code associated to a short explanation string value.\n\n","tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/proxyio-conf/

> \*\*Get list of proxyIO\*\*\
> \
> \*\*Ids are susceptible to swap after delete as they represent only an order in conf file and not a database instance\*\*<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":{"/system/proxyio-conf/":{"get":{"operationId":"systemProxyioConfRetrieve","description":"**Get list of proxyIO**\n\n**Ids are susceptible to swap after delete as they represent only an order in conf file and not a database instance**\n","tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /system/proxyio-conf/

> \
> \*\*Create a new ProxyIO\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*pathSrc (required)\*\*: Source global path.\
> \
> \*\*platformDest (required)\*\*: Platform destination name.\
> \
> \*\*pathDest (required)\*\*: Destination global path (must be relevant with destination os).\
> \
> \*\*dbName (required)\*\*: Choose between 'global' and 'local'(only available for current database).\
> \
> \*\*proxyioDomain\*\*: Proxy domain name.\
> \
> \
> \*Global path format examples\*:\
> \
> local\@H\_NAME:/os\_path (local for unix)\
> \
> local\@H\_NAME:c:\\\\\\\os\_path (local for windows)\
> \
> nfs\@H\_NAME:os\_path\
> \
> cifs@\\\\\\\\\\\\\\\H\_NAME\\\\\\\os\_path\
> \
> s3\@H\_NAME:/unix\_path\
> \
> s3\@H\_NAME:/unix\_path?versionId=xxxxx\
> \
> &#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":{"/system/proxyio-conf/":{"post":{"operationId":"systemProxyioConfCreate","description":"\n**Create a new ProxyIO**\n\n**Input payload with:**\n\n**pathSrc (required)**: Source global path.\n\n**platformDest (required)**: Platform destination name.\n\n**pathDest (required)**: Destination global path (must be relevant with destination os).\n\n**dbName (required)**: Choose between 'global' and 'local'(only available for current database).\n\n**proxyioDomain**: Proxy domain name.\n\n\n*Global path format examples*:\n\nlocal@H_NAME:/os_path (local for unix)\n\nlocal@H_NAME:c:\\\\\\\\os_path (local for windows)\n\nnfs@H_NAME:os_path\n\ncifs@\\\\\\\\\\\\\\\\H_NAME\\\\\\\\os_path\n\ns3@H_NAME:/unix_path\n\ns3@H_NAME:/unix_path?versionId=xxxxx\n\n    ","tags":["system"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/proxyio-conf/{id}/

> \*\*Get a proxyIO instance\*\*\
> \
> \*\*Ids are susceptible to swap after delete as they represent only an order in conf file and not a database instance\*\*<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":{"/system/proxyio-conf/{id}/":{"get":{"operationId":"systemProxyioConfRetrieve2","description":"**Get a proxyIO instance**\n\n**Ids are susceptible to swap after delete as they represent only an order in conf file and not a database instance**\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the proxy.","required":true}],"tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## PUT /system/proxyio-conf/{id}/

> \
> \*\*Update an existing ProxyIO\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*pathSrc (required)\*\*: Source global path.\
> \
> \*\*platformDest (required)\*\*: Platform destination name.\
> \
> \*\*pathDest (required)\*\*: Destination global path (must be relevant with destination os).\
> \
> \*\*dbName (required)\*\*: Choose between 'global' and 'local'(only available for current database).\
> \
> \*\*proxyioDomain\*\*: Proxy domain name.\
> \
> \
> \*Global path format examples\*:\
> \
> local\@H\_NAME:/os\_path (local for unix)\
> \
> local\@H\_NAME:c:\\\\\\\os\_path (local for windows)\
> \
> nfs\@H\_NAME:os\_path\
> \
> cifs@\\\\\\\\\\\\\\\H\_NAME\\\\\\\os\_path\
> \
> s3\@H\_NAME:/unix\_path\
> \
> s3\@H\_NAME:/unix\_path?versionId=xxxxx\
> \
> &#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":{"/system/proxyio-conf/{id}/":{"put":{"operationId":"systemProxyioConfUpdate","description":"\n**Update an existing ProxyIO**\n\n**Input payload with:**\n\n**pathSrc (required)**: Source global path.\n\n**platformDest (required)**: Platform destination name.\n\n**pathDest (required)**: Destination global path (must be relevant with destination os).\n\n**dbName (required)**: Choose between 'global' and 'local'(only available for current database).\n\n**proxyioDomain**: Proxy domain name.\n\n\n*Global path format examples*:\n\nlocal@H_NAME:/os_path (local for unix)\n\nlocal@H_NAME:c:\\\\\\\\os_path (local for windows)\n\nnfs@H_NAME:os_path\n\ncifs@\\\\\\\\\\\\\\\\H_NAME\\\\\\\\os_path\n\ns3@H_NAME:/unix_path\n\ns3@H_NAME:/unix_path?versionId=xxxxx\n\n    ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the proxy.","required":true}],"tags":["system"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## DELETE /system/proxyio-conf/{id}/

> \*\*Delete an existing ProxyIO\*\*\
> \
> \*\*Ids are susceptible to swap after delete as they represent only an order in conf file and not a database instance\*\*<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":{"/system/proxyio-conf/{id}/":{"delete":{"operationId":"systemProxyioConfDestroy","description":"**Delete an existing ProxyIO**\n\n**Ids are susceptible to swap after delete as they represent only an order in conf file and not a database instance**\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the proxy.","required":true}],"tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/saml-groups/

> \*\*Get list of saml associated user groups\*\*

```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":{"/system/saml-groups/":{"get":{"operationId":"systemSamlGroupsList","description":"**Get list of saml associated user groups**","parameters":[{"name":"ordering","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}}],"tags":["system"],"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 /system/saml-groups/

> \
> \*\*Create a new saml associated user group\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*samlGroup (required)\*\*: tha name of a saml group which will be matched with an internal group.\
> \
> \*\*internalGroup (required)\*\*: name of user group (field nested in a \*\*internalGroup\*\* object).\
> \
> \*\*order (required)\*\*: the saml group order (groups are matched in order, first matching group is assigned to the user)\
> \
> \*\*samlGroups\*\*: for bulk creation, you can use it as an array containing multiple associations, as defined above.\<br>\
> Beware this option cancel and replaces all existing associations.\
> &#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":{"/system/saml-groups/":{"post":{"operationId":"systemSamlGroupsCreate","description":"\n**Create a new saml associated user group**\n\n**Input payload with:**\n\n**samlGroup (required)**: tha name of a saml group which will be matched with an internal group.\n\n**internalGroup (required)**: name of user group (field nested in a **internalGroup** object).\n\n**order (required)**: the saml group order (groups are matched in order, first matching group is assigned to the user)\n\n**samlGroups**: for bulk creation, you can use it as an array containing multiple associations, as defined above.<br>\nBeware this option cancel and replaces all existing associations.\n        ","tags":["system"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/saml-groups/{id}/

> \*\*Get a specific saml associated user group\*\*

```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":{"/system/saml-groups/{id}/":{"get":{"operationId":"systemSamlGroupsRetrieve","description":"**Get a specific saml associated user group**","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this saml group map.","required":true}],"tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## PUT /system/saml-groups/{id}/

> \
> \*\*Update an existing saml associated user group\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*samlGroup (required)\*\*: tha name of a saml group which will be matched with an internal group.\
> \
> \*\*internalGroup (required)\*\*: name of user group (field nested in a \*\*internalGroup\*\* object).\
> \
> \*\*order (required)\*\*: the saml group order (groups are matched in order, first matching group is assigned to the user)\
> &#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":{"/system/saml-groups/{id}/":{"put":{"operationId":"systemSamlGroupsUpdate","description":"\n**Update an existing saml associated user group**\n\n**Input payload with:**\n\n**samlGroup (required)**: tha name of a saml group which will be matched with an internal group.\n\n**internalGroup (required)**: name of user group (field nested in a **internalGroup** object).\n\n**order (required)**: the saml group order (groups are matched in order, first matching group is assigned to the user)\n        ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this saml group map.","required":true}],"tags":["system"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/saml-idp/

> \*\*Get list of Saml Idp services\*\*

```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":{"/system/saml-idp/":{"get":{"operationId":"systemSamlIdpList","description":"**Get list of Saml Idp services**","parameters":[{"name":"ordering","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}}],"tags":["system"],"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 /system/saml-idp/

> \
> \*\*Create a new Saml Idp service\*\*\
> \
> See examples description for different payload options<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":{"/system/saml-idp/":{"post":{"operationId":"systemSamlIdpCreate","description":"\n**Create a new Saml Idp service**\n\nSee examples description for different payload options\n","tags":["system"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/saml-idp/{id}/

> \*\*Get a specific Saml Idp service\*\*

```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":{"/system/saml-idp/{id}/":{"get":{"operationId":"systemSamlIdpRetrieve","description":"**Get a specific Saml Idp service**","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this saml.","required":true}],"tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## PUT /system/saml-idp/{id}/

> \
> \*\*Update an existing Saml idp service\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (optional)\*\*: Saml server name.\
> \
> \*\*metadataUrl (optional)\*\*: the URL at which Idp metadata is available.\
> \
> \*\*singleSignOnUrl (optional)\*\*: the URL to which the ser will be redirected to perform login/authentication.\
> \
> \*\*singleLogOutUrl (optional)\*\*: the URL to be called for ser logout.\
> \
> \*\*x509Certificate (optional)\*\*: x509Certificate string in base64 format.\
> \
> \*\*samlAdvancedSettings (optional)\*\*: a set of parameters which generally have default values (can be a json or a json string).\
> \
> \*\*enable (required)\*\*: Enable flag, true by default.\
> \
> \*\*comment\*\*: Comment for the new Saml Idp service.\
> &#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":{"/system/saml-idp/{id}/":{"put":{"operationId":"systemSamlIdpUpdate","description":"\n**Update an existing Saml idp service**\n\n**Input payload with:**\n\n**name (optional)**: Saml server name.\n\n**metadataUrl (optional)**: the URL at which Idp metadata is available.\n\n**singleSignOnUrl (optional)**: the URL to which the ser will be redirected to perform login/authentication.\n\n**singleLogOutUrl (optional)**: the URL to be called for ser logout.\n\n**x509Certificate (optional)**: x509Certificate string in base64 format.\n\n**samlAdvancedSettings (optional)**: a set of parameters which generally have default values (can be a json or a json string).\n\n**enable (required)**: Enable flag, true by default.\n\n**comment**: Comment for the new Saml Idp service.\n    ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this saml.","required":true}],"tags":["system"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/server-information/

> \
> \*\*Get the server notes list\*\*\
> \
> A json formatted list of the notes returned by the Miria server.\<br>\
> Each note has the following type "INFO", "WARNING" or "CRITICAL".\ <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":{"/system/server-information/":{"get":{"operationId":"systemServerInformationRetrieve","description":"\n**Get the server notes list**\n\nA json formatted list of the notes returned by the Miria server.<br>\nEach note has the following type \"INFO\", \"WARNING\" or \"CRITICAL\".\n\n","tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/settings/

> \*\*Get a global list of settings\*\*\<br>Each element             of the list contains setting name and value.

```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":{"/system/settings/":{"get":{"operationId":"globalSettingsList","description":"**Get a global list of settings**<br>Each element             of the list contains setting name and value.","tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"description":"partial view of setting list"}}},"description":""}}}}}}
```

## GET /system/settings/{setting}/

> \
> Get a global setting value\
> &#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":{"/system/settings/{setting}/":{"get":{"operationId":"systemSettingsRetrieve","description":"\nGet a global setting value\n                ","parameters":[{"in":"path","name":"setting","schema":{"type":"string"},"required":true}],"tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"description":"view of setting content"}}},"description":""}}}}}}
```

## PUT /system/settings/{setting}/

> \
> Update a global setting value\
> \
> Note that ADA type settings are not modifiable.\
> \
> Payload for setting value has following format:\
> \
> {"value": \<VALUE\_TO\_SET>}\
> &#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":{"/system/settings/{setting}/":{"put":{"operationId":"systemSettingsUpdate","description":"\nUpdate a global setting value\n\nNote that ADA type settings are not modifiable.\n\nPayload for setting value has following format:\n\n{\"value\": <VALUE_TO_SET>}\n            ","parameters":[{"in":"path","name":"setting","schema":{"type":"string"},"required":true}],"tags":["system"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/smtp/

> \*\*Get list of SMTP Connections\*\*\
> \
> \*\*Complementary information about output:\*\*\
> \
> \*\*sslMode\*\*: One value in :\
> \['no', 'ssl', 'tls']\
> &#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":{"/system/smtp/":{"get":{"operationId":"systemSmtpList","description":"**Get list of SMTP Connections**\n\n**Complementary information about output:**\n\n**sslMode**: One value in :\n['no', 'ssl', 'tls']\n            ","parameters":[{"name":"ordering","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}}],"tags":["system"],"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 /system/smtp/

> \
> \*\*Create a new SMTP connection\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*server (required)\*\*: SMTP server address.\
> \
> \*\*port (required)\*\*: For instance, SMTP: 25 or SMTPS: 587.\
> \
> \*\*fromEmail\*\*: Email to receive connection notifications.\
> \
> \*\*user\*\*: Authentication user.\
> \
> \*\*password\*\*: Authentication password.\
> \
> \*\*sslMode\*\*: SSL security enable flag to choose between "ssl", "tls" and "no". Value "no" by default.\
> \
> \*\*enable\*\*: Enable flag, true by default.\
> \
> \*\*subjectPrefix\*\*: Message topic.\
> \
> \*\*comment\*\*: Comment on the SMTP connection.\
> \
> \*\*Only one SMTP connection is possible in database.\*\*\
> &#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":{"/system/smtp/":{"post":{"operationId":"systemSmtpCreate","description":"\n**Create a new SMTP connection**\n\n**Input payload with:**\n\n**server (required)**: SMTP server address.\n\n**port (required)**: For instance, SMTP: 25 or SMTPS: 587.\n\n**fromEmail**: Email to receive connection notifications.\n\n**user**: Authentication user.\n\n**password**: Authentication password.\n\n**sslMode**: SSL security enable flag to choose between \"ssl\", \"tls\" and \"no\". Value \"no\" by default.\n\n**enable**: Enable flag, true by default.\n\n**subjectPrefix**: Message topic.\n\n**comment**: Comment on the SMTP connection.\n\n**Only one SMTP connection is possible in database.**\n    ","tags":["system"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/smtp/{id}/

> \*\*Get a specific SMTP connection\*\*\
> \
> \*\*Complementary information about output:\*\*\
> \
> \*\*sslMode\*\*: One value in :\
> \['no', 'ssl', 'tls']\
> &#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":{"/system/smtp/{id}/":{"get":{"operationId":"systemSmtpRetrieve","description":"**Get a specific SMTP connection**\n\n**Complementary information about output:**\n\n**sslMode**: One value in :\n['no', 'ssl', 'tls']\n            ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this smtp.","required":true}],"tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## PUT /system/smtp/{id}/

> \
> \*\*Update an existing SMTP connection\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*server (required)\*\*: SMTP server address.\
> \
> \*\*port (required)\*\*: For instance, SMTP: 25 or SMTPS: 587.\
> \
> \*\*fromEmail\*\*: Email to receive connection notifications.\
> \
> \*\*user\*\*: Authentication user. Will not be modified if not in input payload.\
> \
> \*\*password\*\*: Authentication password. Will not be modified if not in input payload.\
> \
> \*\*sslMode\*\*: SSL security enable flag to choose between "ssl", "tls" and "no". Value "no" by default.\
> \
> \*\*enable\*\*: Enable flag, true by default.\
> \
> \*\*subjectPrefix\*\*: Message topic.\
> \
> \*\*comment\*\*: Comment on the SMTP connection.\
> &#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":{"/system/smtp/{id}/":{"put":{"operationId":"systemSmtpUpdate","description":"\n**Update an existing SMTP connection**\n\n**Input payload with:**\n\n**server (required)**: SMTP server address.\n\n**port (required)**: For instance, SMTP: 25 or SMTPS: 587.\n\n**fromEmail**: Email to receive connection notifications.\n\n**user**: Authentication user. Will not be modified if not in input payload.\n\n**password**: Authentication password. Will not be modified if not in input payload.\n\n**sslMode**: SSL security enable flag to choose between \"ssl\", \"tls\" and \"no\". Value \"no\" by default.\n\n**enable**: Enable flag, true by default.\n\n**subjectPrefix**: Message topic.\n\n**comment**: Comment on the SMTP connection.\n    ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this smtp.","required":true}],"tags":["system"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## DELETE /system/smtp/{id}/

> Delete an existing SMTP connection

```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":{"/system/smtp/{id}/":{"delete":{"operationId":"systemSmtpDestroy","description":"Delete an existing SMTP connection","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this smtp.","required":true}],"tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/syslog/

> \*\*Get list of Syslogs\*\*\
> \
> \*\*Complementary information about output:\*\*\
> \
> \*\*sevMask\*\*: One or many values in :\
> \['debug', 'info', 'critical', 'error', 'die', 'warning', 'success', 'stack', 'debug\_stack', 'fatal', 'audit']\
> \
> \*\*protocol\*\*: One value in :\
> \['UDP', 'TCP', 'TCPS']\
> \
> \*\*rfc\*\*: One value in :\
> \['3164', '5424']\
> \
> \*\*comment\*\*: A comment on this syslog entry.\
> &#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":{"/system/syslog/":{"get":{"operationId":"systemSyslogList","description":"**Get list of Syslogs**\n\n**Complementary information about output:**\n\n**sevMask**: One or many values in :\n['debug', 'info', 'critical', 'error', 'die', 'warning', 'success', 'stack', 'debug_stack', 'fatal', 'audit']\n\n**protocol**: One value in :\n['UDP', 'TCP', 'TCPS']\n\n**rfc**: One value in :\n['3164', '5424']\n\n**comment**: A comment on this syslog entry.\n            ","parameters":[{"name":"ordering","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}}],"tags":["system"],"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 /system/syslog/

> \
> \*\*Create a new Syslog\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*server (required)\*\*: SYSLOG server address.\
> \
> \*\*sevMask\*\*: possible values (combinated with '|') are\
> \- "debug"\
> \- "info"\
> \- "critical"\
> \- "error"\
> \- "die"\
> \- "warning"\
> \- "success"\
> \- "stack"\
> \- "debug\_stack"\
> \- "fatal"\
> \- "audit"\
> \- OR leave blank "" if none.\
> \
> \*\*port (required)\*\*: SYSLOG server address\
> \
> \*\*protocol\*\*: Choose between\
> \- "UDP"\
> \- "TCP"\
> \- "TCPS"\
> \
> \*\*rfc\*\*: SYSLOG server address\
> \- "3164"\
> \- "5424"\
> \
> \*\*enable\*\*: Enable flag, false by default.\
> \
> \*\*comment\*\*: A comment on this syslog entry.\
> \
> \*\*Only one Syslog entry is possible in database.\*\*\
> &#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":{"/system/syslog/":{"post":{"operationId":"systemSyslogCreate","description":"\n**Create a new Syslog**\n\n**Input payload with:**\n\n**server (required)**: SYSLOG server address.\n\n**sevMask**: possible values (combinated with '|') are\n- \"debug\"\n- \"info\"\n- \"critical\"\n- \"error\"\n- \"die\"\n- \"warning\"\n- \"success\"\n- \"stack\"\n- \"debug_stack\"\n- \"fatal\"\n- \"audit\"\n- OR leave blank \"\" if none.\n\n**port (required)**: SYSLOG server address\n\n**protocol**: Choose between\n- \"UDP\"\n- \"TCP\"\n- \"TCPS\"\n\n**rfc**: SYSLOG server address\n- \"3164\"\n- \"5424\"\n\n**enable**: Enable flag, false by default.\n\n**comment**: A comment on this syslog entry.\n\n**Only one Syslog entry is possible in database.**\n    ","tags":["system"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /system/syslog/{id}/

> \*\*Get a specific Syslog entry\*\*\
> \
> \*\*Complementary information about output:\*\*\
> \
> \*\*sevMask\*\*: One or many values in :\
> \['debug', 'info', 'critical', 'error', 'die', 'warning', 'success', 'stack', 'debug\_stack', 'fatal', 'audit']\
> \
> \*\*protocol\*\*: One value in :\
> \['UDP', 'TCP', 'TCPS']\
> \
> \*\*rfc\*\*: One value in :\
> \['3164', '5424']\
> \
> \*\*comment\*\*: A comment on this syslog entry.\
> &#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":{"/system/syslog/{id}/":{"get":{"operationId":"systemSyslogRetrieve","description":"**Get a specific Syslog entry**\n\n**Complementary information about output:**\n\n**sevMask**: One or many values in :\n['debug', 'info', 'critical', 'error', 'die', 'warning', 'success', 'stack', 'debug_stack', 'fatal', 'audit']\n\n**protocol**: One value in :\n['UDP', 'TCP', 'TCPS']\n\n**rfc**: One value in :\n['3164', '5424']\n\n**comment**: A comment on this syslog entry.\n            ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this syslog server.","required":true}],"tags":["system"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## PUT /system/syslog/{id}/

> \
> \*\*Update an existing Syslog entry\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*server (required)\*\*: SYSLOG server address.\
> \
> \*\*sevMask\*\*: possible values (combinated with '|') are\
> \- "debug"\
> \- "info"\
> \- "critical"\
> \- "error"\
> \- "die"\
> \- "warning"\
> \- "success"\
> \- "stack"\
> \- "debug\_stack"\
> \- "fatal"\
> \- "audit"\
> \- OR leave blank "" if none.\
> \
> \*\*port (required)\*\*: SYSLOG server address\
> \
> \*\*protocol\*\*: Choose between\
> \- "UDP"\
> \- "TCP"\
> \- "TCPS"\
> \
> \*\*rfc\*\*: SYSLOG server address\
> \- "3164"\
> \- "5424"\
> \
> \*\*enable\*\*: Enable flag, false by default.\
> \
> \*\*comment\*\*: A comment on this syslog entry.\
> &#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":{"/system/syslog/{id}/":{"put":{"operationId":"systemSyslogUpdate","description":"\n**Update an existing Syslog entry**\n\n**Input payload with:**\n\n**server (required)**: SYSLOG server address.\n\n**sevMask**: possible values (combinated with '|') are\n- \"debug\"\n- \"info\"\n- \"critical\"\n- \"error\"\n- \"die\"\n- \"warning\"\n- \"success\"\n- \"stack\"\n- \"debug_stack\"\n- \"fatal\"\n- \"audit\"\n- OR leave blank \"\" if none.\n\n**port (required)**: SYSLOG server address\n\n**protocol**: Choose between\n- \"UDP\"\n- \"TCP\"\n- \"TCPS\"\n\n**rfc**: SYSLOG server address\n- \"3164\"\n- \"5424\"\n\n**enable**: Enable flag, false by default.\n\n**comment**: A comment on this syslog entry.\n    ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this syslog server.","required":true}],"tags":["system"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## DELETE /system/syslog/{id}/

> Delete an existing Syslog entry

```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":{"/system/syslog/{id}/":{"delete":{"operationId":"systemSyslogDestroy","description":"Delete an existing Syslog entry","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this syslog server.","required":true}],"tags":["system"],"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/system.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.
