Update Icon

put

/appstore/publisher/v1/services/{listingVersionId}/icon

Update the icon for the service.

Request

Supported Media Types
Path Parameters
Body ()
Upload the icon to be updated.
Root Schema : FormDataMultiPart
Type: object
Show Source
Nested Schema : bodyParts
Type: array
Show Source
Nested Schema : ContentDisposition
Type: object
Show Source
Nested Schema : entity
Type: object
Nested Schema : fields
Type: object
Additional Properties Allowed
Show Source
Nested Schema : headers
Type: object
Additional Properties Allowed
Show Source
Nested Schema : MediaType
Type: object
Show Source
Nested Schema : parameterizedHeaders
Type: object
Additional Properties Allowed
Show Source
Nested Schema : MultiPart
Type: object
Show Source
Nested Schema : Providers
Type: object
Nested Schema : BodyPart
Type: object
Show Source
Nested Schema : entity
Type: object
Nested Schema : headers
Type: object
Additional Properties Allowed
Show Source
Nested Schema : parameterizedHeaders
Type: object
Additional Properties Allowed
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : ParameterizedHeader
Type: object
Show Source
Nested Schema : parameters
Type: object
Additional Properties Allowed
Show Source
Nested Schema : parameters
Type: object
Additional Properties Allowed
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : FormDataBodyPart
Type: object
Show Source
Nested Schema : entity
Type: object
Nested Schema : FormDataContentDisposition
Type: object
Show Source
Nested Schema : headers
Type: object
Additional Properties Allowed
Show Source
Nested Schema : parameterizedHeaders
Type: object
Additional Properties Allowed
Show Source
Nested Schema : parameters
Type: object
Additional Properties Allowed
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : parameters
Type: object
Additional Properties Allowed
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : bodyParts
Type: array
Show Source
Nested Schema : entity
Type: object
Nested Schema : headers
Type: object
Additional Properties Allowed
Show Source
Nested Schema : parameterizedHeaders
Type: object
Additional Properties Allowed
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful Operation
Body ()
Root Schema : acknowledgement
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 updates the icon for an existing listing belonging to a partner, by submitting a PUT request on the REST resource using cURL.

cURL Example

curl -X PUT -H "X-Oracle-UserId: partner-email" -H "Authorization: Bearer Access-token" -H "Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW " -F "image=@file-path" "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/applications/2908689/icon"

Request Header

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

Request Body

[form-data]
image: File Upload

HTTP Status Code:

200 OK

JSON Response:

{
  "message": "Icon upload was successful.",
  "entityId": "2915754"
}
Back to Top