Config - Hashtag/Keyword

Object type: keyword

Note

Even though they are called hashtags in the UI and documentation, they are still referenced as keywords in the Rest API

Request URL: /rest/config/keyword

Parameters:

Example GET Copied

    {
       "object" : {
          "all_hosts" : "0",
          "hosts" : [
             {
                "ref" : "/rest/config/host/7",
                "name" : "cisco"
             },
             {
                "ref" : "/rest/config/host/8",
                "name" : "cisco1"
             }
          ],
          "roles" : [
             {
                "ref" : "/rest/config/role/14",
                "name" : "View some, change none"
             },
             {
                "ref" : "/rest/config/role/15",
                "name" : "View some, change none, no notify"
             }
          ],
          "all_servicechecks" : "0",
          "style" : "group_by_host",
          "name" : "cisco",
          "description" : "cisco devices",
          "servicechecks" : [
             {
                "ref" : "/rest/config/servicecheck/82",
                "name" : "Another exception"
             },
             {
                "ref" : "/rest/config/servicecheck/81",
                "name" : "Test exceptions"
             }
          ],
          "id" : "2",
          "enabled" : "1",
          "uncommitted" : "1"
       }
    }
["Opsview"] ["API", "Technical Reference"]

Was this topic helpful?