# ReadMe

> Look up documentation versions and guides from a ReadMe Refactored project.

App · 4 actions. Web page: https://docs.lodol.com/docs/integrations/readme

## Actions

### Get a guide

Read a guide's title, Markdown content and publication state.

**Inputs**

- Branch (`branch`, text, required): The version or branch name. Use stable for the default published version.
- Slug (`slug`, text, required): The last part of the guide URL.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "content": {
        "body": "example"
      },
      "slug": "example",
      "state": "example",
      "title": "example",
      "updated_at": "example",
      "uri": "example"
    }
  }
}
```

### Get documentation project

Get the connected project's name, description and default version.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "default_version": {
        "name": "example"
      },
      "description": "example",
      "id": "example",
      "name": "example",
      "refactored": true,
      "subdomain": "example"
    }
  }
}
```

### List documentation branches

Find versions and branches in the connected ReadMe project.

**Inputs**

- Search (`search`, text): A word or version number to look for.
- Page (`page`, number): Page number, starting at 1. At least 1.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "display_name": "example",
        "name": "example",
        "updated_at": "example",
        "uri": "example"
      }
    ],
    "page": 1,
    "per_page": 1,
    "total": 1
  }
}
```

### List guides in a category

Get guide pages, including nested pages, from a category in a ReadMe branch.

**Inputs**

- Branch (`branch`, text, required): The version or branch name. Use stable for the default published version.
- Category (`category`, text, required): The exact name of the category in the Guides sidebar.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "slug": "example",
        "title": "example",
        "updated_at": "example",
        "uri": "example"
      }
    ],
    "total": 1
  }
}
```
