Azure / Azure/azure-rest-api-specs

Subscription Alias REST API version=2021-10-01 is not returning all the variables as mentioned in documentation.

Open
#22,175 3 comments 0 reactions 0 assignees View on GitHub
customer-reported needs-team-attention question Service Attention Subscription
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:
![image](https://user-images.githubusercontent.com/66731530/212157845-45bba37b-a0d4-4ff7-8549-eaee1d804a29.png)

This is the response I'm seeing using 2021 version:
![image](https://user-images.githubusercontent.com/66731530/212158745-24ca4522-b66d-47e3-af57-aea9d2b9d350.png)

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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.