> This page is for Harmonic.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://mediakind.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://mediakind.ferndocs.com/_mcp/server.

# Update manifest filtering profile

PUT https://device.example.com:443/cluster1/vos-api/atm/v1/manifest-filtering/profiles/{id}
Content-Type: application/json

Update manifest filtering profile

Reference: https://mediakind.ferndocs.com/harmonic/api/vos/atm/update-manifest-filtering-profile

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Path parameters

- `id` (string, required) — id

### Body (application/json)

This endpoint expects a com.harmonicinc.vos.app.atm.datatypes.Profile.

- `id` (string, required) — id of the manifest filtering profile
- `name` (string, required) — name of the manifest filtering profile
- `audioStreamSelections` (list of com.harmonicinc.vos.app.atm.datatypes.AudioStreamSelection, optional) — Audio Stream Selections
- `dvrFilterByScte35` (com.harmonicinc.vos.app.atm.datatypes.DvrFilterByScte35, optional)
- `dvrWindowSize` (integer, optional) — filter manifest by DVR window size (in seconds).
- `enableAudioFilteringForPretranscodedContent` (boolean, optional) — enable to allow audio codec and bitrate filtering with pre-transcode contents. default: false or null
- `enableDeltaUpdate` (boolean, optional) — Enable delta update of manipulated manifests (support HLS only). Disabled by default.
- `minDvrInSecond` (integer, optional) — The minimum dvr window size manifest should contain (in second)
- `playlistSelection` (com.harmonicinc.vos.app.atm.datatypes.PlaylistSelection, optional)
- `preferredLanguage` (string, optional) — Define the preferred language in three-letter language code
- `preferredVideoStreamIndex` (integer, optional) — Select video stream as default video. Positive values (1-based indexing) select from the beginning of the playlist. Negative values select from the end: -1 for last video stream, -2 for second-to-last, etc. Value 0 disables preferred selection.
- `removeScte35Signals` (boolean, optional) — Remove SCTE35 messages in output (support HLS only). Keep SCTE35 messages by default.
- `subtitleStreamSelections` (list of com.harmonicinc.vos.app.atm.datatypes.SubtitleStreamSelection, optional) — Subtitle Stream Selections
- `videoStreamSelections` (list of com.harmonicinc.vos.app.atm.datatypes.VideoStreamSelection, optional) — Video Stream Selections

## Response

### 200

OK

### 201

Created

## Errors

### 401 Unauthorized Error

Unauthorized

- `any`

### 403 Forbidden Error

Forbidden

- `any`

### 404 Not Found Error

Not Found

- `any`

### 500 Internal Server Error

Internal Error

- `any`

## Types

### com.harmonicinc.vos.app.atm.datatypes.AudioStreamSelection

- `audioCodecSelection` (enum, required) — Settings of Audio Codec Selection
  - Allowed values: `AAC_LC`, `HE_AAC_V1`, `HE_AAC_V2`, `AC_3`, `AC_4`, `E_AC_3`, `ALL`
- `bitrateRange` (com.harmonicinc.vos.app.atm.datatypes.AudioStreamSelection_BitrateRange, required)
- `indexRanges` (list of com.harmonicinc.vos.app.atm.datatypes.IndexRange, optional) — Filtering index - min and max
- `languageCodes` (list of string, optional) — Filtering audios with language codes, case intensive, match by same character number
- `withAudioGain` (enum, optional) — Filtering audios with gain applied at the transcoding stage and audios without
  - Allowed values: `ENABLE`, `DISABLE`, `ALL`

### com.harmonicinc.vos.app.atm.datatypes.DvrFilterByScte35

- `matchStart` (com.harmonicinc.vos.app.atm.datatypes.MatchSignal, optional)

### com.harmonicinc.vos.app.atm.datatypes.PlaylistSelection

- `alternativeUrlPrefix` (string, required) — alternative egress url prefix
- `preferredHost` (enum, required) — Preferred host should be provided
  - Allowed values: `local`, `alternative`
- `segmentNumThreshold` (integer, required) — Threshold to consider two manifests have different DVR lengths. default/min: 1
- `staleManifestSegNumThreshold` (integer, required) — Threshold to consider the manifest is stale. default: 2, min: 1

### com.harmonicinc.vos.app.atm.datatypes.SubtitleStreamSelection

- `languageCodes` (list of string, optional) — Filtering subtitle with language codes, case intensive, match by same character number

### com.harmonicinc.vos.app.atm.datatypes.VideoStreamSelection

- `videoCodecSelection` (enum, required) — Settings of video codec selection
  - Allowed values: `H_265`, `H_264`, `ALL`
- `bitrateRange` (com.harmonicinc.vos.app.atm.datatypes.VideoStreamSelection_BitrateRange, optional)
- `frameRateRange` (com.harmonicinc.vos.app.atm.datatypes.VideoStreamSelection_FrameRateRange, optional)
- `horizontalResolutionRange` (com.harmonicinc.vos.app.atm.datatypes.VideoStreamSelection_HorizontalResolutionRange, optional)
- `indexRanges` (list of com.harmonicinc.vos.app.atm.datatypes.IndexRange, optional) — Filtering index - min and max
- `verticalResolutionRange` (com.harmonicinc.vos.app.atm.datatypes.VideoStreamSelection_VerticalResolutionRange, optional)

### com.harmonicinc.vos.app.atm.datatypes.AudioStreamSelection_BitrateRange

- `maxBitrateInbps` (long, optional) — Settings of max bitrate in bps
- `minBitrateInbps` (long, optional) — Settings of min bitrate in bps

