File tree Expand file tree Collapse file tree 5 files changed +80
-1
lines changed Expand file tree Collapse file tree 5 files changed +80
-1
lines changed Original file line number Diff line number Diff line change 1+ type : object
2+ required :
3+ - variable
4+ - type
5+ - description
6+ - policyType
7+ properties :
8+ variable :
9+ type : string
10+ description : The unique variable name
11+ type :
12+ type : string
13+ enum : ["string", "long"]
14+ description :
15+ type : string
16+ description : The description of the variable name
17+ policyType :
18+ type : array
19+ description : The list of policy types this variable can be used with
20+ uniqueItems : true
21+ items :
22+ $ref : ./PolicyType.yaml
23+ example :
24+ variable : clientId
25+ type : string
26+ description : The MQTT client ID
27+ policyType :
28+ - DATA_POLICY
29+ - BEHAVIOR_POLICY
Original file line number Diff line number Diff line change 1+ type : object
2+ description : The list of interpolation variables that can be used in this Datahub instance
3+ properties :
4+ items :
5+ type : array
6+ items :
7+ $ref : ./InterpolationVariable.yaml
8+ required :
9+ - items
10+ example :
11+ items :
12+ - variable : clientId
13+ type : string
14+ description : The MQTT client ID
15+ policyType :
16+ - DATA_POLICY
17+ - BEHAVIOR_POLICY
18+ - variable : topic
19+ type : string
20+ description : The MQTT topic to which the MQTT message was published xxx
21+ policyType :
22+ - DATA_POLICY
Original file line number Diff line number Diff line change 1+ description : The type of policy in Data Hub
2+ type : string
3+ enum :
4+ - DATA_POLICY
5+ - BEHAVIOR_POLICY
Original file line number Diff line number Diff line change 3030 imported into popular API tooling (e.g. Postman) or can be used to generate
3131 client-code for multiple programming languages.
3232 title : HiveMQ Edge REST API
33- version : 2025.9 -SNAPSHOT
33+ version : 2025.10 -SNAPSHOT
3434 x-logo :
3535 url : https://www.hivemq.com/img/svg/hivemq-bee.svg
3636tags :
6363 This resource bundles endpoints for the available Functions for the HiveMQ
6464 Data Hub. Currently this is limited to getting the available Functions.
6565 name: Data Hub - Functions
66+ - description : This resource bundles endpoints for the interpolation features.
67+ name : Data Hub - Interpolation
6668 - description : >-
6769 Policies describe how you want the HiveMQ broker to validate the behavior
6870 of MQTT clients.
@@ -176,6 +178,8 @@ paths:
176178 $ref : paths/api_v1_data-hub_fsm.yaml
177179 /api/v1/data-hub/functions :
178180 $ref : paths/api_v1_data-hub_functions.yaml
181+ /api/v1/data-hub/interpolation-variables :
182+ $ref : paths/api_v1_data-hub_interpolation-variables.yaml
179183 /api/v1/data-hub/function-specs :
180184 $ref : paths/api_v1_data-hub_function-specs.yaml
181185 /api/v1/data-hub/schemas :
Original file line number Diff line number Diff line change 1+ get :
2+ description : This endpoint provides the means to get information on the interpolation variables available for the HiveMQ Data Hub.
3+ operationId : getVariables
4+ responses :
5+ ' 200 ' :
6+ content :
7+ application/json :
8+ schema :
9+ $ref : ../components/schemas/InterpolationVariableList.yaml
10+ description : Success
11+ ' 500 ' :
12+ content :
13+ application/json :
14+ schema :
15+ $ref : ../components/schemas/ProblemDetails.yaml
16+ description : Internal server error
17+ summary : Get all interpolation variables
18+ tags :
19+ - Data Hub - Interpolation
You can’t perform that action at this time.
0 commit comments