Get desktop application:
View/edit binary Protocol Buffers messages
AppCallback V1 allows user application to interact with Dapr runtime. User application needs to implement AppCallback service if it needs to receive message from dapr runtime.
Lists all input bindings subscribed by this app.
ListInputBindingsResponse is the message including the list of input bindings.
The list of input bindings.
Lists all topics subscribed by this app.
ListTopicSubscriptionsResponse is the message including the list of the subscribing topics.
The list of topics.
Listens events from the input bindings User application can save the states or send the events to the output bindings optionally by returning BindingEventResponse.
BindingEventRequest represents input bindings event.
Required. The name of the input binding component.
Required. The payload that the input bindings sent
The metadata set by the input binging components.
BindingEventResponse includes operations to save state or send data to output bindings optionally.
The name of state store where states are saved.
The state key values which will be stored in store_name.
The list of output bindings.
The content which will be sent to "to" output bindings.
The concurrency of output bindings to send data to "to" output bindings list. The default is SEQUENTIAL.
Invokes service method with InvokeRequest.
Subscribes events from Pubsub
TopicEventRequest message is compatible with CloudEvent spec v1.0 https://github.com/cloudevents/spec/blob/v1.0/spec.md
id identifies the event. Producers MUST ensure that source + id is unique for each distinct event. If a duplicate event is re-sent (e.g. due to a network error) it MAY have the same id.
source identifies the context in which an event happened. Often this will include information such as the type of the event source, the organization publishing the event or the process that produced the event. The exact syntax and semantics behind the data encoded in the URI is defined by the event producer.
The type of event related to the originating occurrence.
The version of the CloudEvents specification.
The content type of data value.
The content of the event.
The pubsub topic which publisher sent to.
The name of the pubsub the publisher sent to.
The matching path from TopicSubscription/routes (if specified) for this event. This value is used by OnTopicEvent to "switch" inside the handler.
The map of additional custom properties to be sent to the app. These are considered to be cloud event extensions.
TopicEventResponse is response from app on published message
The list of output bindings.
AppCallbackAlpha V1 is an optional extension to AppCallback V1 to opt for Alpha RPCs.
Subscribes bulk events from Pubsub
TopicEventBulkRequest represents request for bulk message
Unique identifier for the bulk request.
The list of items inside this bulk request.
The metadata associated with the this bulk request.
The pubsub topic which publisher sent to.
The name of the pubsub the publisher sent to.
The type of event related to the originating occurrence.
The matching path from TopicSubscription/routes (if specified) for this event. This value is used by OnTopicEvent to "switch" inside the handler.
AppBulkResponse is response from app on published message
The list of all responses for the bulk request.
AppCallbackHealthCheck V1 is an optional extension to AppCallback V1 to implement the HealthCheck method.
Health check.
HealthCheckResponse is the message with the response to the health check. This message is currently empty as used as placeholder.
(message has no fields)
Dapr service provides APIs to user application to access Dapr building blocks.
Bulk Publishes multiple events to the specified topic.
BulkPublishRequest is the message to bulk publish events to pubsub topic
The name of the pubsub component
The pubsub topic
The entries which contain the individual events and associated details to be published
The request level metadata passing to to the pubsub components
BulkPublishResponse is the message returned from a BulkPublishEvent call
The entries for different events that failed publish in the BulkPublishEvent call
DecryptAlpha1 decrypts a message using the Dapr encryption scheme and a key stored in the vault.
DecryptRequest is the request for DecryptAlpha1.
Request details. Must be present in the first message only.
Chunk of data of arbitrary size.
DecryptResponse is the response for DecryptAlpha1.
Chunk of data.
Deletes a bulk of state items for a list of keys
DeleteBulkStateRequest is the message to delete a list of key-value states from specific state store.
The name of state store.
The array of the state key values.
Deletes the state for a specific key.
DeleteStateRequest is the message to delete key-value states in the specific state store.
The name of state store.
The key of the desired state
The entity tag which represents the specific version of data. The exact ETag format is defined by the corresponding data store.
State operation options which includes concurrency/ consistency/retry_policy.
The metadata which will be sent to state store components.
EncryptAlpha1 encrypts a message using the Dapr encryption scheme and a key stored in the vault.
EncryptRequest is the request for EncryptAlpha1.
Request details. Must be present in the first message only.
Chunk of data of arbitrary size.
EncryptResponse is the response for EncryptAlpha1.
Chunk of data.
Executes state transactions for a specified actor
ExecuteActorStateTransactionRequest is the message to execute multiple operations on a specified actor.
Executes transactions for a specified store
ExecuteStateTransactionRequest is the message to execute multiple operations on a specified store.
Required. name of state store.
Required. transactional operation list.
The metadata used for transactional operations.
Gets the state for a specific actor.
GetActorStateRequest is the message to get key-value states from specific actor.
GetActorStateResponse is the response conveying the actor's state value.
The metadata which will be sent to app.
Gets a bulk of secrets
GetBulkSecretRequest is the message to get the secrets from secret store.
The name of secret store.
The metadata which will be sent to secret store components.
GetBulkSecretResponse is the response message to convey the requested secrets.
data hold the secret values. Some secret store, such as kubernetes secret store, can save multiple secrets for single secret key.
Gets a bulk of state items for a list of keys
GetBulkStateRequest is the message to get a list of key-value states from specific state store.
The name of state store.
The keys to get.
The number of parallel operations executed on the state store for a get operation.
The metadata which will be sent to state store components.
GetBulkStateResponse is the response conveying the list of state values.
The list of items containing the keys to get values for.
GetConfiguration gets configuration from configuration store.
GetConfiguration gets configuration from configuration store.
Gets metadata of the sidecar
GetMetadataRequest is the message for the GetMetadata request.
Empty
(message has no fields)
GetMetadataResponse is a message that is returned on GetMetadata rpc call.
Deprecated alias for actor_runtime.active_actors.
Gets secrets from secret stores.
GetSecretRequest is the message to get secret from secret store.
The name of secret store.
The name of secret key.
The metadata which will be sent to secret store components.
GetSecretResponse is the response message to convey the requested secret.
data is the secret value. Some secret store, such as kubernetes secret store, can save multiple secrets for single secret key.
Gets the state for a specific key.
GetStateRequest is the message to get key-value states from specific state store.
The name of state store.
The key of the desired state
The read consistency of the state store.
The metadata which will be sent to state store components.
GetStateResponse is the response conveying the state value and etag.
The byte array data
The entity tag which represents the specific version of data. ETag format is defined by the corresponding data store.
The metadata which will be sent to app.
Gets details about a started workflow instance
Gets details about a started workflow instance
InvokeActor calls a method on an actor.
InvokeActorRequest is the message to call an actor.
InvokeActorResponse is the method that returns an actor invocation response.
Invokes binding data to specific output bindings
InvokeBindingRequest is the message to send data to output bindings
The name of the output binding to invoke.
The data which will be sent to output binding.
The metadata passing to output binding components Common metadata property: - ttlInSeconds : the time to live in seconds for the message. If set in the binding definition will cause all messages to have a default time to live. The message ttl overrides any value in the binding definition.
The name of the operation type for the binding to invoke
InvokeBindingResponse is the message returned from an output binding invocation
The data which will be sent to output binding.
The metadata returned from an external system
Invokes a method on a remote Dapr app. Deprecated: Use proxy mode service invocation instead.
InvokeServiceRequest represents the request message for Service invocation.
Required. Callee's app id.
Required. message which will be delivered to callee.
Pauses a running workflow instance
Pauses a running workflow instance
Publishes events to the specific topic.
PublishEventRequest is the message to publish event data to pubsub topic
The name of the pubsub component
The pubsub topic
The data which will be published to topic.
The content type for the data (optional).
The metadata passing to pub components metadata property: - key : the key of the message.
Purge Workflow
Purge Workflow
Queries the state.
QueryStateRequest is the message to query state store.
The name of state store.
The query in JSON format.
The metadata which will be sent to state store components.
QueryStateResponse is the response conveying the query results.
An array of query results.
Pagination token.
The metadata which will be sent to app.
Raise an event to a running workflow instance
Raise an event to a running workflow instance
Register an actor reminder.
RegisterActorReminderRequest is the message to register a reminder for an actor of a given type and id.
Register an actor timer.
RegisterActorTimerRequest is the message to register a timer for an actor of a given type and id.
Resumes a paused workflow instance
Resumes a paused workflow instance
Saves the state for a specific key.
SaveStateRequest is the message to save multiple states into state store.
The name of state store.
The array of the state key values.
Sets value in extended metadata of the sidecar
Shutdown the sidecar
ShutdownRequest is the request for Shutdown.
Empty
(message has no fields)
Starts a new instance of a workflow
Starts a new instance of a workflow
SubscribeConfiguration gets configuration from configuration store and subscribe the updates event by grpc stream
SubscribeConfiguration gets configuration from configuration store and subscribe the updates event by grpc stream
SubtleDecryptAlpha1 decrypts a small message using a key stored in the vault.
SubtleDecryptRequest is the request for SubtleDecryptAlpha1.
Name of the component
Message to decrypt.
Algorithm to use, as in the JWA standard.
Name (or name/version) of the key.
Nonce / initialization vector. Ignored with asymmetric ciphers.
Authentication tag. This is nil when not using an authenticated cipher.
Associated Data when using AEAD ciphers (optional).
SubtleDecryptResponse is the response for SubtleDecryptAlpha1.
Decrypted plaintext.
SubtleEncryptAlpha1 encrypts a small message using a key stored in the vault.
SubtleEncryptRequest is the request for SubtleEncryptAlpha1.
Name of the component
Message to encrypt.
Algorithm to use, as in the JWA standard.
Name (or name/version) of the key.
Nonce / initialization vector. Ignored with asymmetric ciphers.
Associated Data when using AEAD ciphers (optional).
SubtleEncryptResponse is the response for SubtleEncryptAlpha1.
Encrypted ciphertext.
Authentication tag. This is nil when not using an authenticated cipher.
SubtleGetKeyAlpha1 returns the public part of an asymmetric key stored in the vault.
SubtleGetKeyRequest is the request object for SubtleGetKeyAlpha1.
Name of the component
Name (or name/version) of the key to use in the key vault
Response format
SubtleGetKeyResponse is the response for SubtleGetKeyAlpha1.
Name (or name/version) of the key. This is returned as response too in case there is a version.
Public key, encoded in the requested format
SubtleSignAlpha1 signs a message using a key stored in the vault.
SubtleSignRequest is the request for SubtleSignAlpha1.
Name of the component
Digest to sign.
Algorithm to use, as in the JWA standard.
Name (or name/version) of the key.
SubtleSignResponse is the response for SubtleSignAlpha1.
The signature that was computed
SubtleUnwrapKeyAlpha1 unwraps a key using a key stored in the vault.
SubtleUnwrapKeyRequest is the request for SubtleUnwrapKeyAlpha1.
Name of the component
Wrapped key.
Algorithm to use, as in the JWA standard.
Name (or name/version) of the key.
Nonce / initialization vector. Ignored with asymmetric ciphers.
Authentication tag. This is nil when not using an authenticated cipher.
Associated Data when using AEAD ciphers (optional).
SubtleUnwrapKeyResponse is the response for SubtleUnwrapKeyAlpha1.
Key in plaintext
SubtleVerifyAlpha1 verifies the signature of a message using a key stored in the vault.
SubtleVerifyRequest is the request for SubtleVerifyAlpha1.
Name of the component
Digest of the message.
Algorithm to use, as in the JWA standard.
Name (or name/version) of the key.
Signature to verify.
SubtleVerifyResponse is the response for SubtleVerifyAlpha1.
True if the signature is valid.
SubtleWrapKeyAlpha1 wraps a key using a key stored in the vault.
SubtleWrapKeyRequest is the request for SubtleWrapKeyAlpha1.
Name of the component
Key to wrap
Algorithm to use, as in the JWA standard.
Name (or name/version) of the key.
Nonce / initialization vector. Ignored with asymmetric ciphers.
Associated Data when using AEAD ciphers (optional).
SubtleWrapKeyResponse is the response for SubtleWrapKeyAlpha1.
Wrapped key.
Authentication tag. This is nil when not using an authenticated cipher.
Terminates a running workflow instance
Terminates a running workflow instance
TryLockAlpha1 tries to get a lock with an expiry.
Required. The lock store name,e.g. `redis`.
Required. resource_id is the lock key. e.g. `order_id_111` It stands for "which resource I want to protect"
Required. lock_owner indicate the identifier of lock owner. You can generate a uuid as lock_owner.For example,in golang: req.LockOwner = uuid.New().String() This field is per request,not per process,so it is different for each request, which aims to prevent multi-thread in the same process trying the same lock concurrently. The reason why we don't make it automatically generated is: 1. If it is automatically generated,there must be a 'my_lock_owner_id' field in the response. This name is so weird that we think it is inappropriate to put it into the api spec 2. If we change the field 'my_lock_owner_id' in the response to 'lock_owner',which means the current lock owner of this lock, we find that in some lock services users can't get the current lock owner.Actually users don't need it at all. 3. When reentrant lock is needed,the existing lock_owner is required to identify client and check "whether this client can reenter this lock". So this field in the request shouldn't be removed.
Required. The time before expiry.The time unit is second.
UnlockAlpha1 unlocks a lock.
resource_id is the lock key.
Unregister an actor reminder.
UnregisterActorReminderRequest is the message to unregister an actor reminder.
Unregister an actor timer.
UnregisterActorTimerRequest is the message to unregister an actor timer
UnSubscribeConfiguration unsubscribe the subscription of configuration
UnSubscribeConfiguration unsubscribe the subscription of configuration
Used in: ,
Used in:
Contains an enum indicating whether the actor runtime has been initialized.
Count of active actors per type.
Indicates whether the actor runtime is ready to host actors.
Custom message from the placement provider.
Used in:
Indicates that the actor runtime is still being initialized.
Indicates that the actor runtime is disabled. This normally happens when Dapr is started without "placement-host-address"
Indicates the actor runtime is running, either as an actor host or client.
Used in:
Used in:
BindingEventConcurrency is the kind of concurrency
Used in:
SEQUENTIAL sends data to output bindings specified in "to" sequentially.
PARALLEL sends data to output bindings specified in "to" in parallel.
BulkPublishRequestEntry is the message containing the event to be bulk published
Used in:
The request scoped unique ID referring to this message. Used to map status in response
The event which will be pulished to the topic
The content type for the event
The event level metadata passing to the pubsub component
BulkPublishResponseFailedEntry is the message containing the entryID and error of a failed event in BulkPublishEvent call
Used in:
The response scoped unique ID referring to this message
The error message if any on failure
BulkStateItem is the response item for a bulk get operation. Return values include the item key, data and etag.
Used in:
state item key
The byte array data
The entity tag which represents the specific version of data. ETag format is defined by the corresponding data store.
The error that was returned from the state store in case of a failed get operation.
The metadata which will be sent to app.
BulkSubscribeConfig is the message to pass settings for bulk subscribe
Used in:
Required. Flag to enable/disable bulk subscribe
Optional. Max number of messages to be sent in a single bulk request
Optional. Max duration to wait for messages to be sent in a single bulk request
DecryptRequestOptions contains options for the first message in the DecryptAlpha1 request.
Used in:
Name of the component
Name (or name/version) of the key to decrypt the message. Overrides any key reference included in the message if present. This is required if the message doesn't include a key reference (i.e. was created with omit_decryption_key_name set to true).
EncryptRequestOptions contains options for the first message in the EncryptAlpha1 request.
Used in:
Name of the component. Required.
Name (or name/version) of the key. Required.
Key wrapping algorithm to use. Required. Supported options include: A256KW (alias: AES), A128CBC, A192CBC, A256CBC, RSA-OAEP-256 (alias: RSA).
Cipher used to encrypt data (optional): "aes-gcm" (default) or "chacha20-poly1305"
If true, the encrypted document does not contain a key reference. In that case, calls to the Decrypt method must provide a key reference (name or name/version). Defaults to false.
Key reference to embed in the encrypted document (name or name/version). This is helpful if the reference of the key used to decrypt the document is different from the one used to encrypt it. If unset, uses the reference of the key used to encrypt the document (this is the default behavior). This option is ignored if omit_decryption_key_name is true.
GetConfigurationRequest is the message to get a list of key-value configuration from specified configuration store.
Used as request type in: Dapr.GetConfiguration, Dapr.GetConfigurationAlpha1
Required. The name of configuration store.
Optional. The key of the configuration item to fetch. If set, only query for the specified configuration items. Empty list means fetch all.
Optional. The metadata which will be sent to configuration store components.
GetConfigurationResponse is the response conveying the list of configuration values. It should be the FULL configuration of specified application which contains all of its configuration items.
Used as response type in: Dapr.GetConfiguration, Dapr.GetConfigurationAlpha1
GetWorkflowRequest is the request for GetWorkflowBeta1.
Used as request type in: Dapr.GetWorkflowAlpha1, Dapr.GetWorkflowBeta1
ID of the workflow instance to query.
Name of the workflow component.
GetWorkflowResponse is the response for GetWorkflowBeta1.
Used as response type in: Dapr.GetWorkflowAlpha1, Dapr.GetWorkflowBeta1
ID of the workflow instance.
Name of the workflow.
The time at which the workflow instance was created.
The last time at which the workflow instance had its state changed.
The current status of the workflow instance, for example, "PENDING", "RUNNING", "SUSPENDED", "COMPLETED", "FAILED", and "TERMINATED".
Additional component-specific properties of the workflow instance.
Used in:
PauseWorkflowRequest is the request for PauseWorkflowBeta1.
Used as request type in: Dapr.PauseWorkflowAlpha1, Dapr.PauseWorkflowBeta1
ID of the workflow instance to pause.
Name of the workflow component.
Used in:
Used in:
Used in:
PurgeWorkflowRequest is the request for PurgeWorkflowBeta1.
Used as request type in: Dapr.PurgeWorkflowAlpha1, Dapr.PurgeWorkflowBeta1
ID of the workflow instance to purge.
Name of the workflow component.
Used in:
The object key.
The object value.
The entity tag which represents the specific version of data. ETag format is defined by the corresponding data store.
The error message indicating an error in processing of the query result.
RaiseEventWorkflowRequest is the request for RaiseEventWorkflowBeta1.
Used as request type in: Dapr.RaiseEventWorkflowAlpha1, Dapr.RaiseEventWorkflowBeta1
ID of the workflow instance to raise an event for.
Name of the workflow component.
Name of the event.
Data associated with the event.
Used in:
ResumeWorkflowRequest is the request for ResumeWorkflowBeta1.
Used as request type in: Dapr.ResumeWorkflowAlpha1, Dapr.ResumeWorkflowBeta1
ID of the workflow instance to resume.
Name of the workflow component.
SecretResponse is a map of decrypted string/string values
Used in:
StartWorkflowRequest is the request for StartWorkflowBeta1.
Used as request type in: Dapr.StartWorkflowAlpha1, Dapr.StartWorkflowBeta1
The ID to assign to the started workflow instance. If empty, a random ID is generated.
Name of the workflow component.
Name of the workflow.
Additional component-specific options for starting the workflow instance.
Input data for the workflow instance.
StartWorkflowResponse is the response for StartWorkflowBeta1.
Used as response type in: Dapr.StartWorkflowAlpha1, Dapr.StartWorkflowBeta1
ID of the started workflow instance.
SubscribeConfigurationRequest is the message to get a list of key-value configuration from specified configuration store.
Used as request type in: Dapr.SubscribeConfiguration, Dapr.SubscribeConfigurationAlpha1
The name of configuration store.
Optional. The key of the configuration item to fetch. If set, only query for the specified configuration items. Empty list means fetch all.
The metadata which will be sent to configuration store components.
Used as response type in: Dapr.SubscribeConfiguration, Dapr.SubscribeConfigurationAlpha1
Subscribe id, used to stop subscription.
The list of items containing configuration values
Used in:
PEM (PKIX) (default)
JSON (JSON Web Key) as string
TerminateWorkflowRequest is the request for TerminateWorkflowBeta1.
Used as request type in: Dapr.TerminateWorkflowAlpha1, Dapr.TerminateWorkflowBeta1
ID of the workflow instance to terminate.
Name of the workflow component.
TopicEventBulkRequestEntry represents a single message inside a bulk request
Used in:
Unique identifier for the message.
The content of the event.
content type of the event contained.
The metadata associated with the event.
TopicEventBulkResponseEntry Represents single response, as part of TopicEventBulkResponse, to be sent by subscibed App for the corresponding single message during bulk subscribe
Used in:
Unique identifier associated the message.
The status of the response.
TopicEventCERequest message is compatible with CloudEvent spec v1.0
Used in:
The unique identifier of this cloud event.
source identifies the context in which an event happened.
The type of event related to the originating occurrence.
The version of the CloudEvents specification.
The content type of data value.
The content of the event.
Custom attributes which includes cloud event extensions.
TopicEventResponseStatus allows apps to have finer control over handling of the message.
Used in: ,
SUCCESS is the default behavior: message is acknowledged and not retried or logged.
RETRY status signals Dapr to retry the message as part of an expected scenario (no warning is logged).
DROP status signals Dapr to drop the message as part of an unexpected scenario (warning is logged).
Used in:
The list of rules for this topic.
The default path for this topic.
Used in:
The optional CEL expression used to match the event. If the match is not specified, then the route is considered the default.
The path used to identify matches for this subscription. This value is passed in TopicEventRequest and used by OnTopicEvent to "switch" inside the handler.
TopicSubscription represents topic and metadata.
Used in:
Required. The name of the pubsub containing the topic below to subscribe to.
Required. The name of topic which will be subscribed
The optional properties used for this topic's subscription e.g. session id
The optional routing rules to match against. In the gRPC interface, OnTopicEvent is still invoked but the matching path is sent in the TopicEventRequest.
The optional dead letter queue for this topic to send events to.
The optional bulk subscribe settings for this topic.
TransactionalActorStateOperation is the message to execute a specified operation with a key-value pair.
Used in:
The metadata used for transactional operations. Common metadata property: - ttlInSeconds : the time to live in seconds for the stored value.
TransactionalStateOperation is the message to execute a specified operation with a key-value pair.
Used in:
The type of operation to be executed
State values to be operated on
Used in:
UnSubscribeConfigurationRequest is the message to stop watching the key-value configuration.
Used as request type in: Dapr.UnsubscribeConfiguration, Dapr.UnsubscribeConfigurationAlpha1
The name of configuration store.
The id to unsubscribe.
Used as response type in: Dapr.UnsubscribeConfiguration, Dapr.UnsubscribeConfigurationAlpha1