Todo.ly REST API Method: GET /Projects

Returns the list of all projects of the Authenticated user. The project list is in Hierarchy. Projects and sub projects.

URL:

https://todo.ly/api/projects.format

Formats:

xml, json

HTTP Method(s):

GET

Requires Authentication:

true

Parameters:

None

Usage examples:

https://todo.ly/api/projects.xml

Response:

<ArrayOfProjectObject>
  <ProjectObject>
    <Id>192</Id>
    <Content>Work</Content>
    <ItemsCount>5</ItemsCount>
    <Icon>10</Icon>
    <ItemType>2</ItemType>
    <ParentId>0</ParentId>
    <Collapsed>false</Collapsed>
    <ItemOrder>0</ItemOrder>
    <Children>
      <ProjectObject>
        <Id>193</Id>
        <Content>Sub Project</Content>
        <ItemsCount>0</ItemsCount>
        <Icon>10</Icon>
        <ItemType>2</ItemType>
        <ParentId>192</ParentId>
        <Collapsed>false</Collapsed>
        <ItemOrder>0</ItemOrder>
        <Children />
      </ProjectObject>
    </Children>
  </ProjectObject>
  <ProjectObject>
    <Id>194</Id>
    <Content>Home</Content>
    <ItemsCount>0</ItemsCount>
    <Icon>1</Icon>
    <ItemType>2</ItemType>
    <ParentId>0</ParentId>
    <Collapsed>false</Collapsed>
    <ItemOrder>0</ItemOrder>
    <Children />
  </ProjectObject>
  <ProjectObject>
    <Id>195</Id>
    <Content>Study</Content>
    <ItemsCount>0</ItemsCount>
    <Icon>4</Icon>
    <ItemType>2</ItemType>
    <ParentId>0</ParentId>
    <Collapsed>false</Collapsed>
    <ItemOrder>0</ItemOrder>
    <Children />
  </ProjectObject>
  <ProjectObject>
    <Id>196</Id>
    <Content>Personal</Content>
    <ItemsCount>0</ItemsCount>
    <Icon>6</Icon>
    <ItemType>2</ItemType>
    <ParentId>0</ParentId>
    <Collapsed>false</Collapsed>
    <ItemOrder>0</ItemOrder>
    <Children />
  </ProjectObject>
  <ProjectObject>
    <Id>197</Id>
    <Content>Shopping List</Content>
    <ItemsCount>0</ItemsCount>
    <Icon>14</Icon>
    <ItemType>2</ItemType>
    <ParentId>0</ParentId>
    <Collapsed>false</Collapsed>
    <ItemOrder>0</ItemOrder>
    <Children />
  </ProjectObject>
</ArrayOfProjectObject>