Azure / Azure/api-management-policy-snippets
is there any way to export the effective policy assigned to api and operation level to an xml file?
- Dominant language
- No language data
- Stars
- 399
- Forks
- 170
- PR merge metrics
- No merged PRs in 30d
Description
I tried below option, but its not fetching the effective policy assigned to an api or operation, where as its fetching just the policy assigned to them alone
curl --location 'https://management.azure.com/subscriptions/xxxxxxxxxxxx/resourceGroups/xxxxxxxxx/providers/Microsoft.ApiManagement/service/xxxxxxxxxx/apis/apiname/policies/policy?format=xml&api-version=2022-08-01' --header 'Content-Type: application/json' --header 'Authorization: Bearer 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
Contributor guide
No contributing guide indexed for this repository
Research direction
No repository files or tests are mentioned. Start by checking the Azure API Management policy request shown for API- and operation-level effective-policy support, and establish whether a supported XML export path exists; done means a documented, reproducible answer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100