Retrieve Packages
/ic/api/integration/v1/packages
Request
- 
                            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.
- 
                            limit: integer(int32)
                            
                            Use with the offset parameter for paginating through the returned results. The limit is the maximum number of items to return at one time. For example, offset=3&limit=16 indicates to list packages starting at the 4th item, and the list will contain 16 items.
- 
                            offset: integer(int32)
                            
                            Use with the limit parameter for paginating through the returned results. The offset is the starting point from which to return records. For example, offset=3&limit=16 indicates to list packages starting at the 4th item, and the list will contain 16 items.
- 
                            q: string
                            
                            Returns a filtered list of packages based on the specified parameters. Valid parameters: - name: Name of the package. Supports exact matches or contains. For example: - To retrieve packages that are an exact match in the package name, specify: q={name:'PackageName'}.
- To retrieve all packages that contain the specified string in the package name, specify: q={name: /pack/}
 
- To retrieve packages that are an exact match in the package name, specify: 
- type: type of package. Valid values: PREBUILT, DEVELOPED.
 
- name: Name of the package. Supports exact matches or contains. For example: 
There's no request body for this operation.
Back to TopResponse
- application/json; charset=utf-8, application/vnd.oracle.resource+json;type=collection
200 Response
object- 
                
                    
                    has-more: boolean
                    
                    
                     
                    
                
                
                Flag to Check if More Records Exists
- 
                
                    
                    items: array
                    
                    
                
                
                    items
                
                
                List of Packages
- 
                
                    
                    limit: integer
                    
                    
                     (int32) 
                    
                
                
                Limit of Records to be Displayed
- 
                
                    
                    total-results: integer
                    
                    
                     (int32) 
                    
                
                
                Total Results
object- 
                
                    
                    barta-built-by: string
                    
                    
                     
                    
                
                
                BA (Business Accelerator) | R (Recipe) | TA (Technical Accelerator) builtBy
- 
                
                    
                    barta-type: string
                    
                    
                     
                    
                
                
                Accelerator type BA (Business Accelerator) | R (Recipe) | TA (Technical Accelerator)
- 
                
                    
                    count-of-integrations: integer
                    
                    
                     (int32) 
                    
                
                
                Number of Integrations
- 
                
                    
                    integrations: array
                    
                    
                
                
                    integrations
                
                
                Integration List
- 
                
                    
                    is-clone-allowed: boolean
                    
                    
                     
                    
                
                
                Flag to Check if Clone Allowed
- 
                
                    
                    is-view-allowed: boolean
                    
                    
                     
                    
                
                
                Flag to Check if View Allowed
- 
                
                    
                    name: string
                    
                    
                     
                    
                
                
                Package Name
- 
                
                    
                    type: string
                    
                    
                     
                    
                
                
                Package type
object- 
                
                    
                    apipId: string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    code: string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    created: string
                    
                    
                     (date-time) 
                    
                
                
                
- 
                
                    
                    createdBy: string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    dependencies: object
                    
                    
                
                
                    IntegrationDependencyRs
                
                
                
- 
                
                    
                    description: string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    docUrl: string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    endPointURI: string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    eventSubscriptionFlag: boolean
                    
                    
                     
                    
                
                
                
- 
                
                    
                    filmstrip: array
                    
                    
                
                
                    filmstrip
                
                
                
- 
                
                    
                    keywords: string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    lastUpdated: string
                    
                    
                     (date-time) 
                    
                
                
                
- 
                
                    
                    lastUpdatedBy: string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    lockedBy: string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    lockedDate: string
                    
                    
                     (date-time) 
                    
                
                
                
- 
                
                    
                    lockedFlag: boolean
                    
                    
                     
                    
                
                
                
- 
                
                    
                    name: string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    pattern: string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    patternDescription: string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    payloadTracingEnabledFlag: boolean
                    
                    
                     
                    
                
                
                
- 
                
                    
                    proxyWSDL: string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    publishFlag: boolean
                    
                    
                     
                    
                
                
                
- 
                
                    
                    reactivationStatus: string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    scheduleApplicable: boolean
                    
                    
                     
                    
                
                
                
- 
                
                    
                    scheduleDefined: boolean
                    
                    
                     
                    
                
                
                
- 
                
                    
                    smartTags: string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    status: string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    style: string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    styleDescription: string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    tempCopyExists: boolean
                    
                    
                     
                    
                
                
                
- 
                
                    
                    tracingEnabledFlag: boolean
                    
                    
                     
                    
                
                
                
- 
                
                    
                    version: string
                    
                    
                     
                    
                
                
                
- 
                
                    
                    warningMsg: string
                    
                    
                     
                    
                
                
                
400 Response
500 Response
Examples
The following examples show how to get details about packages by submitting a GET 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: Get all packages
curl -X GET -H 'Authorization: Bearer access_token' -H "Accept:application/json" https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/packages?integrationInstance=service-instanceExample: Get only packages that contain myPack in the package name in any case
curl -G -X GET -H 'Authorization: Bearer access_token' -H "Accept:application/json" --data-urlencode "q={name: /myPack/}" https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/packages?integrationInstance=service-instanceExample: Paginate through returned packages
Pagination is done with limit and offset. In this example, we list packages starting at the fourth item. The list contains 16 items. 
                  
curl -G -X GET -H 'Authorization: Bearer access_token' -H "Accept:application/json" -d "offset=3&limit=16" https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/packages?integrationInstance=service-instanceExample: Combine parameters to retrieve packages that contain a string, and paginate through the results
To combine query parameters, use q with the --data-urlencode option. The other parameters can be added after the -d option. 
                  
In this example, we are retrieving packages that contain myPack in uppercase or lowercase, and have the type DEVELOPED.
curl -G -X GET -H 'Authorization: Bearer access_token' -H "Accept:application/json" --data-urlencode "q={name: /myPack/, type:'DEVELOPED'}" -d "offset=3&limit=16" https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/packages?integrationInstance=service-instance