Media servers
Retrieve a collection of media servers
Use the filter query parameter to retrieve just a subset of a collection.
Use the search query parameter to restrict the results of a request to match a search criterion.
Use the orderby query parameter to specify the sort order of the items returned from server.
The default order is ascending order.
Use the skip query parameter to set the number of items to skip at the start of a collection.
0Use the top query parameter to specify the page size of the result set.
100OK
Error
GET /api/media_servers HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"count": 100,
"items": [
{
"id": "NzAwNTUxOTA5NzczMTQ4MTYw",
"name": "text",
"type": "INTERNAL",
"enabled": true,
"private_ipv4": "text",
"private_ipv6": "text",
"public_ipv4": "text",
"public_ipv6": "text",
"max_concurrency": 2000,
"custom_options": "text"
}
]
}The name of media server.
The activate status or deactivated status.
trueHost IPV4 address.
Host IPV6 address.
Host IPV4 address.
Host IPV6 address.
Max concurrent sessions.
2000Some custom configuration options serialized as json string
Created media server
Error
POST /api/media_servers HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 163
{
"name": "text",
"enabled": true,
"private_ipv4": "text",
"private_ipv6": "text",
"public_ipv4": "text",
"public_ipv6": "text",
"max_concurrency": 2000,
"custom_options": "text"
}{
"id": "NzAwNTUxOTA5NzczMTQ4MTYw"
}Retrieve a media server.
The unique ID of media server.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwOK
Error
GET /api/media_servers/{id} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "NzAwNTUxOTA5NzczMTQ4MTYw",
"name": "text",
"type": "INTERNAL",
"enabled": true,
"private_ipv4": "text",
"private_ipv6": "text",
"public_ipv4": "text",
"public_ipv6": "text",
"max_concurrency": 2000,
"custom_options": "text"
}Update a media server
The unique ID of media server.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwThe activate status or deactivated status.
trueMax concurrent sessions.
2000Some custom configuration options serialized as json string
OK
No content
Error
POST /api/media_servers/{id} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 63
{
"enabled": true,
"max_concurrency": 2000,
"custom_options": "text"
}No content