Skip to main content

Iot Breeze OCB (0.9.0)

Download OpenAPI specification:Download

Omni Channel Backend for managing your iot applications

Tenant

TenantController_readAvailableTenants

Authorizations:
bearersupabase
query Parameters
select
string
include
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "customName": "string",
  • "description": {
    },
  • "searchLabels": "string",
  • "type": "Organization",
  • "logo": { },
  • "icon": { },
  • "smtpConfig": {
    },
  • "timezone": "string",
  • "defaultLanguage": "EN",
  • "theme": {
    },
  • "publicKey": "string",
  • "dbName": "string",
  • "schema": "string",
  • "tenantKeys": {
    }
}

TenantController_readAvailableTenants

Authorizations:
bearersupabase
query Parameters
select
string
include
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "customName": "string",
  • "description": {
    },
  • "searchLabels": "string",
  • "type": "Organization",
  • "logo": { },
  • "icon": { },
  • "smtpConfig": {
    },
  • "timezone": "string",
  • "defaultLanguage": "EN",
  • "theme": {
    },
  • "publicKey": "string",
  • "dbName": "string",
  • "schema": "string",
  • "tenantKeys": {
    }
}

TenantController_readCurrentTenant

Authorizations:
bearersupabase
query Parameters
select
string
include
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "customName": "string",
  • "description": {
    },
  • "searchLabels": "string",
  • "type": "Organization",
  • "logo": { },
  • "icon": { },
  • "smtpConfig": {
    },
  • "timezone": "string",
  • "defaultLanguage": "EN",
  • "theme": {
    },
  • "publicKey": "string",
  • "dbName": "string",
  • "schema": "string",
  • "tenantKeys": {
    }
}

TenantController_readCurrentTenant

Authorizations:
bearersupabase
query Parameters
select
string
include
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "customName": "string",
  • "description": {
    },
  • "searchLabels": "string",
  • "type": "Organization",
  • "logo": { },
  • "icon": { },
  • "smtpConfig": {
    },
  • "timezone": "string",
  • "defaultLanguage": "EN",
  • "theme": {
    },
  • "publicKey": "string",
  • "dbName": "string",
  • "schema": "string",
  • "tenantKeys": {
    }
}

TenantController_updateCurrentTenant

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
customName
string

customName

object

description

searchLabels
string

searchLabels

object

smtpConfig

timezone
string

timezone

defaultLanguage
string
Default: "EN"
Enum: "EN" "DE" "FR"

language

object

theme

Responses

Request samples

Content type
application/json
{
  • "customName": "string",
  • "description": {
    },
  • "searchLabels": "string",
  • "smtpConfig": {
    },
  • "timezone": "string",
  • "defaultLanguage": "EN",
  • "theme": {
    }
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "customName": "string",
  • "description": {
    },
  • "searchLabels": "string",
  • "type": "Organization",
  • "logo": { },
  • "icon": { },
  • "smtpConfig": {
    },
  • "timezone": "string",
  • "defaultLanguage": "EN",
  • "theme": {
    },
  • "publicKey": "string",
  • "dbName": "string",
  • "schema": "string",
  • "tenantKeys": {
    }
}

TenantController_updateCurrentTenant

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
customName
string

customName

object

description

searchLabels
string

searchLabels

object

smtpConfig

timezone
string

timezone

defaultLanguage
string
Default: "EN"
Enum: "EN" "DE" "FR"

language

object

theme

Responses

Request samples

Content type
application/json
{
  • "customName": "string",
  • "description": {
    },
  • "searchLabels": "string",
  • "smtpConfig": {
    },
  • "timezone": "string",
  • "defaultLanguage": "EN",
  • "theme": {
    }
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "customName": "string",
  • "description": {
    },
  • "searchLabels": "string",
  • "type": "Organization",
  • "logo": { },
  • "icon": { },
  • "smtpConfig": {
    },
  • "timezone": "string",
  • "defaultLanguage": "EN",
  • "theme": {
    },
  • "publicKey": "string",
  • "dbName": "string",
  • "schema": "string",
  • "tenantKeys": {
    }
}

TenantController_rotateTenantKey

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
primary
required
boolean

primary

secondary
required
boolean

secondary

Responses

Request samples

Content type
application/json
{
  • "primary": true,
  • "secondary": true
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "customName": "string",
  • "description": {
    },
  • "searchLabels": "string",
  • "type": "Organization",
  • "logo": { },
  • "icon": { },
  • "smtpConfig": {
    },
  • "timezone": "string",
  • "defaultLanguage": "EN",
  • "theme": {
    },
  • "publicKey": "string",
  • "dbName": "string",
  • "schema": "string",
  • "tenantKeys": {
    }
}

TenantController_rotateTenantKey

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
primary
required
boolean

primary

secondary
required
boolean

secondary

Responses

Request samples

Content type
application/json
{
  • "primary": true,
  • "secondary": true
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "customName": "string",
  • "description": {
    },
  • "searchLabels": "string",
  • "type": "Organization",
  • "logo": { },
  • "icon": { },
  • "smtpConfig": {
    },
  • "timezone": "string",
  • "defaultLanguage": "EN",
  • "theme": {
    },
  • "publicKey": "string",
  • "dbName": "string",
  • "schema": "string",
  • "tenantKeys": {
    }
}

TenantController_readTenantPublic

Authorizations:
bearersupabase
query Parameters
name
string
id
string
domain
string
select
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "customName": "string",
  • "description": {
    },
  • "searchLabels": "string",
  • "type": "Organization",
  • "logo": { },
  • "icon": { },
  • "smtpConfig": {
    },
  • "timezone": "string",
  • "defaultLanguage": "EN",
  • "theme": {
    },
  • "tenantKeys": {
    }
}

TenantController_readTenantPublic

Authorizations:
bearersupabase
query Parameters
name
string
id
string
domain
string
select
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "customName": "string",
  • "description": {
    },
  • "searchLabels": "string",
  • "type": "Organization",
  • "logo": { },
  • "icon": { },
  • "smtpConfig": {
    },
  • "timezone": "string",
  • "defaultLanguage": "EN",
  • "theme": {
    },
  • "tenantKeys": {
    }
}

upload favicon

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: multipart/form-data
required
file
required
string <binary>
tags
string
customerManaged
boolean

Responses

upload favicon

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: multipart/form-data
required
file
required
string <binary>
tags
string
customerManaged
boolean

Responses

upload cover

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: multipart/form-data
required
file
required
string <binary>
tags
string
customerManaged
boolean

Responses

upload cover

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: multipart/form-data
required
file
required
string <binary>
tags
string
customerManaged
boolean

Responses

TenantController_resetFavicon

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo

Responses

TenantController_resetFavicon

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo

Responses

TenantController_resetCoverImage

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo

Responses

TenantController_resetCoverImage

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Thing Type

ThingTypeController_count

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
1

Create Thing Type

Authorizations:
bearersupabase
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

Thing Type

name
required
string

name

displayName
required
string

displayName

tags
object

tags

description
object

description

extends
string

extends

version
string

version

object

schema

provider
required
string
Enum: "NIMBIT" "AZURE" "AWS" "GCP" "IBM" "MINIO"

provider

searchLabels
string

SearchLabels

groups
Array of strings

groups

Responses

Request samples

Content type
application/json
{
  • "name": "Thing_Type_1",
  • "displayName": "Thing Type 1",
  • "tags": { },
  • "description": {
    },
  • "extends": "tt_xxxxxxxxxxxxxxxxx",
  • "version": "1",
  • "schema": {
    },
  • "provider": "NIMBIT",
  • "searchLabels": "label1 label2",
  • "groups": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "tt_xxxxxxxxxxxxxxxxx",
  • "name": "Thing_Type_1",
  • "displayName": "Thing Type 1",
  • "tags": { },
  • "description": {
    },
  • "version": "1",
  • "provider": "NIMBIT",
  • "searchLabels": "label1 label2",
  • "groups": [
    ],
  • "extends": [
    ],
  • "schema": {
    },
  • "deprecated": true,
  • "deprecationDate": "2019-08-24T14:15:22Z",
  • "images": {
    },
  • "avatarColor": "#000000",
  • "DashboardConfig": [
    ]
}

get all Thing Types

Filterable fields: id, name,displayName, hasDraft, groups, description, version, status, providerStatus, searchLabels, provider

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
language
string
include
string

Valid includes: images,things,schema,groups,hasThings

noSchema
boolean

Don,t include schema

header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create Thing Type

Authorizations:
bearersupabase
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

Thing Type

Array
name
required
string

name

displayName
required
string

displayName

tags
object

tags

description
object

description

extends
string

extends

version
string

version

object

schema

provider
required
string
Enum: "NIMBIT" "AZURE" "AWS" "GCP" "IBM" "MINIO"

provider

searchLabels
string

SearchLabels

groups
Array of strings

groups

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Update thingType multiple schema direct without draft

Authorizations:
bearersupabase
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

Thing Type update

Array
required
Array of objects (Interface)

interfaces

id
string

Id

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Update thingType

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

Thing Type update

displayName
string

displayName

description
object

description

extends
string

extends

version
string

version

object

schema

searchLabels
string

SearchLabels

Responses

Request samples

Content type
application/json
{
  • "displayName": "Thing Type 1",
  • "description": {
    },
  • "extends": "tt_xxxxxxxxxxxxxxxxx",
  • "version": "1",
  • "schema": {
    },
  • "searchLabels": "label1 label2"
}

Response samples

Content type
application/json
{
  • "id": "tt_xxxxxxxxxxxxxxxxx",
  • "name": "Thing_Type_1",
  • "displayName": "Thing Type 1",
  • "tags": { },
  • "description": {
    },
  • "version": "1",
  • "provider": "NIMBIT",
  • "searchLabels": "label1 label2",
  • "groups": [
    ],
  • "extends": [
    ],
  • "schema": {
    },
  • "deprecated": true,
  • "deprecationDate": "2019-08-24T14:15:22Z",
  • "images": {
    },
  • "avatarColor": "#000000",
  • "DashboardConfig": [
    ]
}

delete Thing Type

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

ThingTypeController_findThingTypeById

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
language
string
include
string

Valid includes: things,groups

header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "tt_xxxxxxxxxxxxxxxxx",
  • "name": "Thing_Type_1",
  • "displayName": "Thing Type 1",
  • "tags": { },
  • "description": {
    },
  • "version": "1",
  • "provider": "NIMBIT",
  • "searchLabels": "label1 label2",
  • "groups": [
    ],
  • "extends": [
    ],
  • "schema": {
    },
  • "deprecated": true,
  • "deprecationDate": "2019-08-24T14:15:22Z",
  • "images": {
    },
  • "avatarColor": "#000000",
  • "DashboardConfig": [
    ]
}

