Collections
Create collection
Create collection.
post/_fabric/{fabric}/_api/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.
Request body
Example request
{
"keyOptions": {
"increment": 1,
"offset": 1,
"type": "autoincrement"
},
"name": "Test"
}Response
Successfully created collection.
Example response
{
"id": "89218",
"name": "colltest0127133421258ogefv",
"status": 3,
"type": 2,
"collectionModel": "DOC",
"hasStream": true,
"globallyUniqueId": "h2C627F3DCC8E/89218"
}Changes
No recorded changes to this operation across all 1 revision of this API.