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


Access Control Operations : Access Control List Operations : Get Data Policy ACLs

Get Data Policy ACLs
Get information about all data policy ACLs. Use parameters as selection criteria to return a subset of the list.
Requests
Syntax
GET http[s]://{datapathDNSname}/_rest_/data_policy_acl[?data_policy_id={string}][&group_id={string}][&last_page][&page_length={32‑bit integer}][&page_offset={32‑bit integer}][&page_start_marker={string}][&user_id={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.
a.
Responses
Response Elements
<Data>
   <DataPolicyAcl>
      <DataPolicyId>{
string}</DataPolicyId>
      <GroupId>{string}</GroupId>
      <Id>{string}</Id>
      <UserId>{string}</UserId>
   </DataPolicyAcl>
   ...
</Data>
where the response elements are defined as follows:
Example
Sample Request
This request gets information about the ACLs for all data policies.
GET http[s]://blackpearl-hostname/_rest_/data_policy_acl/ HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <DataPolicyAcl>
      <DataPolicyId>
         2ae695d0-ed75-48fc-bd96-520d8a7ebea3
      </DataPolicyId>
      <GroupId>718246b3-862d-4d9e-9164-8d33c56462a1</GroupId>
      <Id>47f1af11-a54e-42c3-a898-8c5666ead291</Id>
      <UserId/>
   </DataPolicyAcl>
</Data>