Select Git revision
ConnectAzureOpenai.xml

Manuel Geyer authored
ConnectAzureOpenai.xml 2.04 KiB
<application xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:service="https://europe-002.azure-apim.net/apim/logicflows" xmlns:siena="http://schemas.microsoft.com/MicrosoftProjectSiena/WADL/2014/11" siena:serviceId="ConnectAzureOpenai" xmlns="http://wadl.dev.java.net/2009/02">
<doc title="ConnectAzureOpenai" />
<grammars>
<jsonTypes targetNamespace="https://europe-002.azure-apim.net/apim/logicflows" xmlns="http://schemas.microsoft.com/MicrosoftProjectSiena/WADL/2014/11">
<string name="ManualTriggerInput_text_def" />
<object name="ManualTriggerInput">
<property name="text" type="string" />
</object>
</jsonTypes>
</grammars>
<resources siena:authenticationProviderHref="#PowerAppAuth" base="https://europe-002.azure-apim.net/apim/logicflows">
<resource path="/{connectionId}/triggers/manual/run">
<param style="template" name="connectionId" type="xs:string" required="true" />
<method siena:requiresAuthentication="true" name="POST" id="Run">
<doc title="Runs a logic flow trigger." />
<request>
<param style="query" name="api-version" type="xs:string" required="true" fixed="2015-02-01-preview">
<doc title="The api version" />
</param>
<representation mediaType="application/json">
<param style="plain" name="text" path="/text" type="xs:string" required="true">
<doc title="prompt" />
</param>
</representation>
</request>
</method>
</resource>
</resources>
<authenticationProviders xmlns="http://schemas.microsoft.com/MicrosoftProjectSiena/WADL/2014/11">
<connectionProvider id="PowerAppAuth" siena:connectionProviderId="logicflows" />
</authenticationProviders>
<template xmlns="http://schemas.microsoft.com/MicrosoftProjectSiena/WADL/2014/11">
<variable name="connectionId">
<modifyParams style="template" name="connectionId" attribute="fixed" />
</variable>
</template>
</application>