2FA - Create Email Communication
## Description: Creates email communication . This endpoint is Admin only. ## Settings choices |Settings|Allowed Values| |--------|-----| |encryption_type|STARTTLS, TLS, NONE| |protocol|SMTP|
## Description: Creates email communication . This endpoint is Admin only. ## Settings choices |Settings|Allowed Values| |--------|-----| |encryption_type|STARTTLS, TLS, NONE| |protocol|SMTP|
Creates SMS communication . Twilio is the only supported service. This endpoint is Admin only.
Create a new file with content and configuration, or replace an existing file's content & configuration.
Deletes the adapter
Returns all device info that the current user is authorized to see.
Returns information about the specified developer.
Returns all developers in the platform.
Retrieves the number of developers who are considered administrators in their system.
Retrieves the number of systems that are available.
Returns current platform license key.
Retrieves the specified system's status as it relates to limits. To be used by the billing system.
## Description: Returns list of assets and the information about the changes that have been made. This endpoint is for Admin only. ### Query Structure: ```json {"PAGESIZE":int,"PAGENUM":int,"FILTERS":[[{"_REPLACE_WITH_OPERATOR_":[{"valueType":"value"}]}]], "SORT":[{"DESC":"value"}]} ``` Note - You can generate a complex query object in a code service using the `ClearBlade.Query()` object. ## Audit Table Schema: Refer to this when building the query. | Column | Type | Possible Values|Example| |:---------|:---------|:------|:---------| | id | bigint |ANY_POSITIVE_INTEGER|10440595| |system_key|string|SINGLE_STRING_WITH_HEX_CHARS_ONLY|"ccafb4cadaccaf9ebba01"| |time|timestamp|ISO_DATE_TIME_STRING|"2020-01-29T20:18:18.475214Z"| |response_time|bigint|ANY_POSITIVE_INTEGER|4038669| |asset_class|string|adapters, adapterFiles, devices, users, multi_dev, services, libraries, servicecaches, timers, triggers, webhooks, portals, plugins, rolesperms, collections, edges, messaging, deployments, edgegroups, system, usersessions, devicesessions|"collections"| |action_type|string|Create, Update, Delete, Create Columns, Delete Columns, Developer Password Reset, User Password Reset, MQTT Disconnect, MQTT Connect|"MQTT Connect"| |email|string|SINGLE_VALID_EMAIL_STRING|"[email protected]"| |asset_id|string|ANY_STRING|"ClearBlade-iPhone"| |changes|string|STRINGIFIED_JSON|"{\\"newVersion\\":2}"| |user_type|string|UNKNOWN, DEV, USER, DEVICE, Invalid UserType|"DEVICE"| ### Example: ```json {"FILTERS":[[{"NEQ":[{"asset_class":"services"}]},{"EQ":[{"action_type":"create"}]}]],"PAGESIZE":0,"PAGENUM":0} ```
## Description: Returns list of assets and the information about the changes that have been made. This endpoint is for Admin and Dev. ### Query Structure: ```json {"PAGESIZE":int,"PAGENUM":int,"FILTERS":[[{"_REPLACE_WITH_OPERATOR_":[{"valueType":"value"}]}]], "SORT":[{"DESC":"value"}]} ``` Note - You can generate a complex query object in a code service using the `ClearBlade.Query()` object. ## Audit Table Schema: Refer to this when building the query. | Column | Type | Possible Values|Example| |:---------|:---------|:------|:---------| | id | bigint |ANY_POSITIVE_INTEGER|10440595| |system_key|string|SINGLE_STRING_WITH_HEX_CHARS_ONLY|"ccafb4cadaccaf9ebba01"| |time|timestamp|ISO_DATE_TIME_STRING|"2020-01-29T20:18:18.475214Z"| |response_time|bigint|ANY_POSITIVE_INTEGER|4038669| |asset_class|string|adapters, adapterFiles, devices, users, multi_dev, services, libraries, servicecaches, timers, triggers, webhooks, portals, plugins, rolesperms, collections, edges, messaging, deployments, edgegroups, system, usersessions, devicesessions|"collections"| |action_type|string|Create, Update, Delete, Create Columns, Delete Columns, Developer Password Reset, User Password Reset, MQTT Disconnect, MQTT Connect|"MQTT Connect"| |email|string|SINGLE_VALID_EMAIL_STRING|"[email protected]"| |asset_id|string|ANY_STRING|"ClearBlade-iPhone"| |changes|string|STRINGIFIED_JSON|"{\\"newVersion\\":2}"| |user_type|string|UNKNOWN, DEV, USER, DEVICE, Invalid UserType|"DEVICE"| ### Example: ```json {"FILTERS":[[{"NEQ":[{"asset_class":"services"}]},{"EQ":[{"action_type":"create"}]}]],"PAGESIZE":0,"PAGENUM":0} ```
Gets total number of changes made to assets across all systems on the instance. This endpoint is Admin only.
Gets total number of changes made to assets across all systems on the instance. This endpoint is for Admin and Dev.
## Description: Get list of systems that have been updated. This is an Admin only endpoint. ### Query: ```json {"PAGESIZE":int,"PAGENUM":int,"FILTERS":[[{"_REPLACE_WITH_OPERATOR_":[{"valueType":"value"}]}]],"SORT":[{"DESC":"value"}]} ``` Note - You can generate a complex query object in a code service using the `ClearBlade.Query()` object. ## Admin Audit Table Schema: Refer to this when building the query. | Column | Type | Possible Values| Examples| |:--------|:--------|:------|:------| | name | string |ANY_STRING|"ClearBladeDev"| |owner|string|EMAIL_STRING |"[email protected]"| |systemKey|string|SINGLE_STRING_WITH_HEX_CHARS_ONLY|"80sdff82c0b1fbda1f271"| |disabled|boolean|true, false|true| |lastUpdated|timestamp|ISO_DATE_TIME_STRING|"2020-01-29T20:18:18.475214Z"| |numDevs|int|ANY_POSITIVE_INTEGER|2| |numServices|int|ANY_POSITIVE_INTEGER|2| |numLibraries|int|ANY_POSITIVE_INTEGER|2| |numDeployments|int|ANY_POSITIVE_INTEGER|2| |numRoles|int|ANY_POSITIVE_INTEGER|2| |numUsers|int|ANY_POSITIVE_INTEGER|2| |numDevices|int|ANY_POSITIVE_INTEGER|2| |numEdge|int|ANY_POSITIVE_INTEGER|2| |numAPIReqsTotal|int|ANY_POSITIVE_INTEGER|2| |numAPIReqsMonth|int|ANY_POSITIVE_INTEGER|2| |numAPIReqsYear|int|ANY_POSITIVE_INTEGER|2| |numPub|int|ANY_POSITIVE_INTEGER|2| |numPubMonth|int|ANY_POSITIVE_INTEGER|2| |numPubYear|int|ANY_POSITIVE_INTEGER|2| |numRecTotal|int|ANY_POSITIVE_INTEGER|2| |numRecMonth|int|ANY_POSITIVE_INTEGER|2| |numRecYear|int|ANY_POSITIVE_INTEGER|2| |diskUsage|int|ANY_POSITIVE_INTEGER|2| ### Example: ```json "query":{"FILTERS":[[{"NEQ":[{"disabled":true}]},{"EQ":[{"numDevs":2}]}]],"PAGESIZE":0,"PAGENUM":0} ```
## Description: Get list of changes that have been made to the system. This is an Admin and Dev endpoint. ### Query: ```json "query":{"PAGESIZE":int,"PAGENUM":int,"FILTERS":[[{"_REPLACE_WITH_OPERATOR_":[{"valueType":"value"}]}]],"SORT":[{"DESC":"value"}]} ``` Note - You can generate a complex query object in a code service using the `ClearBlade.Query()` object. ## Admin Audit Table Schema: ## Admin Audit Table Schema: Refer to this when building the query. | Column | Type | Possible Values| Examples| |:--------|:--------|:------|:------| | name | string |ANY_STRING|"ClearBladeDev"| |owner|string|EMAIL_STRING |"[email protected]"| |systemKey|string|SINGLE_STRING_WITH_HEX_CHARS_ONLY|"80sdff82c0b1fbda1f271"| |disabled|boolean|true, false|true| |lastUpdated|timestamp|ISO_DATE_TIME_STRING|"2020-01-29T20:18:18.475214Z"| |numDevs|int|ANY_POSITIVE_INTEGER|2| |numServices|int|ANY_POSITIVE_INTEGER|2| |numLibraries|int|ANY_POSITIVE_INTEGER|2| |numDeployments|int|ANY_POSITIVE_INTEGER|2| |numRoles|int|ANY_POSITIVE_INTEGER|2| |numUsers|int|ANY_POSITIVE_INTEGER|2| |numDevices|int|ANY_POSITIVE_INTEGER|2| |numEdge|int|ANY_POSITIVE_INTEGER|2| |numAPIReqsTotal|int|ANY_POSITIVE_INTEGER|2| |numAPIReqsMonth|int|ANY_POSITIVE_INTEGER|2| |numAPIReqsYear|int|ANY_POSITIVE_INTEGER|2| |numPub|int|ANY_POSITIVE_INTEGER|2| |numPubMonth|int|ANY_POSITIVE_INTEGER|2| |numPubYear|int|ANY_POSITIVE_INTEGER|2| |numRecTotal|int|ANY_POSITIVE_INTEGER|2| |numRecMonth|int|ANY_POSITIVE_INTEGER|2| |numRecYear|int|ANY_POSITIVE_INTEGER|2| |diskUsage|int|ANY_POSITIVE_INTEGER|2| ### Example: ```json "query":{"FILTERS":[[{"NEQ":[{"disabled":true}]},{"EQ":[{"numDevs":2}]}]],"PAGESIZE":0,"PAGENUM":0} ```
Returns list of failed code services.
Returns setting information and data for a code service
Creates a new collection or database connection in the specified system.
This creates a non-unique index on a column. This is useful for speeding up certain queries, but doesn't work with upsert. This call will fail if the index already exists.
This creates a unique index on a column. A user has to do this before you can use upsert with columnName as the conflictColumn. This call will fail if the index already exists.
Deletes an existing collection in the specified system.
Returns all the collections in the specified system.
This returns all USER CREATED indexes/constraints for the collection.For safety, primary key indexes are not returned.
Creates new data rows in the specified collection.
Returns the columns and their data type for the specified collection.
Returns the data from the specified collection.
Creates new data rows in the specified collection.
Returns the data from the specified collection.
## Description: Creates an external database connections for that system. This is a developer only endpoint. ### List of database types supported: |Database Name|db_type| |-------------|-------| |MONGO|mongodb| |POSTGRES|postgres| |MYSQL|mysql| |MSSQL|mssql| |COUCHDB|couchdb| ### Database Credentials |Field|Type|Database|Description|Options|Default| |-----|----|-----|-------|-------|----| |user|string|All|The external database username| |password|string|All|The external database password| |address|string|All|The external database IP address| |port|string|All|The port used to connect to the external database||27017 (Mongo), 3306 (MySQL), 5432 (Postgres), 1433 (MSSQL)| |dbname|string|All|The name of the external database| |connection_type|string|Mongo|The external database DNS connection type|srv and standard|standard| |tls|boolean|Mongo and Postgres|Setting the tls to `true` allows for transport encryption. This field is optional|True and false|True (Mongo) False(Postgres)| |authMechanism|string|Mongo|Database authentication method. This field is optional|SCRAM-SHA-256, SCRAM-SHA-1, MONGODB-CR, PLAIN, GSSAPI, MONGODB-X509|SCRAM-SHA-1| |authSource|string|Mongo|Database authentication source. This field is optional||admin| |replicaSet|string|Mongo|Allows for use of Replication Methods such as `rs.reconfig() `.This field is optional||empty string| |encryption|string|MSSQL|Setting the encryption to `true` allows for secure encryption|disable and true|
Returns the name and database type of a external database connection. This is a developer and user endpoint.
Returns all the names and database types of the external database connections for that system. This is a developer only endpoint.
Returns all the names and internal and external database statuses
Creates one deployment for system
## Description: Gets all deployment names and descriptions for a system ### Query: ```json {"PAGESIZE":int,"PAGENUM":int,"FILTERS":[[{"EQ":[{"valueType":"value"}]}]],"SORT":[{"DESC":"value"}]} ``` ### Example: ```json {"PAGESIZE":0,"PAGENUM":0,"SORT":[{"DESC":"name"}]}
Creates a new device in the specified system.
Creates a new edge in the specified system.
Creates a local library in the specified system.
Creates a new system tied to the developer's account.
Creates new timer handler.
Creates a new trigger handler.
Returns list of failed code services for all systems the current developer is authorized to see.
Returns all available libraries in the specified system along with their meta information.
Returns all user information about the current developer. This is a developer only endpoint.
Retrieves information about the specified device.
Retrieves information about all devices in the specified system
Retrieves information about the specified edge.
Get list of which triggers, services, and libraries should be copied onto which edge when it starts up.
Retrieves all the edges that belong to the specified system.
Retrieves all the edges that the adapter belongs to.
Returns the specified library and its meta information.
## Description: Get as a list of roles that are available to add to an user ### Query: ```json {"PAGESIZE":int,"PAGENUM":int,"FILTERS":[[{"EQ":[{"name":"value"}]}]]} ``` ### Example: 0 and 0 for pagesize and pagenum returns all the information in one response. ```json {"PAGESIZE":0,"PAGENUM":0,"FILTERS":[[{"EQ":[{"name":"Authenticated"}]}]]} ```
Returns list of all of the users in the system
Get number of roles in a system
Returns log list for the code service
Returns metadata about specified system.
Returns list of failed code services for the specified system.
Returns all the systems tied to the specified developer's account.
Returns the specified timer handler information.
Returns a list of timer handlers.
Returns list of trigger definitions. These are the possible actions that can set off a trigger.
Returns the specified trigger handler information.
Returns list of trigger handlers.
Returns data in the user list column
Returns information about a specified portal.
Creates rotating keys for a device.
Returns all device info that the current user is authorized to see.
Returns the list of connected devices.
Returns the total number of devices in a system.
Returns the connection information of the device.
Creates a new edge in the specified system.
Returns all edge info that the current user is authorized to see.
Returns the total number of edges in a system.
Returns the data from the specified edge.
Creates a new file in bucket
## Description: Returns metadata of a specific file in a specific box. boxName defaults to "inbox" ### Query Structure: ```json box={boxName} path={relativePath} ``` ### boxName Options * inbox * outbox * sandbox If `box==""`, then all files from all three boxes (inbox, outbox, sandbox) will be returned. ### Example: ```json box=inbox path=/relative/path/to/file ```
## Description: Returns metadata of files in a specific box. boxName defaults to "inbox" ### Query Structure: ```json box={boxName} ``` ### boxName Options * inbox * outbox * sandbox If `box==""`, then all files from all three boxes (inbox, outbox, sandbox) will be returned. ### Example: ```json box=inbox ```
Returns a list of metadata for buckets in system
Returns metadata for specified bucket
Get the list of systems the developer has access to
Lists configuration information for all versions of all adapter files
Creates new timer handler.
Creates a new trigger handler.
Returns the specified timer handler information.
Returns a list of timer handlers.
Returns the specified trigger handler information.
Returns list of trigger handlers.
Returns the message history for a single topic. Does not honor wildcards.
## Description: Returns the list of topics. ### Query Structure: ```json {"PAGESIZE":int,"PAGENUM":int,"FILTERS":[[{"_REPLACE_WITH_OPERATOR_":[{"valueType":"value"}]}]], "SORT":[{"DESC":"value"}]} ``` ### Example: ```json {"FILTERS":[[{"NEQ":[{"concurrency":0}]}]],"PAGESIZE": ,"PAGENUM":1} ```
Returns the number of topics.
## Description: Returns number of device sessions. ### Query Structure: ```json {"PAGESIZE":int,"PAGENUM":int,"FILTERS":[[{"_REPLACE_WITH_OPERATOR_":[{"valueType":"value"}]}]], "SORT":[{"DESC":"value"}]} ``` Note - You can generate a complex query object in a code service using the `ClearBlade.Query()` object. ### Filter Options * device_key - string * issued - int ### Example: ```json {"FILTERS":[[{"NEQ":[{"device_key":"e2c794e60bee9ced68fc101 :: DEVICENAME0001"}]},{"EQ":[{"issued":1587659839}]}]],"PAGESIZE":0,"PAGENUM":0} ```
## Description: Returns list of device sessions with Device Key and Timestamps . ### Query Structure: ```json {"PAGESIZE":int,"PAGENUM":int,"FILTERS":[[{"_REPLACE_WITH_OPERATOR_":[{"valueType":"value"}]}]], "SORT":[{"DESC":"value"}]} ``` Note - You can generate a complex query object in a code service using the `ClearBlade.Query()` object. ### Filter Options * device_key - string * issued - int (Unix timestamp) ### Example: ```json {"FILTERS":[[{"NEQ":[{"device_key":"e2c794e60bee9ced68fc101 :: DEVICENAME0001}]},{"EQ":[{"issued":1587659839}]}]],"PAGESIZE":0,"PAGENUM":0} ```
## Description: Returns number of user sessions. ### Query Structure: ```json {"PAGESIZE":int,"PAGENUM":int,"FILTERS":[[{"_REPLACE_WITH_OPERATOR_":[{"valueType":"value"}]}]], "SORT":[{"DESC":"value"}]} ``` Note - You can generate a complex query object in a code service using the `ClearBlade.Query()` object. ### Filter Options * user_id - string * issued - int (Unix timestamp) ### Example: ```json {"FILTERS":[[{"NEQ":[{"user_id":"9cd8ece70bea9e5a6de9cee05"}]},{"EQ":[{"issued":1587659839}]}]],"PAGESIZE":0,"PAGENUM":0} ```
## Description: Returns list of user sessions with User ID and Timestamps . ### Query Structure: ```json {"PAGESIZE":int,"PAGENUM":int,"FILTERS":[[{"_REPLACE_WITH_OPERATOR_":[{"valueType":"value"}]}]], "SORT":[{"DESC":"value"}]} ``` Note - You can generate a complex query object in a code service using the `ClearBlade.Query()` object. ### Filter Options * user_id - string * issued - int (Unix timestamp) ### Example: ```json {"FILTERS":[[{"NEQ":[{"user_id":"9cd8ece70bea9e5a6de9cee05"}]},{"EQ":[{"issued":1587659839}]}]],"PAGESIZE":0,"PAGENUM":0} ```
Returns all user info that the current user is authorized to see.
Returns all user information about the current user.
Tell us which provider you need, and we will ship it in the registry.
Point swirls add at an OpenAPI or GraphQL spec. Typed actions for any API you hold credentials for, today.