Get Groups
get
/serviceapi/entityModel/uds/groups
Retrieves tag-based group definitions.
If no Group name is specified all group definitions are returned.
Request
Supported Media Types
- application/json
Query Parameters
-
groupName(optional): string
the group to be retrieved
-
limit(optional): integer(int32)
the number of entries in the result to be returend in one REST callDefault Value:
2000
-
offset(optional): integer(int32)
the offset into the result list when doing a query with limitDefault Value:
0
Response
Supported Media Types
- application/json
200 Response
successful operation
Root Schema : ItemListUdsGroup
Type:
Show Source
object
-
count:
integer(int32)
The number of items in the list
-
hasMore:
boolean
Default Value:
false
Indicates if there are more items -
items:
array items
The items
-
nextLink(optional):
string
The link to get the next chunk of items (if paging)
-
previousLink(optional):
string
The link to the previous chunk of items (if paging)
-
totalCount(optional):
integer(int32)
The total number of items (if paging)
Nested Schema : items
Type:
array
The items
Show Source
-
Array of:
object UdsGroup
Describes a tag based group.
Nested Schema : UdsGroup
Type:
object
Describes a tag based group.
-
groupDisplayName(optional):
string
The group display nameExample:
My Group Name
-
groupName:
string
The group nameExample:
my_group_name
-
tagCriteria:
string
The tag criteria that defines the groupExample:
location=sfo AND organization=dev
Examples
Get the group definition for group MyMarketingEntities
curl -u ${OMC_USERNAME}:${PASSWORD} -X GET "https://serverurl/serviceapi/entityModel/uds/groups?groupName=MyMarketingEntities"
This will return the Group definition:
{ "count": 1, "items":[ { "groupName": "MyMarketingEntities", "groupDisplayName": "My Marketing Entities", "tagCriteria": "org=marketing" } ] }Back to Top