Import(Add) a Project
post
                    /ic/api/integration/v1/projects/archive
Imports a new project that was previously exported. To submit an import request, the project must not be present in the environment.
Request
Query Parameters
                    - 
                            integrationInstance(required): string
                            
                            This is the name of the service instance. You can get this value from the About page where it is specified in the Service instance field.
 
Supported Media Types
                            - multipart/form-data
 
Root Schema : schema
    
    	Type: 
    	
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
                
                    
                    file: string
                    
                    
                     (binary) 
                    
                
                
                Previously exported project file
 
Response
200 Response
Successful operation
                            
                            
                            
                            
                        400 Response
No file is uploaded
                            
                            
                            
                            
                        409 Response
Project already exists
                            
                            
                            
                            
                        500 Response
Server error
                            
                            
                            
                            
                        Examples
The following example shows how to import a project by submitting a POST request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, see Send Requests.
Example: Import a new project TEST_PROJECT
This command imports a previously exported project file
                    test_project.car.
                  
curl -X POST -H 'Authorization: Bearer access_token' -F file=@test_project.car -F type=application/octet-stream https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/projects/archive?integrationInstance=service-instance