Skip to content
SENS Platform Docs

List visible immutable block versions and their JSON Schemas.

GET
/v1/flow-blocks
curl --request GET \
--url 'https://api.dev.iot-sens.schlossers.at/v1/flow-blocks?limit=50' \
--header 'Authorization: Bearer <token>'
tenantNumber
integer format: int32
>= 1 <= 2147483647

Required for tenant administrators; omission requires platform administration.

q
string
<= 100 characters
cursor
string
<= 512 characters

Opaque continuation token; reuse the original filters and scope.

limit
integer
default: 50
Allowed values: 50

Fixed released Custom-block selector page size.

Built-ins, released platform blocks and, with tenant context, released tenant blocks.

Media typeapplication/json
object
nextCursor
string
items
required
Array<object>
object
reference
required
object
manifest
required
object
scope
required
string
Allowed values: builtin platform tenant
schemas
required
Array<object>
object
$id
required
string format: uri
$schema
required
string
Allowed value: https://json-schema.org/draft/2020-12/schema
Example
{
"items": [
{
"scope": "builtin"
}
],
"schemas": [
{
"$schema": "https://json-schema.org/draft/2020-12/schema"
}
]
}

A safe platform error response.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: VALIDATION_FAILED AUTHENTICATION_FAILED AUTHORIZATION_FAILED RESOURCE_NOT_FOUND CONFLICT DEPENDENCY_FAILURE FLOW_FAILURE RATE_LIMITED INTERNAL_ERROR
category
required
string
Allowed values: validation authentication authorization not_found conflict dependency_failure flow_failure rate_limit internal
message
required

Safe client-facing diagnostic message.

string
correlationId
required

Correlation ID for operational investigation.

string
>= 1 characters
details

Safe bounded diagnostic details.

object
key
additional properties
One of:
string
Example
{
"error": {
"code": "VALIDATION_FAILED",
"category": "validation"
}
}
Cache-Control
string
Allowed value: no-store