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

# Datamanagement

## GET /datamanagement/dedupe-domains/

> Get a list of deduplication domains

```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":{"PaginatedDedupeDomainListList":{"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/DedupeDomainList"}}}},"DedupeDomainList":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":124}},"required":["id","name"]}}},"paths":{"/datamanagement/dedupe-domains/":{"get":{"operationId":"datamanagementDedupeDomainsList","description":"Get a list of deduplication domains","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":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedDedupeDomainListList"}}},"description":""}}}}}}
```

## POST /datamanagement/dedupe-domains/

> \*\*Create a new deduplication domain\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: Must not exist else where in the database.\
> \
> \*\*comment\*\*: string.\
> \
> \*\*digestType (required)\*\*: Choose between :\
> \['SHA-1', 'SHA-256', 'SHA-384', 'SHA-512']

```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":{"/datamanagement/dedupe-domains/":{"post":{"operationId":"dedupeDomainCreation","description":"**Create a new deduplication domain**\n\n**Input payload with:**\n\n**name (required)**: Must not exist else where in the database.\n\n**comment**: string.\n\n**digestType (required)**: Choose between :\n['SHA-1', 'SHA-256', 'SHA-384', 'SHA-512']","tags":["datamanagement"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":"Returns the new deduplication Domain"}}},"description":""}}}}}}
```

## GET /datamanagement/dedupe-domains/{id}/

> \*\*Get an existing deduplication domain\*\*\
> \
> \*\*Complementary information about output:\*\*\
> \
> \*\*digestType\*\*: One value in :\
> \['SHA-1', 'SHA-256', 'SHA-384', 'SHA-512']\
> &#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":{"DedupeDomainDetail":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":124},"comment":{"type":"string","nullable":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"digestType":{"type":"string"}},"required":["creationDate","digestType","id","name"]}}},"paths":{"/datamanagement/dedupe-domains/{id}/":{"get":{"operationId":"datamanagementDedupeDomainsRetrieve","description":"**Get an existing deduplication domain**\n\n**Complementary information about output:**\n\n**digestType**: One value in :\n['SHA-1', 'SHA-256', 'SHA-384', 'SHA-512']\n    ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this deduplication domain.","required":true}],"tags":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DedupeDomainDetail"}}},"description":""}}}}}}
```

## PUT /datamanagement/dedupe-domains/{id}/

> \*\*Update an existing deduplication domain\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: Must not exist else where in the database.\
> \
> \*\*comment\*\*: string.\
> \
> \*\*digestType (required)\*\*: Choose between :\
> \['SHA-1', 'SHA-256', 'SHA-384', 'SHA-512']

```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":{"/datamanagement/dedupe-domains/{id}/":{"put":{"operationId":"dedupeDomainUpdate","description":"**Update an existing deduplication domain**\n\n**Input payload with:**\n\n**name (required)**: Must not exist else where in the database.\n\n**comment**: string.\n\n**digestType (required)**: Choose between :\n['SHA-1', 'SHA-256', 'SHA-384', 'SHA-512']","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this deduplication domain.","required":true}],"tags":["datamanagement"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Returns the updated Deduplication Domain"}}},"description":""}}}}}}
```

## GET /datamanagement/metadatas/

> Get a list of metadatas

```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":{"PaginatedMetadataListList":{"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/MetadataList"}}}},"MetadataList":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"organization":{"allOf":[{"$ref":"#/components/schemas/MetadataOrganizationShort"}],"readOnly":true},"application":{"allOf":[{"$ref":"#/components/schemas/ApplicationShort"}],"readOnly":true}},"required":["application","id","name","organization"]},"MetadataOrganizationShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","readOnly":true}},"required":["id","name"]},"ApplicationShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256}},"required":["id","name"]}}},"paths":{"/datamanagement/metadatas/":{"get":{"operationId":"datamanagementMetadatasList","description":"Get a list of metadatas","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":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedMetadataListList"}}},"description":""}}}}}}
```

## POST /datamanagement/metadatas/

> \*\*Create a new metadata\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: name of the metadata.\
> \
> \*\*type (required)\*\*: Choose between "boolean", "combo", "string", "date", "timedate", "integer", "duration" and "uuid".\
> \
> \*\*label\*\*: label of the metadata.\
> \
> \*\*mandatory\*\*: true if metadata is mandatory.\
> \
> \*\*readonly\*\*: true if metadata is read only.\
> \
> \*\*show\*\*: Must be coherent with Organization show value, by default Organization value, if no Organization, True. Can only be set by Administrator.\
> \
> \*\*application\*\*: structure with name of organization.\
> \
> \*\*comboValues\*\*: Must be set if 'type' is 'combo'. Only one 'default' as True is allowed and 'value' keys\
> &#x20;should be unique.\
> \
> \*\*forbiddenChars\*\*: Can be set if 'type' is 'string'. A sequence of forbidden chars for the setting value. Default is None.\
> \
> \*\*comment\*\*: comment on the metadata.<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":{"/datamanagement/metadatas/":{"post":{"operationId":"metadataCreation","description":"**Create a new metadata**\n\n**Input payload with:**\n\n**name (required)**: name of the metadata.\n\n**type (required)**: Choose between \"boolean\", \"combo\", \"string\", \"date\", \"timedate\", \"integer\", \"duration\" and \"uuid\".\n\n**label**: label of the metadata.\n\n**mandatory**: true if metadata is mandatory.\n\n**readonly**: true if metadata is read only.\n\n**show**: Must be coherent with Organization show value, by default Organization value, if no Organization, True. Can only be set by Administrator.\n\n**application**: structure with name of organization.\n\n**comboValues**: Must be set if 'type' is 'combo'. Only one 'default' as True is allowed and 'value' keys\n should be unique.\n\n**forbiddenChars**: Can be set if 'type' is 'string'. A sequence of forbidden chars for the setting value. Default is None.\n\n**comment**: comment on the metadata.\n","tags":["datamanagement"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":"Returns the new Retention"}}},"description":""}}}}}}
```

