1-800-833-1132 : 1-303-449-6400


Spectra BlackPearl Converged Storage System : Access Control Operations : Group Operations : Get Groups

Get Groups
Description
Get information about all groups. Use parameters as selection criteria to return a subset of the list.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/group[?built_in=TRUE|FALSE]​[&last_page][&name={string}]​​[&page_length={32‑bit integer}][&page_offset={32‑bit integer}]​​[&page_start_marker={string}]
Request Parameters 
Notes:  
§
Specifying both page_offset and page_start_marker causes an error.
§
If neither page_offset, nor page_start_marker are specified, the page_offset default is used.
Responses
Response Elements
<Data>
   <Group>
      <BuiltIn>TRUE|FALSE</BuiltIn>
      <Id>{
string}</Id>
      <Name>{string}</Name>
   </Group>
   ...
</Data>
where the response elements are defined as follows:
Example
Sample Request
This request gets information about all groups on the BlackPearl system.
GET http://blackpearl-hostname/_rest_/group/ HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <Group>
      <BuiltIn>TRUE</BuiltIn>
      <Id>50993790-d245-41cf-bbde-f3aa5d9f717c</Id>
      <Name>Administrators</Name>
   </Group>
   <Group>
      <BuiltIn>FALSE</BuiltIn>
      <Id>dd73394b-fae6-4a35-b1f3-cfe8fd71ee2d</Id>
      <Name>group1</Name>
   </Group>
</Data>