0

I want to get the template files for the API connection by clicking the Export template button on the logic app:

enter image description here

This is one of my API connection for my logic App. When you select it, then in the left nav bar there is a button "Export template". We could manually export the .zip files, but we want to using REST API to achieve this, so that we could automate this step in the later task.

However, I could not find the correct REST API to do this.

Skin
  • 9,085
  • 2
  • 13
  • 29
Joy
  • 1,171
  • 9
  • 15

1 Answers1

0

After reproducing from my end, I could get this done using the below REST API.

https://management.azure.com:443/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/<RESOURCE_GROUP_NAME>/providers/Microsoft.Web/connections/<CONNECTION_NAME>?api-version=2016-06-01

You can get the GET REST API directly from the portal. By navigating to your template.

enter image description here

Results:

enter image description here

SwethaKandikonda
  • 7,513
  • 2
  • 4
  • 18
  • I achieved my needs by other means, but still thanks for your input, it seems to be correct – Joy Mar 28 '23 at 01:55