EMC ViPR REST API

Search (SHIFT+S)

API Reference


List Projects

GET /tenants/{id}/projects

List projects the user is authorized to see

idthe URN of a ViPR Tenant/Subtenant

Required Roles

This call has no restrictions.


Response Body

List of projects

Field Description Type Notes
<projects>
<project>     0-* Elements
<name> The name of the resource String
<id> ViPR ID of the related object URI
<link> A hyperlink to the related object
</project>      
</projects>

Examples

Request
GET https://192.168.0.0:4443/tenants/urn:storageos:TenantOrg:4e39adf3-4b93-4c64-bfe8-b3e5f7ea4f74:/projects HTTP/1.1  

Content-Type: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK 
Content-Type: application/xml 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<projects>
  <project>
    <id>urn:storageos:Project:e85daa85-5c04-4dfd-ad70-7509b2e8a183:</id>
    <link href="/projects/urn:storageos:Project:e85daa85-5c04-4dfd-ad70-7509b2e8a183:" rel="self"/>
    <name>sanity</name>
  </project>
</projects>