Azure / Azure/azure-rest-api-specs
Bot Connection API cannot update the parameters property
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 424
Description
After tested, we found Bot Connection API cannot update the `parameters` property and it's still the value at first request. Could you take a look? Thanks in advance.
The first request:
```
PUT https://management.azure.com/subscriptions/xx-xx-xx-xx/resourceGroups/xxx/providers/Microsoft.BotService/botServices/xxxx/connections/xxxxx
{
"kind": "bot",
"location": "global",
"properties": {
"clientId": "xx-xx-xx-xx",
"clientSecret": "xx-xx-xx-xx",
"parameters": [
{
"key": "loginUri",
"value": "https://www.google.com"
}
],
"scopes": "/subscriptions/xx-xx-xx-xx",
"serviceProviderId": "xx-xx-xx-xx"
}
}
```
The second request:
```
PATCH https://management.azure.com/subscriptions/xx-xx-xx-xx/resourceGroups/xxxx/providers/Microsoft.BotService/botServices/xxxx/connections/xxxx
{
"kind": "bot",
"location": "global",
"properties": {
"clientId": "xx-xx-xx-xx",
"clientSecret": "xx-xx-xx-xx",
"parameters": [
{
"key": "loginUri",
"value": "https://www.terraform.io"
}
],
"scopes": "/subscriptions/xx-xx-xx-xx/resourceGroups/xxxx",
"serviceProviderDisplayName": "xxxx"
}
}
```
Contributor guide
Research direction
Start by tracing the Bot Connection API PUT and PATCH endpoints shown in the issue and locating the corresponding Azure REST API specification. Reproduce the two requests, then verify that changing the parameters property persists and is returned by a subsequent read.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100