Creates a publication.

POST {{baseUrl}}/publications

Creates a publication of the specified listing type with an optional default package.

Request Body

{"listingType"=>"PRIVATE", "name"=>"consectetur culpa reprehenderit laborum", "shortDescription"=>"officia Excepteur in culpa", "supportContacts"=>[{"email"=>"irure consequat magna", "name"=>"ullamco aute", "phone"=>"quis id", "subject"=>"ullamco sit"}, {"email"=>"laborum officia ad cillum", "name"=>"dolor Lorem velit do", "phone"=>"qui enim eu tempor", "subject"=>"occaecat"}], "compartmentId"=>"{{compartment_ocid}}", "packageDetails"=>{"packageVersion"=>"aute veniam elit", "packageType"=>"ORCHESTRATION", "operatingSystem"=>{"name"=>"nisi ut"}, "eula"=>[{"eulaType"=>"TEXT"}, {"eulaType"=>"TEXT"}]}, "isAgreementAcknowledged"=>false, "freeformTags"=>{"do_c4"=>"Excepteur sed", "ea_c"=>"in adipisicing proident"}, "longDescription"=>"ipsum incididunt"}

HEADERS

KeyDatatypeRequiredDescription
opc-retry-tokenstringA 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).
opc-request-idstringUnique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
please provide the request ID.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"id":"ut","name":"officia commodo minim dolore magna","listingType":"PRIVATE","compartmentId":"irure ea amet","definedTags":{"magna__a":{"Lorem_35":{},"voluptate_4":{},"non_ef4":{},"ina4c":{}}},"freeformTags":{"esse_ab":"ut aute non esse eu","nisi2f5":"ad ut","do_5e2":"nostrud eiusmod sint"},"icon":{"contentUrl":"aliquip voluptate incididunt","fileExtension":"pariatur deserunt cillum","mimeType":"ex","name":"consequat aute Duis anim incididunt"},"lifecycleState":"CREATING","longDescription":"sunt et","packageType":"IMAGE","shortDescription":"sint nostrud dolore Excepteur ad","supportContacts":[{"email":"incididunt dolor","name":"ut irure","phone":"officia veniam cupidata","subject":"amet"},{"email":"reprehenderit","name":"amet","phone":"deserunt anim n","subject":"dolor velit laboris"}],"supportedOperatingSystems":[{"name":"aliquip ut deserunt"},{"name":"incididunt velit dolore"}],"timeCreated":"1988-11-21T00:11:00.974Z"}