addMergeGroup
A Graze API POST request that adds a new custom merge group.
Back to Graze API EndPoint Reference.
Request arguments
Endpoint addMergeGroup
takes the following request arguments:
Name | Type | Required | Description |
---|---|---|---|
| String | Yes | A unique name for the custom merge group. |
| Array of Strings | Yes | List of clustering algorithm Moolets to include in the custom merge group. |
| Integer | No | Minimum number of alerts that must be present in a cluster before it can become a Situation. Must be greater than or equal to 1. Enter |
| Floating Point | No | Percentage of alerts two Situations must share before they are merged for this group. Enter a value between 0 and 1. Enter |
Response
Endpoint addMergeGroup
returns the following response:
Examples
The following examples demonstrate typical use of endpoint addMergeGroup
:
Request example
Example cURL request to create a new custom merge group:
curl -X POST -u graze:graze -k -v "https://localhost/graze/v1/addMergeGroup" -H "Content-Type: application/json; charset=UTF-8" -d '{"name":"Merge Group 1","moolets":["Time Based (Tempus)", "Recipe 2"],"alert_threshold":2,"situation_similarity_limit":0.6}'