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

# Organizations

## GET /organizations/archiving-projects/

> Get a list of archiving organizations

```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":{"/organizations/archiving-projects/":{"get":{"operationId":"organizationsArchivingProjectsList","description":"Get a list of archiving organizations","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":["organizations"],"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 /organizations/archiving-projects/

> \
> \*\*Create a new archiving organization\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: Name of the new archiving organization.\
> \
> \*\*comment\*\*: optional comment.\
> \
> &#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":{"ArchivingOrganizationDetail":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"comment":{"type":"string","nullable":true},"parent":{"allOf":[{"$ref":"#/components/schemas/MigrationOrganizationShort"}],"readOnly":true},"tasks":{"type":"array","items":{"$ref":"#/components/schemas/Task"}}},"required":["creationDate","id","name","parent"]},"MigrationOrganizationShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","readOnly":true}},"required":["id","name"]},"Task":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":80},"description":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"type":{"$ref":"#/components/schemas/TaskFamilyAll"},"enabled":{"type":"string","readOnly":true},"param4":{"type":"string","nullable":true},"emailComment":{"type":"string","nullable":true},"advancedIntegrationOptions":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$"},"userGroup":{"$ref":"#/components/schemas/CapacityGroupAll"},"nextTask":{"type":"integer","nullable":true},"maxSimultaneousRuns":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"waitIfMaxSimultaneousRunsReached":{"type":"string","readOnly":true},"preProcessCommand":{"type":"string","nullable":true},"postProcessCommand":{"type":"string","nullable":true},"runLock":{"$ref":"#/components/schemas/RunLockAll"},"runTimeFrame":{"$ref":"#/components/schemas/TaskWindowAll"},"archive":{"$ref":"#/components/schemas/ArchiveAll"},"object":{"$ref":"#/components/schemas/ObjectAll"},"source":{"$ref":"#/components/schemas/HostAll"},"target":{"$ref":"#/components/schemas/HostAll"},"taskOrganization":{"$ref":"#/components/schemas/TaskOrganizationAll"},"archiveOrganization":{"$ref":"#/components/schemas/ArchiveOrganizationAll"},"archivePolicy":{"$ref":"#/components/schemas/ArchivePolicyAll"},"secondArchivePolicy":{"$ref":"#/components/schemas/ArchivePolicyAll"},"migrationReportDigestType":{"type":"string","readOnly":true}},"required":["creationDate","description","enabled","id","migrationReportDigestType","name","type","waitIfMaxSimultaneousRunsReached"]},"TaskFamilyAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":40},"creationDate":{"type":"string","format":"date-time","readOnly":true},"lib":{"type":"string","maxLength":256},"module":{"type":"string","maxLength":80},"sendEnv":{"type":"string","nullable":true,"maxLength":256},"sendArgv":{"type":"string","nullable":true,"maxLength":256},"MultiExec":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" multi exec"},"CanExecGui":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" can exec gui"},"CanCancelIfmax":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" can cancel ifmax"},"nbExecByDefault":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"CanSched":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" can sched"},"CanTemplate":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" can template"},"GenJob":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" gen job"},"minVerAgt":{"type":"string","nullable":true,"maxLength":15},"minVerSrv":{"type":"string","nullable":true,"maxLength":15},"JobActionType":{"nullable":true,"title":" job action type","minimum":-2147483648,"maximum":2147483647,"oneOf":[{"$ref":"#/components/schemas/_jobActionTypeEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"RunServer":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" run server"},"RunAsTemplate":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" run as template"},"GenReport":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" gen report"}},"required":["CanCancelIfmax","CanExecGui","CanSched","CanTemplate","GenJob","MultiExec","creationDate","id","lib","module","name","nbExecByDefault"]},"_jobActionTypeEnum":{"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,34,35,36,37,38,39,40,41,42,43],"type":"integer","description":"* `1` - Archiving\n* `2` - Retrieval\n* `3` - Validate\n* `4` - Task\n* `5` - Retention\n* `6` - Content Indexing\n* `7` - Metadata\n* `8` - Media Stream Duplication\n* `9` - Media Deletion\n* `10` - Media Recycling\n* `11` - Media Scratch\n* `12` - Media Ejection\n* `13` - Drive Diagnostic\n* `14` - Drive Performance\n* `15` - AER Collect\n* `16` - Amm Scan Device\n* `17` - Drive Umount\n* `18` - Storage Manager Maintenance\n* `19` - LTFS Change Volume Name\n* `20` - Copy\n* `21` - Catalog Ingest\n* `22` - Video Transcoding\n* `23` - Media Mount\n* `24` - PreProcessing\n* `25` - Move\n* `26` - Delete\n* `27` - Create Directory\n* `28` - Rename\n* `29` - Library Scan Unknown Media\n* `30` - Synchronization\n* `34` - Media Verify\n* `35` - Storage Tiering\n* `36` - Synchronization Digest\n* `37` - LTFS Change Volume Lock State\n* `38` - Intelligent Video Tagging\n* `39` - AMM Optimization With Cache\n* `40` - File Storage Container To Tape\n* `41` - Erasure Coding\n* `42` - Media Build\n* `43` - Repository To Repository"},"NullEnum":{"enum":[null]},"CapacityGroupAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"comment":{"type":"string","nullable":true,"maxLength":512}},"required":["creationDate","id","name"]},"RunLockAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"maxSimultaneousRuns":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"comment":{"type":"string","nullable":true,"maxLength":512}},"required":["creationDate","id","maxSimultaneousRuns","name"]},"TaskWindowAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true,"maxLength":512}},"required":["creationDate","id","name"]},"ArchiveAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","pattern":"[/\\u005c:]","maxLength":256},"comment":{"type":"string","nullable":true,"maxLength":512},"creationDate":{"type":"string","format":"date-time","readOnly":true},"Type":{"nullable":true,"title":" type","maximum":100,"exclusiveMaximum":true,"minimum":-100,"exclusiveMinimum":true,"oneOf":[{"$ref":"#/components/schemas/_typeA48Enum"},{"$ref":"#/components/schemas/NullEnum"}]},"Mode":{"nullable":true,"title":" mode","minimum":-2147483648,"maximum":2147483647,"oneOf":[{"$ref":"#/components/schemas/_modeEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"volumeQuota":{"type":"string","format":"decimal","pattern":"^-?\\d{0,18}(?:\\.\\d{0,0})?$","nullable":true},"object":{"type":"integer","nullable":true},"owner":{"type":"integer","nullable":true},"objectGroup":{"type":"integer","nullable":true},"organization":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"_typeA48Enum":{"enum":[1,2,4],"type":"integer","description":"* `1` - user\n* `2` - project\n* `4` - synchro"},"_modeEnum":{"enum":[0,1,2],"type":"integer","description":"* `0` - archiving\n* `1` - backup\n* `2` - by setting"},"ObjectAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":400},"creationDate":{"type":"string","format":"date-time","readOnly":true},"parent":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$"},"Type":{"allOf":[{"$ref":"#/components/schemas/ObjectAll_typeEnum"}],"title":" type","maximum":10,"exclusiveMaximum":true,"minimum":-10,"exclusiveMinimum":true},"LikeDir":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","nullable":true,"title":" like dir"},"BundleType":{"allOf":[{"$ref":"#/components/schemas/_bundleTypeEnum"}],"title":" bundle type","maximum":1000,"exclusiveMaximum":true,"minimum":-1000,"exclusiveMinimum":true},"IsLink":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" is link"},"HasLink":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" has link"},"Status":{"allOf":[{"$ref":"#/components/schemas/ObjectAll_statusEnum"}],"title":" status","maximum":100,"exclusiveMaximum":true,"minimum":-100,"exclusiveMinimum":true},"Mask":{"allOf":[{"$ref":"#/components/schemas/_maskEnum"}],"title":" mask","minimum":-2147483648,"maximum":2147483647},"archive":{"type":"integer"}},"required":["Type","archive","creationDate","id","name","parent"]},"ObjectAll_typeEnum":{"enum":[0,1,2,3,4,5,9],"type":"integer","description":"* `0` - ROOT\n* `1` - FILE\n* `2` - DIR\n* `3` - FOLDER\n* `4` - SYMLINK\n* `5` - DEVICE\n* `9` - DELETED"},"_bundleTypeEnum":{"enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18],"type":"integer","description":"* `0` - None\n* `1` - fcp\n* `2` - interplay masterclip\n* `3` - interplay sequence\n* `4` - interplay subclip\n* `5` - interplay group\n* `6` - interplay motioneffect\n* `7` - interplay effect\n* `8` - interplay rendereffect\n* `9` - fcs fcp\n* `10` - fcs production\n* `11` - db backup maxdb\n* `12` - db backup pg\n* `13` - db backup full\n* `14` - db backup inc\n* `15` - db backup log\n* `16` - db recover scripts\n* `17` - interplay stereo masterclip\n* `18` - interplay stereo subclip"},"ObjectAll_statusEnum":{"enum":[0,1],"type":"integer","description":"* `0` - none\n* `1` - stub"},"_maskEnum":{"enum":[1,2],"type":"integer","description":"* `1` - has snapstor\n* `2` - is gutter"},"HostAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true,"maxLength":512},"HostType":{"allOf":[{"$ref":"#/components/schemas/_hostTypeEnum"}],"title":" host type","maximum":100,"exclusiveMaximum":true,"minimum":-100,"exclusiveMinimum":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"HTypeWindows":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" h type windows"},"HTypeUnix":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" h type unix"},"agtAasWindows":{"type":"string","nullable":true,"maxLength":256},"agtAasUnix":{"type":"string","nullable":true,"maxLength":256},"SharedfsType":{"allOf":[{"$ref":"#/components/schemas/_sharedfsTypeEnum"}],"title":" sharedfs type","minimum":-2147483648,"maximum":2147483647},"NasType":{"allOf":[{"$ref":"#/components/schemas/_nasTypeEnum"}],"title":" nas type","minimum":-2147483648,"maximum":2147483647},"gatewayUnix":{"type":"string","nullable":true,"maxLength":256},"gatewayWindows":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationUrl":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationUser":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationPassword":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationCertificate":{"type":"string","nullable":true},"advancedIntegrationMaxNumberOfFastscan":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"maximumParallelJobs":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"advancedIntegrationUrl2":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationUser2":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationPassword2":{"type":"string","nullable":true,"maxLength":256},"AllowCrossPlatform":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" allow cross platform"},"advancedIntegrationApiAccessZone":{"type":"string","nullable":true,"maxLength":256},"AdvancedIntegrationTrustedSsl":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" advanced integration trusted ssl"},"cnxUser":{"type":"string","nullable":true,"maxLength":256},"cnxPassword":{"type":"string","nullable":true,"maxLength":256},"hFsApiCapmask":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$"},"gwWindowsUser":{"type":"string","nullable":true,"maxLength":256},"gwWindowsPassword":{"type":"string","nullable":true,"maxLength":256},"gwUnixUser":{"type":"string","nullable":true,"maxLength":256},"gwUnixPassword":{"type":"string","nullable":true,"maxLength":256},"objectGroup":{"type":"integer","nullable":true},"organization":{"type":"integer","nullable":true},"storageManagerContainer":{"type":"integer","nullable":true}},"required":["HostType","creationDate","id","name"]},"_hostTypeEnum":{"enum":[1,2,4,8,16,18,32],"type":"integer","description":"* `1` - Agent\n* `2` - NAS Agent\n* `4` - Pool\n* `8` - Shared File System\n* `16` - NAS\n* `18` - NASX\n* `32` - Host from SMC"},"_sharedfsTypeEnum":{"enum":[0,1,2,4],"type":"integer","description":"* `0` - GPFS\n* `1` - LUSTRE\n* `2` - WEKAFS\n* `4` - PANFS"},"_nasTypeEnum":{"enum":[0,1,2,3,4,5,6,7,8,9,10,12,13,14,15,16],"type":"integer","description":"* `0` - OTHER\n* `1` - CELERRA\n* `2` - NETAPP\n* `3` - ISILON\n* `4` - BLUEARC\n* `5` - UNITY\n* `6` - PANZURA\n* `7` - PANASAS\n* `8` - QUMULO\n* `9` - OCEANSTOR\n* `10` - NUTANIX\n* `12` - VAST\n* `13` - FLASHARRAY\n* `14` - FLASHBLADE\n* `15` - AZURE\n* `16` - AZURE_NETAPP"},"TaskOrganizationAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"parent":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"ArchiveOrganizationAll":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"parent":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"ArchivePolicyAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true},"Status":{"allOf":[{"$ref":"#/components/schemas/ArchivePolicyAll_statusEnum"}],"title":" status","minimum":-2147483648,"maximum":2147483647},"creationDate":{"type":"string","format":"date-time","readOnly":true},"ReduceImpactOnSource":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","nullable":true,"title":" reduce impact on source"},"retention":{"type":"integer","nullable":true},"deduplicationReference":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"ArchivePolicyAll_statusEnum":{"enum":[1,2],"type":"integer","description":"* `1` - online\n* `2` - suspended"}}},"paths":{"/organizations/archiving-projects/":{"post":{"operationId":"organizationBackupCreate","description":"\n**Create a new archiving organization**\n\n**Input payload with:**\n\n**name (required)**: Name of the new archiving organization.\n\n**comment**: optional comment.\n\n                ","tags":["organizations"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchivingOrganizationDetail"}}},"description":""}}}}}}
```