Get a list of all matching properties/commands/measures for one or more thing types

Authorizations:
bearersupabase
query Parameters
show_delta
boolean
Default: false
show_ts_relevant_properties
boolean
Default: false
context_key
string
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

Thing Type characteristics

ids
Array of strings

thingType ids

tags
Array of strings

tags

Responses

Request samples

Content type
application/json
{
  • "ids": [
    ],
  • "tags": [
    ]
}

Response samples

Content type
application/json
{
  • "properties": {
    },
  • "commands": {
    },
  • "measures": {
    },
  • "delta": { }
}

Update thingType schema direct without draft

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
required
Array of objects (Interface)

interfaces

Array
name
required
string

name

tags
object
required
Array of objects (CapProperty)

Properties

required
Array of objects (CapCommand)

Commands

required
Array of objects (CapMeasure)

Measures

Responses

Request samples

Content type
application/json
{
  • "interfaces": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "tt_xxxxxxxxxxxxxxxxx",
  • "name": "Thing_Type_1",
  • "displayName": "Thing Type 1",
  • "tags": { },
  • "description": {
    },
  • "version": "1",
  • "provider": "NIMBIT",
  • "searchLabels": "label1 label2",
  • "groups": [
    ],
  • "extends": [
    ],
  • "schema": {
    },
  • "deprecated": true,
  • "deprecationDate": "2019-08-24T14:15:22Z",
  • "images": {
    },
  • "avatarColor": "#000000",
  • "DashboardConfig": [
    ]
}

apply Thing Type draft

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "tt_xxxxxxxxxxxxxxxxx",
  • "name": "Thing_Type_1",
  • "displayName": "Thing Type 1",
  • "tags": { },
  • "description": {
    },
  • "version": "1",
  • "provider": "NIMBIT",
  • "searchLabels": "label1 label2",
  • "groups": [
    ],
  • "extends": [
    ],
  • "schema": {
    },
  • "deprecated": true,
  • "deprecationDate": "2019-08-24T14:15:22Z",
  • "images": {
    },
  • "avatarColor": "#000000",
  • "DashboardConfig": [
    ]
}

reset Thing Type draft

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "tt_xxxxxxxxxxxxxxxxx",
  • "name": "Thing_Type_1",
  • "displayName": "Thing Type 1",
  • "tags": { },
  • "description": {
    },
  • "version": "1",
  • "provider": "NIMBIT",
  • "searchLabels": "label1 label2",
  • "groups": [
    ],
  • "extends": [
    ],
  • "schema": {
    },
  • "deprecated": true,
  • "deprecationDate": "2019-08-24T14:15:22Z",
  • "images": {
    },
  • "avatarColor": "#000000",
  • "DashboardConfig": [
    ]
}

Find profile image for thingtype

Authorizations:
bearersupabase
path Parameters
id
required
any
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

upload file

Authorizations:
bearersupabase
path Parameters
id
required
any
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: multipart/form-data
required
file
required
string <binary>
tags
string
customerManaged
boolean

Responses

Things

ThingController_count

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
1

Create thing

Authorizations:
bearersupabase
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
name
required
string

Name

alternateId
required
string

Alternate id

customProperties
object

customProperties

object

description

certType
string
Enum: "x509" "sas"

certType

parentId
string

Parent Id

searchLabels
string

SearchLabels

thingType
required
string

thingType

groups
required
Array of strings

groups

organization
required
string

organization

Responses

Request samples

Content type
application/json
{
  • "name": "thing1",
  • "alternateId": "thingalternateid",
  • "customProperties": { },
  • "description": { },
  • "certType": "x509",
  • "parentId": "th_xxxxxxxxxxxxxxxxx",
  • "searchLabels": "label1 label 2",
  • "thingType": "string",
  • "groups": [
    ],
  • "organization": "gr_xxxxxxxxxxxxxxxxx"
}

Response samples

Content type
application/json
{
  • "id": "th_xxxxxxxxxxxxxxxxx",
  • "name": "thing1",
  • "alternateId": "thingalternateid",
  • "characteristics": {
    },
  • "customProperties": { },
  • "description": { },
  • "status": "Connected",
  • "owner": "string",
  • "certType": "x509",
  • "provider": "NIMBIT",
  • "searchLabels": "label1 label 2",
  • "connectionStatus": "string",
  • "lastConnected": "2019-08-24T14:15:22Z",
  • "lastDisconnected": "2019-08-24T14:15:22Z",
  • "thingType": {
    },
  • "users": [
    ],
  • "groups": [
    ],
  • "hierarchy": [
    ],
  • "accessType": [
    ],
  • "parent": [
    ],
  • "images": {
    },
  • "avatarColor": "string",
  • "DashboardConfig": [
    ],
  • "organization": {
    }
}

Find things

Filterable fields: id, name, alternateId, status, groups, owner, certType, status, provider, searchLabels

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
language
string
include
string

Valid includes: groups,thingType,parent,thingAccess,hierarchy,users,images

header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "count": 0,
  • "_fullCount": 0,
  • "things": [
    ]
}

Create multiple things

Authorizations:
bearersupabase
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
Array
string

Responses

Request samples

Content type
application/json
[
  • "string"
]

Update thing

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
name
string

Name

object

characteristics

customProperties
object

customProperties

object

description

parentId
string

Parent Id

searchLabels
string

SearchLabels

organization
string

organization

Array of objects (OperationWithId)

groups

Array of objects (OperationWithIdAndPermissions)

users

Responses

Request samples

Content type
application/json
{
  • "name": "thing1",
  • "characteristics": {
    },
  • "customProperties": { },
  • "description": { },
  • "parentId": "th_xxxxxxxxxxxxxxxxx",
  • "searchLabels": "label1 label 2",
  • "organization": "gr_xxxxxxxxxxxxxxxxx",
  • "groups": [
    ],
  • "users": [
    ]
}

Remove thing

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Read thing

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "th_xxxxxxxxxxxxxxxxx",
  • "name": "thing1",
  • "alternateId": "thingalternateid",
  • "characteristics": {
    },
  • "customProperties": { },
  • "description": { },
  • "status": "Connected",
  • "owner": "string",
  • "certType": "x509",
  • "provider": "NIMBIT",
  • "searchLabels": "label1 label 2",
  • "connectionStatus": "string",
  • "lastConnected": "2019-08-24T14:15:22Z",
  • "lastDisconnected": "2019-08-24T14:15:22Z",
  • "thingType": {
    },
  • "users": [
    ],
  • "groups": [
    ],
  • "hierarchy": [
    ],
  • "accessType": [
    ],
  • "parent": [
    ],
  • "images": {
    },
  • "avatarColor": "string",
  • "DashboardConfig": [
    ],
  • "organization": {
    }
}

Find profile image for thing

Authorizations:
bearersupabase
path Parameters
id
required
any
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

upload file

Authorizations:
bearersupabase
path Parameters
id
required
any
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: multipart/form-data
required
file
required
string <binary>
tags
string
customerManaged
boolean

Responses

User

Update user roles

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
name
required
string
Default: "Gerd Mueller"

name

required
object

Authorization properties

object

Invitations

required
Array of objects (UserGroup)

groups

password
required
string

password

tenantOwner
boolean
roles
required
Array of strings

Responses

Request samples

Content type
application/json
{
  • "name": "Gerd Mueller",
  • "auth": {
    },
  • "invitations": {
    },
  • "groups": [
    ],
  • "password": "string",
  • "tenantOwner": true,
  • "roles": [
    ]
}

UserController_findUserById

Authorizations:
bearersupabase
path Parameters
id
required
any
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "bHYC0ZqbiZhxvciptZdS",
  • "name": "Gerd Mueller",
  • "email": "gerd.mueller@nimbit.de",
  • "userType": "USER",
  • "auth": {
    },
  • "invitations": {
    },
  • "groups": [
    ],
  • "searchLables": "string",
  • "password": "string",
  • "tenantOwner": true
}

Remove user

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

UserController_findUser

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "bHYC0ZqbiZhxvciptZdS",
  • "name": "Gerd Mueller",
  • "email": "gerd.mueller@nimbit.de",
  • "userType": "USER",
  • "auth": {
    },
  • "invitations": {
    },
  • "groups": [
    ],
  • "searchLables": "string",
  • "password": "string",
  • "tenantOwner": true
}

UserController_findUsers

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

UserController_count

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
1

Reset user password

Authorizations:
bearersupabase
header Parameters
accept-language
required
string
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
email
required
string
redirectUrl
required
string

Responses

Request samples

Content type
application/json
{
  • "email": "string",
  • "redirectUrl": "string"
}

Generate opt for user

Authorizations:
bearersupabase
header Parameters
accept-language
required
string
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
email
required
string
type
required
string
Default: "magiclink"
Value: "magiclink"

Type of the OTP link

redirectUrl
required
string

Responses

Request samples

Content type
application/json
{
  • "email": "string",
  • "type": "magiclink",
  • "redirectUrl": "string"
}

Reset user password

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo

Responses

File

FileController_count

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
1

upload file

Authorizations:
bearersupabase
path Parameters
resource
required
string
Enum: "Thing" "ThingType" "Tenant" "Group" "User" "Organization" "File" "Widget" "ResourceHierarchy" "DashboardConfig" "Canvas"
id
required
string

id

header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: multipart/form-data
required
file
required
string <binary>
tags
string
customerManaged
boolean

Responses

FileController_findFile

Authorizations:
bearersupabase
path Parameters
id
required
any
query Parameters
disposition
required
string
Enum: "inline" "attachment"
header Parameters
x-ocb-tenant
any
Example: demo

Responses

FileController_deleteFile

Authorizations:
bearersupabase
path Parameters
id
required
any
header Parameters
x-ocb-tenant
any
Example: demo

Responses

List files for resource

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Remove profile picture assignment

Authorizations:
bearersupabase
path Parameters
id
required
string

file id

header Parameters
x-ocb-tenant
any
Example: demo

Responses

Remove profile picture assignment

Authorizations:
bearersupabase
path Parameters
resourceId
required
string

Resource id

id
required
string

file id

header Parameters
x-ocb-tenant
any
Example: demo

Responses

Groups

GroupController_count

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
1

Create Group

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
name
required
string

Name

