> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# List Projects

- Component: `appmixer.todoist.core.ListProjects`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.todoist 1.1.3](https://connectors.appmixer.com/connector/appmixer.todoist/1.1.3.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.todoist/1.1.3/component/appmixer.todoist.core.ListProjects>

Fetches a list of all projects. Returns a maximum of 500 projects per request.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Output Type (`outputType`) | select | Choose whether you want to receive the result set as one complete list, first item only, one item at a time, or stored to a CSV file. |

## Output ports

### Port `out`

Variables are loaded dynamically from `/component/appmixer/todoist/core/ListProjects?outPort=out`.

## Full metadata (component.json)

```json
{
  "name": "appmixer.todoist.core.ListProjects",
  "label": "List Projects",
  "description": "Fetches a list of all projects. Returns a maximum of 500 projects per request.",
  "author": "Appmixer <info@appmixer.com>",
  "version": "1.0.0",
  "auth": {
    "service": "appmixer:todoist"
  },
  "quota": {
    "manager": "appmixer:todoist",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "outputType": {
            "type": "string"
          }
        }
      },
      "inspector": {
        "inputs": {
          "outputType": {
            "type": "select",
            "label": "Output Type",
            "tooltip": "Choose whether you want to receive the result set as one complete list, first item only, one item at a time, or stored to a CSV file.",
            "index": 1,
            "defaultValue": "array",
            "options": [
              {
                "label": "First Item Only",
                "value": "first"
              },
              {
                "label": "All items at once",
                "value": "array"
              },
              {
                "label": "One item at a time",
                "value": "object"
              },
              {
                "label": "Store to CSV file",
                "value": "file"
              }
            ]
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "source": {
        "url": "/component/appmixer/todoist/core/ListProjects?outPort=out",
        "data": {
          "properties": {
            "generateOutputPortOptions": true
          },
          "messages": {
            "in/outputType": "inputs/in/outputType"
          }
        }
      }
    }
  ],
  "icon": "(data URI omitted)"
}
```