## GET /organizations/archiving-projects/{id}/

> Get an existing archiving organization

```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":{"/organizations/archiving-projects/{id}/":{"get":{"operationId":"organizationArchivingRetrieve","description":"Get an existing archiving organization","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this organization.","required":true}],"tags":["organizations"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## PUT /organizations/archiving-projects/{id}/

> \
> \*\*Update an existing archiving organization\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: New name of the archiving organization\*\*\
> \
> \*\*comment\*\*: optional comment.\
> \
> &#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":{"ArchivingOrganizationDetail":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"comment":{"type":"string","nullable":true},"parent":{"allOf":[{"$ref":"#/components/schemas/MigrationOrganizationShort"}],"readOnly":true},"tasks":{"type":"array","items":{"$ref":"#/components/schemas/Task"}}},"required":["creationDate","id","name","parent"]},"MigrationOrganizationShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","readOnly":true}},"required":["id","name"]},"Task":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":80},"description":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"type":{"$ref":"#/components/schemas/TaskFamilyAll"},"enabled":{"type":"string","readOnly":true},"param4":{"type":"string","nullable":true},"emailComment":{"type":"string","nullable":true},"advancedIntegrationOptions":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$"},"userGroup":{"$ref":"#/components/schemas/CapacityGroupAll"},"nextTask":{"type":"integer","nullable":true},"maxSimultaneousRuns":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"waitIfMaxSimultaneousRunsReached":{"type":"string","readOnly":true},"preProcessCommand":{"type":"string","nullable":true},"postProcessCommand":{"type":"string","nullable":true},"runLock":{"$ref":"#/components/schemas/RunLockAll"},"runTimeFrame":{"$ref":"#/components/schemas/TaskWindowAll"},"archive":{"$ref":"#/components/schemas/ArchiveAll"},"object":{"$ref":"#/components/schemas/ObjectAll"},"source":{"$ref":"#/components/schemas/HostAll"},"target":{"$ref":"#/components/schemas/HostAll"},"taskOrganization":{"$ref":"#/components/schemas/TaskOrganizationAll"},"archiveOrganization":{"$ref":"#/components/schemas/ArchiveOrganizationAll"},"archivePolicy":{"$ref":"#/components/schemas/ArchivePolicyAll"},"secondArchivePolicy":{"$ref":"#/components/schemas/ArchivePolicyAll"},"migrationReportDigestType":{"type":"string","readOnly":true}},"required":["creationDate","description","enabled","id","migrationReportDigestType","name","type","waitIfMaxSimultaneousRunsReached"]},"TaskFamilyAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":40},"creationDate":{"type":"string","format":"date-time","readOnly":true},"lib":{"type":"string","maxLength":256},"module":{"type":"string","maxLength":80},"sendEnv":{"type":"string","nullable":true,"maxLength":256},"sendArgv":{"type":"string","nullable":true,"maxLength":256},"MultiExec":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" multi exec"},"CanExecGui":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" can exec gui"},"CanCancelIfmax":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" can cancel ifmax"},"nbExecByDefault":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"CanSched":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" can sched"},"CanTemplate":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" can template"},"GenJob":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" gen job"},"minVerAgt":{"type":"string","nullable":true,"maxLength":15},"minVerSrv":{"type":"string","nullable":true,"maxLength":15},"JobActionType":{"nullable":true,"title":" job action type","minimum":-2147483648,"maximum":2147483647,"oneOf":[{"$ref":"#/components/schemas/_jobActionTypeEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"RunServer":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" run server"},"RunAsTemplate":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" run as template"},"GenReport":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" gen report"}},"required":["CanCancelIfmax","CanExecGui","CanSched","CanTemplate","GenJob","MultiExec","creationDate","id","lib","module","name","nbExecByDefault"]},"_jobActionTypeEnum":{"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,34,35,36,37,38,39,40,41,42,43],"type":"integer","description":"* `1` - Archiving\n* `2` - Retrieval\n* `3` - Validate\n* `4` - Task\n* `5` - Retention\n* `6` - Content Indexing\n* `7` - Metadata\n* `8` - Media Stream Duplication\n* `9` - Media Deletion\n* `10` - Media Recycling\n* `11` - Media Scratch\n* `12` - Media Ejection\n* `13` - Drive Diagnostic\n* `14` - Drive Performance\n* `15` - AER Collect\n* `16` - Amm Scan Device\n* `17` - Drive Umount\n* `18` - Storage Manager Maintenance\n* `19` - LTFS Change Volume Name\n* `20` - Copy\n* `21` - Catalog Ingest\n* `22` - Video Transcoding\n* `23` - Media Mount\n* `24` - PreProcessing\n* `25` - Move\n* `26` - Delete\n* `27` - Create Directory\n* `28` - Rename\n* `29` - Library Scan Unknown Media\n* `30` - Synchronization\n* `34` - Media Verify\n* `35` - Storage Tiering\n* `36` - Synchronization Digest\n* `37` - LTFS Change Volume Lock State\n* `38` - Intelligent Video Tagging\n* `39` - AMM Optimization With Cache\n* `40` - File Storage Container To Tape\n* `41` - Erasure Coding\n* `42` - Media Build\n* `43` - Repository To Repository"},"NullEnum":{"enum":[null]},"CapacityGroupAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"comment":{"type":"string","nullable":true,"maxLength":512}},"required":["creationDate","id","name"]},"RunLockAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"maxSimultaneousRuns":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"comment":{"type":"string","nullable":true,"maxLength":512}},"required":["creationDate","id","maxSimultaneousRuns","name"]},"TaskWindowAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true,"maxLength":512}},"required":["creationDate","id","name"]},"ArchiveAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","pattern":"[/\\u005c:]","maxLength":256},"comment":{"type":"string","nullable":true,"maxLength":512},"creationDate":{"type":"string","format":"date-time","readOnly":true},"Type":{"nullable":true,"title":" type","maximum":100,"exclusiveMaximum":true,"minimum":-100,"exclusiveMinimum":true,"oneOf":[{"$ref":"#/components/schemas/_typeA48Enum"},{"$ref":"#/components/schemas/NullEnum"}]},"Mode":{"nullable":true,"title":" mode","minimum":-2147483648,"maximum":2147483647,"oneOf":[{"$ref":"#/components/schemas/_modeEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"volumeQuota":{"type":"string","format":"decimal","pattern":"^-?\\d{0,18}(?:\\.\\d{0,0})?$","nullable":true},"object":{"type":"integer","nullable":true},"owner":{"type":"integer","nullable":true},"objectGroup":{"type":"integer","nullable":true},"organization":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"_typeA48Enum":{"enum":[1,2,4],"type":"integer","description":"* `1` - user\n* `2` - project\n* `4` - synchro"},"_modeEnum":{"enum":[0,1,2],"type":"integer","description":"* `0` - archiving\n* `1` - backup\n* `2` - by setting"},"ObjectAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":400},"creationDate":{"type":"string","format":"date-time","readOnly":true},"parent":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$"},"Type":{"allOf":[{"$ref":"#/components/schemas/ObjectAll_typeEnum"}],"title":" type","maximum":10,"exclusiveMaximum":true,"minimum":-10,"exclusiveMinimum":true},"LikeDir":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","nullable":true,"title":" like dir"},"BundleType":{"allOf":[{"$ref":"#/components/schemas/_bundleTypeEnum"}],"title":" bundle type","maximum":1000,"exclusiveMaximum":true,"minimum":-1000,"exclusiveMinimum":true},"IsLink":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" is link"},"HasLink":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" has link"},"Status":{"allOf":[{"$ref":"#/components/schemas/ObjectAll_statusEnum"}],"title":" status","maximum":100,"exclusiveMaximum":true,"minimum":-100,"exclusiveMinimum":true},"Mask":{"allOf":[{"$ref":"#/components/schemas/_maskEnum"}],"title":" mask","minimum":-2147483648,"maximum":2147483647},"archive":{"type":"integer"}},"required":["Type","archive","creationDate","id","name","parent"]},"ObjectAll_typeEnum":{"enum":[0,1,2,3,4,5,9],"type":"integer","description":"* `0` - ROOT\n* `1` - FILE\n* `2` - DIR\n* `3` - FOLDER\n* `4` - SYMLINK\n* `5` - DEVICE\n* `9` - DELETED"},"_bundleTypeEnum":{"enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18],"type":"integer","description":"* `0` - None\n* `1` - fcp\n* `2` - interplay masterclip\n* `3` - interplay sequence\n* `4` - interplay subclip\n* `5` - interplay group\n* `6` - interplay motioneffect\n* `7` - interplay effect\n* `8` - interplay rendereffect\n* `9` - fcs fcp\n* `10` - fcs production\n* `11` - db backup maxdb\n* `12` - db backup pg\n* `13` - db backup full\n* `14` - db backup inc\n* `15` - db backup log\n* `16` - db recover scripts\n* `17` - interplay stereo masterclip\n* `18` - interplay stereo subclip"},"ObjectAll_statusEnum":{"enum":[0,1],"type":"integer","description":"* `0` - none\n* `1` - stub"},"_maskEnum":{"enum":[1,2],"type":"integer","description":"* `1` - has snapstor\n* `2` - is gutter"},"HostAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true,"maxLength":512},"HostType":{"allOf":[{"$ref":"#/components/schemas/_hostTypeEnum"}],"title":" host type","maximum":100,"exclusiveMaximum":true,"minimum":-100,"exclusiveMinimum":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"HTypeWindows":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" h type windows"},"HTypeUnix":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" h type unix"},"agtAasWindows":{"type":"string","nullable":true,"maxLength":256},"agtAasUnix":{"type":"string","nullable":true,"maxLength":256},"SharedfsType":{"allOf":[{"$ref":"#/components/schemas/_sharedfsTypeEnum"}],"title":" sharedfs type","minimum":-2147483648,"maximum":2147483647},"NasType":{"allOf":[{"$ref":"#/components/schemas/_nasTypeEnum"}],"title":" nas type","minimum":-2147483648,"maximum":2147483647},"gatewayUnix":{"type":"string","nullable":true,"maxLength":256},"gatewayWindows":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationUrl":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationUser":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationPassword":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationCertificate":{"type":"string","nullable":true},"advancedIntegrationMaxNumberOfFastscan":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"maximumParallelJobs":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"advancedIntegrationUrl2":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationUser2":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationPassword2":{"type":"string","nullable":true,"maxLength":256},"AllowCrossPlatform":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" allow cross platform"},"advancedIntegrationApiAccessZone":{"type":"string","nullable":true,"maxLength":256},"AdvancedIntegrationTrustedSsl":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" advanced integration trusted ssl"},"cnxUser":{"type":"string","nullable":true,"maxLength":256},"cnxPassword":{"type":"string","nullable":true,"maxLength":256},"hFsApiCapmask":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$"},"gwWindowsUser":{"type":"string","nullable":true,"maxLength":256},"gwWindowsPassword":{"type":"string","nullable":true,"maxLength":256},"gwUnixUser":{"type":"string","nullable":true,"maxLength":256},"gwUnixPassword":{"type":"string","nullable":true,"maxLength":256},"objectGroup":{"type":"integer","nullable":true},"organization":{"type":"integer","nullable":true},"storageManagerContainer":{"type":"integer","nullable":true}},"required":["HostType","creationDate","id","name"]},"_hostTypeEnum":{"enum":[1,2,4,8,16,18,32],"type":"integer","description":"* `1` - Agent\n* `2` - NAS Agent\n* `4` - Pool\n* `8` - Shared File System\n* `16` - NAS\n* `18` - NASX\n* `32` - Host from SMC"},"_sharedfsTypeEnum":{"enum":[0,1,2,4],"type":"integer","description":"* `0` - GPFS\n* `1` - LUSTRE\n* `2` - WEKAFS\n* `4` - PANFS"},"_nasTypeEnum":{"enum":[0,1,2,3,4,5,6,7,8,9,10,12,13,14,15,16],"type":"integer","description":"* `0` - OTHER\n* `1` - CELERRA\n* `2` - NETAPP\n* `3` - ISILON\n* `4` - BLUEARC\n* `5` - UNITY\n* `6` - PANZURA\n* `7` - PANASAS\n* `8` - QUMULO\n* `9` - OCEANSTOR\n* `10` - NUTANIX\n* `12` - VAST\n* `13` - FLASHARRAY\n* `14` - FLASHBLADE\n* `15` - AZURE\n* `16` - AZURE_NETAPP"},"TaskOrganizationAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"parent":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"ArchiveOrganizationAll":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"parent":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"ArchivePolicyAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true},"Status":{"allOf":[{"$ref":"#/components/schemas/ArchivePolicyAll_statusEnum"}],"title":" status","minimum":-2147483648,"maximum":2147483647},"creationDate":{"type":"string","format":"date-time","readOnly":true},"ReduceImpactOnSource":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","nullable":true,"title":" reduce impact on source"},"retention":{"type":"integer","nullable":true},"deduplicationReference":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"ArchivePolicyAll_statusEnum":{"enum":[1,2],"type":"integer","description":"* `1` - online\n* `2` - suspended"}}},"paths":{"/organizations/archiving-projects/{id}/":{"put":{"operationId":"organizationBackupUpdate","description":"\n**Update an existing archiving organization**\n\n**Input payload with:**\n\n**name (required)**: New name of the archiving organization**\n\n**comment**: optional comment.\n\n                ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this project.","required":true}],"tags":["organizations"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArchivingOrganizationDetail"}}},"description":""}}}}}}
```

