The NGSI API that Orion implements does not include any operations to list existing subscriptions. It is assumed that each client knows and manages the signature created, no "administrative action" to obtain them is defined by NGSI.
The only possibility with the current version of Orion is to directly query the database to retrieve this information (for example, on the side of a REST server running the Orion context broker process). Given the data model described in the Orion documentation , this is a query issue in the csubs collection.
EDIT: Orion 0.25.0 includes the operation of retrieving a subscription list in the NGISv2: API GET /v2/subscriptions. See this document for more details .
source
share