Get state item
GET/v1.0/state/:storeName/:key
This endpoint lets you get an item from the state store.
Request
Path Parameters
storeName stringrequired
Possible values: Value must match regular expression ^[a-zA-Z0-9_-]+$
key stringrequired
Possible values: Value must match regular expression ^[a-zA-Z0-9_-]+$
Query Parameters
consistency string
Possible values: [strong
, eventual
]
metadata object
Responses
- 200
- 204
- 400
- 500
OK
Response Headers
etag
string
The ETag of the state item.
- application/json
- Schema
- Example (from schema)
Schema
key string
value string
etag uuid
{
"key": "string",
"value": "string",
"etag": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Key is not found.
State store is missing or misconfigured.
Get state failed.
Loading...