@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api LogicAppsManagementClient
@base https://management.azure.com
@version 2016-06-01
@auth OAuth2
@common_fields {subscriptionId: any # Subscription Id, api-version: any # API Version}
@endpoints 26
@hint download_for_search
@toc subscriptions(26)

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/connectionGateways
@desc Lists all of the connection gateways
@returns(200) The gateway definitions

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connectionGateways
@desc Lists all of the connection gateways
@required {resourceGroupName: any # The resource group}
@returns(200) The gateway definitions

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connectionGateways/{connectionGatewayName}
@desc Gets a specific gateway
@required {resourceGroupName: any # The resource group, connectionGatewayName: any # The connection gateway name}
@returns(200) The gateway definition

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connectionGateways/{connectionGatewayName}
@desc Replaces a specific gateway
@required {resourceGroupName: any # The resource group, connectionGatewayName: any # The connection gateway name, connectionGateway: map # The connection gateway}
@returns(200) The updated gateway definition
@returns(201) The newly created gateway definition

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connectionGateways/{connectionGatewayName}
@desc Updates a specific gateway
@required {resourceGroupName: any # The resource group, connectionGatewayName: any # The connection gateway name, connectionGateway: map # The connection gateway}
@returns(200) The gateway definition

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connectionGateways/{connectionGatewayName}
@desc Deletes a specific gateway
@required {resourceGroupName: any # The resource group, connectionGatewayName: any # The connection gateway name}
@returns(200) Successfully deleted the connection gateway
@returns(204) No connection gateway to delete

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/connectionGatewayInstallations
@desc Gets a list of installed gateways that the user is an admin of
@required {location: any # The location}
@returns(200) The gateway installations

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/connectionGatewayInstallations/{gatewayId}
@desc Gets an installed gateway that the user is an admin of
@required {location: any # The location, gatewayId: any # Gateway ID}
@returns(200) The gateway installation

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/customApis
@desc List of custom APIs
@optional {$top: any # The number of items to be included in the result, skiptoken: any # Skip Token}
@returns(200) A list of custom APIs

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/customApis
@desc List of custom APIs
@required {resourceGroupName: any # The resource group}
@optional {$top: any # The number of items to be included in the result, skiptoken: any # Skip Token}
@returns(200) A list of custom APIs

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/customApis/{apiName}
@desc Get a custom API
@required {resourceGroupName: any # The resource group, apiName: any # API name}
@returns(200) A custom API

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/customApis/{apiName}
@desc Replaces an existing custom API
@required {resourceGroupName: any # The resource group, apiName: any # API name, customApi: map # The custom API}
@returns(200) The replacing custom API

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/customApis/{apiName}
@desc Update an existing custom API
@required {resourceGroupName: any # The resource group, apiName: any # API name, customApi: map # The custom API}
@returns(200) The updated custom API

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/customApis/{apiName}
@desc Delete a custom API
@required {resourceGroupName: any # The resource group, apiName: any # API name}
@returns(200) Successfully deleted the custom API
@returns(204) No custom API to delete

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/customApis/{apiName}/move
@desc Moves the custom API
@required {resourceGroupName: any # The resource group, apiName: any # API name, customApiReference: map # The custom API reference}
@returns(200) custom API successfully moved

@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/listWsdlInterfaces
@desc Lists WSDL interfaces
@required {location: any # The location, wsdlDefinition: map # WSDL definition}
@returns(200) A list of interfaces

@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/extractApiDefinitionFromWsdl
@desc Returns API definition from WSDL
@required {location: any # The location, wsdlDefinition: map # WSDL definition}
@returns(200) Swagger of the API extracted from the WSDL

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/managedApis
@desc Lists managed APIs
@required {location: any # The location}
@returns(200) A list of managed APIs

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/managedApis/{apiName}
@desc Gets managed API
@required {location: any # The location, apiName: any # API name}
@returns(200) A managed API definition

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections
@desc Get all connections
@required {resourceGroupName: any # The resource group}
@optional {$top: any # The number of items to be included in the result, $filter: any # The filter to apply on the operation}
@returns(200) A list of API connection

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections/{connectionName}
@desc Get a connection
@required {resourceGroupName: any # The resource group, connectionName: any # Connection name}
@returns(200) An API connection

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections/{connectionName}
@desc Replace an existing connection
@required {resourceGroupName: any # The resource group, connectionName: any # Connection name, connection: map # The connection}
@returns(200) New API connection created
@returns(201) Already existing API connection updated

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections/{connectionName}
@desc Update an existing connection
@required {resourceGroupName: any # The resource group, connectionName: any # Connection name, connection: map # The connection}
@returns(200) API connection updated

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections/{connectionName}
@desc Delete an existing connection
@required {resourceGroupName: any # The resource group, connectionName: any # Connection name}
@returns(200) Successfully deleted the connection
@returns(204) No connection to delete

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections/{connectionName}/listConsentLinks
@desc Lists consent links for a connection
@required {resourceGroupName: any # The resource group, connectionName: any # Connection name, listConsentLink: map # The consent links}
@returns(200) A list of the consent links

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connections/{connectionName}/confirmConsentCode
@desc Confirms the consent code for a connection
@required {resourceGroupName: any # The resource group, connectionName: any # Connection name, confirmConsentCode: map # The consent code confirmation}
@returns(200) Confirmation of the consent code

@end
