Skip to main content

Transactional state operations (POST)

POST 

/v1.0/state/:storeName/transaction

This endpoint lets you perform multiple state operations in a transactional manner.

Request

Path Parameters

    storeName stringrequired

    Possible values: Value must match regular expression ^[a-zA-Z0-9_-]+$

    The name of the state store.

Body

required

    metadata

    object

    property name* string

    operations

    object[]

    required

  • Array [

  • operation stringrequired

    Possible values: [upsert, delete]

    request

    object

    required

    key stringrequired

    Possible values: Value must match regular expression ^[a-zA-Z0-9_-]+$

    value objectrequired
    etag string

    options

    object

    concurrency string

    Possible values: [first-write, last-write]

    consistency string

    Possible values: [strong, eventual]

  • ]

Responses

Request successful.

Loading...