list projects
/members/{member}/projectlist [GET]
API Support | Available since | Last updated | Output |
---|---|---|---|
5.6012 | 5.9700 | json, xml |
Description
List the top level projects and groups for the specified member.
Parameters
Name | Description | Required | Type | Default |
---|---|---|---|---|
archived | Whether to return archived projects/groups only | no | boolean | false |
for | If 'server', return all projects/groups for server (Administrator only) [member|server ] | no | enum | member |
groups | Whether to return groups | no | boolean | true |
relationship | If 'children', return project's children, otherwise return all descendants. [children|descendants ] | no | enum | children |
page | The page to load | no | integer | 1 |
pagesize | The number of results per page | no | integer | 1000 |
Permission
Can only be invoked by the member or an administrator.
Response
The returned XML is as follows with <project>
at the top if a context project is specified:
<projects [for="[username|email]"] [limitreached="[true]"]> <project id="[id]" name="[name]" description="[description]" owner="[owner]" .../> <project id="[id]" name="[name]" description="[description]" owner="[owner]" .../> ... </projects>
Error Handling
No specific error handling.