Tags

Purpose of Tags
Adding Tags to Rules
How to Add Tags
REST API
REST API Endpoint
Last updated

Last updated
GET /rules/tags/v1 HTTP/1.1
Host: api.moost.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
"text"
]GET /rules/v1 HTTP/1.1
Host: api.moost.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": "text",
"createdAt": 1,
"customerId": "text",
"name": "text",
"description": "text",
"ruleState": "ACTIVE",
"notification": {
"actionQualifier": {
"ANY_ADDITIONAL_PROPERTY": "DISMISS"
},
"texts": {
"ANY_ADDITIONAL_PROPERTY": {
"title": "text",
"message": "text",
"actions": {
"ANY_ADDITIONAL_PROPERTY": {
"text": "text",
"parameter": "text"
}
}
}
},
"command": "text"
},
"notificationCases": [
{
"label": "text",
"caseCondition": "text",
"notification": {
"actionQualifier": {
"ANY_ADDITIONAL_PROPERTY": "DISMISS"
},
"texts": {
"ANY_ADDITIONAL_PROPERTY": {
"title": "text",
"message": "text",
"actions": {
"ANY_ADDITIONAL_PROPERTY": {
"text": "text",
"parameter": "text"
}
}
}
},
"command": "text"
}
}
],
"match_threshold": 1,
"time_between_triggers_seconds": 1,
"resetStateWhenMatched": true,
"condition": "text",
"isStreak": true,
"streakCondition": "text",
"isRestrictedToEarlyAdopters": true,
"isTimeBased": true,
"timeBasedCron": "text",
"messageQueueSetting": {
"isOverflowProtectionActive": true
},
"datasets": [
{
"name": "text",
"description": "text",
"type": "SINGLEVALUE",
"source_types": [
"APPLIANCE"
],
"event_types": [
"CHARGING_MODE"
],
"timeframe": 1
}
],
"topicIcon": "text",
"impactIcon": "text",
"templateRuleId": "text",
"tags": [
"text"
],
"motivationScoreWeighting": {
"deliveredEconomical": 1,
"deliveredEcological": 1,
"deliveredAutarky": 1,
"actionEconomical": 1,
"actionEcological": 1,
"actionAutarky": 1,
"expectedSetting": [
1
],
"expectedAction": "text",
"expectedActionEventType": "CHARGING_MODE",
"expectedActionSourceType": "APPLIANCE"
}
}
]