FairCom Edge APIs
FairCom Edge's API documentation for software developers, equipment manufacturers, and automation engineers
You configure FairCom Edge using the JSON Hub API.
This API is based on the jsonAction protocol, which POSTs the JSON request to one endpoint on a server and returns the JSON response. This section defines the JSON payloads that can be POSTed to the FairCom server over HTTP, HTTPS, WS, and WSS using the endpoint /api
, such as https://localhost:8443/api
.
The following sections list all available actions for configuring FairCom Edge.
Important
When using the Property summary tables, if there is additional information that the Property summary tables do not provide the property has a link to the property topic that contains the comprehensive explanation.
Sessions
Services
Inputs
These actions are part of the JSON Hub API, which is available in FairCom Edge. This section provides several actions to alter, create, delete, describe, and list inputs. An input is a connection to an external device, equipment, or service that can input data into FairCom Edge. The input allows you to configure the connection, such as the frequency of data collection and the tags to be collected,
Action | Description |
---|---|
alters, changes, modifies, updates, or configures an existing input connector in FairCom Edge. An input connector collects data automatically from a device or software system. | |
creates a new input. | |
removes a previously created input definition as long as no output definitions are using it. | |
returns all available information about each specified input. | |
obtains a list of names of previously created inputs. |
Outputs
These actions are part of the JSON DB API. This section provides actions to create, alter, delete, describe and list outputs. An output delivers data collected by FairCom Edge to external services, such as a REST service, ThingWorx, OPC UA, etc.
Action | Description |
---|---|
| |
| |
| |
| |
|
Integration tables
This section provides actions to create, alter, delete, describe, and list integration tables. These actions are available in FairCom Edge and FairCom MQ.
Note
Integration tables are an enhanced form of normal tables. Integration tables contain extra fields to timestamp and transform inserted records. They also can forward data to output services with guaranteed delivery. See the JSON DB API to manage normal tables.
Action | Description |
---|---|
alters table settings that are safe to modify, such as adding new fields | |
creates an integration table | |
deletes an integration table as long as there are no dependencies on it | |
returns all available information about each specified integration table | |
lists only the integration tables in a given database |
Transform processes
This section provides several actions to create, alter, delete, describe, list, and run transform processes. These actions are part of the JSON Hub API and are available in FairCom Edge and FairCom MQ.
Action | Description |
---|---|
| |
| |
| |
| |
| |
|
MQTT Topics
This section provides several actions to configure, delete, describe, and list MQTT topics. These actions are part of the JSON MQ API and are available in FairCom Edge and FairCom MQ.
Action | Description |
---|---|
| |
| |
| |
|
Broker connections
The broker connection actions are part of the JSON MQ API. This section provides actions to configure, delete, describe, and list broker connections.
Action | Description |
---|---|
| |
| |
| |
|
Databases
These actions are part of the JSON DB API. This section provides actions to create, delete, and list databases.
Action | Description |
---|---|
| |
| |
|
Tables
These actions are part of the JSON DB API. This section provides actions to create, alter, delete, describe, list, and rebuild tables.
Note
Integration tables are an enhanced form of normal tables. The JSON DB API only manages normal tables. To manage Integration tables, see the integration table actions in the JSON Hub API.
Action | Description |
---|---|
| |
| |
| |
| |
| |
|
Indexes
These actions are part of the JSON DB API. This section provides actions to create, delete, describe, and list indexes.
Action | Description |
---|---|
| |
| |
| |
|
Modify data
These actions are part of the JSON DB API. This section provides actions to insert, update, and delete, records in tables. You can also truncate a table that is not in use to quickly remove all records in a table.
Action | Description |
---|---|
| |
| |
| |
|
Get data
These actions are part of the JSON DB API. This section provides actions to query records in tables. Most actions can directly return data or return a cursor that you can use to paginate forward and backward through the records. You can look up records by ID, find records that most closely match a key, retrieve all records in a table, retrieve records in index order, retrieve records within a key range, and retrieve records returned by a SQL query. These actions work with all tables, including FairCom Edge's integration tables.
Action | Description |
---|---|
| |
This action treats a table as a simple key-value store when the primary key is the This action is the fastest way to retrieve records by ID or a multi-field primary key. | |
This action can also efficiently return all records in one call when the table contains tens of thousands of records. The records can be sorted forward or backward in index order. | |
This action can efficiently return all matching records in one call, which is helpful for typeahead queries. The records are sorted forward or backward in index order. It can also return a cursor when you expect matching records to exceed tens of thousands of records. | |
This action is the fastest way to retrieve all records in a table in one call. It can also return a forward-only cursor for paginating through tables containing more than tens of thousands of records. | |
This action is the fastest way to paginate through records, tail the last N records, repeatedly read the same N records, skip records, and fetch records forward or backward. Both skip and fetch can move forward or backward in any combination, such as skipping ahead and fetching backward. Some actions create forward-only cursors. | |
This action is the fastest way to retrieve a bounded set of records in index order. Use this action to treat a table as a hierarchical-key-value store. Use | |
This action is the fastest way to start at a specific key and walk records in index order. It is typically used to look up records that are near a key. It can also retrieve records before and after a key value. | |
This action is the fastest way to join tables, run complex filters, sort data using unindexed fields, and run analytic queries. |