Updates an existing publication.
PUT {{baseUrl}}/publications/:publicationId
Updates the details of an existing publication.
Request Body
{"freeformTags"=>{"enim_4f9"=>"minim qui ipsum Excepteur", "veniam_353"=>"fugiat iru"}, "longDescription"=>"velit do nulla ea", "name"=>"est", "shortDescription"=>"eiusmod amet exercitation consequat sunt", "supportContacts"=>[{"email"=>"ea proident tempor id", "name"=>"ad dolore est", "phone"=>"dolore mollit enim adipisicing", "subject"=>"aliquip adipisicing tempor Excepteur"}, {"email"=>"amet Ut incididunt sint", "name"=>"ut veniam", "phone"=>"ut exercitation sunt dolor", "subject"=>""}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, | |
please provide the request ID. | |||
opc-retry-token | string | A token that uniquely identifies a request so it can be retried in case of a timeout or server error without | |
risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before | |||
then due to conflicting operations (for example, if a resource has been deleted and purged from the system, | |||
then a retry of the original creation request might be rejected). | |||
if-match | string | For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to | |
the value of the etag from a previous GET or POST response for that resource. The resource will be updated or | |||
deleted only if the etag you provide matches the resource's current etag value. | |||
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"sed minim ex","name":"eiusmod et quis commodo","listingType":"PRIVATE","compartmentId":"nostrud non sit voluptate","definedTags":{"aliqua_7f":{"culpa_f7":{}},"ex0e":{"Excepteur_3":{}}},"freeformTags":{"dolor0c7":"nostrud dolor aliq","ut7b5":"co"},"icon":{"contentUrl":"incididunt sed","fileExtension":"in dolore","mimeType":"aliquip","name":"ut consectetur dolor ad"},"lifecycleState":"ACTIVE","longDescription":"quis in nulla tempor","packageType":"IMAGE","shortDescription":"nostrud eu magna dolor","supportContacts":[{"email":"ad dolor ullamco","name":"deserunt nostrud","phone":"culpa pariatur ea esse","subject":"anim officia cupidatat Lorem"},{"email":"dolor","name":"officia deserunt aute","phone":"adipisicing magna dolor","subject":"proident esse sed est occaecat"}],"supportedOperatingSystems":[{"name":"minim laborum"},{"name":"eu sint commodo"}],"timeCreated":"1948-07-12T14:09:34.778Z"}