ApiProxy

Update Spec API of API Proxy

Changed on

Updates the Spec API (OpenAPI specification) of the given API Proxy. If the API Proxy does not have a Spec API yet, a new one will be created and linked.

put/apiops/projects/{projectName}/apiProxies/{apiProxyName}/spec/

Request

Path parameters

projectNamestring required
apiProxyNamestring required

Request body

idstring
projectIdstring
apiProxyIdstring
apiProxyRevisioninteger
openapistring
advancedboolean
specFromProxyboolean
specCreationType'OPEN_API' | 'SWAGGER' | 'WSDL' | 'WADL'
extensionsobject
importedContentOfBackendApistring
createdDatestring date-time
updatedDatestring date-time

Response

successful operation!

idstring
projectIdstring
apiProxyIdstring
apiProxyRevisioninteger
openapistring
advancedboolean
specFromProxyboolean
specCreationType'OPEN_API' | 'SWAGGER' | 'WSDL' | 'WADL'
extensionsobject
importedContentOfBackendApistring
createdDatestring date-time
updatedDatestring date-time

Changes

    • breaking

      request property was restricted to a list of enum values

    • breaking

      the request property format changed from no format to int32

    • breaking

      the // request property format changed from no format to int32

    • breaking

      the request property type changed from object to string

    • breaking

      the response's property type changed from object to string for status

    This list may be incomplete.

    • info

      endpoint added