Fibery API documentation with examples using this client.
Getting started
const Fibery = ;const fibery = host: 'YOUR_ACCOUNT.fibery.io' token: 'YOUR_TOKEN';
Method-way vs. command-way
This unofficial Node.js client supports two ways of working. Method-way is used in the API documentation:
const users = await fiberyentity;
It is equivalent to command-way:
const usersCommand = fiberycommand; const users = await fiberycommand;
The method-way utilizes commands under the hood, but provides a more simple interface.
The command-way removes an abstraction layer, making it closer to the actual API but also less suitable for a one-time use.
Feel free to use any of the ways.
Differences from API
This client makes it easier to:
- Create domain Type — creates five mandatory primitive Fields and installs rank mixin.
- Create relation (entity [collection] Field) — creates both entity Fields and connects them together.
- Create single-select Field — creates an auxiliary Type and options as Entities of that Type, makes selection required and sets the default option.
Examples
- A bunch of short examples.
- Migration from Airtable prototype.