## DELETE /organizations/archiving-projects/{id}/

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

## GET /organizations/backup-projects/

> Get a list of backup organizations

```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":{"/organizations/backup-projects/":{"get":{"operationId":"organizationsBackupProjectsList","description":"Get a list of backup organizations","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":["organizations"],"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 /organizations/backup-projects/

> \
> \*\*Create a new backup organization\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: Name of the new backup organization.\
> \
> \*\*comment\*\*: optional comment.\
> &#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":{"BackupOrganizationDetail":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"comment":{"type":"string","nullable":true},"parent":{"allOf":[{"$ref":"#/components/schemas/MigrationOrganizationShort"}],"readOnly":true},"tasks":{"type":"array","items":{"$ref":"#/components/schemas/Task"}}},"required":["creationDate","id","name","parent"]},"MigrationOrganizationShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","readOnly":true}},"required":["id","name"]},"Task":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":80},"description":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"type":{"$ref":"#/components/schemas/TaskFamilyAll"},"enabled":{"type":"string","readOnly":true},"param4":{"type":"string","nullable":true},"emailComment":{"type":"string","nullable":true},"advancedIntegrationOptions":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$"},"userGroup":{"$ref":"#/components/schemas/CapacityGroupAll"},"nextTask":{"type":"integer","nullable":true},"maxSimultaneousRuns":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"waitIfMaxSimultaneousRunsReached":{"type":"string","readOnly":true},"preProcessCommand":{"type":"string","nullable":true},"postProcessCommand":{"type":"string","nullable":true},"runLock":{"$ref":"#/components/schemas/RunLockAll"},"runTimeFrame":{"$ref":"#/components/schemas/TaskWindowAll"},"archive":{"$ref":"#/components/schemas/ArchiveAll"},"object":{"$ref":"#/components/schemas/ObjectAll"},"source":{"$ref":"#/components/schemas/HostAll"},"target":{"$ref":"#/components/schemas/HostAll"},"taskOrganization":{"$ref":"#/components/schemas/TaskOrganizationAll"},"archiveOrganization":{"$ref":"#/components/schemas/ArchiveOrganizationAll"},"archivePolicy":{"$ref":"#/components/schemas/ArchivePolicyAll"},"secondArchivePolicy":{"$ref":"#/components/schemas/ArchivePolicyAll"},"migrationReportDigestType":{"type":"string","readOnly":true}},"required":["creationDate","description","enabled","id","migrationReportDigestType","name","type","waitIfMaxSimultaneousRunsReached"]},"TaskFamilyAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":40},"creationDate":{"type":"string","format":"date-time","readOnly":true},"lib":{"type":"string","maxLength":256},"module":{"type":"string","maxLength":80},"sendEnv":{"type":"string","nullable":true,"maxLength":256},"sendArgv":{"type":"string","nullable":true,"maxLength":256},"MultiExec":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" multi exec"},"CanExecGui":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" can exec gui"},"CanCancelIfmax":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" can cancel ifmax"},"nbExecByDefault":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"CanSched":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" can sched"},"CanTemplate":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" can template"},"GenJob":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" gen job"},"minVerAgt":{"type":"string","nullable":true,"maxLength":15},"minVerSrv":{"type":"string","nullable":true,"maxLength":15},"JobActionType":{"nullable":true,"title":" job action type","minimum":-2147483648,"maximum":2147483647,"oneOf":[{"$ref":"#/components/schemas/_jobActionTypeEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"RunServer":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" run server"},"RunAsTemplate":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" run as template"},"GenReport":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" gen report"}},"required":["CanCancelIfmax","CanExecGui","CanSched","CanTemplate","GenJob","MultiExec","creationDate","id","lib","module","name","nbExecByDefault"]},"_jobActionTypeEnum":{"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,34,35,36,37,38,39,40,41,42,43],"type":"integer","description":"* `1` - Archiving\n* `2` - Retrieval\n* `3` - Validate\n* `4` - Task\n* `5` - Retention\n* `6` - Content Indexing\n* `7` - Metadata\n* `8` - Media Stream Duplication\n* `9` - Media Deletion\n* `10` - Media Recycling\n* `11` - Media Scratch\n* `12` - Media Ejection\n* `13` - Drive Diagnostic\n* `14` - Drive Performance\n* `15` - AER Collect\n* `16` - Amm Scan Device\n* `17` - Drive Umount\n* `18` - Storage Manager Maintenance\n* `19` - LTFS Change Volume Name\n* `20` - Copy\n* `21` - Catalog Ingest\n* `22` - Video Transcoding\n* `23` - Media Mount\n* `24` - PreProcessing\n* `25` - Move\n* `26` - Delete\n* `27` - Create Directory\n* `28` - Rename\n* `29` - Library Scan Unknown Media\n* `30` - Synchronization\n* `34` - Media Verify\n* `35` - Storage Tiering\n* `36` - Synchronization Digest\n* `37` - LTFS Change Volume Lock State\n* `38` - Intelligent Video Tagging\n* `39` - AMM Optimization With Cache\n* `40` - File Storage Container To Tape\n* `41` - Erasure Coding\n* `42` - Media Build\n* `43` - Repository To Repository"},"NullEnum":{"enum":[null]},"CapacityGroupAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"comment":{"type":"string","nullable":true,"maxLength":512}},"required":["creationDate","id","name"]},"RunLockAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"maxSimultaneousRuns":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"comment":{"type":"string","nullable":true,"maxLength":512}},"required":["creationDate","id","maxSimultaneousRuns","name"]},"TaskWindowAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true,"maxLength":512}},"required":["creationDate","id","name"]},"ArchiveAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","pattern":"[/\\u005c:]","maxLength":256},"comment":{"type":"string","nullable":true,"maxLength":512},"creationDate":{"type":"string","format":"date-time","readOnly":true},"Type":{"nullable":true,"title":" type","maximum":100,"exclusiveMaximum":true,"minimum":-100,"exclusiveMinimum":true,"oneOf":[{"$ref":"#/components/schemas/_typeA48Enum"},{"$ref":"#/components/schemas/NullEnum"}]},"Mode":{"nullable":true,"title":" mode","minimum":-2147483648,"maximum":2147483647,"oneOf":[{"$ref":"#/components/schemas/_modeEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"volumeQuota":{"type":"string","format":"decimal","pattern":"^-?\\d{0,18}(?:\\.\\d{0,0})?$","nullable":true},"object":{"type":"integer","nullable":true},"owner":{"type":"integer","nullable":true},"objectGroup":{"type":"integer","nullable":true},"organization":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"_typeA48Enum":{"enum":[1,2,4],"type":"integer","description":"* `1` - user\n* `2` - project\n* `4` - synchro"},"_modeEnum":{"enum":[0,1,2],"type":"integer","description":"* `0` - archiving\n* `1` - backup\n* `2` - by setting"},"ObjectAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":400},"creationDate":{"type":"string","format":"date-time","readOnly":true},"parent":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$"},"Type":{"allOf":[{"$ref":"#/components/schemas/ObjectAll_typeEnum"}],"title":" type","maximum":10,"exclusiveMaximum":true,"minimum":-10,"exclusiveMinimum":true},"LikeDir":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","nullable":true,"title":" like dir"},"BundleType":{"allOf":[{"$ref":"#/components/schemas/_bundleTypeEnum"}],"title":" bundle type","maximum":1000,"exclusiveMaximum":true,"minimum":-1000,"exclusiveMinimum":true},"IsLink":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" is link"},"HasLink":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" has link"},"Status":{"allOf":[{"$ref":"#/components/schemas/ObjectAll_statusEnum"}],"title":" status","maximum":100,"exclusiveMaximum":true,"minimum":-100,"exclusiveMinimum":true},"Mask":{"allOf":[{"$ref":"#/components/schemas/_maskEnum"}],"title":" mask","minimum":-2147483648,"maximum":2147483647},"archive":{"type":"integer"}},"required":["Type","archive","creationDate","id","name","parent"]},"ObjectAll_typeEnum":{"enum":[0,1,2,3,4,5,9],"type":"integer","description":"* `0` - ROOT\n* `1` - FILE\n* `2` - DIR\n* `3` - FOLDER\n* `4` - SYMLINK\n* `5` - DEVICE\n* `9` - DELETED"},"_bundleTypeEnum":{"enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18],"type":"integer","description":"* `0` - None\n* `1` - fcp\n* `2` - interplay masterclip\n* `3` - interplay sequence\n* `4` - interplay subclip\n* `5` - interplay group\n* `6` - interplay motioneffect\n* `7` - interplay effect\n* `8` - interplay rendereffect\n* `9` - fcs fcp\n* `10` - fcs production\n* `11` - db backup maxdb\n* `12` - db backup pg\n* `13` - db backup full\n* `14` - db backup inc\n* `15` - db backup log\n* `16` - db recover scripts\n* `17` - interplay stereo masterclip\n* `18` - interplay stereo subclip"},"ObjectAll_statusEnum":{"enum":[0,1],"type":"integer","description":"* `0` - none\n* `1` - stub"},"_maskEnum":{"enum":[1,2],"type":"integer","description":"* `1` - has snapstor\n* `2` - is gutter"},"HostAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true,"maxLength":512},"HostType":{"allOf":[{"$ref":"#/components/schemas/_hostTypeEnum"}],"title":" host type","maximum":100,"exclusiveMaximum":true,"minimum":-100,"exclusiveMinimum":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"HTypeWindows":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" h type windows"},"HTypeUnix":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" h type unix"},"agtAasWindows":{"type":"string","nullable":true,"maxLength":256},"agtAasUnix":{"type":"string","nullable":true,"maxLength":256},"SharedfsType":{"allOf":[{"$ref":"#/components/schemas/_sharedfsTypeEnum"}],"title":" sharedfs type","minimum":-2147483648,"maximum":2147483647},"NasType":{"allOf":[{"$ref":"#/components/schemas/_nasTypeEnum"}],"title":" nas type","minimum":-2147483648,"maximum":2147483647},"gatewayUnix":{"type":"string","nullable":true,"maxLength":256},"gatewayWindows":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationUrl":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationUser":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationPassword":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationCertificate":{"type":"string","nullable":true},"advancedIntegrationMaxNumberOfFastscan":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"maximumParallelJobs":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"advancedIntegrationUrl2":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationUser2":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationPassword2":{"type":"string","nullable":true,"maxLength":256},"AllowCrossPlatform":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" allow cross platform"},"advancedIntegrationApiAccessZone":{"type":"string","nullable":true,"maxLength":256},"AdvancedIntegrationTrustedSsl":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" advanced integration trusted ssl"},"cnxUser":{"type":"string","nullable":true,"maxLength":256},"cnxPassword":{"type":"string","nullable":true,"maxLength":256},"hFsApiCapmask":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$"},"gwWindowsUser":{"type":"string","nullable":true,"maxLength":256},"gwWindowsPassword":{"type":"string","nullable":true,"maxLength":256},"gwUnixUser":{"type":"string","nullable":true,"maxLength":256},"gwUnixPassword":{"type":"string","nullable":true,"maxLength":256},"objectGroup":{"type":"integer","nullable":true},"organization":{"type":"integer","nullable":true},"storageManagerContainer":{"type":"integer","nullable":true}},"required":["HostType","creationDate","id","name"]},"_hostTypeEnum":{"enum":[1,2,4,8,16,18,32],"type":"integer","description":"* `1` - Agent\n* `2` - NAS Agent\n* `4` - Pool\n* `8` - Shared File System\n* `16` - NAS\n* `18` - NASX\n* `32` - Host from SMC"},"_sharedfsTypeEnum":{"enum":[0,1,2,4],"type":"integer","description":"* `0` - GPFS\n* `1` - LUSTRE\n* `2` - WEKAFS\n* `4` - PANFS"},"_nasTypeEnum":{"enum":[0,1,2,3,4,5,6,7,8,9,10,12,13,14,15,16],"type":"integer","description":"* `0` - OTHER\n* `1` - CELERRA\n* `2` - NETAPP\n* `3` - ISILON\n* `4` - BLUEARC\n* `5` - UNITY\n* `6` - PANZURA\n* `7` - PANASAS\n* `8` - QUMULO\n* `9` - OCEANSTOR\n* `10` - NUTANIX\n* `12` - VAST\n* `13` - FLASHARRAY\n* `14` - FLASHBLADE\n* `15` - AZURE\n* `16` - AZURE_NETAPP"},"TaskOrganizationAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"parent":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"ArchiveOrganizationAll":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"parent":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"ArchivePolicyAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true},"Status":{"allOf":[{"$ref":"#/components/schemas/ArchivePolicyAll_statusEnum"}],"title":" status","minimum":-2147483648,"maximum":2147483647},"creationDate":{"type":"string","format":"date-time","readOnly":true},"ReduceImpactOnSource":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","nullable":true,"title":" reduce impact on source"},"retention":{"type":"integer","nullable":true},"deduplicationReference":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"ArchivePolicyAll_statusEnum":{"enum":[1,2],"type":"integer","description":"* `1` - online\n* `2` - suspended"}}},"paths":{"/organizations/backup-projects/":{"post":{"operationId":"organizationBackupCreate2","description":"\n**Create a new backup organization**\n\n**Input payload with:**\n\n**name (required)**: Name of the new backup organization.\n\n**comment**: optional comment.\n                ","tags":["organizations"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BackupOrganizationDetail"}}},"description":""}}}}}}
```

