Creates a new Deployment

POST {{baseUrl}}/deployments

Creates a new deployment.

Request Body

{"pathPrefix"=>"incididunt qui", "specification"=>{"loggingPolicies"=>{"accessLog"=>{"isEnabled"=>false}, "executionLog"=>{"isEnabled"=>false, "logLevel"=>"INFO"}}, "requestPolicies"=>{"authentication"=>{"type"=>"CUSTOM_AUTHENTICATION", "isAnonymousAccessAllowed"=>true}, "cors"=>{"allowedOrigins"=>["reprehenderit consequat quis", "id consequat"], "allowedHeaders"=>["*", "Content-Type", "X-Foo-Bar"], "allowedMethods"=>["*", "GET", "POST"], "exposedHeaders"=>["*", "opc-request-id"], "isAllowCredentialsEnabled"=>false, "maxAgeInSeconds"=>600}, "rateLimiting"=>{"rateInRequestsPerSecond"=>-21160055, "rateKey"=>"TOTAL"}}, "routes"=>[{"backend"=>{"type"=>"STOCK_RESPONSE_BACKEND"}, "path"=>"/todos", "loggingPolicies"=>{"accessLog"=>{"isEnabled"=>false}, "executionLog"=>{"isEnabled"=>false, "logLevel"=>"INFO"}}, "methods"=>["OPTIONS", "PATCH"], "requestPolicies"=>{"authorization"=>{"type"=>"AUTHENTICATION_ONLY"}, "bodyValidation"=>{"content"=>{"*/*"=>{"validationType"=>"NONE"}, "application/*"=>{"validationType"=>"NONE"}, "application/json"=>{"validationType"=>"NONE"}}, "validationMode"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "required"=>false}, "cors"=>{"allowedOrigins"=>["do cillum sint id", "tempor occaecat non"], "allowedHeaders"=>["*", "Content-Type", "X-Foo-Bar"], "allowedMethods"=>["*", "GET", "POST"], "exposedHeaders"=>["*", "opc-request-id"], "isAllowCredentialsEnabled"=>false, "maxAgeInSeconds"=>600}, "headerTransformations"=>{"filterHeaders"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "renameHeaders"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "setHeaders"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}, "headerValidations"=>{"validationMode"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "headers"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}, "queryParameterTransformations"=>{"filterQueryParameters"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "renameQueryParameters"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "setQueryParameters"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}, "queryParameterValidations"=>{"validationMode"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "parameters"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}, "responseCacheLookup"=>{"type"=>"SIMPLE_LOOKUP_POLICY", "isEnabled"=>true, "isPrivateCachingEnabled"=>false}}, "responsePolicies"=>{"headerTransformations"=>{"filterHeaders"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "renameHeaders"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "setHeaders"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}, "responseCacheStore"=>{"type"=>"FIXED_TTL_STORE_POLICY"}}}, {"backend"=>{"type"=>"ORACLE_FUNCTIONS_BACKEND"}, "path"=>"/todos", "loggingPolicies"=>{"accessLog"=>{"isEnabled"=>false}, "executionLog"=>{"isEnabled"=>false, "logLevel"=>"INFO"}}, "methods"=>["OPTIONS", "POST"], "requestPolicies"=>{"authorization"=>{"type"=>"AUTHENTICATION_ONLY"}, "bodyValidation"=>{"content"=>{"*/*"=>{"validationType"=>"NONE"}, "application/*"=>{"validationType"=>"NONE"}, "application/json"=>{"validationType"=>"NONE"}}, "validationMode"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "required"=>false}, "cors"=>{"allowedOrigins"=>["officia", "laboris sit eu cupidatat anim"], "allowedHeaders"=>["*", "Content-Type", "X-Foo-Bar"], "allowedMethods"=>["*", "GET", "POST"], "exposedHeaders"=>["*", "opc-request-id"], "isAllowCredentialsEnabled"=>false, "maxAgeInSeconds"=>600}, "headerTransformations"=>{"filterHeaders"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "renameHeaders"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "setHeaders"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}, "headerValidations"=>{"validationMode"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "headers"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}, "queryParameterTransformations"=>{"filterQueryParameters"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "renameQueryParameters"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "setQueryParameters"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}, "queryParameterValidations"=>{"validationMode"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "parameters"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}, "responseCacheLookup"=>{"type"=>"SIMPLE_LOOKUP_POLICY", "isEnabled"=>true, "isPrivateCachingEnabled"=>false}}, "responsePolicies"=>{"headerTransformations"=>{"filterHeaders"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "renameHeaders"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "setHeaders"=>{"items"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}, "responseCacheStore"=>{"type"=>"FIXED_TTL_STORE_POLICY"}}}]}}

HEADERS

KeyDatatypeRequiredDescription
opc-retry-tokennullA 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-idnullThe client request id for tracing.
Content-Typestring
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header
x-content-sha256string(Required) Content sha256 for POST, PUT and PATCH operations

RESPONSES

status: Created

{&quot;endpoint&quot;:&quot;et incididunt minim enim ut&quot;,&quot;pathPrefix&quot;:&quot;fugiat id occaecat ea nulla&quot;,&quot;lifecycleDetails&quot;:&quot;consequat occaecat&quot;,&quot;lifecycleState&quot;:&quot;ACTIVE&quot;,&quot;specification&quot;:{&quot;loggingPolicies&quot;:{&quot;accessLog&quot;:{&quot;isEnabled&quot;:false},&quot;executionLog&quot;:{&quot;isEnabled&quot;:false,&quot;logLevel&quot;:&quot;INFO&quot;}},&quot;requestPolicies&quot;:{&quot;authentication&quot;:{&quot;type&quot;:&quot;JWT_AUTHENTICATION&quot;,&quot;isAnonymousAccessAllowed&quot;:true},&quot;cors&quot;:{&quot;allowedOrigins&quot;:[&quot;quis qui&quot;,&quot;tempor velit&quot;],&quot;allowedHeaders&quot;:[&quot;*&quot;,&quot;Content-Type&quot;,&quot;X-Foo-Bar&quot;],&quot;allowedMethods&quot;:[&quot;*&quot;,&quot;GET&quot;,&quot;POST&quot;],&quot;exposedHeaders&quot;:[&quot;*&quot;,&quot;opc-request-id&quot;],&quot;isAllowCredentialsEnabled&quot;:false,&quot;maxAgeInSeconds&quot;:600},&quot;rateLimiting&quot;:{&quot;rateInRequestsPerSecond&quot;:-49182553,&quot;rateKey&quot;:&quot;TOTAL&quot;}},&quot;routes&quot;:[{&quot;backend&quot;:{&quot;type&quot;:&quot;ORACLE_FUNCTIONS_BACKEND&quot;},&quot;path&quot;:&quot;/todos&quot;,&quot;loggingPolicies&quot;:{&quot;accessLog&quot;:{&quot;isEnabled&quot;:false},&quot;executionLog&quot;:{&quot;isEnabled&quot;:false,&quot;logLevel&quot;:&quot;INFO&quot;}},&quot;methods&quot;:[&quot;OPTIONS&quot;,&quot;PUT&quot;],&quot;requestPolicies&quot;:{&quot;authorization&quot;:{&quot;type&quot;:&quot;AUTHENTICATION_ONLY&quot;},&quot;bodyValidation&quot;:{&quot;content&quot;:{&quot;*/*&quot;:{&quot;validationType&quot;:&quot;NONE&quot;},&quot;application/*&quot;:{&quot;validationType&quot;:&quot;NONE&quot;},&quot;application/json&quot;:{&quot;validationType&quot;:&quot;NONE&quot;}},&quot;validationMode&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;required&quot;:false},&quot;cors&quot;:{&quot;allowedOrigins&quot;:[&quot;Duis proident&quot;,&quot;ipsum pariatur Ut sint&quot;],&quot;allowedHeaders&quot;:[&quot;*&quot;,&quot;Content-Type&quot;,&quot;X-Foo-Bar&quot;],&quot;allowedMethods&quot;:[&quot;*&quot;,&quot;GET&quot;,&quot;POST&quot;],&quot;exposedHeaders&quot;:[&quot;*&quot;,&quot;opc-request-id&quot;],&quot;isAllowCredentialsEnabled&quot;:false,&quot;maxAgeInSeconds&quot;:600},&quot;headerTransformations&quot;:{&quot;filterHeaders&quot;:{&quot;items&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;type&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;renameHeaders&quot;:{&quot;items&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;setHeaders&quot;:{&quot;items&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}},&quot;headerValidations&quot;:{&quot;validationMode&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;headers&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},&quot;queryParameterTransformations&quot;:{&quot;filterQueryParameters&quot;:{&quot;items&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;type&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;renameQueryParameters&quot;:{&quot;items&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;setQueryParameters&quot;:{&quot;items&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}},&quot;queryParameterValidations&quot;:{&quot;validationMode&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;parameters&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},&quot;responseCacheLookup&quot;:{&quot;type&quot;:&quot;SIMPLE_LOOKUP_POLICY&quot;,&quot;isEnabled&quot;:true,&quot;isPrivateCachingEnabled&quot;:false}},&quot;responsePolicies&quot;:{&quot;headerTransformations&quot;:{&quot;filterHeaders&quot;:{&quot;items&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;type&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;renameHeaders&quot;:{&quot;items&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;setHeaders&quot;:{&quot;items&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}},&quot;responseCacheStore&quot;:{&quot;type&quot;:&quot;FIXED_TTL_STORE_POLICY&quot;}}},{&quot;backend&quot;:{&quot;type&quot;:&quot;ORACLE_FUNCTIONS_BACKEND&quot;},&quot;path&quot;:&quot;/todos&quot;,&quot;loggingPolicies&quot;:{&quot;accessLog&quot;:{&quot;isEnabled&quot;:false},&quot;executionLog&quot;:{&quot;isEnabled&quot;:false,&quot;logLevel&quot;:&quot;INFO&quot;}},&quot;methods&quot;:[&quot;POST&quot;,&quot;OPTIONS&quot;],&quot;requestPolicies&quot;:{&quot;authorization&quot;:{&quot;type&quot;:&quot;AUTHENTICATION_ONLY&quot;},&quot;bodyValidation&quot;:{&quot;content&quot;:{&quot;*/*&quot;:{&quot;validationType&quot;:&quot;NONE&quot;},&quot;application/*&quot;:{&quot;validationType&quot;:&quot;NONE&quot;},&quot;application/json&quot;:{&quot;validationType&quot;:&quot;NONE&quot;}},&quot;validationMode&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;required&quot;:false},&quot;cors&quot;:{&quot;allowedOrigins&quot;:[&quot;eiusmod ullamco&quot;,&quot;esse Duis laborum est&quot;],&quot;allowedHeaders&quot;:[&quot;*&quot;,&quot;Content-Type&quot;,&quot;X-Foo-Bar&quot;],&quot;allowedMethods&quot;:[&quot;*&quot;,&quot;GET&quot;,&quot;POST&quot;],&quot;exposedHeaders&quot;:[&quot;*&quot;,&quot;opc-request-id&quot;],&quot;isAllowCredentialsEnabled&quot;:false,&quot;maxAgeInSeconds&quot;:600},&quot;headerTransformations&quot;:{&quot;filterHeaders&quot;:{&quot;items&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;type&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;renameHeaders&quot;:{&quot;items&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;setHeaders&quot;:{&quot;items&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}},&quot;headerValidations&quot;:{&quot;validationMode&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;headers&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},&quot;queryParameterTransformations&quot;:{&quot;filterQueryParameters&quot;:{&quot;items&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;type&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;renameQueryParameters&quot;:{&quot;items&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;setQueryParameters&quot;:{&quot;items&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}},&quot;queryParameterValidations&quot;:{&quot;validationMode&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;parameters&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]},&quot;responseCacheLookup&quot;:{&quot;type&quot;:&quot;SIMPLE_LOOKUP_POLICY&quot;,&quot;isEnabled&quot;:true,&quot;isPrivateCachingEnabled&quot;:false}},&quot;responsePolicies&quot;:{&quot;headerTransformations&quot;:{&quot;filterHeaders&quot;:{&quot;items&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;type&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;renameHeaders&quot;:{&quot;items&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;setHeaders&quot;:{&quot;items&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}},&quot;responseCacheStore&quot;:{&quot;type&quot;:&quot;FIXED_TTL_STORE_POLICY&quot;}}}]}}