## GET /datamanagement/metadatas/{id}/

> \*\*Get an existing metadata\*\*\
> \
> \*\*Complementary information about output:\*\*\
> \
> \*\*type\*\*: One value in :\
> \['boolean', 'combo', 'string', 'date', 'timedate', 'integer', 'duration', 'uuid']\
> \
> \*\*application/type\*\*: One integer value in :\
> \[Application.AppType.FCS, Application.AppType.METADATA\_MEDIA, Application.AppType.FCP, Application.AppType.INTERPLAY, Application.AppType.FORK, Application.AppType.AMM, Application.AppType.METADATA\_DB\_BACKUP, Application.AppType.FORK\_DRONE, Application.AppType.DIVA, Application.AppType.SYNCHRONIZATION, Application.AppType.VIDEO\_TAGGING, Application.AppType.TLP\_ARTESCA]\
> &#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":{"/datamanagement/metadatas/{id}/":{"get":{"operationId":"metadataRetrieve","description":"**Get an existing metadata**\n\n**Complementary information about output:**\n\n**type**: One value in :\n['boolean', 'combo', 'string', 'date', 'timedate', 'integer', 'duration', 'uuid']\n\n**application/type**: One integer value in :\n[Application.AppType.FCS, Application.AppType.METADATA_MEDIA, Application.AppType.FCP, Application.AppType.INTERPLAY, Application.AppType.FORK, Application.AppType.AMM, Application.AppType.METADATA_DB_BACKUP, Application.AppType.FORK_DRONE, Application.AppType.DIVA, Application.AppType.SYNCHRONIZATION, Application.AppType.VIDEO_TAGGING, Application.AppType.TLP_ARTESCA]\n        ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this metadata.","required":true}],"tags":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## PUT /datamanagement/metadatas/{id}/

> \*\*Update an existing metadata\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: name of the metadata.\
> \
> \*\*label\*\*: label of the metadata.\
> \
> \*\*mandatory\*\*: true if metadata is mandatory.\
> \
> \*\*readonly\*\*: true if metadata is read only.\
> \
> \*\*show\*\*: Must be coherent with Organization show value, by default Organization value, if no Organization, True. Can only be set by Administrator.\
> \
> \*\*application\*\*: structure with name of organization.\
> \
> \*\*comboValues\*\*: Must be set if 'type' is 'combo'. Only one 'default' as True is allowed and 'value' keys should be unique.\
> \
> \*\*forbiddenChars\*\*: Can be set if 'type' is 'string'. A sequence of forbidden chars for the setting value. Default is None.\
> \
> \*\*comment\*\*: comment on the metadata.\
> \
> \*\*Type cannot be modified\*\*\
> \
> \*\*To set a nested object as null, insert "name": null\*\*\
> \
> \*\*PLEASE REMEMBER THAT THIS IS A PUT METHOD, ALL OPTIONAL\
> FIELDS (except FK nested objects) 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":{"/datamanagement/metadatas/{id}/":{"put":{"operationId":"metadataUpdate","description":"**Update an existing metadata**\n\n**Input payload with:**\n\n**name (required)**: name of the metadata.\n\n**label**: label of the metadata.\n\n**mandatory**: true if metadata is mandatory.\n\n**readonly**: true if metadata is read only.\n\n**show**: Must be coherent with Organization show value, by default Organization value, if no Organization, True. Can only be set by Administrator.\n\n**application**: structure with name of organization.\n\n**comboValues**: Must be set if 'type' is 'combo'. Only one 'default' as True is allowed and 'value' keys should be unique.\n\n**forbiddenChars**: Can be set if 'type' is 'string'. A sequence of forbidden chars for the setting value. Default is None.\n\n**comment**: comment on the metadata.\n\n**Type cannot be modified**\n\n**To set a nested object as null, insert \"name\": null**\n\n**PLEASE REMEMBER THAT THIS IS A PUT METHOD, ALL OPTIONAL\nFIELDS (except FK nested objects) 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 metadata.","required":true}],"tags":["datamanagement"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Returns the metadata updated"}}},"description":""}}}}}}
```

## GET /datamanagement/policies/

> Get a list of 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"}},"schemas":{"PaginatedPolicyListList":{"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/PolicyList"}}}},"PolicyList":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"retention":{"$ref":"#/components/schemas/RetentionList"}},"required":["id","name"]},"RetentionList":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256}},"required":["id","name"]}}},"paths":{"/datamanagement/policies/":{"get":{"operationId":"datamanagementPoliciesList","description":"Get a list of policies","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":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedPolicyListList"}}},"description":""}}}}}}
```

## POST /datamanagement/policies/

> \*\*Create a new policy\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: Name of the new policy.\
> \
> \*\*retention (required)\*\*: Existing retention name in nested object.\
> \
> \*\*comment\*\*: String.\
> \
> \*\*storageContainerList (required)\*\*: List of existing storage container with a retention associated.\
> \
> \*\*deduplicationReference\*\*: StorageManagerContainer that must have a deduplication domain.\ <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":{"/datamanagement/policies/":{"post":{"operationId":"policyCreation","description":"**Create a new policy**\n\n**Input payload with:**\n\n**name (required)**: Name of the new policy.\n\n**retention (required)**: Existing retention name in nested object.\n\n**comment**: String.\n\n**storageContainerList (required)**: List of existing storage container with a retention associated.\n\n**deduplicationReference**: StorageManagerContainer that must have a deduplication domain.\n\n","tags":["datamanagement"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":"Returns the new Policy"}}},"description":""}}}}}}
```

## GET /datamanagement/policies/{id}/

> \*\*Get an existing policy\*\*\
> \
> \*\*Complementary information about output:\*\*\
> \
> \*\*status\*\*: One value in :\
> \['online', 'suspended']\
> &#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":{"/datamanagement/policies/{id}/":{"get":{"operationId":"datamanagementPoliciesRetrieve","description":"**Get an existing policy**\n\n**Complementary information about output:**\n\n**status**: One value in :\n['online', 'suspended']\n        ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this policy.","required":true}],"tags":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Returns an existing Policy"}}},"description":""}}}}}}
```