object

description

defaultPermissions
required
object

defaultPermissions

parentId
string

Parent

searchLabels
string

SearchLabels

type
string
Default: "Default"
Enum: "Default" "Organization"

type

thingTypes
Array of strings

thingTypes

things
Array of strings

things

eventTypes
Array of strings

eventTypes

Array of objects (OperationWithIdAndPermissions)

users

Responses

Request samples

Content type
application/json
{
  • "name": "Group Name",
  • "description": { },
  • "defaultPermissions": { },
  • "parentId": "gr_xxxxxxxxxxxxxxxxx",
  • "searchLabels": "string",
  • "type": "Default",
  • "thingTypes": [
    ],
  • "things": [
    ],
  • "eventTypes": [
    ],
  • "users": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "gr_xxxxxxxxxxxxxxxxx",
  • "name": "Group Name",
  • "description": { },
  • "isRoot": false,
  • "defaultPermissions": { },
  • "searchLabels": "string",
  • "type": "Default",
  • "_count": {
    },
  • "GroupToUser": [
    ],
  • "permissions": {
    },
  • "children": [
    ],
  • "parents": [
    ],
  • "parent": { },
  • "thingTypes": [
    ],
  • "things": [
    ],
  • "eventTypes": [
    ]
}

Find groups

Filterable fields: id, name, isRoot, description, things, thingTypes, eventTypes, searchLabels

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
language
string
include
string

Valid includes: thingTypes,things,eventTypes,tenant,count,users

header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Update Group

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
object

description

defaultPermissions
required
object

defaultPermissions

parentId
string

Parent

searchLabels
string

SearchLabels

type
string
Default: "Default"
Enum: "Default" "Organization"

type

name
string

Name

Array of objects (OperationWithIdAndPermissions)

users

Array of objects (OperationWithId)

thingTypes

Array of objects (OperationWithId)

things

Array of objects (OperationWithId)

eventTypes

Responses

Request samples

Content type
application/json
{
  • "description": { },
  • "defaultPermissions": { },
  • "parentId": "gr_xxxxxxxxxxxxxxxxx",
  • "searchLabels": "string",
  • "type": "Default",
  • "name": "Group Name",
  • "users": [
    ],
  • "thingTypes": [
    ],
  • "things": [
    ],
  • "eventTypes": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "gr_xxxxxxxxxxxxxxxxx",
  • "name": "Group Name",
  • "description": { },
  • "isRoot": false,
  • "defaultPermissions": { },
  • "searchLabels": "string",
  • "type": "Default",
  • "_count": {
    },
  • "GroupToUser": [
    ],
  • "permissions": {
    },
  • "children": [
    ],
  • "parents": [
    ],
  • "parent": { },
  • "thingTypes": [
    ],
  • "things": [
    ],
  • "eventTypes": [
    ]
}

Find group by id

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
language
string
include
string

Valid includes: thingTypes,things,eventTypes,tenant,children,parent,users,count

header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "gr_xxxxxxxxxxxxxxxxx",
  • "name": "Group Name",
  • "description": { },
  • "isRoot": false,
  • "defaultPermissions": { },
  • "searchLabels": "string",
  • "type": "Default",
  • "_count": {
    },
  • "GroupToUser": [
    ],
  • "permissions": {
    },
  • "children": [
    ],
  • "parents": [
    ],
  • "parent": { },
  • "thingTypes": [
    ],
  • "things": [
    ],
  • "eventTypes": [
    ]
}

Delete group

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Roles

RoleController_count

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
1

RoleController_findRoles

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Find role by id

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "description": { },
  • "permissions": {
    },
  • "UserRoleAssignment": [
    ],
  • "searchLables": "string"
}

Invitation

InvitationController_count

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
1

Create Invitation

Authorizations:
bearersupabase
query Parameters
language
required
string
Enum: "en" "de"
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
required
Array of objects (Invites)

list of users tht are being invited

expiresAt
string <date-time>

expiresAt

roles
required
Array of strings

roles

required
Array of objects (UserPermissions)

groups

required
Array of objects (UserPermissions)

things

inviteKey
required
boolean

if false, create the user and directly send an email. if true or undefined, create a invite key that can be given to the user to complete their registration

Responses

Request samples

Content type
application/json
{
  • "invites": [
    ],
  • "expiresAt": "2019-08-24T14:15:22Z",
  • "roles": [
    ],
  • "groups": [
    ],
  • "things": [
    ],
  • "inviteKey": true
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "invites": [
    ],
  • "inviteKey": "string",
  • "expiresAt": "2019-08-24T14:15:22Z",
  • "status": { },
  • "roles": [
    ],
  • "Groups": [
    ],
  • "things": [
    ]
}

Find invitations

Filterable fields: id, name, email, status

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Find invitation by id

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "invites": [
    ],
  • "inviteKey": "string",
  • "expiresAt": "2019-08-24T14:15:22Z",
  • "status": { },
  • "roles": [
    ],
  • "Groups": [
    ],
  • "things": [
    ]
}

Delete Invitation

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Accept invitation

Authorizations:
bearersupabase
path Parameters
invitationKey
required
string

Invitation Key

header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
firstName
required
string

firstName

lastName
required
string

lastName

password
required
string
Default: "Test1234@"

Password should contain atleast 8 characters, a number and a special character like "!@#$%^&*()[]{};:<>?,./+-=|~".

passwordConfirm
required
string
Default: "Test1234@"

passwordConfirm. Has to match the password property

Responses

Request samples

Content type
application/json
{
  • "firstName": "string",
  • "lastName": "string",
  • "password": "Test1234@",
  • "passwordConfirm": "Test1234@"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "invites": [
    ],
  • "inviteKey": "string",
  • "expiresAt": "2019-08-24T14:15:22Z",
  • "status": { },
  • "roles": [
    ],
  • "Groups": [
    ],
  • "things": [
    ]
}

Reject invitation

Authorizations:
bearersupabase
path Parameters
invitationKey
required
string

Invitation Key

header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "invites": [
    ],
  • "inviteKey": "string",
  • "expiresAt": "2019-08-24T14:15:22Z",
  • "status": { },
  • "roles": [
    ],
  • "Groups": [
    ],
  • "things": [
    ]
}

Find invitation by invitationKey

Authorizations:
bearersupabase
path Parameters
invitationKey
required
string

Invitation Key

query Parameters
select
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "invites": [
    ],
  • "inviteKey": "string",
  • "expiresAt": "2019-08-24T14:15:22Z",
  • "status": { },
  • "roles": [
    ]
}

ApiClient

Create ApiClient

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
name
string

name

validTo
required
string <date-time>

valid To

roles
required
Array of strings

roles

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "validTo": "2019-08-24T14:15:22Z",
  • "roles": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "clientId": "string",
  • "clientSecret": "string",
  • "deleted": true,
  • "validTo": "2019-08-24T14:15:22Z",
  • "roles": [
    ]
}

ApiClientController_findApiClients

Authorizations:
bearersupabase
query Parameters
select
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Delete apiClient

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Destinations

DestinationController_count

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
1

Create Destination

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
name
required
string

name

description
required
string

description

authenticationType
required
string
Enum: "NONE" "BASIC" "OAUTH"

AuthenticationType

requestConfig
required
object

RequestConfig

authenticationConfig
required
object

AuthenticationConfig

searchLables
required
string

SearchLabels

secret
required
object

secret

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "description": "string",
  • "authenticationType": "NONE",
  • "requestConfig": { },
  • "authenticationConfig": { },
  • "searchLables": "string",
  • "secret": { }
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "description": "string",
  • "authenticationType": "NONE",
  • "requestConfig": { },
  • "authenticationConfig": { },
  • "searchLables": "string"
}

Find notifications

Filterable fields: id, name, description, authenticationType, searchLabels

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Update Destination

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
name
string

name

description
string

description

authenticationType
string
Enum: "NONE" "BASIC" "OAUTH"

AuthenticationType

requestConfig
object

RequestConfig

authenticationConfig
object

AuthenticationConfig

searchLables
string

SearchLabels

secret
required
object

secret

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "description": "string",
  • "authenticationType": "NONE",
  • "requestConfig": { },
  • "authenticationConfig": { },
  • "searchLables": "string",
  • "secret": { }
}

Remove Destination

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Read Destination

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "description": "string",
  • "authenticationType": "NONE",
  • "requestConfig": { },
  • "authenticationConfig": { },
  • "searchLables": "string"
}

Search

SearchController_customSearch

Authorizations:
bearersupabase
query Parameters
select
string
searchTerm
string
tags
string
resources
string
resourceLimit
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Labels

Create Label

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
name
required
string

name

color
required
string

color

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "color": "string"
}

Response samples

Content type
application/json
{
  • "name": "string",
  • "color": "string"
}

Find notifications

Filterable fields: id, name, color

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Remove Label via name

Authorizations:
bearersupabase
path Parameters
name
required
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Read Label by name

Authorizations:
bearersupabase
path Parameters
name
required
string
query Parameters
select
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "name": "string",
  • "color": "string"
}

Update label color name

Authorizations:
bearersupabase
path Parameters
name
required
string
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
color
string

color

Responses

Request samples

Content type
application/json
{
  • "color": "string"
}

Notification

find notifications types

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • "string"
]

Count notification by state

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
0
0

NotificationController_count

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
1

Find notifications

Filterable fields: id, sender, recipient, resourceType, resourceId, subject, message, readAt, notificationType, state, severity

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "sender": "string",
  • "i18nCode": "string",
  • "recipients": [
    ],
  • "recipientGroups": [
    ],
  • "notificationType": "Generic",
  • "resourceType": { },
  • "resourceId": "string",
  • "subject": "string",
  • "message": "string",
  • "severity": "INFO",
  • "tags": "string",
  • "readAt": "2019-08-24T14:15:22Z",
  • "eventId": "string",
  • "state": { }
}

Create notifications

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
i18nCode
required
string

i18nCode

recipients
required
Array of strings

recipients

recipientGroups
required
Array of strings

recipientGroups

notificationType
required
object
Default: "Generic"

notificationType

resourceType
required
object

resourceType

resourceId
required
string

resourceId

subject
required
string

subject

message
required
string

message

severity
required
object
Default: "INFO"

severity

tags
required
string

tags

eventId
required
string

ebent ID

Responses

Request samples

Content type
application/json
{
  • "i18nCode": "string",
  • "recipients": [
    ],
  • "recipientGroups": [
    ],
  • "notificationType": "Generic",
  • "resourceType": { },
  • "resourceId": "string",
  • "subject": "string",
  • "message": "string",
  • "severity": "INFO",
  • "tags": "string",
  • "eventId": "string"
}

