# Restream

> Create streaming events, monitor their status and retrieve recordings.

App · 8 actions. Web page: https://docs.lodol.com/docs/integrations/restream

## Actions

### Create event

Create a Restream Studio or encoder event.

**Inputs**

- Stream type (`stream_type`, text, required): Stream type. One of: `studio`, `encoder`.
- Title (`title`, text, required): Title.
- Description (`description`, text): Description.
- Scheduled for (`scheduled_for`, date and time): Scheduled for.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "description": "example",
    "destinations": [
      {}
    ],
    "finishedAt": 1,
    "id": "example",
    "scheduledFor": 1,
    "startedAt": 1,
    "status": "example",
    "title": "example"
  }
}
```

### Get event

Get a streaming event by ID.

**Inputs**

- Event (`event_id`, text, required): Event ID.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "description": "example",
    "destinations": [
      {}
    ],
    "finishedAt": 1,
    "id": "example",
    "scheduledFor": 1,
    "startedAt": 1,
    "status": "example",
    "title": "example"
  }
}
```

### List channels

List connected streaming channels.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Restream.

**Example output**

```json
{
  "data": [
    {
      "displayName": "example",
      "enabled": true,
      "id": 1
    }
  ]
}
```

### List in progress events

List events that are in progress.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Restream.

**Example output**

```json
{
  "data": [
    {
      "description": "example",
      "destinations": [
        {}
      ],
      "finishedAt": 1,
      "id": "example",
      "scheduledFor": 1,
      "startedAt": 1,
      "status": "example",
      "title": "example"
    }
  ]
}
```

### List platforms

List supported streaming platforms.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Restream.

**Example output**

```json
{
  "data": [
    {}
  ]
}
```

### List recordings

List available recordings for one event.

**Inputs**

- Event (`event_id`, text, required): Event ID.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "audios": [
      {}
    ],
    "primaryVideos": [
      {}
    ],
    "secondaryVideos": [
      {}
    ]
  }
}
```

### List transcriptions

List recording transcriptions for one event.

**Inputs**

- Event (`event_id`, text, required): Event ID.

**Outputs**

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

**Example output**

```json
{
  "data": {}
}
```

### List upcoming events

List events that are upcoming.

**Inputs**

- Scheduled (`scheduled`, true/false): Scheduled.

**Outputs**

- `data` (list): The response from Restream.

**Example output**

```json
{
  "data": [
    {
      "description": "example",
      "destinations": [
        {}
      ],
      "finishedAt": 1,
      "id": "example",
      "scheduledFor": 1,
      "startedAt": 1,
      "status": "example",
      "title": "example"
    }
  ]
}
```