## GET /organizations/backup-projects/{id}/

> Get an existing backup organization

```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":{"/organizations/backup-projects/{id}/":{"get":{"operationId":"organizationBackupRetrieve","description":"Get an existing backup organization","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this organization.","required":true}],"tags":["organizations"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## PUT /organizations/backup-projects/{id}/

> \
> \*\*Update an existing backup organization\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: New name of the backup organization.\
> \
> \*\*comment\*\*: optional comment.\
> \
> &#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":{"BackupOrganizationDetail":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"comment":{"type":"string","nullable":true},"parent":{"allOf":[{"$ref":"#/components/schemas/MigrationOrganizationShort"}],"readOnly":true},"tasks":{"type":"array","items":{"$ref":"#/components/schemas/Task"}}},"required":["creationDate","id","name","parent"]},"MigrationOrganizationShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","readOnly":true}},"required":["id","name"]},"Task":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":80},"description":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"type":{"$ref":"#/components/schemas/TaskFamilyAll"},"enabled":{"type":"string","readOnly":true},"param4":{"type":"string","nullable":true},"emailComment":{"type":"string","nullable":true},"advancedIntegrationOptions":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$"},"userGroup":{"$ref":"#/components/schemas/CapacityGroupAll"},"nextTask":{"type":"integer","nullable":true},"maxSimultaneousRuns":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"waitIfMaxSimultaneousRunsReached":{"type":"string","readOnly":true},"preProcessCommand":{"type":"string","nullable":true},"postProcessCommand":{"type":"string","nullable":true},"runLock":{"$ref":"#/components/schemas/RunLockAll"},"runTimeFrame":{"$ref":"#/components/schemas/TaskWindowAll"},"archive":{"$ref":"#/components/schemas/ArchiveAll"},"object":{"$ref":"#/components/schemas/ObjectAll"},"source":{"$ref":"#/components/schemas/HostAll"},"target":{"$ref":"#/components/schemas/HostAll"},"taskOrganization":{"$ref":"#/components/schemas/TaskOrganizationAll"},"archiveOrganization":{"$ref":"#/components/schemas/ArchiveOrganizationAll"},"archivePolicy":{"$ref":"#/components/schemas/ArchivePolicyAll"},"secondArchivePolicy":{"$ref":"#/components/schemas/ArchivePolicyAll"},"migrationReportDigestType":{"type":"string","readOnly":true}},"required":["creationDate","description","enabled","id","migrationReportDigestType","name","type","waitIfMaxSimultaneousRunsReached"]},"TaskFamilyAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":40},"creationDate":{"type":"string","format":"date-time","readOnly":true},"lib":{"type":"string","maxLength":256},"module":{"type":"string","maxLength":80},"sendEnv":{"type":"string","nullable":true,"maxLength":256},"sendArgv":{"type":"string","nullable":true,"maxLength":256},"MultiExec":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" multi exec"},"CanExecGui":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" can exec gui"},"CanCancelIfmax":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" can cancel ifmax"},"nbExecByDefault":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"CanSched":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" can sched"},"CanTemplate":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" can template"},"GenJob":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" gen job"},"minVerAgt":{"type":"string","nullable":true,"maxLength":15},"minVerSrv":{"type":"string","nullable":true,"maxLength":15},"JobActionType":{"nullable":true,"title":" job action type","minimum":-2147483648,"maximum":2147483647,"oneOf":[{"$ref":"#/components/schemas/_jobActionTypeEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"RunServer":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" run server"},"RunAsTemplate":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" run as template"},"GenReport":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" gen report"}},"required":["CanCancelIfmax","CanExecGui","CanSched","CanTemplate","GenJob","MultiExec","creationDate","id","lib","module","name","nbExecByDefault"]},"_jobActionTypeEnum":{"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,34,35,36,37,38,39,40,41,42,43],"type":"integer","description":"* `1` - Archiving\n* `2` - Retrieval\n* `3` - Validate\n* `4` - Task\n* `5` - Retention\n* `6` - Content Indexing\n* `7` - Metadata\n* `8` - Media Stream Duplication\n* `9` - Media Deletion\n* `10` - Media Recycling\n* `11` - Media Scratch\n* `12` - Media Ejection\n* `13` - Drive Diagnostic\n* `14` - Drive Performance\n* `15` - AER Collect\n* `16` - Amm Scan Device\n* `17` - Drive Umount\n* `18` - Storage Manager Maintenance\n* `19` - LTFS Change Volume Name\n* `20` - Copy\n* `21` - Catalog Ingest\n* `22` - Video Transcoding\n* `23` - Media Mount\n* `24` - PreProcessing\n* `25` - Move\n* `26` - Delete\n* `27` - Create Directory\n* `28` - Rename\n* `29` - Library Scan Unknown Media\n* `30` - Synchronization\n* `34` - Media Verify\n* `35` - Storage Tiering\n* `36` - Synchronization Digest\n* `37` - LTFS Change Volume Lock State\n* `38` - Intelligent Video Tagging\n* `39` - AMM Optimization With Cache\n* `40` - File Storage Container To Tape\n* `41` - Erasure Coding\n* `42` - Media Build\n* `43` - Repository To Repository"},"NullEnum":{"enum":[null]},"CapacityGroupAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"comment":{"type":"string","nullable":true,"maxLength":512}},"required":["creationDate","id","name"]},"RunLockAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"maxSimultaneousRuns":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"comment":{"type":"string","nullable":true,"maxLength":512}},"required":["creationDate","id","maxSimultaneousRuns","name"]},"TaskWindowAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true,"maxLength":512}},"required":["creationDate","id","name"]},"ArchiveAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","pattern":"[/\\u005c:]","maxLength":256},"comment":{"type":"string","nullable":true,"maxLength":512},"creationDate":{"type":"string","format":"date-time","readOnly":true},"Type":{"nullable":true,"title":" type","maximum":100,"exclusiveMaximum":true,"minimum":-100,"exclusiveMinimum":true,"oneOf":[{"$ref":"#/components/schemas/_typeA48Enum"},{"$ref":"#/components/schemas/NullEnum"}]},"Mode":{"nullable":true,"title":" mode","minimum":-2147483648,"maximum":2147483647,"oneOf":[{"$ref":"#/components/schemas/_modeEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"volumeQuota":{"type":"string","format":"decimal","pattern":"^-?\\d{0,18}(?:\\.\\d{0,0})?$","nullable":true},"object":{"type":"integer","nullable":true},"owner":{"type":"integer","nullable":true},"objectGroup":{"type":"integer","nullable":true},"organization":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"_typeA48Enum":{"enum":[1,2,4],"type":"integer","description":"* `1` - user\n* `2` - project\n* `4` - synchro"},"_modeEnum":{"enum":[0,1,2],"type":"integer","description":"* `0` - archiving\n* `1` - backup\n* `2` - by setting"},"ObjectAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":400},"creationDate":{"type":"string","format":"date-time","readOnly":true},"parent":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$"},"Type":{"allOf":[{"$ref":"#/components/schemas/ObjectAll_typeEnum"}],"title":" type","maximum":10,"exclusiveMaximum":true,"minimum":-10,"exclusiveMinimum":true},"LikeDir":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","nullable":true,"title":" like dir"},"BundleType":{"allOf":[{"$ref":"#/components/schemas/_bundleTypeEnum"}],"title":" bundle type","maximum":1000,"exclusiveMaximum":true,"minimum":-1000,"exclusiveMinimum":true},"IsLink":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" is link"},"HasLink":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" has link"},"Status":{"allOf":[{"$ref":"#/components/schemas/ObjectAll_statusEnum"}],"title":" status","maximum":100,"exclusiveMaximum":true,"minimum":-100,"exclusiveMinimum":true},"Mask":{"allOf":[{"$ref":"#/components/schemas/_maskEnum"}],"title":" mask","minimum":-2147483648,"maximum":2147483647},"archive":{"type":"integer"}},"required":["Type","archive","creationDate","id","name","parent"]},"ObjectAll_typeEnum":{"enum":[0,1,2,3,4,5,9],"type":"integer","description":"* `0` - ROOT\n* `1` - FILE\n* `2` - DIR\n* `3` - FOLDER\n* `4` - SYMLINK\n* `5` - DEVICE\n* `9` - DELETED"},"_bundleTypeEnum":{"enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18],"type":"integer","description":"* `0` - None\n* `1` - fcp\n* `2` - interplay masterclip\n* `3` - interplay sequence\n* `4` - interplay subclip\n* `5` - interplay group\n* `6` - interplay motioneffect\n* `7` - interplay effect\n* `8` - interplay rendereffect\n* `9` - fcs fcp\n* `10` - fcs production\n* `11` - db backup maxdb\n* `12` - db backup pg\n* `13` - db backup full\n* `14` - db backup inc\n* `15` - db backup log\n* `16` - db recover scripts\n* `17` - interplay stereo masterclip\n* `18` - interplay stereo subclip"},"ObjectAll_statusEnum":{"enum":[0,1],"type":"integer","description":"* `0` - none\n* `1` - stub"},"_maskEnum":{"enum":[1,2],"type":"integer","description":"* `1` - has snapstor\n* `2` - is gutter"},"HostAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true,"maxLength":512},"HostType":{"allOf":[{"$ref":"#/components/schemas/_hostTypeEnum"}],"title":" host type","maximum":100,"exclusiveMaximum":true,"minimum":-100,"exclusiveMinimum":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"HTypeWindows":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" h type windows"},"HTypeUnix":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" h type unix"},"agtAasWindows":{"type":"string","nullable":true,"maxLength":256},"agtAasUnix":{"type":"string","nullable":true,"maxLength":256},"SharedfsType":{"allOf":[{"$ref":"#/components/schemas/_sharedfsTypeEnum"}],"title":" sharedfs type","minimum":-2147483648,"maximum":2147483647},"NasType":{"allOf":[{"$ref":"#/components/schemas/_nasTypeEnum"}],"title":" nas type","minimum":-2147483648,"maximum":2147483647},"gatewayUnix":{"type":"string","nullable":true,"maxLength":256},"gatewayWindows":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationUrl":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationUser":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationPassword":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationCertificate":{"type":"string","nullable":true},"advancedIntegrationMaxNumberOfFastscan":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"maximumParallelJobs":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"advancedIntegrationUrl2":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationUser2":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationPassword2":{"type":"string","nullable":true,"maxLength":256},"AllowCrossPlatform":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" allow cross platform"},"advancedIntegrationApiAccessZone":{"type":"string","nullable":true,"maxLength":256},"AdvancedIntegrationTrustedSsl":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" advanced integration trusted ssl"},"cnxUser":{"type":"string","nullable":true,"maxLength":256},"cnxPassword":{"type":"string","nullable":true,"maxLength":256},"hFsApiCapmask":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$"},"gwWindowsUser":{"type":"string","nullable":true,"maxLength":256},"gwWindowsPassword":{"type":"string","nullable":true,"maxLength":256},"gwUnixUser":{"type":"string","nullable":true,"maxLength":256},"gwUnixPassword":{"type":"string","nullable":true,"maxLength":256},"objectGroup":{"type":"integer","nullable":true},"organization":{"type":"integer","nullable":true},"storageManagerContainer":{"type":"integer","nullable":true}},"required":["HostType","creationDate","id","name"]},"_hostTypeEnum":{"enum":[1,2,4,8,16,18,32],"type":"integer","description":"* `1` - Agent\n* `2` - NAS Agent\n* `4` - Pool\n* `8` - Shared File System\n* `16` - NAS\n* `18` - NASX\n* `32` - Host from SMC"},"_sharedfsTypeEnum":{"enum":[0,1,2,4],"type":"integer","description":"* `0` - GPFS\n* `1` - LUSTRE\n* `2` - WEKAFS\n* `4` - PANFS"},"_nasTypeEnum":{"enum":[0,1,2,3,4,5,6,7,8,9,10,12,13,14,15,16],"type":"integer","description":"* `0` - OTHER\n* `1` - CELERRA\n* `2` - NETAPP\n* `3` - ISILON\n* `4` - BLUEARC\n* `5` - UNITY\n* `6` - PANZURA\n* `7` - PANASAS\n* `8` - QUMULO\n* `9` - OCEANSTOR\n* `10` - NUTANIX\n* `12` - VAST\n* `13` - FLASHARRAY\n* `14` - FLASHBLADE\n* `15` - AZURE\n* `16` - AZURE_NETAPP"},"TaskOrganizationAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"parent":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"ArchiveOrganizationAll":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"parent":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"ArchivePolicyAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true},"Status":{"allOf":[{"$ref":"#/components/schemas/ArchivePolicyAll_statusEnum"}],"title":" status","minimum":-2147483648,"maximum":2147483647},"creationDate":{"type":"string","format":"date-time","readOnly":true},"ReduceImpactOnSource":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","nullable":true,"title":" reduce impact on source"},"retention":{"type":"integer","nullable":true},"deduplicationReference":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"ArchivePolicyAll_statusEnum":{"enum":[1,2],"type":"integer","description":"* `1` - online\n* `2` - suspended"}}},"paths":{"/organizations/backup-projects/{id}/":{"put":{"operationId":"organizationBackupUpdate2","description":"\n**Update an existing backup organization**\n\n**Input payload with:**\n\n**name (required)**: New name of the backup organization.\n\n**comment**: optional comment.\n\n                ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this organization.","required":true}],"tags":["organizations"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BackupOrganizationDetail"}}},"description":""}}}}}}
```