Response samples

Content type
application/json
"string"

Mark notifications as read

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
ids
required
Array of strings

ids

all
boolean
Default: false

all

Responses

Request samples

Content type
application/json
{
  • "ids": [
    ],
  • "all": false
}

Mark notifications as read

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
ids
required
Array of strings

ids

Responses

Request samples

Content type
application/json
{
  • "ids": [
    ]
}

DashboardConfigs

Create DashboardConfig

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

DashboardConfig

translations
object

translations

thingId
string

thingId

name
required
string

name

accessType
required
string
Enum: "User" "Tenant"

accessType

dashboardType
required
string
Enum: "Thing" "ThingType" "General" "MultiAsset" "Report"

dashboardType

default
required
boolean

default

locked
required
boolean

locked

Array of DashboardLayout (objects) or ResponsiveLayouts (object)

layouts - can be either an array (legacy, maps to xl) or an object with breakpoint keys (xs, sm, md, lg, xl)

Array of objects (Widget)

widgets

groups
Array of strings

groups

dependent
string

id of the thingtype or thing depending on if the dashboard type is Thing or ThingType

thingIds
Array of strings

ids of the things when dashboard type is MultiAsset

object

gridSettings

object

timeSettings

ResourceHierarchy
Array of strings

ResourceHierarchy

Responses

Request samples

Content type
application/json
{
  • "translations": { },
  • "thingId": "string",
  • "name": "string",
  • "accessType": "User",
  • "dashboardType": "Thing",
  • "default": true,
  • "locked": true,
  • "layouts": [
    ],
  • "widgets": [
    ],
  • "groups": [
    ],
  • "dependent": "string",
  • "thingIds": [
    ],
  • "gridSettings": {
    },
  • "timeSettings": {
    },
  • "ResourceHierarchy": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "translations": { },
  • "thingId": "string",
  • "name": "string",
  • "accessType": "User",
  • "dashboardType": "Thing",
  • "default": true,
  • "locked": true,
  • "layouts": [
    ],
  • "widgets": [
    ],
  • "owner": "string",
  • "gridSettings": {
    },
  • "timeSettings": {
    },
  • "groups": [
    ],
  • "dependent": "string",
  • "things": [
    ],
  • "ResourceHierarchy": [
    ],
  • "valid": true,
  • "actionIds": [
    ]
}

DashboardConfigController_findAllDashboardConfig

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Copy DashboardConfig

Authorizations:
bearersupabase
path Parameters
id
required
any
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
optional

Copy DashboardConfig

name
string

name

resourceHierarchyId
string

resourceHierarchyId

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "resourceHierarchyId": "string"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "translations": { },
  • "thingId": "string",
  • "name": "string",
  • "accessType": "User",
  • "dashboardType": "Thing",
  • "default": true,
  • "locked": true,
  • "layouts": [
    ],
  • "widgets": [
    ],
  • "owner": "string",
  • "gridSettings": {
    },
  • "timeSettings": {
    },
  • "groups": [
    ],
  • "dependent": "string",
  • "things": [
    ],
  • "ResourceHierarchy": [
    ],
  • "valid": true,
  • "actionIds": [
    ]
}

Remove DashboardConfig via id

Authorizations:
bearersupabase
path Parameters
id
required
any
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Read DashboardConfig by id

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
include
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "translations": { },
  • "thingId": "string",
  • "name": "string",
  • "accessType": "User",
  • "dashboardType": "Thing",
  • "default": true,
  • "locked": true,
  • "layouts": [
    ],
  • "widgets": [
    ],
  • "owner": "string",
  • "gridSettings": {
    },
  • "timeSettings": {
    },
  • "groups": [
    ],
  • "dependent": "string",
  • "things": [
    ],
  • "ResourceHierarchy": [
    ],
  • "valid": true,
  • "actionIds": [
    ]
}

Update dashboard config

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
name
string

name

translations
object

translations

accessType
string
Enum: "User" "Tenant"

accessType

dashboardType
string
Enum: "Thing" "ThingType" "General" "MultiAsset" "Report"

dashboardType

default
boolean

default

locked
required
boolean

locked

Array of DashboardLayout (objects) or ResponsiveLayouts (object)

layouts - can be either an array (legacy, maps to xl) or an object with breakpoint keys (xs, sm, md, lg, xl)

object

widgets

groups
Array of strings

groups

dependent
string

id of the thingtype or thing depending on if the dashboard type is Thing or ThingType

thingIds
Array of strings

ids of the things when dashboard type is MultiAsset

object

gridSettings

object

timeSettings

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "translations": { },
  • "accessType": "User",
  • "dashboardType": "Thing",
  • "default": true,
  • "locked": true,
  • "layouts": [
    ],
  • "widgets": {
    },
  • "groups": [
    ],
  • "dependent": "string",
  • "thingIds": [
    ],
  • "gridSettings": {
    },
  • "timeSettings": {
    }
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "translations": { },
  • "thingId": "string",
  • "name": "string",
  • "accessType": "User",
  • "dashboardType": "Thing",
  • "default": true,
  • "locked": true,
  • "layouts": [
    ],
  • "widgets": [
    ],
  • "owner": "string",
  • "gridSettings": {
    },
  • "timeSettings": {
    },
  • "groups": [
    ],
  • "dependent": "string",
  • "things": [
    ],
  • "ResourceHierarchy": [
    ],
  • "valid": true,
  • "actionIds": [
    ]
}

DashboardConfigController_count

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
0
0

Find Dashboards for Hierarchy

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "translations": { },
  • "thingId": "string",
  • "name": "string",
  • "accessType": "User",
  • "dashboardType": "Thing",
  • "default": true,
  • "locked": true,
  • "layouts": [
    ],
  • "widgets": [
    ],
  • "owner": "string",
  • "gridSettings": {
    },
  • "timeSettings": {
    },
  • "groups": [
    ],
  • "dependent": "string",
  • "things": [
    ],
  • "ResourceHierarchy": [
    ],
  • "valid": true,
  • "actionIds": [
    ]
}

(Azure) Device Authentication

create/cycle primary authenication

Authorizations:
bearersupabase
path Parameters
id
required
any
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "key": "string",
  • "certificate": "string",
  • "type": "x509",
  • "expires": "string"
}

revoke x509 certificate

Authorizations:
bearersupabase
path Parameters
id
required
any
header Parameters
x-ocb-tenant
any
Example: demo

Responses

create/cycle secondary authentication

Authorizations:
bearersupabase
path Parameters
id
required
any
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "key": "string",
  • "certificate": "string",
  • "type": "x509",
  • "expires": "string"
}

revoke x509 certificate secondary

Authorizations:
bearersupabase
path Parameters
id
required
any
header Parameters
x-ocb-tenant
any
Example: demo

Responses

auth by id

Authorizations:
bearersupabase
path Parameters
id
required
any
query Parameters
select
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "type": "x509",
  • "x509Thumbprint": {
    },
  • "symmetricKey": {
    },
  • "connectivity": {
    }
}

(Nimbit) Thing Authentication

create thing authentication key

Create a new thing authentication key for a single device. Thing authentication key can be used to sign JWT tokens for device authentication. Or basic auth passwords for device authentication.

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
thingId
required
string

Thing id or alternate id

keyType
required
string
Enum: "primary" "secondary"

Key type (primary or secondary)

generateNonce
required
boolean

Should generate nonce

nonce
required
string

Nonce

Responses

Request samples

Content type
application/json
{
  • "thingId": "string",
  • "keyType": "primary",
  • "generateNonce": true,
  • "nonce": "string"
}

Response samples

Content type
application/json
{
  • "thingId": "string",
  • "key": "string",
  • "nonce": "string"
}

create device authentication token

Create a new authentication token for a single device.

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
expiresIn
number
Default: 3600

Expires in (seconds)

deviceId
required
string

Device id

keyType
string
Default: "primary"
Enum: "primary" "secondary"

Key type

Responses

Request samples

Content type
application/json
{
  • "expiresIn": 3600,
  • "deviceId": "string",
  • "keyType": "primary"
}

Response samples

Content type
application/json
{
  • "expiresIn": 3600,
  • "token": "string",
  • "username": "string",
  • "scope": "device"
}

create tenant authentication token

Create a new authentication token for a tenant. This token can be used to send request for any device in the tenant.

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
expiresIn
number
Default: 3600

Expires in (seconds)

keyType
string
Default: "primary"
Enum: "primary" "secondary"

Key type

Responses

Request samples

Content type
application/json
{
  • "expiresIn": 3600,
  • "keyType": "primary"
}

Response samples

Content type
application/json
{
  • "expiresIn": 3600,
  • "token": "string",
  • "username": "string",
  • "scope": "device"
}

create device basic auhtentication token

Create a new basic auth credentials for device.

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
deviceId
required
string

Device id

keyType
string
Default: "primary"
Enum: "primary" "secondary"

Key type

Responses

Request samples

Content type
application/json
{
  • "deviceId": "string",
  • "keyType": "primary"
}

Response samples

Content type
application/json
{
  • "expiresIn": 3600,
  • "token": "string",
  • "username": "string",
  • "scope": "device"
}

create tenant basic auhtentication token

Create a new basic auth credentials for tenant.

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
keyType
string
Default: "primary"
Enum: "primary" "secondary"

Key type

Responses

Request samples

Content type
application/json
{
  • "keyType": "primary"
}

Response samples

Content type
application/json
{
  • "expiresIn": 3600,
  • "token": "string",
  • "username": "string",
  • "scope": "device"
}

QueryConfigs

QueryConfigController_count

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
1

Create QueryConfig

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

QueryConfig

name
required
string

name

accessType
required
string
Default: "Tenant"
Enum: "User" "Tenant"

accessType

required
object

widget

groups
Array of strings

groups

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "accessType": "User",
  • "widget": {
    },
  • "groups": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "accessType": "User",
  • "widget": {
    },
  • "owner": "string",
  • "groups": [
    ],
  • "shareCode": "string"
}

QueryConfigController_findAllQueryConfig

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Remove QueryConfig via id

Authorizations:
bearersupabase
path Parameters
id
required
any
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Read QueryConfig by id

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "accessType": "User",
  • "widget": {
    },
  • "owner": "string",
  • "groups": [
    ],
  • "shareCode": "string"
}

Update query config

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
name
string

name

