Get API Deployment specification based on the API.

GET {{baseUrl}}/apis/:apiId/deploymentSpecification

Gets an API Deployment specification by identifier.

HEADERS

KeyDatatypeRequiredDescription
opc-request-idnullThe client request id for tracing.
if-matchnullFor 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.
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header

RESPONSES

status: OK

{"loggingPolicies":{"accessLog":{"isEnabled":false},"executionLog":{"isEnabled":false,"logLevel":"INFO"}},"requestPolicies":{"authentication":{"type":"CUSTOM_AUTHENTICATION","isAnonymousAccessAllowed":true},"cors":{"allowedOrigins":["officia dolore in sed","pariatur adipisicing ad esse"],"allowedHeaders":["*","Content-Type","X-Foo-Bar"],"allowedMethods":["*","GET","POST"],"exposedHeaders":["*","opc-request-id"],"isAllowCredentialsEnabled":false,"maxAgeInSeconds":600},"rateLimiting":{"rateInRequestsPerSecond":78131486,"rateKey":"TOTAL"}},"routes":[{"backend":{"type":"STOCK_RESPONSE_BACKEND"},"path":"/todos","loggingPolicies":{"accessLog":{"isEnabled":false},"executionLog":{"isEnabled":false,"logLevel":"INFO"}},"methods":["OPTIONS","ANY"],"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":["in pariatur et","ut irure 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"}}},{"backend":{"type":"HTTP_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":["irure ad amet cupidatat ","laborum eu ad cupidatat"],"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"}}}]}