Key Value
Create key-value collection
Create key-value collection.
post/_fabric/{fabric}/_api/kv/{collection}
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
fabricstring string required
The name of the fabric.
collectionstring string required
The name of the key-value collection.
Query parameters
expirationboolean
Enable TTL support.
groupboolean
Enable KV group support.
Request body
Example request
{
"waitForSync": true,
"shardKeys": [
"key1"
]
}Response
Successfully created key-value collection.
Example response
{
"code": 200,
"name": "testCollection"
}Changes
No recorded changes to this operation across all 1 revision of this API.