accessType
string
Enum: "User" "Tenant"

accessType

object

widget

owner
string

owner

groups
Array of strings

groups

shareCode
string

shareCode

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "accessType": "User",
  • "widget": {
    },
  • "owner": "string",
  • "groups": [
    ],
  • "shareCode": "string"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "accessType": "User",
  • "widget": {
    },
  • "owner": "string",
  • "groups": [
    ],
  • "shareCode": "string"
}

Events

EventController_count

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
groupBy
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
1

Create Event

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

Event

title
required
string

title

status
string

status

severity
required
string
Enum: "INFO" "WARNING" "ERROR" "CRITICAL"

severity

source
required
string

source

eventTimestamp
required
string <date-time>

eventTimestamp

externalId
string

externalId

correlationId
string

correlationId

eventTypeId
required
string

eventTypeId

payload
object

any object/array that can be serialized to JSON

referenceId
string

referenceId

resource
required
string
Enum: "ThingType" "Thing" "PropertySet" "User" "Organization" "Tenant" "Role" "Group" "File" "Invitation" "ObjectInstance" "ObjectType" "ApiClient" "Destination" "Job" "Rule" "Label" "Search" "Notification" "Timeseries" "DashboardConfig" "DeviceAuthentication" "QueryConfig" "Event" "EventType" "Theme" "MailTemplateBlock" "MailTemplate" "Report" "ResourceHierarchy" "Widget" "Subscription" "Account" "Action" "RuleVersion" "GeoFence" "AuditLog" "ActionLog" "Canvas" "Context" "Schedule"

resource

i18nCode
required
string

i18nCode

Responses

Request samples

Content type
application/json
{
  • "title": "string",
  • "status": "string",
  • "severity": "INFO",
  • "source": "string",
  • "eventTimestamp": "2019-08-24T14:15:22Z",
  • "externalId": "string",
  • "correlationId": "string",
  • "eventTypeId": "string",
  • "payload": { },
  • "referenceId": "string",
  • "resource": "ThingType",
  • "i18nCode": "string"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "title": "string",
  • "severity": "INFO",
  • "source": "string",
  • "eventTimestamp": "2019-08-24T14:15:22Z",
  • "eventTypeId": "string",
  • "payload": { },
  • "resourceInformation": {
    },
  • "i18nCode": "string",
  • "status": "string",
  • "externalId": "string",
  • "correlationId": "string",
  • "referenceId": "string",
  • "resource": "ThingType",
  • "type": {
    }
}

EventController_findAllEvent

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Remove Event via id

Authorizations:
bearersupabase
path Parameters
id
required
any
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Read Event by id

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
include
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "title": "string",
  • "severity": "INFO",
  • "source": "string",
  • "eventTimestamp": "2019-08-24T14:15:22Z",
  • "eventTypeId": "string",
  • "payload": { },
  • "resourceInformation": {
    },
  • "i18nCode": "string",
  • "status": "string",
  • "externalId": "string",
  • "correlationId": "string",
  • "referenceId": "string",
  • "resource": "ThingType",
  • "type": {
    }
}

EventController_findAllEventForCorrelationId

Authorizations:
bearersupabase
path Parameters
correlationId
required
string
query Parameters
select
string
include
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

EventTypes

EventTypeController_count

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
1

Create EventType

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

EventType

searchLabels
string

SearchLabels

name
required
string

name

object

description

schema
object

schema

displayType
object

displayType

Responses

Request samples

Content type
application/json
{
  • "searchLabels": "string",
  • "name": "string",
  • "description": { },
  • "schema": { },
  • "displayType": { }
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "searchLabels": "string",
  • "name": "string",
  • "description": { },
  • "schema": { },
  • "displayType": { },
  • "initiator": "SYSTEM",
  • "Subscription": [
    ],
  • "action": [
    ],
  • "groups": [
    ]
}

EventTypeController_findAllEventType

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Remove EventType via id

Authorizations:
bearersupabase
path Parameters
id
required
any
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Read EventType by id

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
include
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "searchLabels": "string",
  • "name": "string",
  • "description": { },
  • "schema": { },
  • "displayType": { },
  • "initiator": "SYSTEM",
  • "Subscription": [
    ],
  • "action": [
    ],
  • "groups": [
    ]
}

Update eventType

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
searchLabels
string

SearchLabels

name
string

name

object

description

schema
object

schema

displayType
object

displayType

Responses

Request samples

Content type
application/json
{
  • "searchLabels": "string",
  • "name": "string",
  • "description": { },
  • "schema": { },
  • "displayType": { }
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "searchLabels": "string",
  • "name": "string",
  • "description": { },
  • "schema": { },
  • "displayType": { },
  • "initiator": "SYSTEM",
  • "Subscription": [
    ],
  • "action": [
    ],
  • "groups": [
    ]
}

Subscriptions

SubscriptionController_count

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
1

Create Subscription

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

Subscription

external
string

External Email

sendMail
required
boolean
Default: false

Send Mail

sendNotification
required
boolean
Default: false

Send Notification

object

Report

eventTypeId
string

Event Type Id

reportId
string

Report Id

userId
string

User Id

Responses

Request samples

Content type
application/json
{
  • "external": "string",
  • "sendMail": false,
  • "sendNotification": false,
  • "report": {
    },
  • "eventTypeId": "string",
  • "reportId": "string",
  • "userId": "string"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "external": "string",
  • "sendMail": false,
  • "sendNotification": false,
  • "eventType": { },
  • "report": {
    },
  • "user": {
    },
  • "eventTypeId": "string",
  • "reportId": "string",
  • "userId": "string"
}

SubscriptionController_findAllSubscription

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Remove Subscription via id

Authorizations:
bearersupabase
path Parameters
id
required
any
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Read Subscription by id

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
include
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "external": "string",
  • "sendMail": false,
  • "sendNotification": false,
  • "eventType": { },
  • "report": {
    },
  • "user": {
    },
  • "eventTypeId": "string",
  • "reportId": "string",
  • "userId": "string"
}

Update subscription

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
external
string

External Email

sendMail
boolean
Default: false

Send Mail

sendNotification
boolean
Default: false

Send Notification

object

Report

eventTypeId
string

Event Type Id

reportId
string

Report Id

userId
string

User Id

Responses

Request samples

Content type
application/json
{
  • "external": "string",
  • "sendMail": false,
  • "sendNotification": false,
  • "report": {
    },
  • "eventTypeId": "string",
  • "reportId": "string",
  • "userId": "string"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "external": "string",
  • "sendMail": false,
  • "sendNotification": false,
  • "eventType": { },
  • "report": {
    },
  • "user": {
    },
  • "eventTypeId": "string",
  • "reportId": "string",
  • "userId": "string"
}

Unsubscribe

Authorizations:
bearersupabase
path Parameters
tenant
required
string

tenant of the subscription

id
required
string

id of the subscription

header Parameters
x-ocb-tenant
any
Example: demo

Responses

ResourceNames

Get ResourceNames

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • "string"
]

MailTemplateBlocks

MailTemplateBlockController_count

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
1

MailTemplateBlockController_countByType

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
1

Create MailTemplateBlock

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

MailTemplateBlock

name
required
string

name

object

translations

html
required
string

html

type
string
Enum: "Header" "Footer" "Body" "Layout"

type

css
required
string

css

context
string

context id

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "translations": { },
  • "html": "string",
  • "type": "Header",
  • "css": "string",
  • "context": "string"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "html": "string",
  • "type": "Header",
  • "css": "string",
  • "context": "string",
  • "contextRel": {
    },
  • "tenantType": "Organization"
}

MailTemplateBlockController_findAllMailTemplateBlocks

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Remove MailTemplate Block via id

Authorizations:
bearersupabase
path Parameters
id
required
any
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Read MailTemplate block by id

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "html": "string",
  • "type": "Header",
  • "css": "string",
  • "context": "string",
  • "contextRel": {
    },
  • "tenantType": "Organization"
}

Update mailTemplate

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
name
string

name

object

translations

html
string

html

css
string

css

context
string

context id

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "translations": { },
  • "html": "string",
  • "css": "string",
  • "context": "string"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "html": "string",
  • "type": "Header",
  • "css": "string",
  • "context": "string",
  • "contextRel": {
    },
  • "tenantType": "Organization"
}

MailTemplates

MailTemplateController_count

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
1

Create mail template Body block and MailTemplate

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

MailTemplate

name
required
string

name

layout
object

layout

body
object

body

header
object

header

footer
object

footer

showHeader
boolean

showHeader

showFooter
boolean

showFooter

showBody
boolean

showBody

availableFields
object

availableFields

translations
object

translations

html
required
string

html

css
required
string

css

context
string

context id

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "layout": { },
  • "body": { },
  • "header": { },
  • "footer": { },
  • "showHeader": true,
  • "showFooter": true,
  • "showBody": true,
  • "availableFields": { },
  • "translations": { },
  • "html": "string",
  • "css": "string",
  • "context": "string"
}

Response samples

Content type
application/json
{
  • "name": "string",
  • "layout": { },
  • "body": { },
  • "header": { },
  • "footer": { },
  • "showHeader": true,
  • "showFooter": true,
  • "showBody": true,
  • "availableFields": { },
  • "translations": { },
  • "html": "string",
  • "css": "string",
  • "context": "string"
}

Create MailTemplate

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

MailTemplate

name
required
string

name

layout
object

layout

body
object

body

header
object

header

footer
object

footer

showHeader
boolean

showHeader

showFooter
boolean

showFooter

showBody
boolean

showBody

availableFields
object

availableFields

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "layout": { },
  • "body": { },
  • "header": { },
  • "footer": { },
  • "showHeader": true,
  • "showFooter": true,
  • "showBody": true,
  • "availableFields": { }
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "layout": { },
  • "body": { },
  • "header": { },
  • "footer": { },
  • "showHeader": true,
  • "showFooter": true,
  • "showBody": true,
  • "availableFields": { },
  • "tenantType": "Organization"
}

MailTemplateController_findAllMailTemplates

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Remove MailTemplate and its body if not shared

Authorizations:
bearersupabase
path Parameters
id
required
any
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Read MailTemplate by id

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
include
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "layout": { },
  • "body": { },
  • "header": { },
  • "footer": { },
  • "showHeader": true,
  • "showFooter": true,
  • "showBody": true,
  • "availableFields": { },
  • "tenantType": "Organization"
}

Update mailTemplate

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
name
string

name

layout
object

layout

body
object

body

header
object

header

footer
object

footer

showHeader
boolean

