Package Details of an Application

get

/appstore/publisher/v1/applications/{listingVersionId}/packages/{packageVersionId}

Get the details of the specified package.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Successful Operation
Body ()
Root Schema : PackageVersion
Type: object
Show Source
Nested Schema : accessURLs
Type: array
Show Source
Nested Schema : actions
Type: array
Show Source
Nested Schema : dependentServices
Type: array
Show Source
Nested Schema : Resource
Type: object
Show Source
Nested Schema : operations
Type: array
Show Source
Nested Schema : resources
Type: array
Show Source
Nested Schema : AccessURL
Type: object
Show Source
Nested Schema : parameters
Type: array
Show Source
Nested Schema : AccessURLParam
Type: object
Show Source
Nested Schema : Action
Type: object
Show Source
Nested Schema : Authentication
Type: object
Show Source
Nested Schema : requestProperties
Type: array
Show Source
Nested Schema : ResourceMap
Type: object
Show Source
Nested Schema : ActionProperty
Type: object
Show Source
Nested Schema : parameters
Type: array
Show Source
Nested Schema : values
Type: array
Show Source
Nested Schema : PackageParam
Type: object
Show Source
Nested Schema : Service
Type: object
Show Source
Nested Schema : customProperties
Type: array
Show Source
Nested Schema : InputStream
Type: object
Nested Schema : standardProperties
Type: array
Show Source
Nested Schema : Operation
Type: object
Show Source
Nested Schema : actionExecutionSequence
Type: array
Show Source
Nested Schema : OperationAction
Type: object
Show Source

400 Response

Bad Request

401 Response

Not Authorized

404 Response

Entity Not Found

500 Response

System Error
Back to Top

Examples

The following example return details of an application package, by submitting a GET request on the REST resource using cURL.

cURL Example

curl -X GET -H "X-Oracle-UserId: partner-email" -H "Authorization: Bearer Access-token" "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/applications/2133526/packages/3084832"

Request Header

X-Oracle-UserId: fname.lname@oracle.com 
Authorization: Bearer Access-token 

Request Body

None

HTTP Status Code:

200 OK

JSON Response:

{
  "id": 3084832,
  "listingVersionId": 2133526,
  "name": "Add credential package : soude - 2016-01-29 [try #1]_3084831",
  "description": "Rest Package Snippet",
  "version": "1.0",
  "type": "UNMANAGED",
  "namespacePrefix": "Rest Package Snippet",
  "displayName": "",
  "listingImageURL": "https://ocm-apis.cloud.oracle.com/marketplace/content?contentId=2133542",
  "status": "VALIDATION_SUCCEEDED",
  "dependentServices": [
    {
      "tag": "Java Service",
      "serviceName": "JAVA",
      "minVersion": "1",
      "maxVersion": "10",
      "isDedicatedToAppFlag": true,
      "minSize": "1311",
      "maxSize": ""
    }
  ],
  "actions": [
    {
      "tag": "Add credential",
      "dependentServiceTag": "Java Service",
      "actionName": "addcredential",
      "type": "OUT_OF_THE_BOX_ACTION",
      "requestProperties": [
        {
          "name": "CREDENTIAL_MAP_NAME",
          "source": "BLUEPRINT_STATIC",
          "value": "user.custom.map"
        },
        {
          "name": "DESCRIPTION",
          "source": "BLUEPRINT_STATIC",
          "value": "Test action for addcredential - soude"
        },
        {
          "name": "KEY",
          "source": "BLUEPRINT_STATIC",
          "value": "ADD_CRED_TEST"
        },
        {
          "name": "KEY_USER",
          "source": "BLUEPRINT_STATIC",
          "value": "ADD_CRED_TEST_SOUDE"
        },
        {
          "name": "KEY_PASSWORD",
          "source": "BLUEPRINT_STATIC",
          "value": "Welcome1"
        }
      ],
      "authentication": {
        "type": "",
        "authHeader": ""
      }
    },
    {
      "tag": "Delete credential",
      "dependentServiceTag": "Java Service",
      "actionName": "deletecredential",
      "type": "OUT_OF_THE_BOX_ACTION",
      "requestProperties": [
        {
          "name": "CREDENTIAL_MAP_NAME",
          "source": "BLUEPRINT_STATIC",
          "value": "user.custom.map"
        },
        {
          "name": "KEY",
          "source": "BLUEPRINT_STATIC",
          "value": "ADD_CRED_TEST"
        }
      ],
      "authentication": {
        "type": "",
        "authHeader": ""
      }
    }
  ],
  "operations": [
    {
      "type": "INSTALL",
      "actionExecutionSequence": [
        {
          "sequenceNumber": 1,
          "actionTag": "Add credential"
        }
      ]
    },
    {
      "type": "UNINSTALL",
      "actionExecutionSequence": [
        {
          "sequenceNumber": 1,
          "actionTag": "Delete credential"
        }
      ]
    }
  ],
  "accessURLs": [
    {
      "name": "static",
      "description": "Test URL",
      "staticURL": "https://www.oracle.co.in/?gws_rd=ssl"
    }
  ],
  "links": [
    {
      "rel": "CANONICAL",
      "href": "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/applications/2133526/packages/3084832"
    }
  ]
}
Back to Top