## PUT /datamanagement/policies/{id}/

> \*\*Update an existing policy\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: Name of the new policy.\
> \
> \*\*retention (required)\*\*: Existing retention name in nested object.\
> \
> \*\*comment\*\*: String.\
> \
> \*\*storageContainerList required)\*\*: List of existing storage container with a retention associated.\
> \
> \*\*deduplicationReference\*\*: StorageManagerContainer that must have a deduplication domain.\
> \
> \*\*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":{"/datamanagement/policies/{id}/":{"put":{"operationId":"policyUpdate","description":"**Update an existing policy**\n\n**Input payload with:**\n\n**name (required)**: Name of the new policy.\n\n**retention (required)**: Existing retention name in nested object.\n\n**comment**: String.\n\n**storageContainerList required)**: List of existing storage container with a retention associated.\n\n**deduplicationReference**: StorageManagerContainer that must have a deduplication domain.\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 policy.","required":true}],"tags":["datamanagement"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Returns the updated Policy"}}},"description":""}}}}}}
```

## DELETE /datamanagement/policies/{id}/

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

## GET /datamanagement/repositories/

> \*\*Get a list of repositories\*\*\
> \
> \*\*Complementary information about output:\*\*\
> \
> \*\*mode\*\*: One value in :\
> \['archiving', 'backup', 'by setting']\
> &#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":{"PaginatedArchiveListList":{"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/ArchiveList"}}}},"ArchiveList":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","pattern":"[/\\u005c:]","maxLength":256},"mode":{"type":"string","readOnly":true},"volumeQuota":{"type":"string","format":"decimal","pattern":"^-?\\d{0,18}(?:\\.\\d{0,0})?$","nullable":true},"object":{"allOf":[{"$ref":"#/components/schemas/ObjectShort"}],"readOnly":true},"owner":{"allOf":[{"$ref":"#/components/schemas/UserShort"}],"readOnly":true},"objectGroup":{"allOf":[{"$ref":"#/components/schemas/CapacityGroupShort"}],"readOnly":true},"organization":{"allOf":[{"$ref":"#/components/schemas/ArchiveOrganizationShort"}],"readOnly":true}},"required":["id","mode","name","object","objectGroup","organization","owner"]},"ObjectShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":400}},"required":["id","name"]},"UserShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":128}},"required":["id","name"]},"CapacityGroupShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256}},"required":["id","name"]},"ArchiveOrganizationShort":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","readOnly":true}},"required":["id","name"]}}},"paths":{"/datamanagement/repositories/":{"get":{"operationId":"datamanagementRepositoriesList","description":"**Get a list of repositories**\n\n**Complementary information about output:**\n\n**mode**: One value in :\n['archiving', 'backup', 'by setting']\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":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedArchiveListList"}}},"description":""}}}}}}
```

## POST /datamanagement/repositories/

> \*\*Create a new repository\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: Must not exist else where in the database.\
> \
> \*\*mode (required)\*\*: Choice of a single value in :\
> \['archiving', 'backup', 'by setting']\
> \
> \*\*owner (required)\*\*: User name.\
> \
> \*\*volumeQuota\*\*: Maximum storage size (bytes) for "retrievable" data. Forbids archiving/backup jobs if the quota is over before launching a new job.\
> \
> \*\*objectGroup\*\*: Object Group name.\
> \
> \*\*organization\*\*: Archive Organization name.\
> \
> \*\*dataMoverMode (required for 'by setting' mode)\*\*: Choice of values in \['symlinks',\
> 'altstream', 'platform charset', 'stubfile', 'detect deletion', 'detect change'].

```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":{"/datamanagement/repositories/":{"post":{"operationId":"repositoryCreation","description":"**Create a new repository**\n\n**Input payload with:**\n\n**name (required)**: Must not exist else where in the database.\n\n**mode (required)**: Choice of a single value in :\n['archiving', 'backup', 'by setting']\n\n**owner (required)**: User name.\n\n**volumeQuota**: Maximum storage size (bytes) for \"retrievable\" data. Forbids archiving/backup jobs if the quota is over before launching a new job.\n\n**objectGroup**: Object Group name.\n\n**organization**: Archive Organization name.\n\n**dataMoverMode (required for 'by setting' mode)**: Choice of values in ['symlinks',\n'altstream', 'platform charset', 'stubfile', 'detect deletion', 'detect change'].","tags":["datamanagement"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":"Returns the new Repository"}}},"description":""}}}}}}
```

## GET /datamanagement/repositories/{id}/