showHeader

showFooter
boolean

showFooter

showBody
boolean

showBody

availableFields
object

availableFields

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "layout": { },
  • "body": { },
  • "header": { },
  • "footer": { },
  • "showHeader": true,
  • "showFooter": true,
  • "showBody": true,
  • "availableFields": { }
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "layout": { },
  • "body": { },
  • "header": { },
  • "footer": { },
  • "showHeader": true,
  • "showFooter": true,
  • "showBody": true,
  • "availableFields": { },
  • "tenantType": "Organization"
}

MailTemplateAssignment

Get mail template assignment

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "templateMappings": {
    }
}

Create or update mail template assignment

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

Mail template assignment data

object

Mail template mappings for different scenarios

property name*
additional property
string

Responses

Request samples

Content type
application/json
{
  • "templateMappings": {
    }
}

Response samples

Content type
application/json
{
  • "templateMappings": {
    }
}

Delete mail template assignment

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Get all available scenarios

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • "INVITATION",
  • "OTP",
  • "EVENT",
  • "REPORT",
  • "RESET_PASSWORD"
]

Get template ID for a specific scenario

Authorizations:
bearersupabase
path Parameters
scenario
required
string
Enum: "INVITATION" "OTP" "EVENT" "REPORT" "RESET_PASSWORD"

Mail template scenario

header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "templateId": "string",
  • "scenario": "INVITATION"
}

Remove template mapping for a specific scenario

Authorizations:
bearersupabase
path Parameters
scenario
required
string
Enum: "INVITATION" "OTP" "EVENT" "REPORT" "RESET_PASSWORD"

Mail template scenario to remove

header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "templateMappings": {
    }
}

Update a single scenario template mapping

Authorizations:
bearersupabase
path Parameters
scenario
required
string
Enum: "INVITATION" "OTP" "EVENT" "REPORT" "RESET_PASSWORD"

Mail template scenario to update

header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

Single scenario update data

templateId
string

Template ID (leave empty or null to remove)

Responses

Request samples

Content type
application/json
{
  • "templateId": "template-id-123"
}

Response samples

Content type
application/json
{
  • "templateMappings": {
    }
}

Mail

send mail with data

Authorizations:
bearersupabase
query Parameters
language
string
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
id
required
string

id

subject
required
string

subject

from
required
string

from

to
required
string

to

values
object

values

Responses

Request samples

Content type
application/json
{
  • "id": "string",
  • "subject": "string",
  • "from": "string",
  • "to": "string",
  • "values": { }
}

send test mail template

Authorizations:
bearersupabase
path Parameters
mail
required
string
query Parameters
language
string
templateId
string
contextId
string
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
id
required
string

id

subject
required
string

subject

from
required
string

from

to
required
string

to

values
object

values

Responses

Request samples

Content type
application/json
{
  • "id": "string",
  • "subject": "string",
  • "from": "string",
  • "to": "string",
  • "values": { }
}

ResourceHierarchies

ResourceHierarchyController_count

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
1

Create ResourceHierarchy

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

ResourceHierarchy

name
required
string

Name of the hierarchy

description
object

Description of the hierarchy

hierarchy
required
string

Hierarchy path

parentId
string

Parent ID of the hierarchy

nextId
string
groups
required
Array of strings
users
required
Array of strings
dashboards
required
Array of strings
thingTypes
required
Array of strings
things
required
Array of strings

Responses

Request samples

Content type
application/json
{
  • "name": "Hierarchy Name",
  • "description": "{}",
  • "hierarchy": "__dashboards",
  • "parentId": "rh122",
  • "nextId": "string",
  • "groups": [
    ],
  • "users": [
    ],
  • "dashboards": [
    ],
  • "thingTypes": [
    ],
  • "things": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "Hierarchy Name",
  • "description": "{}",
  • "hierarchy": "__dashboards",
  • "parentId": "rh122",
  • "nextId": "string",
  • "parent": [
    ],
  • "children": [
    ],
  • "groups": [
    ],
  • "things": [
    ],
  • "thingTypes": [
    ],
  • "dashboards": [
    ],
  • "users": [
    ],
  • "path": "string",
  • "pathName": "string"
}

ResourceHierarchyController_findAllResourceHierarchy

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Remove ResourceHierarchy via id, with optional dashboard deletion

Authorizations:
bearersupabase
path Parameters
id
required
any

ID of the ResourceHierarchy to delete

query Parameters
deleteDashboards
required
string
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
optional

Request body to delete ResourceHierarchy with or without dashboards

isDashboardDeletable
boolean

Flag to indicate whether dashboards should be deleted with the resource hierarchy

Responses

Request samples

Content type
application/json
{
  • "isDashboardDeletable": true
}

Read ResourceHierarchy by id

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
include
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "Hierarchy Name",
  • "description": "{}",
  • "hierarchy": "__dashboards",
  • "parentId": "rh122",
  • "nextId": "string",
  • "parent": [
    ],
  • "children": [
    ],
  • "groups": [
    ],
  • "things": [
    ],
  • "thingTypes": [
    ],
  • "dashboards": [
    ],
  • "users": [
    ],
  • "path": "string",
  • "pathName": "string"
}

Update resourceHierarchy

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
name
string

Name of the hierarchy

description
object

Description of the hierarchy

hierarchy
string

Hierarchy path

parentId
string

Parent ID of the hierarchy

nextId
string
groups
Array of strings
users
Array of strings
dashboards
Array of strings
thingTypes
Array of strings
things
Array of strings

Responses

Request samples

Content type
application/json
{
  • "name": "Hierarchy Name",
  • "description": "{}",
  • "hierarchy": "__dashboards",
  • "parentId": "rh122",
  • "nextId": "string",
  • "groups": [
    ],
  • "users": [
    ],
  • "dashboards": [
    ],
  • "thingTypes": [
    ],
  • "things": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "Hierarchy Name",
  • "description": "{}",
  • "hierarchy": "__dashboards",
  • "parentId": "rh122",
  • "nextId": "string",
  • "parent": [
    ],
  • "children": [
    ],
  • "groups": [
    ],
  • "things": [
    ],
  • "thingTypes": [
    ],
  • "dashboards": [
    ],
  • "users": [
    ],
  • "path": "string",
  • "pathName": "string"
}

Move and reassign dashboards from source to target hierarchy

Authorizations:
bearersupabase
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
name
string

Name of the hierarchy

description
object

Description of the hierarchy

hierarchy
string

Hierarchy path

parentId
string

Parent ID of the hierarchy

nextId
string
groups
Array of strings
users
Array of strings
dashboards
required
Array of strings

Array of dash IDs to move

thingTypes
Array of strings
things
Array of strings
source ID
required
string
target ID
required
string

Responses

Request samples

Content type
application/json
{
  • "name": "Hierarchy Name",
  • "description": "{}",
  • "hierarchy": "__dashboards",
  • "parentId": "rh122",
  • "nextId": "string",
  • "groups": [
    ],
  • "users": [
    ],
  • "dashboards": [
    ],
  • "thingTypes": [
    ],
  • "things": [
    ],
  • "source ID": "string",
  • "target ID": "string"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "Hierarchy Name",
  • "description": "{}",
  • "hierarchy": "__dashboards",
  • "parentId": "rh122",
  • "nextId": "string",
  • "parent": [
    ],
  • "children": [
    ],
  • "groups": [
    ],
  • "things": [
    ],
  • "thingTypes": [
    ],
  • "dashboards": [
    ],
  • "users": [
    ],
  • "path": "string",
  • "pathName": "string"
}

Reorder ResourceHierarchy

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

ResourceHierarchy

Hierarchy ID
required
string
Parent ID
required
string
Next ID
required
string
previousId
required
string

previousId

Responses

Request samples

Content type
application/json
{
  • "Hierarchy ID": "string",
  • "Parent ID": "string",
  • "Next ID": "string",
  • "previousId": "string"
}

ResourceHierarchyController_findAllResourceHierarchiesByHierarchyString

Authorizations:
bearersupabase
path Parameters
hierarchy
required
string
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Report Config

ReportController_count

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
0
0

ReportController_findAll

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create report

Authorizations:
bearersupabase
query Parameters
select
string
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

Report

name
required
string

Name

translations
object

translations

fileName
required
string

FileName

fileNameLexical
required
string

fileNameLexical

explorerPath
required
string

explorerPath

object

description

searchLabels
string

SearchLabels

pageCount
required
number
object

timeFrame

published
boolean

published

publishedAt
string <date-time>

publishedAt

required
Array of objects (ReportPageSettings)

pageSettings

things
required
Array of strings

things

users
Array of strings

users

groups
Array of strings

groups

object

gridSettings

Responses

Request samples

Content type
application/json
{
  • "name": "Weekly report",
  • "translations": { },
  • "fileName": "Weekly report",
  • "fileNameLexical": "Weekly report",
  • "explorerPath": "/test/folder/",
  • "description": {
    },
  • "searchLabels": "label1 label 2",
  • "pageCount": 0,
  • "timeFrame": {
    },
  • "published": true,
  • "publishedAt": "2021-01-01T00:00:00.000Z",
  • "pageSettings": [
    ],
  • "things": [
    ],
  • "users": [
    ],
  • "groups": [
    ],
  • "gridSettings": {
    }
}

Response samples

Content type
application/json
{
  • "id": "rp_xxxxxxxxxxxxxxxxx",
  • "name": "Weekly report",
  • "translations": { },
  • "fileName": "Weekly report",
  • "fileNameLexical": "Weekly report",
  • "explorerPath": "/test/folder/",
  • "description": {
    },
  • "searchLabels": "label1 label 2",
  • "pageCount": 0,
  • "timeFrame": {
    },
  • "published": true,
  • "publishedAt": "2021-01-01T00:00:00.000Z",
  • "nextRun": "2019-08-24T14:15:22Z",
  • "lastRun": "2019-08-24T14:15:22Z",
  • "groups": [
    ],
  • "users": [
    ],
  • "dashboard": {
    },
  • "things": [
    ],
  • "pageSettings": [
    ]
}

Read Report by id

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "rp_xxxxxxxxxxxxxxxxx",
  • "name": "Weekly report",
  • "translations": { },
  • "fileName": "Weekly report",
  • "fileNameLexical": "Weekly report",
  • "explorerPath": "/test/folder/",
  • "description": {
    },
  • "searchLabels": "label1 label 2",
  • "pageCount": 0,
  • "timeFrame": {
    },
  • "published": true,
  • "publishedAt": "2021-01-01T00:00:00.000Z",
  • "nextRun": "2019-08-24T14:15:22Z",
  • "lastRun": "2019-08-24T14:15:22Z",
  • "groups": [
    ],
  • "users": [
    ],
  • "dashboard": {
    },
  • "things": [
    ],
  • "pageSettings": [
    ]
}

