Azure / Azure/azure-rest-api-specs
Subscription Alias REST API version=2021-10-01 is not returning all the variables as mentioned in documentation.
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
The GET REST API response for subscription alias in version=2021-10-01 is missing workload, billing scope and few other parameters in properties.
The 2021 version response is not returning all the parameters like mentioned in sample response in the documentation.
https://learn.microsoft.com/en-us/rest/api/subscription/2021-10-01/alias/get?tabs=HTTP
This is the sample response given in the docs:

This is the response I'm seeing using 2021 version:

PS: I have been suggested to raise the issue here in the Q&A forum
https://learn.microsoft.com/en-us/answers/questions/1072907/rest-api-version-2021-10-01-for-subscription-is-no
Contributor guide
Research direction
Start by comparing the linked Subscription Alias GET documentation for version 2021-10-01 with the two responses shown in the issue, then review the linked Q&A discussion for context. Determine whether the specification/documentation or the service response is incorrect; done means the discrepancy is resolved or a clearly scoped service-side fix is identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- api, documentation
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100