> \*\*Get an existing repository\*\*\
> \
> \*\*Complementary information about output:\*\*\
> \
> \*\*mode\*\*: One value in :\
> \['archiving', 'backup', 'by setting']\
> \
> \*\*type\*\*: One value in :\
> \['user', 'project', 'synchro']\
> &#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":{"/datamanagement/repositories/{id}/":{"get":{"operationId":"datamanagementRepositoriesRetrieve","description":"**Get an existing repository**\n\n**Complementary information about output:**\n\n**mode**: One value in :\n['archiving', 'backup', 'by setting']\n\n**type**: One value in :\n['user', 'project', 'synchro']\n        ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this repository.","required":true}],"tags":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Returns an existing Repository"}}},"description":""}}}}}}
```

## PUT /datamanagement/repositories/{id}/

> \*\*Update an existing repository\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: Must not exist else where in the database.\
> \
> \*\*mode (required)\*\*: Choice of a single value in :\
> \['archiving', 'backup', 'by setting']\
> \
> \*\*owner (required)\*\*: User name.\
> \
> \*\*volumeQuota\*\*: Maximum storage size (bytes) for "retrievable" data. Forbids archiving/backup jobs if the quota is over before launching a new job.\
> \
> \*\*objectGroup\*\*: Object Group name.\
> \
> \*\*organization\*\*: Archive Organization name.\
> \
> \*\*dataMoverMode (required for 'by setting' mode)\*\*: Choice of values in \['symlinks', 'altstream', 'platform charset',\
> &#x20;'stubfile', 'detect deletion', 'detect change'].\
> \
> \*\*PLEASE REMEMBER THAT THIS IS A PUT METHOD, ALL OPTIONAL\
> &#x20;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":{"/datamanagement/repositories/{id}/":{"put":{"operationId":"repositoryUpdate","description":"**Update an existing repository**\n\n**Input payload with:**\n\n**name (required)**: Must not exist else where in the database.\n\n**mode (required)**: Choice of a single value in :\n['archiving', 'backup', 'by setting']\n\n**owner (required)**: User name.\n\n**volumeQuota**: Maximum storage size (bytes) for \"retrievable\" data. Forbids archiving/backup jobs if the quota is over before launching a new job.\n\n**objectGroup**: Object Group name.\n\n**organization**: Archive Organization name.\n\n**dataMoverMode (required for 'by setting' mode)**: Choice of values in ['symlinks', 'altstream', 'platform charset',\n 'stubfile', 'detect deletion', 'detect change'].\n\n**PLEASE REMEMBER THAT THIS IS A PUT METHOD, ALL OPTIONAL\n FIELDS 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 repository.","required":true}],"tags":["datamanagement"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Returns the updated Repository"}}},"description":""}}}}}}
```

## DELETE /datamanagement/repositories/{id}/