Update report

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

Report to update

name
required
string

Name

translations
object

translations

fileName
required
string

FileName

fileNameLexical
required
string

fileNameLexical

explorerPath
required
string

explorerPath

object

description

searchLabels
string

SearchLabels

pageCount
required
number
object

timeFrame

published
boolean

published

publishedAt
string <date-time>

publishedAt

required
Array of objects (ReportPageSettings)

pageSettings

things
required
Array of strings

things

users
Array of strings

users

groups
Array of strings

groups

object

gridSettings

Responses

Request samples

Content type
application/json
{
  • "name": "Weekly report",
  • "translations": { },
  • "fileName": "Weekly report",
  • "fileNameLexical": "Weekly report",
  • "explorerPath": "/test/folder/",
  • "description": {
    },
  • "searchLabels": "label1 label 2",
  • "pageCount": 0,
  • "timeFrame": {
    },
  • "published": true,
  • "publishedAt": "2021-01-01T00:00:00.000Z",
  • "pageSettings": [
    ],
  • "things": [
    ],
  • "users": [
    ],
  • "groups": [
    ],
  • "gridSettings": {
    }
}

Response samples

Content type
application/json
{
  • "id": "rp_xxxxxxxxxxxxxxxxx",
  • "name": "Weekly report",
  • "translations": { },
  • "fileName": "Weekly report",
  • "fileNameLexical": "Weekly report",
  • "explorerPath": "/test/folder/",
  • "description": {
    },
  • "searchLabels": "label1 label 2",
  • "pageCount": 0,
  • "timeFrame": {
    },
  • "published": true,
  • "publishedAt": "2021-01-01T00:00:00.000Z",
  • "nextRun": "2019-08-24T14:15:22Z",
  • "lastRun": "2019-08-24T14:15:22Z",
  • "groups": [
    ],
  • "users": [
    ],
  • "dashboard": {
    },
  • "things": [
    ],
  • "pageSettings": [
    ]
}

Delete report

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Duplicate Report

Authorizations:
bearersupabase
path Parameters
id
required
any
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
optional

Copy Report

name
string

name

Responses

Request samples

Content type
application/json
{
  • "name": "string"
}

Response samples

Content type
application/json
{
  • "id": "rp_xxxxxxxxxxxxxxxxx",
  • "name": "Weekly report",
  • "translations": { },
  • "fileName": "Weekly report",
  • "fileNameLexical": "Weekly report",
  • "explorerPath": "/test/folder/",
  • "description": {
    },
  • "searchLabels": "label1 label 2",
  • "pageCount": 0,
  • "timeFrame": {
    },
  • "published": true,
  • "publishedAt": "2021-01-01T00:00:00.000Z",
  • "nextRun": "2019-08-24T14:15:22Z",
  • "lastRun": "2019-08-24T14:15:22Z",
  • "groups": [
    ],
  • "users": [
    ],
  • "dashboard": {
    },
  • "things": [
    ],
  • "pageSettings": [
    ]
}

Generate Test PDF for Report

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

RuleVersion

RuleVersionController_count

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
1

Create RuleVersion

Authorizations:
bearersupabase
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

RuleVersion

ruleId
required
string
draft
object

flowContent

tags
required
string
thingType
required
string
things
required
Array of strings
operator
required
string
Enum: "ANY" "ALL"
comment
required
string

Responses

Request samples

Content type
application/json
{
  • "ruleId": "string",
  • "draft": { },
  • "tags": "string",
  • "thingType": "string",
  • "things": [
    ],
  • "operator": "ANY",
  • "comment": "string"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "ruleId": "string",
  • "version": 0,
  • "flowContent": { },
  • "draft": { },
  • "active": true,
  • "tags": "string",
  • "thingType": "string",
  • "things": [
    ],
  • "operator": "ANY",
  • "comment": "string",
  • "triggers": [
    ],
  • "rule": [
    ]
}

RuleVersionController_findAllRuleVersions

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
ocb-metadata
string
Value: "true"

Show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Remove RuleVersion by ID

Authorizations:
bearersupabase
path Parameters
id
required
any
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Read RuleVersion by ID

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
include
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "ruleId": "string",
  • "version": 0,
  • "flowContent": { },
  • "draft": { },
  • "active": true,
  • "tags": "string",
  • "thingType": "string",
  • "things": [
    ],
  • "operator": "ANY",
  • "comment": "string",
  • "triggers": [
    ],
  • "rule": [
    ]
}

Update RuleVersion

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
include
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
draft
object

flowContent

tags
string
thingType
string
things
Array of strings
operator
string
Enum: "ANY" "ALL"
comment
string

Responses

Request samples

Content type
application/json
{
  • "draft": { },
  • "tags": "string",
  • "thingType": "string",
  • "things": [
    ],
  • "operator": "ANY",
  • "comment": "string"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "ruleId": "string",
  • "version": 0,
  • "flowContent": { },
  • "draft": { },
  • "active": true,
  • "tags": "string",
  • "thingType": "string",
  • "things": [
    ],
  • "operator": "ANY",
  • "comment": "string",
  • "triggers": [
    ],
  • "rule": [
    ]
}

Set RuleVersion Active/Inactive

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
active
required
boolean
ruleId
required
string
id
required
string

Responses

Request samples

Content type
application/json
{
  • "active": true,
  • "ruleId": "string",
  • "id": "string"
}

Remove RuleVersion Trigger by ID

Authorizations:
bearersupabase
path Parameters
ruleVersionId
required
any
id
required
any
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Rule

RuleController_count

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
1

Create Rule

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

Rule

name
required
string
type
required
string
Enum: "VALIDATION" "TRANSFORMATION"
severity
string
Enum: "INFO" "WARNING" "ERROR" "CRITICAL"
description
required
string
searchLabels
string

SearchLabels

thingType
string

thingType only used for transformation rules

active
required
boolean
initialContent
object

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "type": "VALIDATION",
  • "severity": "INFO",
  • "description": "string",
  • "searchLabels": "label1 label 2",
  • "thingType": "string",
  • "active": true,
  • "initialContent": "initialContent"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "type": "VALIDATION",
  • "severity": "INFO",
  • "description": "string",
  • "searchLabels": "label1 label 2",
  • "versions": [
    ],
  • "thingType": "string",
  • "active": true
}

RuleController_findAllRules

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
ocb-metadata
string
Value: "true"

Show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Remove Rule by ID

Authorizations:
bearersupabase
path Parameters
id
required
any
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Read Rule by ID

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
include
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "type": "VALIDATION",
  • "severity": "INFO",
  • "description": "string",
  • "searchLabels": "label1 label 2",
  • "versions": [
    ],
  • "thingType": "string",
  • "active": true
}

Update Rule

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
name
string
type
string
Enum: "VALIDATION" "TRANSFORMATION"
severity
string
Enum: "INFO" "WARNING" "ERROR" "CRITICAL"
description
string
searchLabels
string

SearchLabels

active
boolean

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "type": "VALIDATION",
  • "severity": "INFO",
  • "description": "string",
  • "searchLabels": "label1 label 2",
  • "active": true
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "type": "VALIDATION",
  • "severity": "INFO",
  • "description": "string",
  • "searchLabels": "label1 label 2",
  • "versions": [
    ],
  • "thingType": "string",
  • "active": true
}

Validate transformation Rule

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

Tansformation

rule
required
object
payload
required
object

Responses

Request samples

Content type
application/json
{
  • "rule": { },
  • "payload": { }
}

Response samples

Content type
application/json
{
  • "performance": "string",
  • "result": { },
  • "trace": { }
}

Action

ActionController_count

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
1

Create Action

Authorizations:
bearersupabase
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

Action

name
required
string

name

type
required
string
Enum: "EMAIL" "NOTIFICATION" "WHATSAPP" "WEBHOOK" "EVENT" "SMS" "LAMDA" "AZURE_CLOUD2DEVICE" "UPDATE_MEASURES" "MQTT_MESSAGE"

Action type

active
required
boolean
Default: false

active

description
string

description

config
object

Configuration

eventTypeId
string

Event Type ID

triggerId
string

triggerId

translations
object

translations

allowInDashboard
required
boolean

allow usage as dashboard widget

thingId
string

thingId

thingTypeId
string

thingTypeId

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "type": "EMAIL",
  • "active": false,
  • "description": "string",
  • "config": { },
  • "eventTypeId": "string",
  • "triggerId": "string",
  • "translations": { },
  • "allowInDashboard": true,
  • "thingId": "string",
  • "thingTypeId": "string"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "type": "EMAIL",
  • "active": false,
  • "description": "string",
  • "config": { },
  • "eventTypeId": "string",
  • "triggerId": "string",
  • "translations": { },
  • "allowInDashboard": true,
  • "Trigger": {
    },
  • "thingId": "string",
  • "thingTypeId": "string"
}

ActionController_findAllActions

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
ocb-metadata
string
Value: "true"

Show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Remove Action by ID

Authorizations:
bearersupabase
path Parameters
id
required
any
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Read Action by ID

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
include
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "type": "EMAIL",
  • "active": false,
  • "description": "string",
  • "config": { },
  • "eventTypeId": "string",
  • "triggerId": "string",
  • "translations": { },
  • "allowInDashboard": true,
  • "Trigger": {
    },
  • "thingId": "string",
  • "thingTypeId": "string"
}

Update Action

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
include
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
name
string

name

type
string
Enum: "EMAIL" "NOTIFICATION" "WHATSAPP" "WEBHOOK" "EVENT" "SMS" "LAMDA" "AZURE_CLOUD2DEVICE" "UPDATE_MEASURES" "MQTT_MESSAGE"

Action type

active
boolean
Default: false

active

description
string

description

config
object

Configuration

eventTypeId
string

Event Type ID

triggerId
string

triggerId

translations
object

translations

allowInDashboard
boolean

allow usage as dashboard widget

thingId
string

thingId

thingTypeId
string

