Skip to content
/ fty-rest Public

REST API module

License

Unknown, GPL-2.0 licenses found

Licenses found

Unknown
LICENSE
GPL-2.0
COPYING
Notifications You must be signed in to change notification settings

42ity/fty-rest

Repository files navigation

fty-rest

How to build

To build, run:

mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=usr -DBUILD_TESTING=On ..
make
sudo make install

Protocols

STREAM DELIVER

SSE generic message

The SSE servlet consumes generic messages on the STREAM-DELIVER stream.

The message subject must be "SSE".

The message shall be frame formated as:

TOPIC/JSON_PAYLOAD[/ASSET_INAME]

where:

  • TOPIC is a topic identifier
  • JSON_PAYLOAD is a JSON well-formed object
  • ASSET_INAME is an asset internal name (optional frame)