Apache CloudStack v4.1.0 User API Reference
listProjects
Lists projects and provides detailed information for listed projects
Request parameters
Parameter Name | Description | Required |
account | list resources by account. Must be used with the domainId parameter. | false |
displaytext | list projects by display text | false |
domainid | list only resources belonging to the domain specified | false |
id | list projects by project ID | false |
isrecursive | defaults to false, but if true, lists all resources from the parent specified by the domainId till leaves. | false |
keyword | List by keyword | false |
listall | If set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false | false |
name | list projects by name | false |
page | false | |
pagesize | false | |
state | list projects by state | false |
tags | List projects by tags (key/value pairs) | false |
Response Tags
Response Name | Description |
id | the id of the project |
account | the account name of the project's owner |
displaytext | the displaytext of the project |
domain | the domain name where the project belongs to |
domainid | the domain id the project belongs to |
name | the name of the project |
state | the state of the project |
tags(*) | the list of resource tags associated with vm |
account | the account associated with the tag |
customer | customer associated with the tag |
domain | the domain associated with the tag |
domainid | the ID of the domain associated with the tag |
key | tag key name |
project | the project name where tag belongs to |
projectid | the project id the tag belongs to |
resourceid | id of the resource |
resourcetype | resource type |
value | tag value |