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


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 gateway.
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>TRUE</BuiltIn>
      <Id>6f24d4f5-ce23-45aa-9f3b-de2390e6e5dd</Id>
      <Name>Everyone</Name>
   </Group>
   <Group>
      <BuiltIn>TRUE</BuiltIn>
      <Id>8ee943fc-cc81-42db-9588-d192f58c092a</Id>
      <Name>Tape Admins</Name>
   </Group>
   <Group>
      <BuiltIn>FALSE</BuiltIn>
      <Id>dd73394b-fae6-4a35-b1f3-cfe8fd71ee2d</Id>
      <Name>group1</Name>
   </Group>
</Data>