### com.harmonicinc.vos.app.atm.datatypes.IndexRange

- `maxIndex` (integer, optional) — Settings of max index, the index is one-based.
- `minIndex` (integer, optional) — Settings of min index, the index is one-based.
- `type` (enum, optional) — Type of packaging
  - Allowed values: `HLS`, `DASH`, `SS`

### com.harmonicinc.vos.app.atm.datatypes.MatchSignal

- `asserts` (list of string, required) — List of XPATH 2.0 Expression
- `matchType` (enum, required) — Match Type. One of the following values: ALL, ANY or NONE
  - Allowed values: `ANY`, `ALL`, `NONE`

### com.harmonicinc.vos.app.atm.datatypes.VideoStreamSelection_BitrateRange

- `esBitrateRange` (com.harmonicinc.vos.app.atm.datatypes.VideoStreamSelection_BitrateRange_StreamBitrateRange, optional)
- `exclude` (boolean, optional)
- `maxBitrateInbps` (long, optional) — (Deprecrated) Settings of max bitrate in bps
- `minBitrateInbps` (long, optional) — (Deprecrated) Settings of min bitrate in bps
- `tsBitrateRange` (com.harmonicinc.vos.app.atm.datatypes.VideoStreamSelection_BitrateRange_StreamBitrateRange, optional)

### com.harmonicinc.vos.app.atm.datatypes.VideoStreamSelection_FrameRateRange

- `maxFrameRate` (float, optional) — Settings of max frame rate
- `minFrameRate` (float, optional) — Settings of min frame rate

### com.harmonicinc.vos.app.atm.datatypes.VideoStreamSelection_HorizontalResolutionRange

- `maxHorizaontalResolution` (integer, optional) — Max horizontal resolution
- `minHorizaontalResolution` (integer, optional) — Min horizontal resolution

### com.harmonicinc.vos.app.atm.datatypes.VideoStreamSelection_VerticalResolutionRange

- `maxVerticalResolution` (integer, optional) — Max vertical resolution
- `minVerticalResolution` (integer, optional) — Min vertical resolution

### com.harmonicinc.vos.app.atm.datatypes.VideoStreamSelection_BitrateRange_StreamBitrateRange

- `maxBitrateInbps` (long, optional) — Settings of max bitrate in bps
- `minBitrateInbps` (long, optional) — Settings of min bitrate in bps

## Examples

### Example 1

**Request**

```json
{
  "id": "string",
  "name": "string"
}
```

**Response**

```json
{}
```

**SDK Code**

```python
import requests

url = "https://device.example.com/cluster1/vos-api/atm/v1/manifest-filtering/profiles/id"

payload = {
    "id": "string",
    "name": "string"
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.put(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://device.example.com/cluster1/vos-api/atm/v1/manifest-filtering/profiles/id';
const options = {
  method: 'PUT',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"id":"string","name":"string"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://device.example.com/cluster1/vos-api/atm/v1/manifest-filtering/profiles/id"

	payload := strings.NewReader("{\n  \"id\": \"string\",\n  \"name\": \"string\"\n}")

	req, _ := http.NewRequest("PUT", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://device.example.com/cluster1/vos-api/atm/v1/manifest-filtering/profiles/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"id\": \"string\",\n  \"name\": \"string\"\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.put("https://device.example.com/cluster1/vos-api/atm/v1/manifest-filtering/profiles/id")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"id\": \"string\",\n  \"name\": \"string\"\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('PUT', 'https://device.example.com/cluster1/vos-api/atm/v1/manifest-filtering/profiles/id', [
  'body' => '{
  "id": "string",
  "name": "string"
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://device.example.com/cluster1/vos-api/atm/v1/manifest-filtering/profiles/id");
var request = new RestRequest(Method.PUT);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"id\": \"string\",\n  \"name\": \"string\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "id": "string",
  "name": "string"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://device.example.com/cluster1/vos-api/atm/v1/manifest-filtering/profiles/id")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "PUT"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Example 2

**Request**

```json
{
  "id": "string",
  "name": "string"
}
```

**Response**

```json
{}
```

**SDK Code**

```python
import requests

url = "https://device.example.com/cluster1/vos-api/atm/v1/manifest-filtering/profiles/id"

payload = {
    "id": "string",
    "name": "string"
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.put(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://device.example.com/cluster1/vos-api/atm/v1/manifest-filtering/profiles/id';
const options = {
  method: 'PUT',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"id":"string","name":"string"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://device.example.com/cluster1/vos-api/atm/v1/manifest-filtering/profiles/id"

	payload := strings.NewReader("{\n  \"id\": \"string\",\n  \"name\": \"string\"\n}")

	req, _ := http.NewRequest("PUT", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://device.example.com/cluster1/vos-api/atm/v1/manifest-filtering/profiles/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"id\": \"string\",\n  \"name\": \"string\"\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.put("https://device.example.com/cluster1/vos-api/atm/v1/manifest-filtering/profiles/id")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"id\": \"string\",\n  \"name\": \"string\"\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('PUT', 'https://device.example.com/cluster1/vos-api/atm/v1/manifest-filtering/profiles/id', [
  'body' => '{
  "id": "string",
  "name": "string"
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://device.example.com/cluster1/vos-api/atm/v1/manifest-filtering/profiles/id");
var request = new RestRequest(Method.PUT);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"id\": \"string\",\n  \"name\": \"string\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "id": "string",
  "name": "string"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://device.example.com/cluster1/vos-api/atm/v1/manifest-filtering/profiles/id")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "PUT"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```