diff --git a/daprdocs/content/en/reference/components-reference/supported-bindings/blobstorage.md b/daprdocs/content/en/reference/components-reference/supported-bindings/blobstorage.md index 08dace1a0..35c17abc4 100644 --- a/daprdocs/content/en/reference/components-reference/supported-bindings/blobstorage.md +++ b/daprdocs/content/en/reference/components-reference/supported-bindings/blobstorage.md @@ -174,11 +174,17 @@ To perform a get blob operation, invoke the Azure Blob Storage binding with a `P { "operation": "get", "metadata": { - "blobName": "myblob" + "blobName": "myblob", + "withUserMetadata": "true" } } ``` +The metadata parameters are: + +- `blobName` - the name of the blob +- `withUserMetadata`- (optional) defines if the user metadata should be returned or not, defaults to: false + #### Example {{< tabs Windows Linux >}} @@ -200,7 +206,10 @@ To perform a get blob operation, invoke the Azure Blob Storage binding with a `P #### Response -The response body contains the value stored in the blob object. +The response body contains the value stored in the blob object. If enabled, the user defined metadata will be returned as HTTP headers in the form: + +`Metadata.key1: value1` +`Metadata.key2: value2` ### Delete blob @@ -215,6 +224,10 @@ To perform a delete blob operation, invoke the Azure Blob Storage binding with a } ``` +The metadata parameters are: + +- `blobName` - the name of the blob + #### Examples ##### Delete blob