> \
> Delete an existing \
> repository.\<br>\<br>\
> Note that all "hard dependencies" of "object" 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":{"/datamanagement/repositories/{id}/":{"delete":{"operationId":"datamanagementRepositoriesDestroy","description":"\nDelete an existing \nrepository.<br><br>\nNote that all \"hard dependencies\" of \"object\" 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 \nrepository.<br><br>\nNote that all \"hard dependencies\" of \"object\" 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":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /datamanagement/repositories/{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":{"/datamanagement/repositories/{id}/browse/":{"post":{"operationId":"datamanagementRepositoriesBrowseCreate","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":["datamanagement"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /datamanagement/repositories/{id}/browse/{object}/metadatas/

> \
> \*\*Get list of metadatas linked to current object, repository, instance or job.\*\*\
> \
> Note that, if any, 'object' or 'instance' path parameters are numeric identifiers.<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":{"/datamanagement/repositories/{id}/browse/{object}/metadatas/":{"get":{"operationId":"datamanagementRepositoriesBrowseMetadatasRetrieve","description":"\n**Get list of metadatas linked to current object, repository, instance or job.**\n\nNote that, if any, 'object' or 'instance' path parameters are numeric identifiers.\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the repository","required":true},{"in":"path","name":"object","schema":{"type":"integer"},"description":"A unique integer value identifying an object","required":true}],"tags":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /datamanagement/repositories/{id}/browse/{object}/metadatas/

> \
> \*\*Create a new metadatas linked to current object, repository, instance or job\*\*\
> \
> Note that, if any, 'object' or 'instance' path parameters are numeric identifiers.<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":{"/datamanagement/repositories/{id}/browse/{object}/metadatas/":{"post":{"operationId":"datamanagementRepositoriesBrowseMetadatasCreate","description":"\n**Create a new metadatas linked to current object, repository, instance or job**\n\nNote that, if any, 'object' or 'instance' path parameters are numeric identifiers.\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the repository","required":true},{"in":"path","name":"object","schema":{"type":"integer"},"description":"A unique integer value identifying an object","required":true}],"tags":["datamanagement"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /datamanagement/repositories/{id}/browse/{object}/metadatas/{metadataId}/

> \
> \*\*Get details of metadatas linked to current object, repository, instance or job\*\*\
> \
> Note that, if any, 'object' or 'instance' path parameters are numeric identifiers.<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":{"/datamanagement/repositories/{id}/browse/{object}/metadatas/{metadataId}/":{"get":{"operationId":"datamanagementRepositoriesBrowseMetadatasRetrieve2","description":"\n**Get details of metadatas linked to current object, repository, instance or job**\n\nNote that, if any, 'object' or 'instance' path parameters are numeric identifiers.\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the repository.","required":true},{"in":"path","name":"object","schema":{"type":"integer"},"description":"A unique integer value identifying an object","required":true},{"in":"path","name":"metadataId","schema":{"type":"integer"},"description":"A unique integer value identifying a metadata.","required":true}],"tags":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## PUT /datamanagement/repositories/{id}/browse/{object}/metadatas/{metadataId}/

> \
> \*\*Update a metadata linked to current object, repository, instance or job\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*value (required)\*\*: New value associated to object and metadata.\
> \
> Note that, if any, 'object' or 'instance' path parameters are numeric identifiers.<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":{"/datamanagement/repositories/{id}/browse/{object}/metadatas/{metadataId}/":{"put":{"operationId":"datamanagementRepositoriesBrowseMetadatasUpdate","description":"\n**Update a metadata linked to current object, repository, instance or job**\n\n**Input payload with:**\n\n**value (required)**: New value associated to object and metadata.\n\nNote that, if any, 'object' or 'instance' path parameters are numeric identifiers.\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the repository.","required":true},{"in":"path","name":"object","schema":{"type":"integer"},"description":"A unique integer value identifying an object","required":true},{"in":"path","name":"metadataId","schema":{"type":"integer"},"description":"A unique integer value identifying a metadata.","required":true}],"tags":["datamanagement"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## DELETE /datamanagement/repositories/{id}/browse/{object}/metadatas/{metadataId}/

> \
> \*\*Delete metadatas linked to current linked to current object, repository, instance or job\*\*\
> \
> Note that, if any, 'object' or 'instance' path parameters are numeric identifiers.<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":{"/datamanagement/repositories/{id}/browse/{object}/metadatas/{metadataId}/":{"delete":{"operationId":"datamanagementRepositoriesBrowseMetadatasDestroy","description":"\n**Delete metadatas linked to current linked to current object, repository, instance or job**\n\nNote that, if any, 'object' or 'instance' path parameters are numeric identifiers.\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the repository.","required":true},{"in":"path","name":"object","schema":{"type":"integer"},"description":"A unique integer value identifying an object","required":true},{"in":"path","name":"metadataId","schema":{"type":"integer"},"description":"A unique integer value identifying a metadata.","required":true}],"tags":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /datamanagement/repositories/{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":{"/datamanagement/repositories/{id}/browse/folder/":{"post":{"operationId":"datamanagementRepositoriesBrowseFolderCreate","description":"Create a folder","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the object.","required":true}],"tags":["datamanagement"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /datamanagement/repositories/{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":{"/datamanagement/repositories/{id}/browse/global-path/":{"post":{"operationId":"datamanagementRepositoriesBrowseGlobalPathCreate","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":["datamanagement"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /datamanagement/repositories/{id}/browseInstances/

> Displays object instances for the object specified by path or objectId

```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":{"/datamanagement/repositories/{id}/browseInstances/":{"post":{"operationId":"datamanagementRepositoriesBrowseInstancesCreate","description":"Displays object instances for the object specified by path or objectId","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this repository.","required":true}],"tags":["datamanagement"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /datamanagement/repositories/{id}/browseInstances/{instance}/metadatas/

> \
> \*\*Get list of metadatas linked to current object, repository, instance or job.\*\*\
> \
> Note that, if any, 'object' or 'instance' path parameters are numeric identifiers.<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":{"/datamanagement/repositories/{id}/browseInstances/{instance}/metadatas/":{"get":{"operationId":"datamanagementRepositoriesBrowseInstancesMetadatasRetrieve","description":"\n**Get list of metadatas linked to current object, repository, instance or job.**\n\nNote that, if any, 'object' or 'instance' path parameters are numeric identifiers.\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the repository","required":true},{"in":"path","name":"instance","schema":{"type":"integer"},"description":"A unique integer value identifying an instance","required":true}],"tags":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /datamanagement/repositories/{id}/browseInstances/{instance}/metadatas/

> \
> \*\*Create a new metadatas linked to current object, repository, instance or job\*\*\
> \
> Note that, if any, 'object' or 'instance' path parameters are numeric identifiers.<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":{"/datamanagement/repositories/{id}/browseInstances/{instance}/metadatas/":{"post":{"operationId":"datamanagementRepositoriesBrowseInstancesMetadatasCreate","description":"\n**Create a new metadatas linked to current object, repository, instance or job**\n\nNote that, if any, 'object' or 'instance' path parameters are numeric identifiers.\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the repository","required":true},{"in":"path","name":"instance","schema":{"type":"integer"},"description":"A unique integer value identifying an instance","required":true}],"tags":["datamanagement"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /datamanagement/repositories/{id}/browseInstances/{instance}/metadatas/{metadataId}/

> \
> \*\*Get details of metadatas linked to current object, repository, instance or job\*\*\
> \
> Note that, if any, 'object' or 'instance' path parameters are numeric identifiers.<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":{"/datamanagement/repositories/{id}/browseInstances/{instance}/metadatas/{metadataId}/":{"get":{"operationId":"datamanagementRepositoriesBrowseInstancesMetadatasRetrieve2","description":"\n**Get details of metadatas linked to current object, repository, instance or job**\n\nNote that, if any, 'object' or 'instance' path parameters are numeric identifiers.\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the repository.","required":true},{"in":"path","name":"instance","schema":{"type":"integer"},"description":"instance","required":true},{"in":"path","name":"metadataId","schema":{"type":"integer"},"description":"A unique integer value identifying a metadata.","required":true}],"tags":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## PUT /datamanagement/repositories/{id}/browseInstances/{instance}/metadatas/{metadataId}/

> \
> \*\*Update a metadata linked to current object, repository, instance or job\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*value (required)\*\*: New value associated to object and metadata.\
> \
> Note that, if any, 'object' or 'instance' path parameters are numeric identifiers.<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":{"/datamanagement/repositories/{id}/browseInstances/{instance}/metadatas/{metadataId}/":{"put":{"operationId":"datamanagementRepositoriesBrowseInstancesMetadatasUpdate","description":"\n**Update a metadata linked to current object, repository, instance or job**\n\n**Input payload with:**\n\n**value (required)**: New value associated to object and metadata.\n\nNote that, if any, 'object' or 'instance' path parameters are numeric identifiers.\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the repository.","required":true},{"in":"path","name":"instance","schema":{"type":"integer"},"description":"instance","required":true},{"in":"path","name":"metadataId","schema":{"type":"integer"},"description":"A unique integer value identifying a metadata.","required":true}],"tags":["datamanagement"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## DELETE /datamanagement/repositories/{id}/browseInstances/{instance}/metadatas/{metadataId}/

> \
> \*\*Delete metadatas linked to current linked to current object, repository, instance or job\*\*\
> \
> Note that, if any, 'object' or 'instance' path parameters are numeric identifiers.<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":{"/datamanagement/repositories/{id}/browseInstances/{instance}/metadatas/{metadataId}/":{"delete":{"operationId":"datamanagementRepositoriesBrowseInstancesMetadatasDestroy","description":"\n**Delete metadatas linked to current linked to current object, repository, instance or job**\n\nNote that, if any, 'object' or 'instance' path parameters are numeric identifiers.\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the repository.","required":true},{"in":"path","name":"instance","schema":{"type":"integer"},"description":"instance","required":true},{"in":"path","name":"metadataId","schema":{"type":"integer"},"description":"A unique integer value identifying a metadata.","required":true}],"tags":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /datamanagement/repositories/{id}/browseInstances/{instance}/sessions/

> \*\*Get instance sessions list\*\*

```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":{"PaginatedSessionListList":{"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/SessionList"}}}},"SessionList":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"count":{"type":"integer"},"storageManager":{"$ref":"#/components/schemas/StorageManagerShort"},"stream":{"$ref":"#/components/schemas/StreamShort"},"storageManagerOrigin":{"$ref":"#/components/schemas/StorageManagerShort"}},"required":["count","id","storageManager","storageManagerOrigin","stream"]},"StorageManagerShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","nullable":true,"maxLength":128}},"required":["id"]},"StreamShort":{"type":"object","properties":{"id":{"type":"integer"}},"required":["id"]}}},"paths":{"/datamanagement/repositories/{id}/browseInstances/{instance}/sessions/":{"get":{"operationId":"sessionList","description":"**Get instance sessions list**","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 repository.","required":true},{"in":"path","name":"instance","schema":{"type":"integer"},"description":"A unique integer value identifying an instance.","required":true}],"tags":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedSessionListList"}}},"description":""}}}}}}
```

## GET /datamanagement/repositories/{id}/browseInstances/{instance}/sessions/{session}/

> \*\*Get instance session\*\*\
> \
> Ouput may vary depending on session storage manager type\
> &#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":{"/datamanagement/repositories/{id}/browseInstances/{instance}/sessions/{session}/":{"get":{"operationId":"sessionDetail","description":"**Get instance session**\n\nOuput may vary depending on session storage manager type\n                ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the repository.","required":true},{"in":"path","name":"instance","schema":{"type":"integer"},"description":"A unique integer value identifying an instance.","required":true},{"in":"path","name":"session","schema":{"type":"integer"},"description":"A unique integer value identifying a session.","required":true}],"tags":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /datamanagement/repositories/{id}/browseInstances/{instance}/sessions/{session}/medias/

> \*\*Get medias linked to a session\*\*

```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":{"PaginatedMediaDetailList":{"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/MediaDetail"}}}},"MediaDetail":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"type":{"type":"string","readOnly":true},"creationDate":{"type":"string","format":"date-time","nullable":true},"volume":{"type":"string","format":"decimal","pattern":"^-?\\d{0,18}(?:\\.\\d{0,0})?$","nullable":true},"physicalVolume":{"type":"string","format":"decimal","pattern":"^-?\\d{0,18}(?:\\.\\d{0,0})?$","nullable":true},"tapeFile":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$"},"blockSize":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"remainingVolume":{"type":"string","format":"decimal","pattern":"^-?\\d{0,18}(?:\\.\\d{0,0})?$","nullable":true},"logicalPosition":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$","nullable":true},"status":{"type":"string","readOnly":true},"statusCause":{"type":"string","readOnly":true},"storageManager":{"allOf":[{"$ref":"#/components/schemas/StorageManagerShort"}],"readOnly":true},"storageContainer":{"$ref":"#/components/schemas/StorageManagerContShort"},"archive":{"allOf":[{"$ref":"#/components/schemas/ArchiveShort"}],"readOnly":true},"jobId":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"usageRule":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"customUsageRule":{"$ref":"#/components/schemas/MediaUsageCustomRuleShort"},"fingerprint":{"type":"string","nullable":true,"maxLength":31},"format":{"type":"string","readOnly":true},"lastChangeDate":{"type":"string","format":"date-time","readOnly":true,"nullable":true},"ltfsOwner":{"type":"string","nullable":true,"maxLength":14},"ltfsVolumeId":{"type":"string","nullable":true,"maxLength":36},"dataPartition":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"ltfsVolume":{"type":"string","nullable":true,"maxLength":2048},"comment":{"type":"string","nullable":true},"extendedInfo":{"type":"string","readOnly":true},"formFactor":{"$ref":"#/components/schemas/MediaTypeForMedia"},"lastVerifyDate":{"type":"string","format":"date-time","nullable":true}},"required":["archive","extendedInfo","format","id","lastChangeDate","name","status","statusCause","storageManager","tapeFile","type"]},"StorageManagerShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","nullable":true,"maxLength":128}},"required":["id"]},"StorageManagerContShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","nullable":true,"readOnly":true}},"required":["id","name"]},"ArchiveShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","pattern":"[/\\u005c:]","maxLength":256}},"required":["id","name"]},"MediaUsageCustomRuleShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":124}},"required":["id","name"]},"MediaTypeForMedia":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":30},"description":{"type":"string","nullable":true},"driveTechno":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$","nullable":true},"driveClass":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$","nullable":true},"worm":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","nullable":true},"suffix":{"type":"string","nullable":true,"maxLength":30}},"required":["id","name"]}}},"paths":{"/datamanagement/repositories/{id}/browseInstances/{instance}/sessions/{session}/medias/":{"get":{"operationId":"datamanagementRepositoriesBrowseInstancesSessionsMediasList","description":"**Get medias linked to a session**","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 repository.","required":true},{"in":"path","name":"instance","schema":{"type":"integer"},"description":"A unique integer value identifying an instance.","required":true},{"in":"path","name":"session","schema":{"type":"integer"},"description":"A unique integer value identifying a session.","required":true}],"tags":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedMediaDetailList"}}},"description":""}}}}}}
```

## GET /datamanagement/repositories/{id}/browseInstances/{instance}/sessions/{session}/medias/{media}/

> \*\*Get a specific media linked to a session\*\*

```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":{"MediaDetail":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"type":{"type":"string","readOnly":true},"creationDate":{"type":"string","format":"date-time","nullable":true},"volume":{"type":"string","format":"decimal","pattern":"^-?\\d{0,18}(?:\\.\\d{0,0})?$","nullable":true},"physicalVolume":{"type":"string","format":"decimal","pattern":"^-?\\d{0,18}(?:\\.\\d{0,0})?$","nullable":true},"tapeFile":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$"},"blockSize":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"remainingVolume":{"type":"string","format":"decimal","pattern":"^-?\\d{0,18}(?:\\.\\d{0,0})?$","nullable":true},"logicalPosition":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$","nullable":true},"status":{"type":"string","readOnly":true},"statusCause":{"type":"string","readOnly":true},"storageManager":{"allOf":[{"$ref":"#/components/schemas/StorageManagerShort"}],"readOnly":true},"storageContainer":{"$ref":"#/components/schemas/StorageManagerContShort"},"archive":{"allOf":[{"$ref":"#/components/schemas/ArchiveShort"}],"readOnly":true},"jobId":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"usageRule":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"customUsageRule":{"$ref":"#/components/schemas/MediaUsageCustomRuleShort"},"fingerprint":{"type":"string","nullable":true,"maxLength":31},"format":{"type":"string","readOnly":true},"lastChangeDate":{"type":"string","format":"date-time","readOnly":true,"nullable":true},"ltfsOwner":{"type":"string","nullable":true,"maxLength":14},"ltfsVolumeId":{"type":"string","nullable":true,"maxLength":36},"dataPartition":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"ltfsVolume":{"type":"string","nullable":true,"maxLength":2048},"comment":{"type":"string","nullable":true},"extendedInfo":{"type":"string","readOnly":true},"formFactor":{"$ref":"#/components/schemas/MediaTypeForMedia"},"lastVerifyDate":{"type":"string","format":"date-time","nullable":true}},"required":["archive","extendedInfo","format","id","lastChangeDate","name","status","statusCause","storageManager","tapeFile","type"]},"StorageManagerShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","nullable":true,"maxLength":128}},"required":["id"]},"StorageManagerContShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","nullable":true,"readOnly":true}},"required":["id","name"]},"ArchiveShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","pattern":"[/\\u005c:]","maxLength":256}},"required":["id","name"]},"MediaUsageCustomRuleShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":124}},"required":["id","name"]},"MediaTypeForMedia":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":30},"description":{"type":"string","nullable":true},"driveTechno":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$","nullable":true},"driveClass":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$","nullable":true},"worm":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","nullable":true},"suffix":{"type":"string","nullable":true,"maxLength":30}},"required":["id","name"]}}},"paths":{"/datamanagement/repositories/{id}/browseInstances/{instance}/sessions/{session}/medias/{media}/":{"get":{"operationId":"datamanagementRepositoriesBrowseInstancesSessionsMediasRetrieve","description":"**Get a specific media linked to a session**","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the repository.","required":true},{"in":"path","name":"instance","schema":{"type":"integer"},"description":"A unique integer value identifying an instance.","required":true},{"in":"path","name":"session","schema":{"type":"integer"},"description":"A unique integer value identifying a session.","required":true},{"in":"path","name":"media","schema":{"type":"integer"},"description":"A unique integer value identifying a media.","required":true}],"tags":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaDetail"}}},"description":""}}}}}}
```

## GET /datamanagement/repositories/{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":{"/datamanagement/repositories/{id}/browser/":{"get":{"operationId":"datamanagementRepositoriesBrowserRetrieve","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":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## DELETE /datamanagement/repositories/{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":{"/datamanagement/repositories/{id}/browser/":{"delete":{"operationId":"datamanagementRepositoriesBrowserDestroy","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":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /datamanagement/repositories/{id}/browserDateTime/

> \
> \*\*Enables time navigation\*\*\
> \
> Object instances are listed as they existed at the specified dateTime expressed in UTC.\ <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":{"/datamanagement/repositories/{id}/browserDateTime/":{"post":{"operationId":"datamanagementRepositoriesBrowserDateTimeCreate","description":"\n**Enables time navigation**\n\nObject instances are listed as they existed at the specified dateTime expressed in UTC.\n\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this repository.","required":true}],"tags":["datamanagement"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /datamanagement/repositories/{id}/delegate/

> \*\*Delegate a user repository to another user\*\*\
> \
> \*\*userId (required)\*\*: New user to delegate repository\
> \
> \*\*repositoryName (required)\*\*: New name of the repository\
> \
> &#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":{"/datamanagement/repositories/{id}/delegate/":{"post":{"operationId":"repositoryDelegate","description":"**Delegate a user repository to another user**\n\n**userId (required)**: New user to delegate repository\n\n**repositoryName (required)**: New name of the repository\n\n        ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this repository.","required":true}],"tags":["datamanagement"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":"The repository is delegated"}}},"description":""}}}}}}
```

## GET /datamanagement/repositories/{id}/metadatas/

> \
> \*\*Get list of metadatas linked to current object, repository, instance or job\*\*\
> \
> Note that, if any, 'object' or 'instance' path parameters are numeric identifiers.<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":{"/datamanagement/repositories/{id}/metadatas/":{"get":{"operationId":"datamanagementRepositoriesMetadatasRetrieve","description":"\n**Get list of metadatas linked to current object, repository, instance or job**\n\nNote that, if any, 'object' or 'instance' path parameters are numeric identifiers.\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the repository.","required":true}],"tags":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## POST /datamanagement/repositories/{id}/metadatas/

> \
> \*\*Create a new metadatas linked to current object, repository, instance or job\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: Metadata name.\
> \
> Note that, if any, 'object' or 'instance' path parameters are numeric identifiers.<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":{"/datamanagement/repositories/{id}/metadatas/":{"post":{"operationId":"datamanagementRepositoriesMetadatasCreate","description":"\n**Create a new metadatas linked to current object, repository, instance or job**\n\n**Input payload with:**\n\n**name (required)**: Metadata name.\n\nNote that, if any, 'object' or 'instance' path parameters are numeric identifiers.\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the repository.","required":true}],"tags":["datamanagement"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /datamanagement/repositories/{id}/metadatas/{metadataId}/

> \
> \*\*Get detail of a metadata linked to current object, repository, instance or job\*\*\
> \
> Note that, if any, 'object' or 'instance' path parameters are numeric identifiers.<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":{"/datamanagement/repositories/{id}/metadatas/{metadataId}/":{"get":{"operationId":"datamanagementRepositoriesMetadatasRetrieve2","description":"\n**Get detail of a metadata linked to current object, repository, instance or job**\n\nNote that, if any, 'object' or 'instance' path parameters are numeric identifiers.\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the repository.","required":true},{"in":"path","name":"metadataId","schema":{"type":"integer"},"description":"A unique integer value identifying a metadata.","required":true}],"tags":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## DELETE /datamanagement/repositories/{id}/metadatas/{metadataId}/

> \
> \*\*Delete metadatas linked to current object, repository, instance or job\*\*\
> \
> Note that, if any, 'object' or 'instance' path parameters are numeric identifiers.<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":{"/datamanagement/repositories/{id}/metadatas/{metadataId}/":{"delete":{"operationId":"datamanagementRepositoriesMetadatasDestroy","description":"\n**Delete metadatas linked to current object, repository, instance or job**\n\nNote that, if any, 'object' or 'instance' path parameters are numeric identifiers.\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying the repository.","required":true},{"in":"path","name":"metadataId","schema":{"type":"integer"},"description":"A unique integer value identifying a metadata.","required":true}],"tags":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /datamanagement/repositories/{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":{"/datamanagement/repositories/{id}/settings/":{"get":{"operationId":"datamanagementRepositoriesSettingsRetrieve","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":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"Jobs":{"archiveDirectoryExclusion":"none"}}}},"description":""}}}}}}
```

## GET /datamanagement/repositories/{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":{"/datamanagement/repositories/{id}/settings/{setting}/":{"get":{"operationId":"datamanagementRepositoriesSettingsRetrieve2","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":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Acknowledgment if the value is recorded"}}},"description":""}}}}}}
```