thingTypeId

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "type": "EMAIL",
  • "active": false,
  • "description": "string",
  • "config": { },
  • "eventTypeId": "string",
  • "triggerId": "string",
  • "translations": { },
  • "allowInDashboard": true,
  • "thingId": "string",
  • "thingTypeId": "string"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "type": "EMAIL",
  • "active": false,
  • "description": "string",
  • "config": { },
  • "eventTypeId": "string",
  • "triggerId": "string",
  • "translations": { },
  • "allowInDashboard": true,
  • "Trigger": {
    },
  • "thingId": "string",
  • "thingTypeId": "string"
}

Trigger Action

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
actionId
required
string

Action ID

actionType
required
string
Enum: "EMAIL" "NOTIFICATION" "WHATSAPP" "WEBHOOK" "EVENT" "SMS" "LAMDA" "AZURE_CLOUD2DEVICE" "UPDATE_MEASURES" "MQTT_MESSAGE"

Action Type

templateName
string

Template Name

thingId
string

thingId

payload
object

Payload

eventId
required
string

event ID

resource
required
string

resource type

Responses

Request samples

Content type
application/json
{
  • "actionId": "string",
  • "actionType": "EMAIL",
  • "templateName": "string",
  • "thingId": "string",
  • "payload": { },
  • "eventId": "string",
  • "resource": "string"
}

Action Log

Count Action Logs

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
42

Get Action Log by ID

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
include
string
header Parameters
ocb-metadata
string
Value: "true"
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "actionId": "string",
  • "messageId": "string",
  • "status": "SENT",
  • "requestPayload": "string",
  • "responseMessage": "string",
  • "errorMessage": "string",
  • "action": {
    },
  • "thingId": "string",
  • "thing": {
    },
  • "thingTypeId": "string",
  • "thingType": {
    },
  • "type": "string",
  • "name": "string",
  • "description": "string"
}

Remove Action log by ID

Authorizations:
bearersupabase
path Parameters
id
required
any
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Get all Action Logs

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
ocb-metadata
string
Value: "true"
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

health

HealthController_check

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "status": "ok",
  • "info": {
    },
  • "error": { },
  • "details": {
    }
}

Schedule

Get all schedule configurations for the tenant

Retrieves all configured schedules for the current tenant, including both default and custom schedules

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create a new schedule configuration

Creates a new schedule configuration for the tenant. Each tenant can only have one schedule of each type. The system automatically populates resource, resourceId, functionName, interval, and startDate based on the scheduleType.

Authorizations:
bearersupabase
header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
config
required
object

Configuration object for the scheduled function

scheduleType
required
string
Enum: "CLEAN_UP_EVENTS" "CLEAN_UP_ACTION_LOGS" "CLEAN_UP_AUDIT_LOG"

Schedule type to create

Responses

Request samples

Content type
application/json
{
  • "config": {
    },
  • "scheduleType": "CLEAN_UP_EVENTS"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "resourceId": "ALL_EVENTS",
  • "resource": "ThingType",
  • "functionName": "cleanUpEvents",
  • "config": {
    },
  • "startDate": "2024-01-01T00:00:00Z",
  • "interval": "0 2 * * *",
  • "nextRun": "2019-08-24T14:15:22Z",
  • "lastRun": "2019-08-24T14:15:22Z",
  • "enabled": true
}

Get a specific schedule configuration by ID

Retrieves the schedule configuration for a specific schedule ID

Authorizations:
bearersupabase
path Parameters
id
required
any
Example: sch_3e8a0d9b84bc0a595b

The schedule ID

header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "resourceId": "ALL_EVENTS",
  • "resource": "ThingType",
  • "functionName": "cleanUpEvents",
  • "config": {
    },
  • "startDate": "2024-01-01T00:00:00Z",
  • "interval": "0 2 * * *",
  • "nextRun": "2019-08-24T14:15:22Z",
  • "lastRun": "2019-08-24T14:15:22Z",
  • "enabled": true
}

Update a schedule configuration

Updates an existing schedule configuration. Only config, interval, startDate, and enabled fields can be updated.

Authorizations:
bearersupabase
path Parameters
id
required
any
Example: sch_3e8a0d9b84bc0a595b

The schedule ID

header Parameters
x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required
config
required
object

Configuration object for the scheduled function

Responses

Request samples

Content type
application/json
{
  • "config": {
    }
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "resourceId": "ALL_EVENTS",
  • "resource": "ThingType",
  • "functionName": "cleanUpEvents",
  • "config": {
    },
  • "startDate": "2024-01-01T00:00:00Z",
  • "interval": "0 2 * * *",
  • "nextRun": "2019-08-24T14:15:22Z",
  • "lastRun": "2019-08-24T14:15:22Z",
  • "enabled": true
}

Geofence

GeofenceController_count

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
1

Create Geofence

Authorizations:
bearersupabase
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

Geofence Mutation

name
required
string

Geofence Name

description
string

description

type
required
string
Enum: "circle" "polygon"

Geofence type

context
required
string
Enum: "TAGS" "THINGTYPE"

ContextType

radius
number

Radius in meters (only required for circles)

object

Polygon

object

Polygon

isActive
boolean

Whether the geofence is active

tags
Array of strings

Tags are used to define which things the geofence should be applied on

thingType
string

Thing type id

things
Array of strings

Thing ids

Responses

Request samples

Content type
application/json
{
  • "name": "Warehouse Zone A",
  • "description": "This is a geofence for warehouse zone A",
  • "type": "polygon",
  • "context": "TAGS",
  • "radius": 100,
  • "center": {
    },
  • "geometry": {
    },
  • "isActive": true,
  • "tags": [
    ],
  • "thingType": "string",
  • "things": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "gf_xxxxxxxxxxxxxxxxx",
  • "name": "Warehouse Zone A",
  • "description": "This is a geofence for warehouse zone A",
  • "type": "polygon",
  • "context": "TAGS",
  • "radius": 100,
  • "center": {
    },
  • "geometry": {
    },
  • "isActive": true,
  • "tags": [
    ],
  • "thingType": "string",
  • "things": [
    ]
}

get all geofences

Filterable fields: id, name, description,searchLabels

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Update geofence

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

Geofence update

name
required
string

Geofence Name

description
string

description

type
required
string
Enum: "circle" "polygon"

Geofence type

context
required
string
Enum: "TAGS" "THINGTYPE"

ContextType

radius
number

Radius in meters (only required for circles)

object

Polygon

object

Polygon

isActive
boolean

Whether the geofence is active

tags
Array of strings

Tags are used to define which things the geofence should be applied on

thingType
string

Thing type id

things
Array of strings

Thing ids

Responses

Request samples

Content type
application/json
{
  • "name": "Warehouse Zone A",
  • "description": "This is a geofence for warehouse zone A",
  • "type": "polygon",
  • "context": "TAGS",
  • "radius": 100,
  • "center": {
    },
  • "geometry": {
    },
  • "isActive": true,
  • "tags": [
    ],
  • "thingType": "string",
  • "things": [
    ]
}

Response samples

Content type
application/json
{
  • "name": "Warehouse Zone A",
  • "description": "This is a geofence for warehouse zone A",
  • "type": "polygon",
  • "context": "TAGS",
  • "radius": 100,
  • "center": {
    },
  • "geometry": {
    },
  • "isActive": true,
  • "tags": [
    ],
  • "thingType": "string",
  • "things": [
    ]
}

delete Geofence

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

GeofenceController_findGeofenceById

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
include
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "gf_xxxxxxxxxxxxxxxxx",
  • "name": "Warehouse Zone A",
  • "description": "This is a geofence for warehouse zone A",
  • "type": "polygon",
  • "context": "TAGS",
  • "radius": 100,
  • "center": {
    },
  • "geometry": {
    },
  • "isActive": true,
  • "tags": [
    ],
  • "thingType": "string",
  • "things": [
    ]
}

Canvas

CanvasController_count

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
1

Create Canvas

Authorizations:
bearersupabase
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

Canvas Mutation

name
required
string

Canvas Name

description
string

description

type
required
string

type

searchLabels
string

SearchLabels

config
object

config

Things
Array of strings

Things

ThingType
required
string

ThingType

Responses

Request samples

Content type
application/json
{
  • "name": "Canvas A",
  • "description": "This is a canvas",
  • "type": "string",
  • "searchLabels": "label1 label2",
  • "config": { },
  • "Things": [
    ],
  • "ThingType": "string"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "Canvas A",
  • "description": "This is a canvas",
  • "type": "string",
  • "searchLabels": "label1 label2",
  • "thingType": {
    },
  • "things": [
    ],
  • "config": { }
}

get all canvas

Filterable fields: id, name, description,searchLabels

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Update canvas

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo
Request Body schema: application/json
required

Canvas update

name
string

Canvas Name

description
string

description

type
string

type

searchLabels
string

SearchLabels

config
object

config

Things
Array of strings

Things

ThingType
string

ThingType

Responses

Request samples

Content type
application/json
{
  • "name": "Canvas A",
  • "description": "This is a canvas",
  • "type": "string",
  • "searchLabels": "label1 label2",
  • "config": { },
  • "Things": [
    ],
  • "ThingType": "string"
}

Response samples

Content type
application/json
{
  • "name": "Canvas A",
  • "description": "This is a canvas",
  • "type": "string",
  • "searchLabels": "label1 label2",
  • "config": { },
  • "Things": [
    ],
  • "ThingType": "string"
}

delete Canvas

Authorizations:
bearersupabase
path Parameters
id
required
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

CanvasController_findCanvasById

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
include
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "Canvas A",
  • "description": "This is a canvas",
  • "type": "string",
  • "searchLabels": "label1 label2",
  • "thingType": {
    },
  • "things": [
    ],
  • "config": { }
}

Context

ContextController_count

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
1

get all context

Filterable fields: id, name, description,searchLabels

Authorizations:
bearersupabase
query Parameters
select
string
limit
number
offset
number <int32> (Page) >= 0
Default: 0
q
string
orderBy
string
include
string
language
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
[
  • {
    }
]

ContextController_findContextById

Authorizations:
bearersupabase
path Parameters
id
required
string
query Parameters
select
string
include
string
header Parameters
ocb-metadata
string
Value: "true"

show optional metadata in response

x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "Context A",
  • "type": "INVITATION",
  • "description": "This is a context",
  • "suggestions": { },
  • "contextData": { }
}

Azure

Handle Azure IoT Hub device connectivity events

Webhook endpoint for Azure Event Grid to send device connection state changes and subscription validation

Authorizations:
bearersupabase
query Parameters
api_key
required
string

API key for webhook authentication

header Parameters
x-ocb-tenant
any
Example: demo

Responses

Response samples

Content type
application/json
{
  • "validationResponse": "string",
  • "success": true
}