Metadata
Create or update bucket metadata
Sets multiple metadata with one call. If the given key and provider combination already exist for the bucket, the data will be updated with the new value and timestamp. All metadata associated with the bucket are returned in the response.
Metadata are timestamped key-value pairs separated by the provider, where the provider is the originating component.
post/v2/storage/branch/{branchId}/buckets/{bucketId}/metadata
Request
- Base URLhttps://connection.keboola.com
- Auth
- API key in header X-StorageApi-Token
- or API key in header X-KBC-ManageApiToken
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
bucketIdstring required
Id of the bucket.
branchIdstring required
Request body
Example request
{
"provider": "test-component",
"metadata": [
{
"key": "some-key",
"value": "Some value"
}
]
}Response
All metadata associated with the bucket.
Example response
[
{
"id": "19509",
"key": "some-key",
"value": "Some value",
"provider": "test-component",
"timestamp": "2017-02-13T23:36:10+0100"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.