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
Key | Datatype | Required | Description |
---|---|---|---|
opc-retry-token | null | 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. | |||
opc-request-id | null | The client request id for tracing. | |
Content-Type | string | ||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header | |
x-content-sha256 | string | (Required) Content sha256 for POST, PUT and PATCH operations |
RESPONSES
status: Created
{"endpoint":"et incididunt minim enim ut","pathPrefix":"fugiat id occaecat ea nulla","lifecycleDetails":"consequat occaecat","lifecycleState":"ACTIVE","specification":{"loggingPolicies":{"accessLog":{"isEnabled":false},"executionLog":{"isEnabled":false,"logLevel":"INFO"}},"requestPolicies":{"authentication":{"type":"JWT_AUTHENTICATION","isAnonymousAccessAllowed":true},"cors":{"allowedOrigins":["quis qui","tempor velit"],"allowedHeaders":["*","Content-Type","X-Foo-Bar"],"allowedMethods":["*","GET","POST"],"exposedHeaders":["*","opc-request-id"],"isAllowCredentialsEnabled":false,"maxAgeInSeconds":600},"rateLimiting":{"rateInRequestsPerSecond":-49182553,"rateKey":"TOTAL"}},"routes":[{"backend":{"type":"ORACLE_FUNCTIONS_BACKEND"},"path":"/todos","loggingPolicies":{"accessLog":{"isEnabled":false},"executionLog":{"isEnabled":false,"logLevel":"INFO"}},"methods":["OPTIONS","PUT"],"requestPolicies":{"authorization":{"type":"AUTHENTICATION_ONLY"},"bodyValidation":{"content":{"*/*":{"validationType":"NONE"},"application/*":{"validationType":"NONE"},"application/json":{"validationType":"NONE"}},"validationMode":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"required":false},"cors":{"allowedOrigins":["Duis proident","ipsum pariatur Ut sint"],"allowedHeaders":["*","Content-Type","X-Foo-Bar"],"allowedMethods":["*","GET","POST"],"exposedHeaders":["*","opc-request-id"],"isAllowCredentialsEnabled":false,"maxAgeInSeconds":600},"headerTransformations":{"filterHeaders":{"items":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"renameHeaders":{"items":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"setHeaders":{"items":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},"headerValidations":{"validationMode":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"headers":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"queryParameterTransformations":{"filterQueryParameters":{"items":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"renameQueryParameters":{"items":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"setQueryParameters":{"items":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},"queryParameterValidations":{"validationMode":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"parameters":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"responseCacheLookup":{"type":"SIMPLE_LOOKUP_POLICY","isEnabled":true,"isPrivateCachingEnabled":false}},"responsePolicies":{"headerTransformations":{"filterHeaders":{"items":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"renameHeaders":{"items":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"setHeaders":{"items":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},"responseCacheStore":{"type":"FIXED_TTL_STORE_POLICY"}}},{"backend":{"type":"ORACLE_FUNCTIONS_BACKEND"},"path":"/todos","loggingPolicies":{"accessLog":{"isEnabled":false},"executionLog":{"isEnabled":false,"logLevel":"INFO"}},"methods":["POST","OPTIONS"],"requestPolicies":{"authorization":{"type":"AUTHENTICATION_ONLY"},"bodyValidation":{"content":{"*/*":{"validationType":"NONE"},"application/*":{"validationType":"NONE"},"application/json":{"validationType":"NONE"}},"validationMode":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"required":false},"cors":{"allowedOrigins":["eiusmod ullamco","esse Duis laborum est"],"allowedHeaders":["*","Content-Type","X-Foo-Bar"],"allowedMethods":["*","GET","POST"],"exposedHeaders":["*","opc-request-id"],"isAllowCredentialsEnabled":false,"maxAgeInSeconds":600},"headerTransformations":{"filterHeaders":{"items":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"renameHeaders":{"items":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"setHeaders":{"items":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},"headerValidations":{"validationMode":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"headers":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"queryParameterTransformations":{"filterQueryParameters":{"items":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"renameQueryParameters":{"items":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"setQueryParameters":{"items":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},"queryParameterValidations":{"validationMode":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"parameters":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"responseCacheLookup":{"type":"SIMPLE_LOOKUP_POLICY","isEnabled":true,"isPrivateCachingEnabled":false}},"responsePolicies":{"headerTransformations":{"filterHeaders":{"items":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"renameHeaders":{"items":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"setHeaders":{"items":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},"responseCacheStore":{"type":"FIXED_TTL_STORE_POLICY"}}}]}}