swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector ListQnAMakerEndpointKeys API schemes: - https tags: - name: ListQnAMakerEndpointKeys paths: /subscriptions/{subscriptionId}/providers/Microsoft.BotService/listQnAMakerEndpointKeys: post: tags: - ListQnAMakerEndpointKeys description: Lists the QnA Maker endpoint keys operationId: microsoftAzureQnamakerendpointkeysGet x-ms-examples: List QnAMaker Endpoint Keys: $ref: ./examples/ListQnAMakerEndpointKeys.json parameters: - name: parameters in: body required: true schema: $ref: '#/definitions/QnAMakerEndpointKeysRequestBody' description: The request body parameters to provide for the check name availability request - $ref: '#/parameters/apiVersionParameter' - $ref: '#/parameters/subscriptionIdParameter' responses: '200': description: If resource is retrieved successfully, the service should return 200 (OK). schema: $ref: '#/definitions/QnAMakerEndpointKeysResponse' default: description: Error response describing why the operation failed schema: $ref: '#/definitions/Error' summary: Microsoft Azure Post Subscriptions Subscriptionid Providers Microsoft Botservice Listqnamakerendpointkeys definitions: QnAMakerEndpointKeysRequestBody: description: The request body for a request to Bot Service Management to list QnA Maker endpoint keys. type: object properties: hostname: description: the host name of the QnA Maker endpoint type: string authkey: description: Subscription key which provides access to this API. type: string ErrorBody: properties: code: type: string description: error code message: type: string description: error message description: Bot Service error body. required: - code - message QnAMakerEndpointKeysResponse: type: object description: Schema for EndpointKeys generate/refresh operations. properties: primaryEndpointKey: type: string description: Primary Access Key. secondaryEndpointKey: type: string description: Secondary Access Key. installedVersion: type: string description: Current version of runtime. lastStableVersion: type: string description: Latest version of runtime. Error: properties: error: $ref: '#/definitions/ErrorBody' description: The error body. description: Bot Service error object. parameters: subscriptionIdParameter: name: subscriptionId in: path description: Azure Subscription ID. required: true type: string apiVersionParameter: name: api-version in: query required: true type: string description: Version of the API to be used with the client request. x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'