Retrieve a Package
get
/ic/api/integration/v1/packages/{packagename}
Retrieves detailed information about the package with the specified name.
Request
Supported Media Types
- application/json; charset=utf-8
Path Parameters
-
packagename(required): string
Package name
Query Parameters
-
includeDependencies: boolean
Include integration dependency information in the integration section of the response.
Response
Supported Media Types
- application/json; charset=utf-8
- application/vnd.oracle.resource+json;type=singular
200 Response
Successful operation
Root Schema : package
Type:
Show Source
object
-
bartaBuiltBy:
string
-
bartaType:
string
-
countOfIntegrations:
integer(int32)
-
id:
string
-
integrations:
array integrations
-
isCloneAllowed:
boolean
Default Value:
false
-
isViewAllowed:
boolean
Default Value:
false
-
links:
array links
-
name:
string
-
type:
string
Nested Schema : IntegrationBaseResource
Type:
Show Source
object
-
code:
string
-
dependencies:
object IntegrationDependencyRs
-
id:
string
-
links:
array links
-
lockedFlag:
boolean
Default Value:
false
-
name:
string
-
pattern:
string
-
patternDescription:
string
-
scheduleApplicable:
boolean
Default Value:
false
-
scheduleDefined:
boolean
Default Value:
false
-
status:
string
-
style:
string
-
styleDescription:
string
-
version:
string
404 Response
Not found
500 Response
Server error
Examples
The following examples show how to get details about a package 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 details about the package samples.oracle.helloworld
curl -X GET -H 'Authorization: Bearer access_token' -H "Accept:application/json"
https://integration.us.oraclecloud.com/ic/api/integration/v1/packages/samples.oracle.helloworld
Example: Get details about the package samples.oracle.helloworld and include dependency information in the response
curl -X GET -H 'Authorization: Bearer access_token' -H "Accept:application/json"
https://integration.us.oraclecloud.com/ic/api/integration/v1/packages/samples.oracle.helloworld?includeDependencies=true
Example response with dependency information:
{
"bartaType": "DEVELOPED",
"countOfIntegrations": 4,
"id": "samples.oracle.helloworld",
"integrations": [
{
"code": "API_USECASE3",
"dependencies": {
"connections": [
{
"id": "FTP_API_SLC02GAD",
"name": "FTP_API_SLC02GAD",
"role": "SOURCE_AND_TARGET",
"status": "INPROGRESS",
"type": "ftp"
}
]
},
...
}