## PUT /datamanagement/repositories/{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":{"/datamanagement/repositories/{id}/settings/{setting}/":{"put":{"operationId":"datamanagementRepositoriesSettingsUpdate","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":["datamanagement"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## GET /datamanagement/retentions/

> Get a list of retentions

```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":{"PaginatedRetentionListList":{"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/RetentionList"}}}},"RetentionList":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256}},"required":["id","name"]}}},"paths":{"/datamanagement/retentions/":{"get":{"operationId":"datamanagementRetentionsList","description":"Get a list of retentions","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":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedRetentionListList"}}},"description":""}}}}}}
```

## POST /datamanagement/retentions/

> \*\*Create a new retention\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: Name of the new retention.\
> \
> \*\*value  (required if unit not none)\*\*: Must be a positive integer if unit other than "none", otherwise it must be 0.\
> \
> \*\*unit  (required)\*\*: Choose between \['none', 'days', 'weeks', 'months', 'years'].\
> \
> \*\*maxVersion  (required)\*\*: Number of version to retain.\
> \
> \*\*comment\*\*: comment of the retention.\
> &#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":{"/datamanagement/retentions/":{"post":{"operationId":"retentionCreation","description":"**Create a new retention**\n\n**Input payload with:**\n\n**name (required)**: Name of the new retention.\n\n**value  (required if unit not none)**: Must be a positive integer if unit other than \"none\", otherwise it must be 0.\n\n**unit  (required)**: Choose between ['none', 'days', 'weeks', 'months', 'years'].\n\n**maxVersion  (required)**: Number of version to retain.\n\n**comment**: comment of the retention.\n        ","tags":["datamanagement"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":"Returns the new Retention"}}},"description":""}}}}}}
```

## GET /datamanagement/retentions/{id}/

> \*\*Get an existing retention\*\*\
> \
> \*\*Complementary information about output:\*\*\
> \
> \*\*unit\*\*: One value in \['none', 'days', 'weeks', 'months', 'years'].\
> &#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":{"/datamanagement/retentions/{id}/":{"get":{"operationId":"datamanagementRetentionsRetrieve","description":"**Get an existing retention**\n\n**Complementary information about output:**\n\n**unit**: One value in ['none', 'days', 'weeks', 'months', 'years'].\n        ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this retention.","required":true}],"tags":["datamanagement"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## PUT /datamanagement/retentions/{id}/

> \*\*Update an existing retention\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: Name of the new retention.\
> \
> \*\*value  (required if unit not none)\*\*: Must be a positive integer if unit other than "none", otherwise it must be 0.\
> \
> \*\*unit  (required)\*\*: Choose between \['none', 'days', 'weeks', 'months', 'years'].\
> \
> \*\*maxVersion  (required)\*\*: Number of version to retain.\
> \
> \*\*comment\*\*: comment of the retention.\
> \
> \*\*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":{"/datamanagement/retentions/{id}/":{"put":{"operationId":"retentionUpdate","description":"**Update an existing retention**\n\n**Input payload with:**\n\n**name (required)**: Name of the new retention.\n\n**value  (required if unit not none)**: Must be a positive integer if unit other than \"none\", otherwise it must be 0.\n\n**unit  (required)**: Choose between ['none', 'days', 'weeks', 'months', 'years'].\n\n**maxVersion  (required)**: Number of version to retain.\n\n**comment**: comment of the retention.\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 retention.","required":true}],"tags":["datamanagement"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Returns the updated Retention"}}},"description":""}}}}}}
```

## DELETE /datamanagement/retentions/{id}/

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

## PATCH /datamanagement/retentions/{id}/

> \*\*Partial update an existing retention\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name\*\*: Name of the new retention.\
> \
> \*\*value  (required if unit not none)\*\*: Must be a positive integer if unit other than "none", otherwise it must be 0.\
> \
> \*\*unit\*\*: Choose between \['none', 'days', 'weeks', 'months', 'years'].\
> \
> \*\*maxVersion\*\*: Number of version to retain.\
> \
> \*\*comment\*\*: comment of the new retention.<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":{"/datamanagement/retentions/{id}/":{"patch":{"operationId":"retentionPartialUpdate","description":"**Partial update an existing retention**\n\n**Input payload with:**\n\n**name**: Name of the new retention.\n\n**value  (required if unit not none)**: Must be a positive integer if unit other than \"none\", otherwise it must be 0.\n\n**unit**: Choose between ['none', 'days', 'weeks', 'months', 'years'].\n\n**maxVersion**: Number of version to retain.\n\n**comment**: comment of the new retention.\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this retention.","required":true}],"tags":["datamanagement"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Returns the updated Retention"}}},"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/datamanagement.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.
