fix alpha1 typo for query state api ref (#1945)

This commit is contained in:
Mukundan Sundararajan 2021-11-12 22:40:08 +05:30 committed by GitHub
parent 71c99b9d32
commit 80da31e790
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -303,7 +303,7 @@ This API is in alpha stage.
### HTTP Request
```
POST/PUT http://localhost:<daprPort>/v1.0-alpha/state/<storename>/query
POST/PUT http://localhost:<daprPort>/v1.0-alpha1/state/<storename>/query
```
#### URL Parameters
@ -330,7 +330,7 @@ An array of JSON-encoded values
### Example
```shell
curl http://localhost:3500/v1.0-alpha/state/myStore/query \
curl http://localhost:3500/v1.0-alpha1/state/myStore/query \
-H "Content-Type: application/json" \
-d '{
"query": {
@ -415,7 +415,7 @@ curl http://localhost:3500/v1.0-alpha/state/myStore/query \
To pass metadata as query parammeter:
```
POST http://localhost:3500/v1.0-alpha/state/myStore/query?metadata.partitionKey=mypartitionKey
POST http://localhost:3500/v1.0-alpha1/state/myStore/query?metadata.partitionKey=mypartitionKey
```
## State transactions