Client library for Brain Web API
npm install --save @datafire/intellifi_nl
let intellifi_nl = require('@datafire/intellifi_nl').create({
CookieSid: "",
HeaderApiKey: "",
QueryApiKey: ""
});
.then(data => {
console.log(data);
});
This document describes the Intellifi Brain Web API specification using the OpenAPI specification.
The Brain Web API is a RESTful API that allows you to interact with the Intellifi devices and services in a powerful and simple way. Our end-to-end solution allows you to localize your items/assets based on technologies such as RFID and Bluetooth.
The API can be tried out and tested using the 'api-doc/tryitout' endpoint on this site. This UI allows anyone to visualize and interact with the API’s resources without having any of the implementation logic in place. It’s automatically generated from this Specification, with the visual documentation making it easy for back end implementation and client side consumption.
Applications are required to provide some form of authentication to the API for every secured endpoint. The Brain offers two forms of authentication.
- API key (Via an HTTP request header or URL parameter)
- Session cookie
- About Intellifi and what we do: intellifi.nl
- Technical and background information: intellifi.zendesk.com
Authentication information
intellifi_nl.getAuthinfo(null, context)
This action has no parameters
- output
object
- api_key_id
string
: Reference to the static API key (/api/keys) used to authenticate this request (when auth_method=static_api_key) - auth_method
string
(values: user_session, internal, static_api_key): What kind of authentication was used - authenticated
boolean
: Whether or not you are authenticated - permissions
object
- mutate
boolean
: Whether or not this session can mutate resources
- mutate
- url Url
- user_id
string
: Reference to the user account (/api/users) used to authenticate this request (when auth_method=user_session)
- api_key_id
Get all binary large objects (blob)
intellifi_nl.getBlobs({}, context)
- input
object
- after
string
: Limits ontime_created
, exclusive. - after_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - before
string
: Limits ontime_created
, exclusive. - before_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - from
string
: Limits ontime_created
, inclusive. - from_id
string
: Limits onid
, includes the givenid
value. - id_only
boolean
: Removesurl
fields from output and shows_id
instead of_url
in references. - limit
integer
: Sets the maximum number of returned resources. You may increase this number to large values, keep in mind that query times could become large. We advise you to use the pagination feature whenever you can. - populate
string
: Expand a reference into the actual resource (lookup). You may add multiple fields by giving a comma separated value. - results_only
boolean
: Removes response envelope with information about query, only sends back a JSON array with the applicable resources. - sort
string
: Allows you to sort on on or more fields in the resource. You may append a minus sign (-
) to request reverse order (new to old). - until
string
: Limits ontime_created
, inclusive. - until_id
string
: Limits onid
, includes the givenid
value. - timeout_s
number
: Overrides the default query timeout (in seconds). A value of 0 means unlimited. IMPORTANT: using high timeouts in production code is strongly discouraged as it may lead to stability issues. - id
string
: unique identifier - time_created
string
: Filter on the time the resource was created. - time_updated
string
: Filter on the time the resource was last updated - hash
string
: Filter based on the hash of the blob. - blob_key
string
: Filter based on the unique blob_key - content_type
string
: Filter based on the content type of the blob. - filename
string
: Filter based on the filename of the blob. - time_last_accessed
string
: Filter based on the last time the blob was accessed
- after
- output
- count
integer
: The maximum number of items in the response (as set in the query or by default). - count_current
integer
: The maximum number of items available to return. - is_limited
boolean
: Becomes false when the number of results is smaller than limit. - next_url
string
: URL to the next page of items. ( null if none) - query_duration_ms
integer
: Amount of time, in milliseconds, the request needed to complete. - url Url
- results
array
- items Blob
- count
Create binary large object (blob) metadata
intellifi_nl.addBlob({
"body": {}
}, context)
- input
object
- body required Blob
- output ResponseDefaultResource
Delete binary large object (blob)
intellifi_nl.deleteBlob({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output ResponseDefaultResource
Get binary large object (blob)
intellifi_nl.getBlobMetadataById({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output Blob
Download a binary large object (blob)
intellifi_nl.getBlobById({
"id": "",
"filename": ""
}, context)
- input
object
- id required
string
: Unique identifier - filename required
string
: Filename of the blob.
- id required
- output
string
Create binary large object (blob)
intellifi_nl.uploadBlobById({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
Output schema unknown
Get all events
intellifi_nl.getEvents({}, context)
- input
object
- after
string
: Limits ontime_created
, exclusive. - after_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - before
string
: Limits ontime_created
, exclusive. - before_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - from
string
: Limits ontime_created
, inclusive. - from_id
string
: Limits onid
, includes the givenid
value. - id_only
boolean
: Removesurl
fields from output and shows_id
instead of_url
in references. - limit
integer
: Sets the maximum number of returned resources. You may increase this number to large values, keep in mind that query times could become large. We advise you to use the pagination feature whenever you can. - populate
string
: Expand a reference into the actual resource (lookup). You may add multiple fields by giving a comma separated value. - results_only
boolean
: Removes response envelope with information about query, only sends back a JSON array with the applicable resources. - sort
string
: Allows you to sort on on or more fields in the resource. You may append a minus sign (-
) to request reverse order (new to old). - until
string
: Limits ontime_created
, inclusive. - until_id
string
: Limits onid
, includes the givenid
value. - timeout_s
number
: Overrides the default query timeout (in seconds). A value of 0 means unlimited. IMPORTANT: using high timeouts in production code is strongly discouraged as it may lead to stability issues. - id
string
: unique identifier - time_created
string
: Filter on the time the resource was created. - topic.resource_type
string
(values: blobs, items, keys, kvpairs, locations, presences, services, spots, subscriptions, users): Filter on the topic resource type - topic.action
string
(values: created, updated, deleted, disappeared, connection-rssi-changed): Filter on the topic action - topic.resource
string
: Filter on the topic resource id - time_event
string
: Filter on the time the event was generated on the device. - time_expire
string
: Filter on the time the event will expire.
- after
- output
- count
integer
: The maximum number of items in the response (as set in the query or by default). - count_current
integer
: The maximum number of items available to return. - is_limited
boolean
: Becomes false when the number of results is smaller than limit. - next_url
string
: URL to the next page of items. ( null if none) - query_duration_ms
integer
: Amount of time, in milliseconds, the request needed to complete. - url Url
- results
array
- items Event
- count
Get event
intellifi_nl.getEventById({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output Event
Get all items
intellifi_nl.getItems({}, context)
- input
object
- after
string
: Limits ontime_created
, exclusive. - after_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - after_code
string
: Limits directly oncode_hex
, sets the start of the range, usebefore_code
to set the end, excludes the givencode
value. - before
string
: Limits ontime_created
, exclusive. - before_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - before_code
string
: Limits directly oncode_hex
, sets the end of the range, useafter_code
to set the start, excludes the givencode
value. - from
string
: Limits ontime_created
, inclusive. - from_id
string
: Limits onid
, includes the givenid
value. - from_code
string
: Limits oncode_hex
, sets the start of the range, useuntil_code
to set the end, includes the givencode
value. - id_only
boolean
: Removesurl
fields from output and shows_id
instead of_url
in references. - limit
integer
: Sets the maximum number of returned resources. You may increase this number to large values, keep in mind that query times could become large. We advise you to use the pagination feature whenever you can. - populate
string
: Expand a reference into the actual resource (lookup). You may add multiple fields by giving a comma separated value. - results_only
boolean
: Removes response envelope with information about query, only sends back a JSON array with the applicable resources. - sort
string
: Allows you to sort on on or more fields in the resource. You may append a minus sign (-
) to request reverse order (new to old). - until
string
: Limits ontime_created
, inclusive. - until_id
string
: Limits onid
, includes the givenid
value. - timeout_s
number
: Overrides the default query timeout (in seconds). A value of 0 means unlimited. IMPORTANT: using high timeouts in production code is strongly discouraged as it may lead to stability issues. - until_code
string
: Limits oncode_hex
, sets the end of the range, usefrom_code
to set the start, includes the givencode
value. - id
string
: unique identifier - time_created
string
: Filter on the time the resource was created. - time_updated
string
: Filter on the time the resource was last updated - code_hex
string
: Filter based on the hexadecimal string representation of the item. Supports wildcards:*
. - custom
string
: Filter based on the custom value. Supports wildcards:*
- is_present
boolean
: Only show items which are present of not. - label
string
: Filter based on the label value. Supports wildcards:*
- location
string
: Filter based on the location - metadata
string
: Filter based on metadata. Does a partial match on any value in the metadata object. It is also possible to do an exact/wildcard match on specific properties, e.g.metadata.foo=bar
- move_count
integer
: Filter based on move count - protocol
string
(values: altbeacon, uniwear, nfc, generic, eddystone, epcgen2, ibeacon, nanoble): Filter based on the detected protocol of an item. - sets
string
: Filter based on the set the resource is in. - technology
string
(values: bluetooth, optical, rfid): Filter based on the detected technology of an item. - text
string
: Filter based on a full text search. Searched properties depend on the resource type. Matches on any of the given words. Supports quote (exact words) and minus (exclude) operators. - time_last_present
string
: Filter based on the time last present - time_moved
string
: Filter based on time last moved - type
string
(values: barcode, bluetitan, gbtag, relay, smarttag, tag): Filter based on the type of an item.
- after
- output
- count
integer
: The maximum number of items in the response (as set in the query or by default). - count_current
integer
: The maximum number of items available to return. - is_limited
boolean
: Becomes false when the number of results is smaller than limit. - next_url
string
: URL to the next page of items. ( null if none) - query_duration_ms
integer
: Amount of time, in milliseconds, the request needed to complete. - url Url
- results
array
- items Item
- count
Create item
intellifi_nl.addItem({
"body": null
}, context)
- input
object
- body required Item
- output ResponseDefaultResource
Delete item
intellifi_nl.deleteItem({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output ResponseDefaultResource
Get item
intellifi_nl.getItemById({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output Item
Update existing item
intellifi_nl.updateItem({
"id": "",
"body": {}
}, context)
- input
object
- id required
string
: Unique identifier - body required ItemUpdate
- id required
- output ResponseDefaultResource
Can only be used by an administrative user.
intellifi_nl.getKeys({}, context)
- input
object
- after
string
: Limits ontime_created
, exclusive. - after_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - before
string
: Limits ontime_created
, exclusive. - before_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - from
string
: Limits ontime_created
, inclusive. - from_id
string
: Limits onid
, includes the givenid
value. - id_only
boolean
: Removesurl
fields from output and shows_id
instead of_url
in references. - limit
integer
: Sets the maximum number of returned resources. You may increase this number to large values, keep in mind that query times could become large. We advise you to use the pagination feature whenever you can. - populate
string
: Expand a reference into the actual resource (lookup). You may add multiple fields by giving a comma separated value. - results_only
boolean
: Removes response envelope with information about query, only sends back a JSON array with the applicable resources. - sort
string
: Allows you to sort on on or more fields in the resource. You may append a minus sign (-
) to request reverse order (new to old). - until
string
: Limits ontime_created
, inclusive. - until_id
string
: Limits onid
, includes the givenid
value. - timeout_s
number
: Overrides the default query timeout (in seconds). A value of 0 means unlimited. IMPORTANT: using high timeouts in production code is strongly discouraged as it may lead to stability issues. - id
string
: unique identifier - time_created
string
: Filter on the time the resource was created. - time_updated
string
: Filter on the time the resource was last updated - secret
string
: Filter on the secret token. - label
string
: Filter on the label. - is_read_only
boolean
: Filter on read only status.
- after
- output
- count
integer
: The maximum number of items in the response (as set in the query or by default). - count_current
integer
: The maximum number of items available to return. - is_limited
boolean
: Becomes false when the number of results is smaller than limit. - next_url
string
: URL to the next page of items. ( null if none) - query_duration_ms
integer
: Amount of time, in milliseconds, the request needed to complete. - url Url
- results
array
- items Key
- count
Can only be used by an administrative user.
intellifi_nl.addKey({
"body": {}
}, context)
- input
object
- body required Key
- output ResponseDefaultResource
Can only be used by an administrative user.
intellifi_nl.deleteKey({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output ResponseDefaultResource
Can only be used by an administrative user.
intellifi_nl.getKeyById({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output Key
Can only be used by an administrative user.
intellifi_nl.updateKey({
"id": "",
"body": {}
}, context)
- input
object
- id required
string
: Unique identifier - body required Key
- id required
- output ResponseDefaultResource
Get all key-value pairs
intellifi_nl.getKvPairs({}, context)
- input
object
- after
string
: Limits ontime_created
, exclusive. - after_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - before
string
: Limits ontime_created
, exclusive. - before_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - from
string
: Limits ontime_created
, inclusive. - from_id
string
: Limits onid
, includes the givenid
value. - id_only
boolean
: Removesurl
fields from output and shows_id
instead of_url
in references. - limit
integer
: Sets the maximum number of returned resources. You may increase this number to large values, keep in mind that query times could become large. We advise you to use the pagination feature whenever you can. - populate
string
: Expand a reference into the actual resource (lookup). You may add multiple fields by giving a comma separated value. - results_only
boolean
: Removes response envelope with information about query, only sends back a JSON array with the applicable resources. - sort
string
: Allows you to sort on on or more fields in the resource. You may append a minus sign (-
) to request reverse order (new to old). - until
string
: Limits ontime_created
, inclusive. - until_id
string
: Limits onid
, includes the givenid
value. - timeout_s
number
: Overrides the default query timeout (in seconds). A value of 0 means unlimited. IMPORTANT: using high timeouts in production code is strongly discouraged as it may lead to stability issues. - id
string
: unique identifier - time_created
string
: Filter on the time the resource was created. - time_updated
string
: Filter on the time the resource was last updated - kv_key
string
: Filter on the key-value pair key value.
- after
- output
- count
integer
: The maximum number of items in the response (as set in the query or by default). - count_current
integer
: The maximum number of items available to return. - is_limited
boolean
: Becomes false when the number of results is smaller than limit. - next_url
string
: URL to the next page of items. ( null if none) - query_duration_ms
integer
: Amount of time, in milliseconds, the request needed to complete. - url Url
- results
array
- items KeyValuePair
- count
Create key-value pair
intellifi_nl.addKvPairs({
"body": null
}, context)
- input
object
- body required KeyValuePair
- output ResponseDefaultResource
Delete key-value pair
intellifi_nl.deleteKvPair({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output ResponseDefaultResource
Get key-value pair
intellifi_nl.getKvPairsById({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output KeyValuePair
Update existing Key-value pair
intellifi_nl.updateKvPair({
"id": "",
"body": {}
}, context)
- input
object
- id required
string
: Unique identifier - body required KeyValuePairUpdate
- id required
- output ResponseDefaultResource
Get all location rules
intellifi_nl.getLocationRules({}, context)
- input
object
- after
string
: Limits ontime_created
, exclusive. - after_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - before
string
: Limits ontime_created
, exclusive. - before_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - from
string
: Limits ontime_created
, inclusive. - from_id
string
: Limits onid
, includes the givenid
value. - id_only
boolean
: Removesurl
fields from output and shows_id
instead of_url
in references. - limit
integer
: Sets the maximum number of returned resources. You may increase this number to large values, keep in mind that query times could become large. We advise you to use the pagination feature whenever you can. - populate
string
: Expand a reference into the actual resource (lookup). You may add multiple fields by giving a comma separated value. - results_only
boolean
: Removes response envelope with information about query, only sends back a JSON array with the applicable resources. - sort
string
: Allows you to sort on on or more fields in the resource. You may append a minus sign (-
) to request reverse order (new to old). - until
string
: Limits ontime_created
, inclusive. - until_id
string
: Limits onid
, includes the givenid
value. - timeout_s
number
: Overrides the default query timeout (in seconds). A value of 0 means unlimited. IMPORTANT: using high timeouts in production code is strongly discouraged as it may lead to stability issues. - id
string
: unique identifier - time_created
string
: Filter on the time the resource was created. - time_updated
string
: Filter on the time the resource was last updated - label
string
: Filter based on the label value. Supports wildcards:*
- type
string
(values: allow, disallow, disappeared, debounce): Filter based on the type of location rule. - enabled
boolean
: Filter based on theenabled
property.
- after
- output
- count
integer
: The maximum number of items in the response (as set in the query or by default). - count_current
integer
: The maximum number of items available to return. - is_limited
boolean
: Becomes false when the number of results is smaller than limit. - next_url
string
: URL to the next page of items. ( null if none) - query_duration_ms
integer
: Amount of time, in milliseconds, the request needed to complete. - url Url
- results
array
- items LocationRule
- count
Create location rule
intellifi_nl.addLocationRule({
"body": {}
}, context)
- input
object
- body required LocationRuleUpdate
- output ResponseDefaultResource
Delete location rule
intellifi_nl.deleteLocationRule({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output ResponseDefaultResource
Get location rule
intellifi_nl.getLocationRuleById({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output LocationRule
Update existing location rule
intellifi_nl.updateLocationRule({
"id": "",
"body": {}
}, context)
- input
object
- id required
string
: Unique identifier - body required LocationRuleUpdate
- id required
- output ResponseDefaultResource
Get all locations
intellifi_nl.getLocations({}, context)
- input
object
- after
string
: Limits ontime_created
, exclusive. - after_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - before
string
: Limits ontime_created
, exclusive. - before_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - from
string
: Limits ontime_created
, inclusive. - from_id
string
: Limits onid
, includes the givenid
value. - id_only
boolean
: Removesurl
fields from output and shows_id
instead of_url
in references. - limit
integer
: Sets the maximum number of returned resources. You may increase this number to large values, keep in mind that query times could become large. We advise you to use the pagination feature whenever you can. - populate
string
: Expand a reference into the actual resource (lookup). You may add multiple fields by giving a comma separated value. - results_only
boolean
: Removes response envelope with information about query, only sends back a JSON array with the applicable resources. - sort
string
: Allows you to sort on on or more fields in the resource. You may append a minus sign (-
) to request reverse order (new to old). - until
string
: Limits ontime_created
, inclusive. - until_id
string
: Limits onid
, includes the givenid
value. - timeout_s
number
: Overrides the default query timeout (in seconds). A value of 0 means unlimited. IMPORTANT: using high timeouts in production code is strongly discouraged as it may lead to stability issues. - id
string
: unique identifier - time_created
string
: Filter on the time the resource was created. - time_updated
string
: Filter on the time the resource was last updated - custom
string
: Filter based on the custom value. Supports wildcards:*
- label
string
: Filter based on the label value. Supports wildcards:*
- metadata
string
: Filter based on metadata. Does a partial match on any value in the metadata object. It is also possible to do an exact/wildcard match on specific properties, e.g.metadata.foo=bar
- text
string
: Filter based on a full text search. Searched properties depend on the resource type. Matches on any of the given words. Supports quote (exact words) and minus (exclude) operators.
- after
- output
- count
integer
: The maximum number of items in the response (as set in the query or by default). - count_current
integer
: The maximum number of items available to return. - is_limited
boolean
: Becomes false when the number of results is smaller than limit. - next_url
string
: URL to the next page of items. ( null if none) - query_duration_ms
integer
: Amount of time, in milliseconds, the request needed to complete. - url Url
- results
array
- items Location
- count
Create location
intellifi_nl.addLocation({
"body": {}
}, context)
- input
object
- body required Location
- output ResponseDefaultResource
Delete location
intellifi_nl.deleteLocation({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output ResponseDefaultResource
Get location
intellifi_nl.getLocationById({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output Location
Update existing location
intellifi_nl.updateLocation({
"id": "",
"body": {}
}, context)
- input
object
- id required
string
: Unique identifier - body required Location
- id required
- output ResponseDefaultResource
Get all presences
intellifi_nl.getPresences({}, context)
- input
object
- after
string
: Limits ontime_created
, exclusive. - after_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - before
string
: Limits ontime_created
, exclusive. - before_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - from
string
: Limits ontime_created
, inclusive. - from_id
string
: Limits onid
, includes the givenid
value. - id_only
boolean
: Removesurl
fields from output and shows_id
instead of_url
in references. - limit
integer
: Sets the maximum number of returned resources. You may increase this number to large values, keep in mind that query times could become large. We advise you to use the pagination feature whenever you can. - populate
string
: Expand a reference into the actual resource (lookup). You may add multiple fields by giving a comma separated value. - results_only
boolean
: Removes response envelope with information about query, only sends back a JSON array with the applicable resources. - sort
string
: Allows you to sort on on or more fields in the resource. You may append a minus sign (-
) to request reverse order (new to old). - until
string
: Limits ontime_created
, inclusive. - until_id
string
: Limits onid
, includes the givenid
value. - timeout_s
number
: Overrides the default query timeout (in seconds). A value of 0 means unlimited. IMPORTANT: using high timeouts in production code is strongly discouraged as it may lead to stability issues. - id
string
: unique identifier - time_created
string
: Filter on the time the resource was created. - time_updated
string
: Filter on the time the resource was last updated - item
string
: Filter based on the item - location
string
: Filter based on the location - proximity
string
(values: far, near, immediate): Filter based on the proximity. - technology
string
(values: bluetooth, optical, rfid): Filter based on the detected technology of an item.
- after
- output
- count
integer
: The maximum number of items in the response (as set in the query or by default). - count_current
integer
: The maximum number of items available to return. - is_limited
boolean
: Becomes false when the number of results is smaller than limit. - next_url
string
: URL to the next page of items. ( null if none) - query_duration_ms
integer
: Amount of time, in milliseconds, the request needed to complete. - url Url
- results
array
- items Presence
- count
Get presence
intellifi_nl.getPresenceById({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output Presence
Get all services
intellifi_nl.getServices({}, context)
- input
object
- after
string
: Limits ontime_created
, exclusive. - after_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - before
string
: Limits ontime_created
, exclusive. - before_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - from
string
: Limits ontime_created
, inclusive. - from_id
string
: Limits onid
, includes the givenid
value. - id_only
boolean
: Removesurl
fields from output and shows_id
instead of_url
in references. - limit
integer
: Sets the maximum number of returned resources. You may increase this number to large values, keep in mind that query times could become large. We advise you to use the pagination feature whenever you can. - populate
string
: Expand a reference into the actual resource (lookup). You may add multiple fields by giving a comma separated value. - results_only
boolean
: Removes response envelope with information about query, only sends back a JSON array with the applicable resources. - sort
string
: Allows you to sort on on or more fields in the resource. You may append a minus sign (-
) to request reverse order (new to old). - until
string
: Limits ontime_created
, inclusive. - until_id
string
: Limits onid
, includes the givenid
value. - timeout_s
number
: Overrides the default query timeout (in seconds). A value of 0 means unlimited. IMPORTANT: using high timeouts in production code is strongly discouraged as it may lead to stability issues. - id
string
: unique identifier - time_created
string
: Filter on the time the resource was created. - time_updated
string
: Filter on the time the resource was last updated - name
string
: Filter based on the name of the resource. Supports wildcards:*
- after
- output
- count
integer
: The maximum number of items in the response (as set in the query or by default). - count_current
integer
: The maximum number of items available to return. - is_limited
boolean
: Becomes false when the number of results is smaller than limit. - next_url
string
: URL to the next page of items. ( null if none) - query_duration_ms
integer
: Amount of time, in milliseconds, the request needed to complete. - url Url
- results
array
- items Service
- count
Get service
intellifi_nl.getServiceById({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output Service
Update existing service
intellifi_nl.updateService({
"id": "",
"body": {}
}, context)
- input
object
- id required
string
: Unique identifier - body required Service
- id required
- output ResponseDefaultResource
Get all item lists
intellifi_nl.getItemLists({}, context)
- input
object
- after
string
: Limits ontime_created
, exclusive. - after_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - before
string
: Limits ontime_created
, exclusive. - before_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - from
string
: Limits ontime_created
, inclusive. - from_id
string
: Limits onid
, includes the givenid
value. - id_only
boolean
: Removesurl
fields from output and shows_id
instead of_url
in references. - limit
integer
: Sets the maximum number of returned resources. You may increase this number to large values, keep in mind that query times could become large. We advise you to use the pagination feature whenever you can. - populate
string
: Expand a reference into the actual resource (lookup). You may add multiple fields by giving a comma separated value. - results_only
boolean
: Removes response envelope with information about query, only sends back a JSON array with the applicable resources. - sort
string
: Allows you to sort on on or more fields in the resource. You may append a minus sign (-
) to request reverse order (new to old). - until
string
: Limits ontime_created
, inclusive. - until_id
string
: Limits onid
, includes the givenid
value. - timeout_s
number
: Overrides the default query timeout (in seconds). A value of 0 means unlimited. IMPORTANT: using high timeouts in production code is strongly discouraged as it may lead to stability issues. - id
string
: unique identifier - time_created
string
: Filter on the time the resource was created. - time_updated
string
: Filter on the time the resource was last updated - custom
string
: Filter based on the custom value. Supports wildcards:*
- label
string
: Filter based on the label value. Supports wildcards:*
- metadata
string
: Filter based on metadata. Does a partial match on any value in the metadata object. It is also possible to do an exact/wildcard match on specific properties, e.g.metadata.foo=bar
- text
string
: Filter based on a full text search. Searched properties depend on the resource type. Matches on any of the given words. Supports quote (exact words) and minus (exclude) operators. - total
integer
: Filter based on the total amount of items in the list - sha1
string
: The sha1 checksum of the list. This will change when the list is mutated.
- after
- output
- count
integer
: The maximum number of items in the response (as set in the query or by default). - count_current
integer
: The maximum number of items available to return. - is_limited
boolean
: Becomes false when the number of results is smaller than limit. - next_url
string
: URL to the next page of items. ( null if none) - query_duration_ms
integer
: Amount of time, in milliseconds, the request needed to complete. - url Url
- results
array
- items ItemList
- count
Create item list
intellifi_nl.addItemList({
"body": {}
}, context)
- input
object
- body required ItemList
- output ResponseDefaultResource
Delete item list
intellifi_nl.deleteItemSet({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output ResponseDefaultResource
Get item list
intellifi_nl.getItemListById({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output ItemList
Update existing item list
intellifi_nl.updateItemList({
"id": "",
"body": {}
}, context)
- input
object
- id required
string
: Unique identifier - body required ItemList
- id required
- output ResponseDefaultResource
Get item ids for this list
intellifi_nl.getItemListIdsById({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output ListOfItemIds
Add items to an existing list
intellifi_nl.addItemIdsList({
"id": "",
"body": []
}, context)
- input
object
- id required
string
: Unique identifier - body required ListOfItemIds
- id required
- output ResponseListResource
Delete item from list
intellifi_nl.deleteItemIdFromItemList({
"id": "",
"itemId": ""
}, context)
- input
object
- id required
string
: Unique identifier - itemId required
string
: Item ID.
- id required
- output ResponseListResource
Get all spot lists
intellifi_nl.getSpotLists({}, context)
- input
object
- after
string
: Limits ontime_created
, exclusive. - after_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - before
string
: Limits ontime_created
, exclusive. - before_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - from
string
: Limits ontime_created
, inclusive. - from_id
string
: Limits onid
, includes the givenid
value. - id_only
boolean
: Removesurl
fields from output and shows_id
instead of_url
in references. - limit
integer
: Sets the maximum number of returned resources. You may increase this number to large values, keep in mind that query times could become large. We advise you to use the pagination feature whenever you can. - populate
string
: Expand a reference into the actual resource (lookup). You may add multiple fields by giving a comma separated value. - results_only
boolean
: Removes response envelope with information about query, only sends back a JSON array with the applicable resources. - sort
string
: Allows you to sort on on or more fields in the resource. You may append a minus sign (-
) to request reverse order (new to old). - until
string
: Limits ontime_created
, inclusive. - until_id
string
: Limits onid
, includes the givenid
value. - timeout_s
number
: Overrides the default query timeout (in seconds). A value of 0 means unlimited. IMPORTANT: using high timeouts in production code is strongly discouraged as it may lead to stability issues. - id
string
: unique identifier - time_created
string
: Filter on the time the resource was created. - time_updated
string
: Filter on the time the resource was last updated - custom
string
: Filter based on the custom value. Supports wildcards:*
- label
string
: Filter based on the label value. Supports wildcards:*
- metadata
string
: Filter based on metadata. Does a partial match on any value in the metadata object. It is also possible to do an exact/wildcard match on specific properties, e.g.metadata.foo=bar
- text
string
: Filter based on a full text search. Searched properties depend on the resource type. Matches on any of the given words. Supports quote (exact words) and minus (exclude) operators. - total
integer
: Filter based on the total amount of spots in the list
- after
- output
- count
integer
: The maximum number of items in the response (as set in the query or by default). - count_current
integer
: The maximum number of items available to return. - is_limited
boolean
: Becomes false when the number of results is smaller than limit. - next_url
string
: URL to the next page of items. ( null if none) - query_duration_ms
integer
: Amount of time, in milliseconds, the request needed to complete. - url Url
- results
array
- items SpotList
- count
Create spot list
intellifi_nl.addSpotList({
"body": {}
}, context)
- input
object
- body required ItemList
- output ResponseDefaultResource
Delete spot list
intellifi_nl.deleteSpotList({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output ResponseDefaultResource
Info for a specific spot list
intellifi_nl.getSpotListById({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output SpotList
Update existing spot list
intellifi_nl.updateSpotList({
"id": "",
"body": {}
}, context)
- input
object
- id required
string
: Unique identifier - body required SpotList
- id required
- output ResponseDefaultResource
Get spot ids for this list
intellifi_nl.getSpotListIdsById({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output ListOfItemIds
Add spots to an existing list
intellifi_nl.addItemIdsSpotList({
"id": "",
"body": []
}, context)
- input
object
- id required
string
: Unique identifier - body required ListOfItemIds
- id required
- output ResponseListResource
Delete spot from list
intellifi_nl.deleteItemIdFromSpotList({
"id": "",
"itemId": ""
}, context)
- input
object
- id required
string
: Unique identifier - itemId required
string
: Item ID.
- id required
- output ResponseListResource
Get all spots
intellifi_nl.getSpots({}, context)
- input
object
- after
string
: Limits ontime_created
, exclusive. - after_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - before
string
: Limits ontime_created
, exclusive. - before_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - from
string
: Limits ontime_created
, inclusive. - from_id
string
: Limits onid
, includes the givenid
value. - id_only
boolean
: Removesurl
fields from output and shows_id
instead of_url
in references. - limit
integer
: Sets the maximum number of returned resources. You may increase this number to large values, keep in mind that query times could become large. We advise you to use the pagination feature whenever you can. - populate
string
: Expand a reference into the actual resource (lookup). You may add multiple fields by giving a comma separated value. - results_only
boolean
: Removes response envelope with information about query, only sends back a JSON array with the applicable resources. - sort
string
: Allows you to sort on on or more fields in the resource. You may append a minus sign (-
) to request reverse order (new to old). - until
string
: Limits ontime_created
, inclusive. - until_id
string
: Limits onid
, includes the givenid
value. - timeout_s
number
: Overrides the default query timeout (in seconds). A value of 0 means unlimited. IMPORTANT: using high timeouts in production code is strongly discouraged as it may lead to stability issues. - id
string
: unique identifier - time_created
string
: Filter on the time the resource was created. - time_updated
string
: Filter on the time the resource was last updated - is_online
boolean
: Filter based on the online status. - request_counter
integer
: Filter based on the amount of request made - serial_number
integer
: Filter based on the serial number.
- after
- output
- count
integer
: The maximum number of items in the response (as set in the query or by default). - count_current
integer
: The maximum number of items available to return. - is_limited
boolean
: Becomes false when the number of results is smaller than limit. - next_url
string
: URL to the next page of items. ( null if none) - query_duration_ms
integer
: Amount of time, in milliseconds, the request needed to complete. - url Url
- results
array
- items SpotGet
- count
Get spotset
intellifi_nl.getSpotSetById({
"setId": ""
}, context)
- input
object
- setId required
string
: Unique spot set identifier
- setId required
- output SpotSet
Get spot
intellifi_nl.getSpotById({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output SpotGet
Update existing spot
intellifi_nl.updateSpot({
"id": "",
"body": null
}, context)
- input
object
- id required
string
: Unique identifier - body required SpotUpdate
- id required
- output ResponseDefaultResource
Get spotset
intellifi_nl.getSpotSetsById({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output SpotSet
Create spotset
intellifi_nl.addSpotSet({
"id": "",
"body": null
}, context)
- input
object
- id required
string
: Unique identifier - body required SpotSetCreate
- id required
- output ResponseDefaultResource
Update existing spotset
intellifi_nl.updateSpotSet({
"id": "",
"setId": "",
"body": {}
}, context)
- input
object
- id required
string
: Unique identifier - setId required
string
: Unique spot set identifier - body required SpotSetUpdate
- id required
- output ResponseDefaultResource
Get all subscriptions
intellifi_nl.getSubscriptions({}, context)
- input
object
- after
string
: Limits ontime_created
, exclusive. - after_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - before
string
: Limits ontime_created
, exclusive. - before_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - from
string
: Limits ontime_created
, inclusive. - from_id
string
: Limits onid
, includes the givenid
value. - id_only
boolean
: Removesurl
fields from output and shows_id
instead of_url
in references. - limit
integer
: Sets the maximum number of returned resources. You may increase this number to large values, keep in mind that query times could become large. We advise you to use the pagination feature whenever you can. - populate
string
: Expand a reference into the actual resource (lookup). You may add multiple fields by giving a comma separated value. - results_only
boolean
: Removes response envelope with information about query, only sends back a JSON array with the applicable resources. - sort
string
: Allows you to sort on on or more fields in the resource. You may append a minus sign (-
) to request reverse order (new to old). - until
string
: Limits ontime_created
, inclusive. - until_id
string
: Limits onid
, includes the givenid
value. - timeout_s
number
: Overrides the default query timeout (in seconds). A value of 0 means unlimited. IMPORTANT: using high timeouts in production code is strongly discouraged as it may lead to stability issues. - id
string
: unique identifier - time_created
string
: Filter on the time the resource was created. - time_updated
string
: Filter on the time the resource was last updated - custom
string
: Filter based on the custom value. Supports wildcards:*
- topic_filter
string
: Filter on the topic filter. Make sure to use percent-encoding in the query parameter. - description
string
: Filter based on the description. - database_hold_time_h
integer
: Filter based on the number of hours events are retained in the database. - populate_events
boolean
: Filter based on subscriptions that populate the events - verify_target_certificate
boolean
: Filter on the verification of the target certificate.
- after
- output
- count
integer
: The maximum number of items in the response (as set in the query or by default). - count_current
integer
: The maximum number of items available to return. - is_limited
boolean
: Becomes false when the number of results is smaller than limit. - next_url
string
: URL to the next page of items. ( null if none) - query_duration_ms
integer
: Amount of time, in milliseconds, the request needed to complete. - url Url
- results
array
- items Subscription
- count
Create subscription
intellifi_nl.addSubscription({
"body": {}
}, context)
- input
object
- body required Subscription
- output ResponseDefaultResource
Delete subscription
intellifi_nl.deleteSubscription({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output ResponseDefaultResource
Get subscription
intellifi_nl.getSubscriptionById({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output Subscription
Update existing subscription
intellifi_nl.updateSubscription({
"id": "",
"body": {}
}, context)
- input
object
- id required
string
: Unique identifier - body required Subscription
- id required
- output ResponseDefaultResource
Get subscription events
intellifi_nl.getEventsForSubscriptionById({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier - after
string
: Limits ontime_created
, exclusive. - after_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - before
string
: Limits ontime_created
, exclusive. - before_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - from
string
: Limits ontime_created
, inclusive. - from_id
string
: Limits onid
, includes the givenid
value. - id_only
boolean
: Removesurl
fields from output and shows_id
instead of_url
in references. - limit
integer
: Sets the maximum number of returned resources. You may increase this number to large values, keep in mind that query times could become large. We advise you to use the pagination feature whenever you can. - populate
string
: Expand a reference into the actual resource (lookup). You may add multiple fields by giving a comma separated value. - results_only
boolean
: Removes response envelope with information about query, only sends back a JSON array with the applicable resources. - sort
string
: Allows you to sort on on or more fields in the resource. You may append a minus sign (-
) to request reverse order (new to old). - until
string
: Limits ontime_created
, inclusive. - until_id
string
: Limits onid
, includes the givenid
value. - timeout_s
number
: Overrides the default query timeout (in seconds). A value of 0 means unlimited. IMPORTANT: using high timeouts in production code is strongly discouraged as it may lead to stability issues. - id_query
string
: unique identifier - time_created
string
: Filter on the time the resource was created. - topic.resource_type
string
(values: blobs, items, keys, kvpairs, locations, presences, services, spots, subscriptions, users): Filter on the topic resource type - topic.action
string
(values: created, updated, deleted, disappeared, connection-rssi-changed): Filter on the topic action - topic.resource
string
: Filter on the topic resource id - time_event
string
: Filter on the time the event was generated on the device. - time_expire
string
: Filter on the time the event will expire.
- id required
- output
- count
integer
: The maximum number of items in the response (as set in the query or by default). - count_current
integer
: The maximum number of items available to return. - is_limited
boolean
: Becomes false when the number of results is smaller than limit. - next_url
string
: URL to the next page of items. ( null if none) - query_duration_ms
integer
: Amount of time, in milliseconds, the request needed to complete. - url Url
- results
array
- items Event
- count
Can only be used by an administrative user.
intellifi_nl.getUsers({}, context)
- input
object
- after
string
: Limits ontime_created
, exclusive. - after_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - before
string
: Limits ontime_created
, exclusive. - before_id
string
: Limits directly onid
excludes the givenid
value, please note thatid
is chronological. - from
string
: Limits ontime_created
, inclusive. - from_id
string
: Limits onid
, includes the givenid
value. - id_only
boolean
: Removesurl
fields from output and shows_id
instead of_url
in references. - limit
integer
: Sets the maximum number of returned resources. You may increase this number to large values, keep in mind that query times could become large. We advise you to use the pagination feature whenever you can. - populate
string
: Expand a reference into the actual resource (lookup). You may add multiple fields by giving a comma separated value. - results_only
boolean
: Removes response envelope with information about query, only sends back a JSON array with the applicable resources. - sort
string
: Allows you to sort on on or more fields in the resource. You may append a minus sign (-
) to request reverse order (new to old). - until
string
: Limits ontime_created
, inclusive. - until_id
string
: Limits onid
, includes the givenid
value. - timeout_s
number
: Overrides the default query timeout (in seconds). A value of 0 means unlimited. IMPORTANT: using high timeouts in production code is strongly discouraged as it may lead to stability issues. - id
string
: unique identifier - time_created
string
: Filter on the time the resource was created. - time_updated
string
: Filter on the time the resource was last updated - email
string
: Filter on the email address. - first_name
string
: Filter on the first name. - last_name
string
: Filter on the last name. - is_admin
boolean
: Filter on the administrator status. - is_locked
boolean
: Filter on the locked status.
- after
- output
- count
integer
: The maximum number of items in the response (as set in the query or by default). - count_current
integer
: The maximum number of items available to return. - is_limited
boolean
: Becomes false when the number of results is smaller than limit. - next_url
string
: URL to the next page of items. ( null if none) - query_duration_ms
integer
: Amount of time, in milliseconds, the request needed to complete. - url Url
- results
array
- items User
- count
Can only be used by an administrative user.
intellifi_nl.addUser({
"body": {}
}, context)
- input
object
- body required User
- output ResponseDefaultResource
Can only be used by an administrative user.
intellifi_nl.deleteUser({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output ResponseDefaultResource
Can only be used by an administrative user.
intellifi_nl.getUserById({
"id": ""
}, context)
- input
object
- id required
string
: Unique identifier
- id required
- output User
Can only be used by an administrative user.
intellifi_nl.updateUser({
"id": "",
"body": {}
}, context)
- input
object
- id required
string
: Unique identifier - body required User
- id required
- output ResponseDefaultResource
- Blob
object
- blob_key
string
: Unique key to the blob - content_type
string
: Media type of the resource. Automatically detected when not given in a POST. - download_url Url
- filename
string
: Filename of the blob - hash
string
: Hash of the blob - id IdReadOnly
- time_created TimeCreated
- time_last_accessed TimeLastAccessed
- time_updated TimeUpdated
- upload_url Url
- url Url
- blob_key
- BootCount
integer
: Is increased with 1 when the service starts. Is never cleared (unless the database is adjusted).
- CodeHex
string
: String representation of the unique code that this item transmits. By default this is a hexadecimal representation. This number could be so long (> 40 bytes!) that a decimal representation would be useless to generate.
- Config
object
: JSON object with possible settings. Refer to individual service documentation for a good overview.
- ConfigRequest
object
: Object containing the new configuration. This will be applied automatically when the values are valid.
- Event
object
- id IdReadOnly
- time_created TimeCreated
- time_event TimeEvent
- time_expire TimeExpire
- topic
object
- action EventTopicAction
- arguments EventTopicArgument
- resource_id IdReadOnly
- resource_type EventTopicResourceType
- resource_url Url
- url Url
- EventTopicAction
string
(values: created, updated, deleted, disappeared, connection-rssi-changed): Indicates the kind of event that was executed. In most cases it's a verb. I.e. 'connected', 'created' etc...
- EventTopicResourceType
string
(values: blobs, items, keys, kvpairs, locations, presences, services, spots, subscriptions, users): The The available event topic resources types on the API. Is written in its plural form.
- GeoCoords
object
: Last known geolocation estimate of this object. Not guaranteed to be included in response.- lat
number
: Latitude angle in degrees - lng
number
: Longitude angle in degrees - time_updated TimeUpdated
- lat
- GeoCoordsReadOnly
object
: Last known geolocation estimate of this object. Not guaranteed to be included in response.- lat
number
: Latitude angle in degrees - lng
number
: Longitude angle in degrees - time_updated TimeUpdated
- lat
- Id
string
: Unique identifier for resource.
- IdReadOnly
string
: Unique identifier for resource.
- IsOnline
boolean
: Whether or not this resource is actively connected to the Brain.
- Item
- config_request ConfigRequest
- custom Custom
- label Label
- location_request LocationRequest
- metadata Metadata
- code_hex CodeHex
- geo_coords GeoCoordsReadOnly
- id IdReadOnly
- is_present
boolean
: Is this item actively detected in one of the zones at this moment? True when it is, false if it's not. - move_count MoveCount
- protocol ItemProtocol
- sets ListOfSetIds
- technology Technology
- time_created TimeCreated
- time_last_present
string
: Last time the item was present. - time_moved TimeMoved
- time_updated TimeUpdated
- type ItemType
- url Url
- ItemList
object
- custom Custom
- id IdReadOnly
- label Label
- list Url
- metadata Metadata
- sha1
string
: The sha1 checksum of the list. This will change when the list is mutated. - time_created TimeCreated
- time_updated TimeUpdated
- total
integer
: Total amount of items in this set
- ItemProtocol
string
(values: altbeacon, uniwear, nfc, generic, eddystone, epcgen2, ibeacon, nanoble): Type of protocol that was used to decode this item.
- ItemType
string
(values: barcode, bluetitan, gbtag, relay, smarttag, tag): Type of item.
- ItemUpdate
object
- config_request ConfigRequest
- custom Custom
- label Label
- location_request LocationRequest
- metadata Metadata
- Key
object
- id IdReadOnly
- is_read_only
boolean
: Whether or not this key can only read and not write. - label
string
: Custom label for this API key. - secret
string
: The secret token for authentication. - time_created TimeCreated
- time_updated TimeUpdated
- url Url
- KeyValuePair
- id IdReadOnly
- kv_key
string
: Unique identifier for the value. - time_created TimeCreated
- time_updated TimeUpdated
- url Url
- KeyValuePairUpdate
object
- Label
string
: A name or a label for this resource. This is used in the user interface, may be empty.
- ListOfItemIds
array
: List of item ids- items IdReadOnly
- ListOfSetIds
array
: List of set ids- items IdReadOnly
- Location
object
- custom Custom
- id IdReadOnly
- label Label
- metadata Metadata
- time_created TimeCreated
- time_updated TimeUpdated
- url Url
- LocationRequest
string
: Instruction for the location engine to forcibly localize the item at the specified location id as soon as possible. Cleared automatically.
- LocationRule
object
- parameters LocationRuleParameters
- enabled RuleEnabled
- id IdReadOnly
- label Label
- time_created TimeCreated
- time_updated TimeUpdated
- type LocationRuleType
- url Url
- LocationRuleParameters
object
: Parameters for this rule; depends on the rule type. Refer to the rule type specification for details.
- LocationRuleType
string
(values: allow, disallow, disappeared, debounce): The type of location rule to be applied.
- LocationRuleUpdate
object
- parameters LocationRuleParameters
- conditions
object
: Scope of this rule, e.g. moves at or away from a specific location or towards a specific location. Thefrom_location
is mandatory. Theto_location
is either mandatory, optional or not allowed depending on rule type. - enabled RuleEnabled
- label Label
- type LocationRuleType
- Metadata
object
: Object of searchable metadata for this resource. Can be freely used to store metadata properties.
- MoveCount
integer
: How many times this item moved since it's created on this server. Note that it is likely that not all moved events are available in the events (they are deleted after a configurable number of time). This field is never decreases. It gives a good indication of the usage of this item.
- Name
string
: Human readable name for the resource.
- Presence
object
- id IdReadOnly
- item Item
- item_id IdReadOnly
- item_url Url
- location Location
- location_id IdReadOnly
- location_url Url
- proximity Proximity
- technology Technology
- time_created TimeCreated
- time_updated TimeUpdated
- url Url
- Proximity
string
(values: far, near, immediate): Strongest proximity of all 'child' presences. This is a rough estimate on the distance from the item to the receiver.
- RequestCounter
integer
: The total number of HTTP requests that this resource has done.
- ResponseDefaultResource
object
- resource
object
- id IdReadOnly
- url Url
- status
integer
: Status code
- resource
- ResponseEnvelope
object
- count
integer
: The maximum number of items in the response (as set in the query or by default). - count_current
integer
: The maximum number of items available to return. - is_limited
boolean
: Becomes false when the number of results is smaller than limit. - next_url
string
: URL to the next page of items. ( null if none) - query_duration_ms
integer
: Amount of time, in milliseconds, the request needed to complete. - url Url
- count
- ResponseListResource
object
- status
integer
: Status code - total
integer
: Total items in the list
- status
- RestartRequest
boolean
: Set this totrue
to send a reset request for the specific resource.
- RuleEnabled
boolean
: Whether this rule should be in effect (true
) or on hold (false
).
- Senses
object
: Senses are values that in most cases are generated inside the spot (number of presences, spot booted etc.). We also have a few senses that can be controlled by the brain. See Sense & Control documentation for more information.
- SensesRequest
object
: Object containing the new senses configuration. See Sense & Control documentation for more information.
- SerialNumber
integer
: This is the fixed and unique spot number. It's assigned during the production process and used to identify an individual device during its lifetime.
- Service
object
- boot_count BootCount
- config Config
- config_request ConfigRequest
- id IdReadOnly
- name Name
- restart_request RestartRequest
- time_created TimeCreated
- time_updated TimeUpdated
- url Url
- version Version
- SpotBase
object
- antenna_report_locations
array
: You may configure this field to an object which couples individual antenna ports to locations.- items
object
- antenna_number
integer
: Antenna number - report_location Location
- report_location_id IdReadOnly
- report_location_url Url
- antenna_number
- items
- config Config
- config_request ConfigRequest
- geo_coords GeoCoords
- id IdReadOnly
- is_online IsOnline
- request_counter RequestCounter
- senses Senses
- senses_request SensesRequest
- serial_number SerialNumber
- time_created TimeCreated
- time_updated TimeUpdated
- url Url
- antenna_report_locations
- SpotGet
- antenna_report_locations
array
: You may configure this field to an object which couples individual antenna ports to locations.- items
object
- antenna_number
integer
: Antenna number - report_location Location
- report_location_id IdReadOnly
- report_location_url Url
- antenna_number
- items
- config Config
- config_request ConfigRequest
- geo_coords GeoCoords
- id IdReadOnly
- is_online IsOnline
- request_counter RequestCounter
- senses Senses
- senses_request SensesRequest
- serial_number SerialNumber
- time_created TimeCreated
- time_updated TimeUpdated
- url Url
- antenna_report_locations
- SpotList
object
- custom Custom
- id IdReadOnly
- label Label
- list Url
- metadata Metadata
- time_created TimeCreated
- time_updated TimeUpdated
- total
integer
: Total amount of spots in this set
- SpotSet
- created_by
string
: Who was responsible for the creation of this spot list - id IdReadOnly
- setid
integer
: Spot set unique identifier. Must be unique within a single device - spot_id IdReadOnly
- time_created TimeCreated
- time_updated TimeUpdated
- created_by
- SpotSetBase
object
- created_by
string
: Who was responsible for the creation of this spot list - id IdReadOnly
- setid
integer
: Spot set unique identifier. Must be unique within a single device - spot_id IdReadOnly
- time_created TimeCreated
- time_updated TimeUpdated
- created_by
- SpotSetCreate
- created_by
string
: Who was responsible for the creation of this spot list - id IdReadOnly
- setid
integer
: Spot set unique identifier. Must be unique within a single device - spot_id IdReadOnly
- time_created TimeCreated
- time_updated TimeUpdated
- created_by
- SpotSetTypeAny
object
- type
string
(values: any): Spot set typeany
; Matches all type of items / wildcard set
- type
- SpotSetTypeAreacode
object
- area_code
integer
: Area Code - type
string
(values: areacode): Spot set typeareacode
; Item with the same Area Code as specified by this set
- area_code
- SpotSetTypeCodelength
object
- length_bits
integer
: The length of the item code in bits - type
string
(values: codelength): Spot set typecodelength
; All item codes that have the exact same bit length as specified by this value
- length_bits
- SpotSetTypeCodemask
object
- code
string
: Item code - mask
string
: Mask which part of the code should match. - type
string
(values: codemask): Spot set typecodemask
; All item codes that match code and mask ((item code & mask) == (code & mask)) as specified by this set
- code
- SpotSetTypeCoderange
object
- end
string
: End of the code range - start
string
: Start of the code range - type
string
(values: coderange): Spot set typecoderange
; All item codes within specified range match this set
- end
- SpotSetTypeExtended
object
- key
string
: Extended data property key - operator
string
(values: gt, gte, eq, in, ne, lt, lte, starts, ends): Operator - type
string
(values: extended): Spot set typeextended
; Items that have the extended property (key) and match requirement for value (operator) as specified by this set
- key
- SpotSetTypeList
object
- itemlist_id Id
- limit
integer
: Number, list limit, default1000
if not specified. - mutation
string
: Last mutation that was synchronized to the device. This is used for internal synchronization between the device and the Brain. - restrictions
object
: Restrict changes spot and brain.- allow_server_edit
boolean
: Server can change this set. - allow_spot_edit
boolean
: Spots can change set, differences from the brain server will be merged with the device
- allow_server_edit
- sha1
string
: The sha1 checksum of the list. This will change when the list is mutated. - total
integer
: Total amount of items in this set - type
string
(values: list): Spot set typelist
; List of items. Matches this set if Item is part of this list.
- SpotSetTypeProtocol
object
- item_protocol ItemProtocol
- type
string
(values: protocol): Spot set typeprotocol
; Items with the same Protocol as specified by this set.
- SpotSetTypeTechnology
object
- item_technology Technology
- type
string
(values: technology): Spot set typetechnology
;
- SpotSetTypeType
object
- item_type ItemType
- type
string
(values: type): Spot set typetype
; Items with the same type as specified by this set.
- SpotSetUpdate
object
- delete
boolean
: Mark this spot set for deletion. This will be synchronized to the device, so deletion may take some time.
- delete
- SpotUpdate
- antenna_report_locations
array
: You may configure this field to an object which couples individual antenna ports to locations.- items
object
- antenna_number
integer
: Antenna number - report_location Location
- report_location_id IdReadOnly
- report_location_url Url
- antenna_number
- items
- config Config
- config_request ConfigRequest
- geo_coords GeoCoords
- id IdReadOnly
- is_online IsOnline
- request_counter RequestCounter
- senses Senses
- senses_request SensesRequest
- serial_number SerialNumber
- time_created TimeCreated
- time_updated TimeUpdated
- url Url
- report_location Id
- antenna_report_locations
- Subscription
object
- custom Custom
- database_hold_time_h
integer
: The number of hours this event is retained in the database. Only use larger numbers if you know what you are doing. A couple of hours is enough for most use cases. - description
string
: Additional field to add some notes about this subscription. - events_url Url
- id IdReadOnly
- populate_events
boolean
: If set totrue
, resource references in an event (e.g. the location an item moved to) are resolved and populated with data instead of giving just an ID. - target_delivery_last_failure
object
: Iftarget_url
is set or has been set before, and delivery to the target URL failed at least once, this contains debugging information about the nature of the most recent failure. - target_delivery_status
object
: Iftarget_url
is set,target_delivery_status.ok
will betrue
orfalse
depending on whether events are being succesfully delivered.target_delivery_status.since
indicates when t his status last changed. - target_retry
boolean
: Set totrue
if you want our server to retry iftarget_url
is not giving back a2xx
success code. - target_url
string
: Url to an external service that all applicable events are pushed to (webhook). Configure tonull
if you don't wish to use this (default). - time_created TimeCreated
- time_updated TimeUpdated
- topic_filter
string
: MQTT filter that is applied to all events. Allows you to select and filter events. See Event filtering for more information - url Url
- verify_target_certificate
boolean
: Whether or not thetarget_url
endpoint TLS certificate is verified to be valid.
- Technology
string
(values: bluetooth, optical, rfid): Type of technology that was used to detect this item.
- TimeCreated
string
: ISO 8601 formatted string for when this resource was created.
- TimeEvent
string
: ISO 8601 formatted string for when this event was generated on the device. This is the device's own timestamp. Could be different due to buffering and clock differences.
- TimeExpire
string
: ISO 8601 formatted string for when this resource is going to be deleted.
- TimeLastAccessed
string
: ISO 8601 formatted string for when this resource was last accessed.
- TimeMoved
string
: Last time this item moved. This is the last time that the location for this item was changed.
- TimeUpdated
string
: ISO 8601 formatted string for when this resource was updated.
- Url
string
: Url to the individual resource.
- User
object
- email
string
: Email address - first_name
string
: First name - id IdReadOnly
- is_admin
boolean
: Whether or not this is an administrator. - is_locked
boolean
: Whether or not this user is locked and can't change the password. - last_name
string
: Last name - password
string
: Password of the user - time_created TimeCreated
- time_updated TimeCreated
- url Url
- email
- Version
string
: Current running version of the resource.