EMC ViPR REST API

Search (SHIFT+S)

API Reference


Get Project

GET /projects/{id}

Get info for project including owner, parent project, and child projects

idthe URN of a ViPR Project

Required Roles

Requires one of the following roles:

  • SYSTEM_MONITOR
  • TENANT_ADMIN

Response Body

Project details

Field Description Type Notes
<project>
<owner> Owner of the project is the user who created it or explicitly assigned as owner to the project, is allowed full access to the project and all its resources" String
<tenant>    
<id> ViPR ID of the related object URI
<link> A hyperlink to the related object
</tenant>      
<assigned_vnas_servers> Keywords and labels that can be added by a user to a resource to make it easy to find when doing a search.
<assigned_vnas_server> String 0-* Elements
</assigned_vnas_servers>
<name> The name assigned to this resource in ViPR. The resource name is set by a user and can be changed at any time. It is not a unique identifier. String
<id> An identifier that is generated by ViPR when the resource is created. The resource ID is guaranteed to be unique and immutable across all virtual data centers for all time. URI
<link> A hyperlink to the details for this resource
<creation_time> A timestamp that shows when this resource was created in ViPR DateTime
<tags> Keywords and labels that can be added by a user to a resource to make it easy to find when doing a search.
<tag> String 0-* Elements
</tags>
<inactive> Whether or not the resource is inactive. When a user removes a resource, the resource is put in this state before it is removed from the ViPR database. Boolean
<global> Boolean
<remote> Boolean
<vdc>    
<id> ViPR ID of the related object URI
<link> A hyperlink to the related object
</vdc>      
<internal> Whether or not the resource is an internal resource. Boolean
</project>

Examples

Request
GET https://192.168.0.0:4443/projects/urn:storageos:Project:e85daa85-5c04-4dfd-ad70-7509b2e8a183: 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"?>
<project>
  <creation_time>1379625008582</creation_time>
  <id>urn:storageos:Project:e85daa85-5c04-4dfd-ad70-7509b2e8a183:</id>
  <inactive>false</inactive>
  <link href="/projects/urn:storageos:Project:e85daa85-5c04-4dfd-ad70-7509b2e8a183:" rel="self"/>
  <name>sanity</name>
  <tags/>
  <owner>super_sanity@sanity.local</owner>
  <tenant>
    <id>urn:storageos:TenantOrg:4e39adf3-4b93-4c64-bfe8-b3e5f7ea4f74:</id>
    <link href="/tenants/urn:storageos:TenantOrg:4e39adf3-4b93-4c64-bfe8-b3e5f7ea4f74:" rel="self"/>
  </tenant>
</project>