## DELETE /organizations/backup-projects/{id}/

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

## GET /organizations/host-folders/

> \*\*Get a list of host folders\*\*\
> \
> \*First object contains root hosts (no 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":{"/organizations/host-folders/":{"get":{"operationId":"organizationsHostFoldersList","description":"**Get a list of host folders**\n\n*First object contains root hosts (no folder)*","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":["organizations"],"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 /organizations/host-folders/

> \*\*Creation a new host folder\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: Name of the new folder.\
> \
> \*\*comment\*\*: optional comment.\
> \
> \*\*parent\*\*: Existing host folder name.\
> \
> \*\*Host cannot be associated (use infrastructure/agent, nas, etc instead).\*\*

```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":{"/organizations/host-folders/":{"post":{"operationId":"hostFolderCreation","description":"**Creation a new host folder**\n\n**Input payload with:**\n\n**name (required)**: Name of the new folder.\n\n**comment**: optional comment.\n\n**parent**: Existing host folder name.\n\n**Host cannot be associated (use infrastructure/agent, nas, etc instead).**","tags":["organizations"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":"Returns the new host folder"}}},"description":""}}}}}}
```

## GET /organizations/host-folders/{id}/

> \*\*Get an existing host 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":{"/organizations/host-folders/{id}/":{"get":{"operationId":"hostOrgRetrieve","description":"**Get an existing host folder**","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this host organization.","required":true}],"tags":["organizations"],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Returns the host folder"}}},"description":""}}}}}}
```

## PUT /organizations/host-folders/{id}/

> \*\*Update an existing host folder\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: New name of the folder.\
> \
> \*\*comment\*\*: optional comment.\
> \
> \*\*parent\*\*: Existing host folder name.\
> \
> \*\*Host cannot be associated (use infrastructure/agent, nas, etc instead)\*\*.\
> \
> \*\*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":{"/organizations/host-folders/{id}/":{"put":{"operationId":"hostFolderUpdate","description":"**Update an existing host folder**\n\n**Input payload with:**\n\n**name (required)**: New name of the folder.\n\n**comment**: optional comment.\n\n**parent**: Existing host folder name.\n\n**Host cannot be associated (use infrastructure/agent, nas, etc instead)**.\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 host organization.","required":true}],"tags":["organizations"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Returns the host organization updated"}}},"description":""}}}}}}
```

## DELETE /organizations/host-folders/{id}/

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

## GET /organizations/metadata-folders/

> Get a list of metadata folders

```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":{"PaginatedMetadataOrganizationListList":{"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/MetadataOrganizationList"}}}},"MetadataOrganizationList":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"parent":{"$ref":"#/components/schemas/MetadataOrganizationShort"},"metadatas":{"type":"array","items":{"$ref":"#/components/schemas/MetadataShort"}}},"required":["id","name"]},"MetadataOrganizationShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","readOnly":true}},"required":["id","name"]},"MetadataShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256}},"required":["id","name"]}}},"paths":{"/organizations/metadata-folders/":{"get":{"operationId":"organizationsMetadataFoldersList","description":"Get a list of metadata folders","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":["organizations"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedMetadataOrganizationListList"}}},"description":""}}}}}}
```

## POST /organizations/metadata-folders/

> \*\*Creation a new metadata folder\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: Name of the new folder name.\
> \
> \*\*comment\*\*: optional comment.\
> \
> \*\*parent\*\*: Existing metadata folder name.\
> \
> \*\*show\*\*: Must be coherent with Parent show value, by default Parent value, if no Parent, True. Can only be set by Administrator.\
> \
> \*\*Metadata cannot be associated (use datamanagement/metadatas) instead\*\*.

```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":{"/organizations/metadata-folders/":{"post":{"operationId":"metadataFolderCreation","description":"**Creation a new metadata folder**\n\n**Input payload with:**\n\n**name (required)**: Name of the new folder name.\n\n**comment**: optional comment.\n\n**parent**: Existing metadata folder name.\n\n**show**: Must be coherent with Parent show value, by default Parent value, if no Parent, True. Can only be set by Administrator.\n\n**Metadata cannot be associated (use datamanagement/metadatas) instead**.","tags":["organizations"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":"Returns the new metadata folder"}}},"description":""}}}}}}
```

## GET /organizations/metadata-folders/{id}/

> Get an existing metadata 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":{"/organizations/metadata-folders/{id}/":{"get":{"operationId":"metadataRetrieve2","description":"Get an existing metadata folder","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this metadata organization.","required":true}],"tags":["organizations"],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Returns the new metadata folder"}}},"description":""}}}}}}
```

## PUT /organizations/metadata-folders/{id}/

> \*\*Update an existing metadata folder\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: New name of the folder name.\
> \
> \*\*comment\*\*: optional comment.\
> \
> \*\*parent\*\*: Existing metadata folder name.\
> \
> \*\*show\*\*: Must be coherent with Parent show value, by default Parent value, if no Parent, True. If instance has Organization childs or metadatas, their 'show' attribute will be updated as instance. Can only be set by Administrator.\
> \
> \*\*Metadata cannot be associated (use datamanagement/metadatas) instead\*\*.\
> \
> \*\*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\*\*\
> &#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":{"/organizations/metadata-folders/{id}/":{"put":{"operationId":"metadataFolderUpdate","description":"**Update an existing metadata folder**\n\n**Input payload with:**\n\n**name (required)**: New name of the folder name.\n\n**comment**: optional comment.\n\n**parent**: Existing metadata folder name.\n\n**show**: Must be coherent with Parent show value, by default Parent value, if no Parent, True. If instance has Organization childs or metadatas, their 'show' attribute will be updated as instance. Can only be set by Administrator.\n\n**Metadata cannot be associated (use datamanagement/metadatas) instead**.\n\n**To set a nested object as null, insert \"name\": null**\n\n**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**\n                ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this metadata organization.","required":true}],"tags":["organizations"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Returns the metadata organization updated"}}},"description":""}}}}}}
```

## DELETE /organizations/metadata-folders/{id}/

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

## GET /organizations/migration-projects/

> Get a list of migration organizations

