Skip to main content

 Version 5

Legacy documentation for PageSeeder v5

list projects

/members/{member}/projects [GET]

Description

List the projects and groups for the given member.

This service is deprecated.

Use Service: /members/{member}/projecttree [GET] instead.

This service returns the list of groups and projects in hierarchical form so that sub-projects and groups appear nested correctly within the specified project.

Note that the admin group is not included.

Parameters

NameDescriptionRequiredTypeDefault
archivedWhether to return archived projects/groups onlynobooleanfalse
forIf 'server' return all projects/groups for server (Administrator only) [server|member]noenummember
groupsWhether to return groupsnobooleantrue
nameprefixPrefix that project/group's full name must have to be returnednostring
relationshipIf 'children' return project's children or top level projects, otherwise return all descendants [children|descendants]noenumdescendants
resultsizeThe max number of results in the entire treenointeger1000

Permission

Response

The returned XML is as follows with <project> at the top if a context project is specified:

<projects for="[username|email]">
  <project id="[id]"
           name="[name]"
           owner="[owner]"
           description="[description]" ...>
    <!-- sub projects -->
    <project id="[id]"
             name="[name]"
             description="[description]"
             owner="[owner]"  ...>
      <group id="[id]"
             name="[name]"
             description="[description]"
             owner="[owner]" ...>
      <group id="[id]"
             name="[name]"
             description="[description]"
             owner="[owner]" ...>
      <group id="[id]"
             name="[name]"
             description="[description]"
             owner="[owner]" ...>
      ...
    </project>
    ...
  <!-- groups -->
  <group id="[id]"
         name="[name]"
         description="[description]"
         owner="[owner]" ...>
  <group id="[id]"
         name="[name]"
         description="[description]"
         owner="[owner]" ...>
  ...
  </project>
</projects>
 

Error Handling

No specific errors expected for this service.

Created on , last edited on