# Video Recorder

{% hint style="info" %}
For all headers refer to [Overview](https://axibo-support.gitbook.io/axibo-docs/axibo-rest-api-work-in-progress/overview) --> Headers
{% endhint %}

### Config Request

The purpose of this request is to setup the video recorder.&#x20;

#### Endpoint

<pre class="language-url"><code class="lang-url"><strong>PUT http://{axibo-ip}:2200/v1/video/recording/config
</strong></code></pre>

#### Body Properties

| Property    | Type   | Required | Description                                    |
| ----------- | ------ | -------- | ---------------------------------------------- |
| `frameRate` | int    | Yes      | Sets the frame rate of the video recording.    |
| `codec`     | string | Yes      | Sets the codec of the video recording.         |
| `format`    | string | Yes      | Sets the output format of the video recording. |

#### Example (PUT)

```json
{
    "frameRate": 30,
    "codec":"avc1",
    "format":".mp4"
}
```

### Start/Stop Requests

The purpose of this request is to set the name and start the recording.&#x20;

#### Endpoint

```uri
PUT http://{axibo-ip}:2200/v1/video/recording
```

#### Body Properties

| Property         | Type    | Required | Description |
| ---------------- | ------- | -------- | ----------- |
| `setName`        | string  | Yes      |             |
| `startRecording` | boolean | Yes      |             |
| `maxTime`        | int     | Yes      |             |

#### Example (PUT)

```json
{
    "setName": "Example",
    "startRecording": true,
    "maxTime": 30
}
```

### List Recordings Request

### Get Video Request

### Delete Video Request

This requests will delete all videos that are currently saved.&#x20;

#### Endpoint

```uri
DELETE http://{axibo-ip}:2200/v1/video/recording/all
```

#### Example (DELETE)&#x20;

```json
```

### Check Status Request

The purpose of this request is to check whether the recording is in progress. &#x20;

#### Endpoint

```uri
GET http://{axibo-ip}:2200/v1/video/recording/status
```

#### Example (GET)

```json
```