```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":{"/organizations/migration-projects/":{"get":{"operationId":"organizationsMigrationProjectsList","description":"Get a list of migration organizations","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":["organizations"],"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 /organizations/migration-projects/

> \
> \*\*Create a new migration organization\*\*\
> \
> \*\*name (required)\*\*: Name of the new migration organization.\
> \
> \*\*comment\*\*: optional comment.\
> \
> &#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":{"MigrationOrganizationDetail":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"comment":{"type":"string","nullable":true},"parent":{"allOf":[{"$ref":"#/components/schemas/MigrationOrganizationShort"}],"readOnly":true},"tasks":{"type":"array","items":{"$ref":"#/components/schemas/Task"}}},"required":["creationDate","id","name","parent"]},"MigrationOrganizationShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","readOnly":true}},"required":["id","name"]},"Task":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":80},"description":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"type":{"$ref":"#/components/schemas/TaskFamilyAll"},"enabled":{"type":"string","readOnly":true},"param4":{"type":"string","nullable":true},"emailComment":{"type":"string","nullable":true},"advancedIntegrationOptions":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$"},"userGroup":{"$ref":"#/components/schemas/CapacityGroupAll"},"nextTask":{"type":"integer","nullable":true},"maxSimultaneousRuns":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"waitIfMaxSimultaneousRunsReached":{"type":"string","readOnly":true},"preProcessCommand":{"type":"string","nullable":true},"postProcessCommand":{"type":"string","nullable":true},"runLock":{"$ref":"#/components/schemas/RunLockAll"},"runTimeFrame":{"$ref":"#/components/schemas/TaskWindowAll"},"archive":{"$ref":"#/components/schemas/ArchiveAll"},"object":{"$ref":"#/components/schemas/ObjectAll"},"source":{"$ref":"#/components/schemas/HostAll"},"target":{"$ref":"#/components/schemas/HostAll"},"taskOrganization":{"$ref":"#/components/schemas/TaskOrganizationAll"},"archiveOrganization":{"$ref":"#/components/schemas/ArchiveOrganizationAll"},"archivePolicy":{"$ref":"#/components/schemas/ArchivePolicyAll"},"secondArchivePolicy":{"$ref":"#/components/schemas/ArchivePolicyAll"},"migrationReportDigestType":{"type":"string","readOnly":true}},"required":["creationDate","description","enabled","id","migrationReportDigestType","name","type","waitIfMaxSimultaneousRunsReached"]},"TaskFamilyAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":40},"creationDate":{"type":"string","format":"date-time","readOnly":true},"lib":{"type":"string","maxLength":256},"module":{"type":"string","maxLength":80},"sendEnv":{"type":"string","nullable":true,"maxLength":256},"sendArgv":{"type":"string","nullable":true,"maxLength":256},"MultiExec":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" multi exec"},"CanExecGui":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" can exec gui"},"CanCancelIfmax":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" can cancel ifmax"},"nbExecByDefault":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"CanSched":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" can sched"},"CanTemplate":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" can template"},"GenJob":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" gen job"},"minVerAgt":{"type":"string","nullable":true,"maxLength":15},"minVerSrv":{"type":"string","nullable":true,"maxLength":15},"JobActionType":{"nullable":true,"title":" job action type","minimum":-2147483648,"maximum":2147483647,"oneOf":[{"$ref":"#/components/schemas/_jobActionTypeEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"RunServer":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" run server"},"RunAsTemplate":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" run as template"},"GenReport":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" gen report"}},"required":["CanCancelIfmax","CanExecGui","CanSched","CanTemplate","GenJob","MultiExec","creationDate","id","lib","module","name","nbExecByDefault"]},"_jobActionTypeEnum":{"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,34,35,36,37,38,39,40,41,42,43],"type":"integer","description":"* `1` - Archiving\n* `2` - Retrieval\n* `3` - Validate\n* `4` - Task\n* `5` - Retention\n* `6` - Content Indexing\n* `7` - Metadata\n* `8` - Media Stream Duplication\n* `9` - Media Deletion\n* `10` - Media Recycling\n* `11` - Media Scratch\n* `12` - Media Ejection\n* `13` - Drive Diagnostic\n* `14` - Drive Performance\n* `15` - AER Collect\n* `16` - Amm Scan Device\n* `17` - Drive Umount\n* `18` - Storage Manager Maintenance\n* `19` - LTFS Change Volume Name\n* `20` - Copy\n* `21` - Catalog Ingest\n* `22` - Video Transcoding\n* `23` - Media Mount\n* `24` - PreProcessing\n* `25` - Move\n* `26` - Delete\n* `27` - Create Directory\n* `28` - Rename\n* `29` - Library Scan Unknown Media\n* `30` - Synchronization\n* `34` - Media Verify\n* `35` - Storage Tiering\n* `36` - Synchronization Digest\n* `37` - LTFS Change Volume Lock State\n* `38` - Intelligent Video Tagging\n* `39` - AMM Optimization With Cache\n* `40` - File Storage Container To Tape\n* `41` - Erasure Coding\n* `42` - Media Build\n* `43` - Repository To Repository"},"NullEnum":{"enum":[null]},"CapacityGroupAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"comment":{"type":"string","nullable":true,"maxLength":512}},"required":["creationDate","id","name"]},"RunLockAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"maxSimultaneousRuns":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"comment":{"type":"string","nullable":true,"maxLength":512}},"required":["creationDate","id","maxSimultaneousRuns","name"]},"TaskWindowAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true,"maxLength":512}},"required":["creationDate","id","name"]},"ArchiveAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","pattern":"[/\\u005c:]","maxLength":256},"comment":{"type":"string","nullable":true,"maxLength":512},"creationDate":{"type":"string","format":"date-time","readOnly":true},"Type":{"nullable":true,"title":" type","maximum":100,"exclusiveMaximum":true,"minimum":-100,"exclusiveMinimum":true,"oneOf":[{"$ref":"#/components/schemas/_typeA48Enum"},{"$ref":"#/components/schemas/NullEnum"}]},"Mode":{"nullable":true,"title":" mode","minimum":-2147483648,"maximum":2147483647,"oneOf":[{"$ref":"#/components/schemas/_modeEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"volumeQuota":{"type":"string","format":"decimal","pattern":"^-?\\d{0,18}(?:\\.\\d{0,0})?$","nullable":true},"object":{"type":"integer","nullable":true},"owner":{"type":"integer","nullable":true},"objectGroup":{"type":"integer","nullable":true},"organization":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"_typeA48Enum":{"enum":[1,2,4],"type":"integer","description":"* `1` - user\n* `2` - project\n* `4` - synchro"},"_modeEnum":{"enum":[0,1,2],"type":"integer","description":"* `0` - archiving\n* `1` - backup\n* `2` - by setting"},"ObjectAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":400},"creationDate":{"type":"string","format":"date-time","readOnly":true},"parent":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$"},"Type":{"allOf":[{"$ref":"#/components/schemas/ObjectAll_typeEnum"}],"title":" type","maximum":10,"exclusiveMaximum":true,"minimum":-10,"exclusiveMinimum":true},"LikeDir":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","nullable":true,"title":" like dir"},"BundleType":{"allOf":[{"$ref":"#/components/schemas/_bundleTypeEnum"}],"title":" bundle type","maximum":1000,"exclusiveMaximum":true,"minimum":-1000,"exclusiveMinimum":true},"IsLink":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" is link"},"HasLink":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" has link"},"Status":{"allOf":[{"$ref":"#/components/schemas/ObjectAll_statusEnum"}],"title":" status","maximum":100,"exclusiveMaximum":true,"minimum":-100,"exclusiveMinimum":true},"Mask":{"allOf":[{"$ref":"#/components/schemas/_maskEnum"}],"title":" mask","minimum":-2147483648,"maximum":2147483647},"archive":{"type":"integer"}},"required":["Type","archive","creationDate","id","name","parent"]},"ObjectAll_typeEnum":{"enum":[0,1,2,3,4,5,9],"type":"integer","description":"* `0` - ROOT\n* `1` - FILE\n* `2` - DIR\n* `3` - FOLDER\n* `4` - SYMLINK\n* `5` - DEVICE\n* `9` - DELETED"},"_bundleTypeEnum":{"enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18],"type":"integer","description":"* `0` - None\n* `1` - fcp\n* `2` - interplay masterclip\n* `3` - interplay sequence\n* `4` - interplay subclip\n* `5` - interplay group\n* `6` - interplay motioneffect\n* `7` - interplay effect\n* `8` - interplay rendereffect\n* `9` - fcs fcp\n* `10` - fcs production\n* `11` - db backup maxdb\n* `12` - db backup pg\n* `13` - db backup full\n* `14` - db backup inc\n* `15` - db backup log\n* `16` - db recover scripts\n* `17` - interplay stereo masterclip\n* `18` - interplay stereo subclip"},"ObjectAll_statusEnum":{"enum":[0,1],"type":"integer","description":"* `0` - none\n* `1` - stub"},"_maskEnum":{"enum":[1,2],"type":"integer","description":"* `1` - has snapstor\n* `2` - is gutter"},"HostAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true,"maxLength":512},"HostType":{"allOf":[{"$ref":"#/components/schemas/_hostTypeEnum"}],"title":" host type","maximum":100,"exclusiveMaximum":true,"minimum":-100,"exclusiveMinimum":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"HTypeWindows":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" h type windows"},"HTypeUnix":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" h type unix"},"agtAasWindows":{"type":"string","nullable":true,"maxLength":256},"agtAasUnix":{"type":"string","nullable":true,"maxLength":256},"SharedfsType":{"allOf":[{"$ref":"#/components/schemas/_sharedfsTypeEnum"}],"title":" sharedfs type","minimum":-2147483648,"maximum":2147483647},"NasType":{"allOf":[{"$ref":"#/components/schemas/_nasTypeEnum"}],"title":" nas type","minimum":-2147483648,"maximum":2147483647},"gatewayUnix":{"type":"string","nullable":true,"maxLength":256},"gatewayWindows":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationUrl":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationUser":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationPassword":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationCertificate":{"type":"string","nullable":true},"advancedIntegrationMaxNumberOfFastscan":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"maximumParallelJobs":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"advancedIntegrationUrl2":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationUser2":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationPassword2":{"type":"string","nullable":true,"maxLength":256},"AllowCrossPlatform":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" allow cross platform"},"advancedIntegrationApiAccessZone":{"type":"string","nullable":true,"maxLength":256},"AdvancedIntegrationTrustedSsl":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" advanced integration trusted ssl"},"cnxUser":{"type":"string","nullable":true,"maxLength":256},"cnxPassword":{"type":"string","nullable":true,"maxLength":256},"hFsApiCapmask":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$"},"gwWindowsUser":{"type":"string","nullable":true,"maxLength":256},"gwWindowsPassword":{"type":"string","nullable":true,"maxLength":256},"gwUnixUser":{"type":"string","nullable":true,"maxLength":256},"gwUnixPassword":{"type":"string","nullable":true,"maxLength":256},"objectGroup":{"type":"integer","nullable":true},"organization":{"type":"integer","nullable":true},"storageManagerContainer":{"type":"integer","nullable":true}},"required":["HostType","creationDate","id","name"]},"_hostTypeEnum":{"enum":[1,2,4,8,16,18,32],"type":"integer","description":"* `1` - Agent\n* `2` - NAS Agent\n* `4` - Pool\n* `8` - Shared File System\n* `16` - NAS\n* `18` - NASX\n* `32` - Host from SMC"},"_sharedfsTypeEnum":{"enum":[0,1,2,4],"type":"integer","description":"* `0` - GPFS\n* `1` - LUSTRE\n* `2` - WEKAFS\n* `4` - PANFS"},"_nasTypeEnum":{"enum":[0,1,2,3,4,5,6,7,8,9,10,12,13,14,15,16],"type":"integer","description":"* `0` - OTHER\n* `1` - CELERRA\n* `2` - NETAPP\n* `3` - ISILON\n* `4` - BLUEARC\n* `5` - UNITY\n* `6` - PANZURA\n* `7` - PANASAS\n* `8` - QUMULO\n* `9` - OCEANSTOR\n* `10` - NUTANIX\n* `12` - VAST\n* `13` - FLASHARRAY\n* `14` - FLASHBLADE\n* `15` - AZURE\n* `16` - AZURE_NETAPP"},"TaskOrganizationAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"parent":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"ArchiveOrganizationAll":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"parent":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"ArchivePolicyAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true},"Status":{"allOf":[{"$ref":"#/components/schemas/ArchivePolicyAll_statusEnum"}],"title":" status","minimum":-2147483648,"maximum":2147483647},"creationDate":{"type":"string","format":"date-time","readOnly":true},"ReduceImpactOnSource":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","nullable":true,"title":" reduce impact on source"},"retention":{"type":"integer","nullable":true},"deduplicationReference":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"ArchivePolicyAll_statusEnum":{"enum":[1,2],"type":"integer","description":"* `1` - online\n* `2` - suspended"}}},"paths":{"/organizations/migration-projects/":{"post":{"operationId":"organizationMigrationCreate","description":"\n**Create a new migration organization**\n\n**name (required)**: Name of the new migration organization.\n\n**comment**: optional comment.\n\n                ","tags":["organizations"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MigrationOrganizationDetail"}}},"description":""}}}}}}
```

