Retrieve Packages

get

/ic/api/integration/v1/packages

Retrieves information about all packages ordered by the last updated time.

Request

Supported Media Types
Query Parameters
  • 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.
  • 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.
  • 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/}
    • type: type of package. Valid values: PREBUILT, DEVELOPED.
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : PackagesRs
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : package
Type: object
Show Source
Nested Schema : integrations
Type: array
Show Source
Nested Schema : IntegrationBaseResource
Type: object
Show Source
Nested Schema : IntegrationDependencyRs
Type: object
Show Source
Nested Schema : certificates
Type: array
Show Source
Nested Schema : connections
Type: array
Show Source
Nested Schema : integrations
Type: array
Show Source
Nested Schema : libraries
Type: array
Show Source
Nested Schema : lookups
Type: array
Show Source
Nested Schema : CertificateDependencyRs
Type: object
Show Source
Nested Schema : ConnectionDependencyRs
Type: object
Show Source
Nested Schema : LocalIntegrationDependencyRs
Type: object
Show Source
Nested Schema : LibraryDependencyRs
Type: object
Show Source
Nested Schema : LookupDependencyRs
Type: object
Show Source

400 Response

Malformed parameters

500 Response

Server error
Back to Top

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://integration.us.oraclecloud.com/ic/api/integration/v1/packages

Example: 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://integration.us.oraclecloud.com/ic/api/integration/v1/packages

Example: 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://integration.us.oraclecloud.com/ic/api/integration/v1/packages 

Example: 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://integration.us.oraclecloud.com/ic/api/integration/v1/packages
Back to Top