Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Web Methods Shutdown API
version: '11.0'
description: 'Operations tagged Shutdown across 2 of this provider''s published API definitions: apigateway-Administration.json, web-methods-api-gateway-administration-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:5555/rest/apigateway
tags:
- name: Shutdown
paths:
/shutdown:
post:
description: This method shutdowns the API Gateway server. If bounce is set as true then the server would be restarted. The option parameter specifies whether to shutdown API Gateway server immediately or after all client sessions are ended. A value of 'force' would shutdown the server immediately and 'drain' would wait for a maximum period of time for all the client sessions to end before shutdown. Quiesce specifies the quiesce mode for all in API Gateway. A value of true would first flush the API Gateway in memory data like performance metrics, license metrics and subscription quota to datastore before shutdown of the server. Next, when API Gateway is restarted either manually or using bounce parameter, the Integration server will be started in Quiesce mode. The default value is false.
operationId: shutdown
responses:
'200':
description: This status code indicates that API Gateway has been shutdown successfully.
content:
application/json:
example: "{\n \"bounce\": true,\n \"option\": \"force\",\n \"timeout\": \"10\",\n \"message\": \"Server shutdown is in progress.\"\n}"
'400':
description: This status code indicates that the user sends an empty or invalid JSON payload.
'401':
description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API.
security:
- Basic: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Shutdown'
required: true
tags:
- Shutdown
summary: Shutdown
x-summary-source: derived
servers:
- url: http://localhost:5555/rest/apigateway
components:
schemas:
Shutdown:
type: object
required:
- option
properties:
bounce:
type: boolean
description: Specifies whether to restart API Gateway server after shutdown. A value of true would restart the server. Default value is false.
option:
type: string
description: Specifies whether to shutdown API Gateway server immediately or after all client sessions are ended. A value of 'force' would shutdown the server immediately and 'drain' would wait for a maximum period of time for all the client sessions to end before shutdown.
enum:
- force
- drain
quiesce:
type: boolean
description: 'A value of true would first flush the API Gateway in memory data like performance metrics, license metrics and subscription quota to datastore before shutdown of the server. Next, when API Gateway is restarted either manually or using bounce parameter, the Integration server will be started in Quiesce mode. Note: In a cluster, the flushing of in memory data would happen only on one of the nodes and hence on other nodes the API call would return immediately by eliminating the flush time. The default value is false.'
timeout:
type: integer
format: int32
description: Specifies the maximum wait time in minutes before API Gateway server is shutdown when option drain is specified.
description: This contains parameters for APIGateway shutdown resource.
securitySchemes:
Basic:
type: http
scheme: basic
description: API Gateway Administrator and API Gateway provider
x-refined-from:
- apigateway-Administration.json
- web-methods-api-gateway-administration-openapi.yml