## GET /organizations/migration-projects/{id}/

> Get an existing migration organization

```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":{"/organizations/migration-projects/{id}/":{"get":{"operationId":"organizationMigrationRetrieve","description":"Get an existing migration organization","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this organization.","required":true}],"tags":["organizations"],"responses":{"200":{"content":{"application/json":{"schema":{"description":""}}},"description":""}}}}}}
```

## PUT /organizations/migration-projects/{id}/

> \
> \*\*Update an existing migration organization\*\*\
> \
> \*\*name (required)\*\*: New name of the migration organization.\
> \
> \*\*comment\*\*: optional comment.\
> &#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":{"MigrationOrganizationDetail":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"comment":{"type":"string","nullable":true},"parent":{"allOf":[{"$ref":"#/components/schemas/MigrationOrganizationShort"}],"readOnly":true},"tasks":{"type":"array","items":{"$ref":"#/components/schemas/Task"}}},"required":["creationDate","id","name","parent"]},"MigrationOrganizationShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","readOnly":true}},"required":["id","name"]},"Task":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":80},"description":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"type":{"$ref":"#/components/schemas/TaskFamilyAll"},"enabled":{"type":"string","readOnly":true},"param4":{"type":"string","nullable":true},"emailComment":{"type":"string","nullable":true},"advancedIntegrationOptions":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$"},"userGroup":{"$ref":"#/components/schemas/CapacityGroupAll"},"nextTask":{"type":"integer","nullable":true},"maxSimultaneousRuns":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"waitIfMaxSimultaneousRunsReached":{"type":"string","readOnly":true},"preProcessCommand":{"type":"string","nullable":true},"postProcessCommand":{"type":"string","nullable":true},"runLock":{"$ref":"#/components/schemas/RunLockAll"},"runTimeFrame":{"$ref":"#/components/schemas/TaskWindowAll"},"archive":{"$ref":"#/components/schemas/ArchiveAll"},"object":{"$ref":"#/components/schemas/ObjectAll"},"source":{"$ref":"#/components/schemas/HostAll"},"target":{"$ref":"#/components/schemas/HostAll"},"taskOrganization":{"$ref":"#/components/schemas/TaskOrganizationAll"},"archiveOrganization":{"$ref":"#/components/schemas/ArchiveOrganizationAll"},"archivePolicy":{"$ref":"#/components/schemas/ArchivePolicyAll"},"secondArchivePolicy":{"$ref":"#/components/schemas/ArchivePolicyAll"},"migrationReportDigestType":{"type":"string","readOnly":true}},"required":["creationDate","description","enabled","id","migrationReportDigestType","name","type","waitIfMaxSimultaneousRunsReached"]},"TaskFamilyAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":40},"creationDate":{"type":"string","format":"date-time","readOnly":true},"lib":{"type":"string","maxLength":256},"module":{"type":"string","maxLength":80},"sendEnv":{"type":"string","nullable":true,"maxLength":256},"sendArgv":{"type":"string","nullable":true,"maxLength":256},"MultiExec":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" multi exec"},"CanExecGui":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" can exec gui"},"CanCancelIfmax":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" can cancel ifmax"},"nbExecByDefault":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"CanSched":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" can sched"},"CanTemplate":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" can template"},"GenJob":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" gen job"},"minVerAgt":{"type":"string","nullable":true,"maxLength":15},"minVerSrv":{"type":"string","nullable":true,"maxLength":15},"JobActionType":{"nullable":true,"title":" job action type","minimum":-2147483648,"maximum":2147483647,"oneOf":[{"$ref":"#/components/schemas/_jobActionTypeEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"RunServer":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" run server"},"RunAsTemplate":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" run as template"},"GenReport":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" gen report"}},"required":["CanCancelIfmax","CanExecGui","CanSched","CanTemplate","GenJob","MultiExec","creationDate","id","lib","module","name","nbExecByDefault"]},"_jobActionTypeEnum":{"enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,34,35,36,37,38,39,40,41,42,43],"type":"integer","description":"* `1` - Archiving\n* `2` - Retrieval\n* `3` - Validate\n* `4` - Task\n* `5` - Retention\n* `6` - Content Indexing\n* `7` - Metadata\n* `8` - Media Stream Duplication\n* `9` - Media Deletion\n* `10` - Media Recycling\n* `11` - Media Scratch\n* `12` - Media Ejection\n* `13` - Drive Diagnostic\n* `14` - Drive Performance\n* `15` - AER Collect\n* `16` - Amm Scan Device\n* `17` - Drive Umount\n* `18` - Storage Manager Maintenance\n* `19` - LTFS Change Volume Name\n* `20` - Copy\n* `21` - Catalog Ingest\n* `22` - Video Transcoding\n* `23` - Media Mount\n* `24` - PreProcessing\n* `25` - Move\n* `26` - Delete\n* `27` - Create Directory\n* `28` - Rename\n* `29` - Library Scan Unknown Media\n* `30` - Synchronization\n* `34` - Media Verify\n* `35` - Storage Tiering\n* `36` - Synchronization Digest\n* `37` - LTFS Change Volume Lock State\n* `38` - Intelligent Video Tagging\n* `39` - AMM Optimization With Cache\n* `40` - File Storage Container To Tape\n* `41` - Erasure Coding\n* `42` - Media Build\n* `43` - Repository To Repository"},"NullEnum":{"enum":[null]},"CapacityGroupAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"comment":{"type":"string","nullable":true,"maxLength":512}},"required":["creationDate","id","name"]},"RunLockAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"maxSimultaneousRuns":{"type":"integer","maximum":2147483647,"minimum":-2147483648},"comment":{"type":"string","nullable":true,"maxLength":512}},"required":["creationDate","id","maxSimultaneousRuns","name"]},"TaskWindowAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true,"maxLength":512}},"required":["creationDate","id","name"]},"ArchiveAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","pattern":"[/\\u005c:]","maxLength":256},"comment":{"type":"string","nullable":true,"maxLength":512},"creationDate":{"type":"string","format":"date-time","readOnly":true},"Type":{"nullable":true,"title":" type","maximum":100,"exclusiveMaximum":true,"minimum":-100,"exclusiveMinimum":true,"oneOf":[{"$ref":"#/components/schemas/_typeA48Enum"},{"$ref":"#/components/schemas/NullEnum"}]},"Mode":{"nullable":true,"title":" mode","minimum":-2147483648,"maximum":2147483647,"oneOf":[{"$ref":"#/components/schemas/_modeEnum"},{"$ref":"#/components/schemas/NullEnum"}]},"volumeQuota":{"type":"string","format":"decimal","pattern":"^-?\\d{0,18}(?:\\.\\d{0,0})?$","nullable":true},"object":{"type":"integer","nullable":true},"owner":{"type":"integer","nullable":true},"objectGroup":{"type":"integer","nullable":true},"organization":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"_typeA48Enum":{"enum":[1,2,4],"type":"integer","description":"* `1` - user\n* `2` - project\n* `4` - synchro"},"_modeEnum":{"enum":[0,1,2],"type":"integer","description":"* `0` - archiving\n* `1` - backup\n* `2` - by setting"},"ObjectAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":400},"creationDate":{"type":"string","format":"date-time","readOnly":true},"parent":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$"},"Type":{"allOf":[{"$ref":"#/components/schemas/ObjectAll_typeEnum"}],"title":" type","maximum":10,"exclusiveMaximum":true,"minimum":-10,"exclusiveMinimum":true},"LikeDir":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","nullable":true,"title":" like dir"},"BundleType":{"allOf":[{"$ref":"#/components/schemas/_bundleTypeEnum"}],"title":" bundle type","maximum":1000,"exclusiveMaximum":true,"minimum":-1000,"exclusiveMinimum":true},"IsLink":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" is link"},"HasLink":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" has link"},"Status":{"allOf":[{"$ref":"#/components/schemas/ObjectAll_statusEnum"}],"title":" status","maximum":100,"exclusiveMaximum":true,"minimum":-100,"exclusiveMinimum":true},"Mask":{"allOf":[{"$ref":"#/components/schemas/_maskEnum"}],"title":" mask","minimum":-2147483648,"maximum":2147483647},"archive":{"type":"integer"}},"required":["Type","archive","creationDate","id","name","parent"]},"ObjectAll_typeEnum":{"enum":[0,1,2,3,4,5,9],"type":"integer","description":"* `0` - ROOT\n* `1` - FILE\n* `2` - DIR\n* `3` - FOLDER\n* `4` - SYMLINK\n* `5` - DEVICE\n* `9` - DELETED"},"_bundleTypeEnum":{"enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18],"type":"integer","description":"* `0` - None\n* `1` - fcp\n* `2` - interplay masterclip\n* `3` - interplay sequence\n* `4` - interplay subclip\n* `5` - interplay group\n* `6` - interplay motioneffect\n* `7` - interplay effect\n* `8` - interplay rendereffect\n* `9` - fcs fcp\n* `10` - fcs production\n* `11` - db backup maxdb\n* `12` - db backup pg\n* `13` - db backup full\n* `14` - db backup inc\n* `15` - db backup log\n* `16` - db recover scripts\n* `17` - interplay stereo masterclip\n* `18` - interplay stereo subclip"},"ObjectAll_statusEnum":{"enum":[0,1],"type":"integer","description":"* `0` - none\n* `1` - stub"},"_maskEnum":{"enum":[1,2],"type":"integer","description":"* `1` - has snapstor\n* `2` - is gutter"},"HostAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true,"maxLength":512},"HostType":{"allOf":[{"$ref":"#/components/schemas/_hostTypeEnum"}],"title":" host type","maximum":100,"exclusiveMaximum":true,"minimum":-100,"exclusiveMinimum":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"HTypeWindows":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" h type windows"},"HTypeUnix":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" h type unix"},"agtAasWindows":{"type":"string","nullable":true,"maxLength":256},"agtAasUnix":{"type":"string","nullable":true,"maxLength":256},"SharedfsType":{"allOf":[{"$ref":"#/components/schemas/_sharedfsTypeEnum"}],"title":" sharedfs type","minimum":-2147483648,"maximum":2147483647},"NasType":{"allOf":[{"$ref":"#/components/schemas/_nasTypeEnum"}],"title":" nas type","minimum":-2147483648,"maximum":2147483647},"gatewayUnix":{"type":"string","nullable":true,"maxLength":256},"gatewayWindows":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationUrl":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationUser":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationPassword":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationCertificate":{"type":"string","nullable":true},"advancedIntegrationMaxNumberOfFastscan":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"maximumParallelJobs":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"advancedIntegrationUrl2":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationUser2":{"type":"string","nullable":true,"maxLength":256},"advancedIntegrationPassword2":{"type":"string","nullable":true,"maxLength":256},"AllowCrossPlatform":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" allow cross platform"},"advancedIntegrationApiAccessZone":{"type":"string","nullable":true,"maxLength":256},"AdvancedIntegrationTrustedSsl":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","title":" advanced integration trusted ssl"},"cnxUser":{"type":"string","nullable":true,"maxLength":256},"cnxPassword":{"type":"string","nullable":true,"maxLength":256},"hFsApiCapmask":{"type":"string","format":"decimal","pattern":"^-?\\d{0,13}(?:\\.\\d{0,0})?$"},"gwWindowsUser":{"type":"string","nullable":true,"maxLength":256},"gwWindowsPassword":{"type":"string","nullable":true,"maxLength":256},"gwUnixUser":{"type":"string","nullable":true,"maxLength":256},"gwUnixPassword":{"type":"string","nullable":true,"maxLength":256},"objectGroup":{"type":"integer","nullable":true},"organization":{"type":"integer","nullable":true},"storageManagerContainer":{"type":"integer","nullable":true}},"required":["HostType","creationDate","id","name"]},"_hostTypeEnum":{"enum":[1,2,4,8,16,18,32],"type":"integer","description":"* `1` - Agent\n* `2` - NAS Agent\n* `4` - Pool\n* `8` - Shared File System\n* `16` - NAS\n* `18` - NASX\n* `32` - Host from SMC"},"_sharedfsTypeEnum":{"enum":[0,1,2,4],"type":"integer","description":"* `0` - GPFS\n* `1` - LUSTRE\n* `2` - WEKAFS\n* `4` - PANFS"},"_nasTypeEnum":{"enum":[0,1,2,3,4,5,6,7,8,9,10,12,13,14,15,16],"type":"integer","description":"* `0` - OTHER\n* `1` - CELERRA\n* `2` - NETAPP\n* `3` - ISILON\n* `4` - BLUEARC\n* `5` - UNITY\n* `6` - PANZURA\n* `7` - PANASAS\n* `8` - QUMULO\n* `9` - OCEANSTOR\n* `10` - NUTANIX\n* `12` - VAST\n* `13` - FLASHARRAY\n* `14` - FLASHBLADE\n* `15` - AZURE\n* `16` - AZURE_NETAPP"},"TaskOrganizationAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"parent":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"ArchiveOrganizationAll":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true},"creationDate":{"type":"string","format":"date-time","readOnly":true},"parent":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"ArchivePolicyAll":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"comment":{"type":"string","nullable":true},"Status":{"allOf":[{"$ref":"#/components/schemas/ArchivePolicyAll_statusEnum"}],"title":" status","minimum":-2147483648,"maximum":2147483647},"creationDate":{"type":"string","format":"date-time","readOnly":true},"ReduceImpactOnSource":{"type":"string","format":"decimal","pattern":"^-?\\d{0,1}(?:\\.\\d{0,0})?$","nullable":true,"title":" reduce impact on source"},"retention":{"type":"integer","nullable":true},"deduplicationReference":{"type":"integer","nullable":true}},"required":["creationDate","id","name"]},"ArchivePolicyAll_statusEnum":{"enum":[1,2],"type":"integer","description":"* `1` - online\n* `2` - suspended"}}},"paths":{"/organizations/migration-projects/{id}/":{"put":{"operationId":"organizationMigrationUpdate","description":"\n**Update an existing migration organization**\n\n**name (required)**: New name of the migration organization.\n\n**comment**: optional comment.\n                ","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this organization.","required":true}],"tags":["organizations"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MigrationOrganizationDetail"}}},"description":""}}}}}}
```

## DELETE /organizations/migration-projects/{id}/

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

## GET /organizations/object-groups/

> Get a list of object 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"}},"schemas":{"PaginatedCapacityGroupListList":{"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/CapacityGroupList"}}}},"CapacityGroupList":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256}},"required":["id","name"]}}},"paths":{"/organizations/object-groups/":{"get":{"operationId":"organizationsObjectGroupsList","description":"Get a list of object groups","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":["organizations"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCapacityGroupListList"}}},"description":""}}}}}}
```

