# Testmo

> Read Testmo projects and the result-status definitions used for test reporting.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/testmo

## Actions

### Get project

Read one Testmo project.

**Inputs**

- Project ID (`project_id`, number, required): Project ID from List projects. At least 1.

**Outputs**

- `data` (object): The response from Testmo.

**Example output**

```json
{
  "data": {
    "result": {
      "id": 1,
      "is_completed": false,
      "name": "Example Project"
    }
  }
}
```

### List project statuses

Read test-result status definitions configured for a project.

**Inputs**

- Project ID (`project_id`, number, required): Project ID from List projects. At least 1.

**Outputs**

- `data` (object): The response from Testmo.

**Example output**

```json
{
  "data": {
    "result": [
      {
        "id": 1,
        "is_active": true,
        "is_failed": false,
        "is_passed": true,
        "name": "Passed"
      }
    ]
  }
}
```

### List projects

Read one page of projects accessible to the token.

**Inputs**

- Page (`page`, number): Page to read. Request subsequent pages explicitly. At least 1.
- Per page (`per_page`, number): Allowed page sizes published by Testmo. One of: `15`, `25`, `50`, `100`.
- Is completed (`is_completed`, true/false): Filter active or completed projects.

**Outputs**

- `data` (object): The response from Testmo.

**Example output**

```json
{
  "data": {
    "last_page": 1,
    "page": 1,
    "per_page": 15,
    "result": [
      {
        "id": 1,
        "is_completed": false,
        "name": "Example Project"
      }
    ],
    "total": 1
  }
}
```
