Project

General

Profile

User story #2228

Updated by François ARMAND almost 13 years ago

We want a rest API to import and export items: 

 Archiving: 
 * */api/archives/archive/groups* 
 /api/archives/archive/groups  
 ** export node groups and node groups categories 
 * */api/archives/archive/policyLibrary* /api/archives/archive/policyLibrary 
 ** export policy library (categories, user polity templates, policy instantes) 
 * */api/archives/archive/configurationRules* /api/archives/archive/configurationRules 
 ** export configuration rules 
 * */api/archives/archive/full* 
 ** export everything 

 Listing: Restoring: 
 * */api/archives/list/groups* /api/archives/list/groups 
 ** list available archives datetime for groups (the datetime is in the format awaited for restoration) 
 * */api/archives/list/policyLibrary* /api/archives/restore/groups/datetime/[archiveId] 
 ** restore given archive 
 * /api/archives/list/policyLibrary 
 ** list available archives datetime for policy library (the datetime is in the format awaited for restoration) 
 * */api/archives/list/configurationRules* /api/archives/restore/policyLibrary/datetime/[archiveId] 
 ** list available archives datetime for configuration rules (the datetime is in the format awaited for restoration) restore given archive 
 * */api/archives/list/full* /api/archives/list/configurationRules 
 ** list available archives datetime for full archives configuration rules (the datetime is in the format awaited for restoration) 

 Restoring a given archive: 
 * */api/archives/restore/groups/datetime/[archiveId]* /api/archives/restore/configurationRules/datetime/[archiveId] 
 ** restore given archive 
 * */api/archives/restore/policyLibrary/datetime/[archiveId]* 
 ** restore given archive 
 * */api/archives/restore/configurationRules/datetime/[archiveId]* 
 ** restore given archive 
 * */api/archives/restore/full/datetime/[archiveId]* 
 ** restore everything 

 Restoring the latest available archive: 
 * */api/archives/restore/groups/latest* 
 * */api/archives/restore/policyLibrary/latest* 
 * */api/archives/restore/configurationRules/latest* 
 * */api/archives/restore/full/latest* 

Back