Update Icon
put
/appstore/publisher/v1/applications/{listingVersionId}/icon
Update the icon for the application.
Request
Supported Media Types
- multipart/form-data
Path Parameters
-
listingVersionId: integer(int64)
Unique identifier of the listing for which to update the icon.
Upload the icon to be updated.
Root Schema : FormDataMultiPart
Type:
Show Source
object
-
bodyParts(optional):
array bodyParts
-
contentDisposition(optional):
object ContentDisposition
-
entity(optional):
object entity
-
fields(optional):
object fields
Additional Properties Allowed: additionalProperties
-
headers(optional):
object headers
Additional Properties Allowed: additionalProperties
-
mediaType(optional):
object MediaType
-
parameterizedHeaders(optional):
object parameterizedHeaders
Additional Properties Allowed: additionalProperties
-
parent(optional):
object MultiPart
-
providers(optional):
object Providers
Nested Schema : entity
Type:
object
Nested Schema : MediaType
Type:
Show Source
object
-
parameters(optional):
object parameters
Additional Properties Allowed: additionalProperties
-
subtype(optional):
string
-
type(optional):
string
-
wildcardSubtype(optional):
boolean
Default Value:
false
-
wildcardType(optional):
boolean
Default Value:
false
Nested Schema : MultiPart
Type:
Show Source
object
-
bodyParts(optional):
array bodyParts
-
contentDisposition(optional):
object ContentDisposition
-
entity(optional):
object entity
-
headers(optional):
object headers
Additional Properties Allowed: additionalProperties
-
mediaType(optional):
object MediaType
-
parameterizedHeaders(optional):
object parameterizedHeaders
Additional Properties Allowed: additionalProperties
-
parent(optional):
object MultiPart
-
providers(optional):
object Providers
Nested Schema : Providers
Type:
object
Nested Schema : BodyPart
Type:
Show Source
object
-
contentDisposition(optional):
object ContentDisposition
-
entity(optional):
object entity
-
headers(optional):
object headers
Additional Properties Allowed: additionalProperties
-
mediaType(optional):
object MediaType
-
parameterizedHeaders(optional):
object parameterizedHeaders
Additional Properties Allowed: additionalProperties
-
parent(optional):
object MultiPart
-
providers(optional):
object Providers
Nested Schema : entity
Type:
object
Nested Schema : ParameterizedHeader
Type:
Show Source
object
-
parameters(optional):
object parameters
Additional Properties Allowed: additionalProperties
-
value(optional):
string
Nested Schema : FormDataBodyPart
Type:
Show Source
object
-
contentDisposition(optional):
object ContentDisposition
-
entity(optional):
object entity
-
formDataContentDisposition(optional):
object FormDataContentDisposition
-
headers(optional):
object headers
Additional Properties Allowed: additionalProperties
-
mediaType(optional):
object MediaType
-
name(optional):
string
-
parameterizedHeaders(optional):
object parameterizedHeaders
Additional Properties Allowed: additionalProperties
-
parent(optional):
object MultiPart
-
providers(optional):
object Providers
-
simple(optional):
boolean
Default Value:
false
-
value(optional):
string
Nested Schema : entity
Type:
object
Nested Schema : FormDataContentDisposition
Type:
Show Source
object
-
creationDate(optional):
string(date-time)
-
fileName(optional):
string
-
modificationDate(optional):
string(date-time)
-
name(optional):
string
-
parameters(optional):
object parameters
Additional Properties Allowed: additionalProperties
-
readDate(optional):
string(date-time)
-
size(optional):
integer(int64)
-
type(optional):
string
Nested Schema : entity
Type:
object
Response
Supported Media Types
- application/json;qs=1
- application/xml;qs=.5
200 Response
Successful Operation
400 Response
Bad Request
401 Response
Not Authorized
404 Response
Entity Not Found
500 Response
System Error
Examples
The following example updates the icon for an existing application 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/applicatioins/9483951/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": "9483951" }Back to Top