Azure / Azure/azure-rest-api-specs
The returned resource id shouldn't be converted into lower case by GET API of Log Analytics Workspace
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 424
Description
After tested, I found the returned resource id in response would be converted into lower case by GET API of Log Analytics Workspace. I think it shouldn't be converted into lower case. Just exposing raw data should be fine.
Http request:
```
GET https://management.azure.com/subscriptions/xx-xx-xx-xx/resourcegroups/acctestRG-test/providers/Microsoft.OperationalInsights/workspaces/acctestLAW-test
```
Http response:
```
{
.........
"id": "/subscriptions/xx-xx-xx-xx/resourcegroups/acctestrg-test/providers/microsoft.operationalinsights/workspaces/acctestlaw-test",
........
}
```
Contributor guide
Research direction
Start with the Microsoft.OperationalInsights/workspaces GET API specification for the endpoint shown in the request. Compare the declared resource ID handling with the response example, and consider the issue done when the API returns the resource ID with its original casing rather than converting it to lower case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, openapi
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100