## POST /organizations/object-groups/

> \
> \*\*Create a new object group\*\*\
> \*\*Input payload including:\*\*\
> \
> \*\*name (required)\*\*: Name of the new object group, must be unique in the database\
> \
> \*\*settings (required)\*\*: List of objects {"name": "setting\_name", "value": new\_value}, please check 'example description' about each setting value in the\
> menu below for more info\
> \
> \*\*comment\*\*: Comment on the new object group<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":{"/organizations/object-groups/":{"post":{"operationId":"organizationsObjectGroupsCreate","description":"\n**Create a new object group**\n**Input payload including:**\n\n**name (required)**: Name of the new object group, must be unique in the database\n\n**settings (required)**: List of objects {\"name\": \"setting_name\", \"value\": new_value}, please check 'example description' about each setting value in the\nmenu below for more info\n\n**comment**: Comment on the new object group\n","tags":["organizations"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":"Returns detail of the new Object group"}}},"description":""}}}}}}
```

## GET /organizations/object-groups/{id}/

> Get an existing object 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"}},"schemas":{"CapacityGroupDetail":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256},"creationDate":{"type":"string","format":"date-time","readOnly":true},"userGroups":{"type":"array","items":{"$ref":"#/components/schemas/UserGroupShort"},"readOnly":true},"users":{"type":"array","items":{"$ref":"#/components/schemas/UserShort"},"readOnly":true},"hosts":{"type":"array","items":{"$ref":"#/components/schemas/HostShort"},"readOnly":true},"archives":{"type":"array","items":{"$ref":"#/components/schemas/ArchiveShort"},"readOnly":true},"tasks":{"type":"array","items":{"$ref":"#/components/schemas/TaskShort"},"readOnly":true},"settings":{"type":"array","items":{"$ref":"#/components/schemas/CapacityGroupValue"}},"comment":{"type":"string","nullable":true,"maxLength":512}},"required":["archives","creationDate","hosts","id","name","settings","tasks","userGroups","users"]},"UserGroupShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256}},"required":["id","name"]},"UserShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":128}},"required":["id","name"]},"HostShort":{"type":"object","description":"Adds nested create feature","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":256}},"required":["id","name"]},"ArchiveShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","pattern":"[/\\u005c:]","maxLength":256}},"required":["id","name"]},"TaskShort":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":80}},"required":["id","name"]},"CapacityGroupValue":{"type":"object","description":"Adds nested create feature","properties":{"name":{"type":"string"},"value":{"type":"string","nullable":true}},"required":["name"]}}},"paths":{"/organizations/object-groups/{id}/":{"get":{"operationId":"organizationsObjectGroupsRetrieve","description":"Get an existing object group","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this capacity group.","required":true}],"tags":["organizations"],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapacityGroupDetail"}}},"description":""}}}}}}
```

## PUT /organizations/object-groups/{id}/

> \
> \*\*Create a new object group\*\*\
> \*\*Input payload including:\*\*\
> \
> \*\*name (required)\*\*: Name of the new object group, must be unique in the database\
> \
> \*\*settings (required)\*\*: List of objects {"name": "setting\_name", "value": new\_value}, please check 'example description' about each setting value in the\
> menu below for more info\
> \
> \*\*comment\*\*: Comment on the object group\
> \
> \*\*Please note that during PUT, all settings will be deleted and re-created\*\*<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":{"/organizations/object-groups/{id}/":{"put":{"operationId":"organizationsObjectGroupsUpdate","description":"\n**Create a new object group**\n**Input payload including:**\n\n**name (required)**: Name of the new object group, must be unique in the database\n\n**settings (required)**: List of objects {\"name\": \"setting_name\", \"value\": new_value}, please check 'example description' about each setting value in the\nmenu below for more info\n\n**comment**: Comment on the object group\n\n**Please note that during PUT, all settings will be deleted and re-created**\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this capacity group.","required":true}],"tags":["organizations"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Returns detail of the updated Object group"}}},"description":""}}}}}}
```

## GET /organizations/repositories/

> \*\*Get a list of repositories\*\*\
> \
> \*First object contains root archives (no 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":{"/organizations/repositories/":{"get":{"operationId":"repositoryList","description":"**Get a list of repositories**\n\n*First object contains root archives (no folder)*","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":["organizations"],"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 /organizations/repositories/

> \*\*Create a new repository\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: Name of the new repository.\
> \
> \*\*comment\*\*: optional comment.\
> \
> \*\*parent\*\*: Existing repository name.\
> \
> \*\*Archives cannot be associated (use datamanagement/archives instead).\*\*

```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":{"/organizations/repositories/":{"post":{"operationId":"repositoryCreation2","description":"**Create a new repository**\n\n**Input payload with:**\n\n**name (required)**: Name of the new repository.\n\n**comment**: optional comment.\n\n**parent**: Existing repository name.\n\n**Archives cannot be associated (use datamanagement/archives instead).**","tags":["organizations"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":"Returns the new repository"}}},"description":""}}}}}}
```

## GET /organizations/repositories/{id}/

> Get an existing repository

```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":{"/organizations/repositories/{id}/":{"get":{"operationId":"repositoryRetrieve","description":"Get an existing repository","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this archive organization.","required":true}],"tags":["organizations"],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Returns the new repository"}}},"description":""}}}}}}
```

## PUT /organizations/repositories/{id}/

> \*\*Update an existing repository\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: New name of the repository.\
> \
> \*\*comment\*\*: optional comment.\
> \
> \*\*parent\*\*: Existing repository name.\
> \
> \*\*Archives cannot be associated (use datamanagement/archives instead).\*\*\
> \
> \*\*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":{"/organizations/repositories/{id}/":{"put":{"operationId":"repositoryUpdate2","description":"**Update an existing repository**\n\n**Input payload with:**\n\n**name (required)**: New name of the repository.\n\n**comment**: optional comment.\n\n**parent**: Existing repository name.\n\n**Archives cannot be associated (use datamanagement/archives instead).**\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 archive organization.","required":true}],"tags":["organizations"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Returns the repository updated"}}},"description":""}}}}}}
```

## DELETE /organizations/repositories/{id}/

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

## GET /organizations/task-folders/

> \*\*Get a list of task folders\*\*\
> \
> \*First object contains root tasks (no 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":{"/organizations/task-folders/":{"get":{"operationId":"organizationsTaskFoldersList","description":"**Get a list of task folders**\n\n*First object contains root tasks (no folder)*","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":["organizations"],"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 /organizations/task-folders/

> \*\*Creation a new task folder\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: Name of the new folder.\
> \
> \*\*comment\*\*: optional comment.\
> \
> \*\*parent\*\*: Existing task folder name.\
> \
> \*\*Task cannot be associated (use activity/tasks instead)\*\*.

```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":{"/organizations/task-folders/":{"post":{"operationId":"taskFolderCreation","description":"**Creation a new task folder**\n\n**Input payload with:**\n\n**name (required)**: Name of the new folder.\n\n**comment**: optional comment.\n\n**parent**: Existing task folder name.\n\n**Task cannot be associated (use activity/tasks instead)**.","tags":["organizations"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"201":{"content":{"application/json":{"schema":{"description":"Returns the new task folder"}}},"description":""}}}}}}
```

## GET /organizations/task-folders/{id}/

> Get an existing task 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":{"/organizations/task-folders/{id}/":{"get":{"operationId":"taskRetrieve","description":"Get an existing task folder","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this task organization.","required":true}],"tags":["organizations"],"responses":{"200":{"content":{"application/json":{"schema":{"description":"Returns the new task folder"}}},"description":""}}}}}}
```

## PUT /organizations/task-folders/{id}/

> \*\*Update an existing task folder\*\*\
> \
> \*\*Input payload with:\*\*\
> \
> \*\*name (required)\*\*: New name of the folder.\
> \
> \*\*comment\*\*: optional comment.\
> \
> \*\*parent\*\*: Existing task folder name.\
> \
> \*\*Task cannot be associated (use activity/tasks instead).\*\*\
> \
> \*\*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":{"/organizations/task-folders/{id}/":{"put":{"operationId":"taskFolderUpdate","description":"**Update an existing task folder**\n\n**Input payload with:**\n\n**name (required)**: New name of the folder.\n\n**comment**: optional comment.\n\n**parent**: Existing task folder name.\n\n**Task cannot be associated (use activity/tasks instead).**\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 task organization.","required":true}],"tags":["organizations"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":"Returns the task organization updated"}}},"description":""}}}}}}
```

## DELETE /organizations/task-folders/{id}/

> \
> Delete an existing task folder<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":{"/organizations/task-folders/{id}/":{"delete":{"operationId":"organizationsTaskFoldersDestroy","description":"\nDelete an existing task folder\n","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this task folder.","required":true},{"in":"query","name":"test","schema":{"type":"boolean"},"description":"Delete in test mode. (default: False)"}],"tags":["organizations"],"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/organizations.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.
