mirror of https://github.com/dapr/docs.git
Add doc for blob storage metadata retrieval
This commit is contained in:
parent
702e38863f
commit
a88a0ac391
|
@ -174,11 +174,17 @@ To perform a get blob operation, invoke the Azure Blob Storage binding with a `P
|
||||||
{
|
{
|
||||||
"operation": "get",
|
"operation": "get",
|
||||||
"metadata": {
|
"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
|
#### Example
|
||||||
|
|
||||||
{{< tabs Windows Linux >}}
|
{{< tabs Windows Linux >}}
|
||||||
|
@ -200,7 +206,10 @@ To perform a get blob operation, invoke the Azure Blob Storage binding with a `P
|
||||||
|
|
||||||
#### Response
|
#### 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
|
### 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
|
#### Examples
|
||||||
|
|
||||||
##### Delete blob
|
##### Delete blob
|
||||||
|
|
Loading…
Reference in New Issue