Create

POST
/api/v1/devices/dmes

Request Parameters

Name Type Description Required
name string DME device name Yes
macAddress string MAC address for the DME. Must be unique to the Rev account. Yes
isActive string true / false Defaults to false
prepositionContent string true / false Defaults to false
isVideoStorageDevice string true / false Defaults to false
manualVideoStreams [] string name = stream name
url = video streaming URL
encodingType = type of stream (h264 / hls / hds / h264ts / mpeg4 / mpeg2 / wm)
isMulticast = true / false
VideoStreamsGroupsToAdd [] string name = video stream name
hasHls = true / false – should an HLS stream also be created

Example Request

{
  "name": "myDME",
  "macAddress": "000C29A41000",
  "isActive": true,
  "prepositionContent": true,
  "isVideoStorageDevice": true,
  "manualVideoStreams": [
    "name": "myVideoStream",
    "url": "http://myexample.com",
    "encodingType": "hls",
    "isMulticast": false
  ],
  "videoStreamsGroupsToAdd": [
    "name": "myVideoStreamGroup",
    "hasHls": false
  ]
}

Example Response

{
  "deviceId": "8fab7499-0da6-4887-a0f0-485cf0c9219e"
}

Response Codes

Code Description
200 ok
401 Unauthorized error
500 Internal server error

Delete

DELETE
/api/v1/devices/dmes/{deviceId}

Request Parameters

Name Type Description Required
deviceId path GUID for the category. Yes

Response Codes

Code Description
200 ok
401 Unauthorized error
500 Internal server error

List All

GET
/api/v1/devices/dmes

Request Parameters

Name Type Description Required
none

Example Response

{
  "devices": [
  {
    "name": "HQ-DME",
    "id": "94f8ae56-dfe4-41a4-827d-1f6e1475950c",
    "macAddress": "000C29F9ECB9",
    "status": "Active",
    "prepositionContent": false,
    "isVideoStorageDevice": false,
    "dMEStatus":
    {
      "bootTime": "2017-07-26T10:45:14Z",
      "systemTime": "2017-09-06T13:56:25Z",
      "systemVersion": "3.16.0",
      "fullVersion": "3.16.0 rhel7 06/22/2017 10:07 AM Build(140)",
      "ipAddress": "10.10.10.10",
      "natAddress": "",
      "hostname": "dme.company.com",
      "overallHealth": "Normal",
      "cpuUsagePercent": 6.9,
      "cpuUsageHealth": "Normal",
      "rtmpServerVersion": "3.16.0 Build 0069",
      "rtspCpuUsagePercent": 0.07,
      "rtmpCpuUsagePercent": 0.07,
      "connectionCount": 0,
      "throughput": 0,
      "throughputPercent": 0,
      "throughputHealth": "Normal",
      "multiProtocolIncomingConnectionsCount": 0,
      "multiProtocolOutgoingConnectionsCount": 0,
      "multiProtocolMulticastConnectionsCount": 0,
      "multiProtocolMaxCount": 100,
      "rtpIncomingConnectionsCount": 0,
      "rtpOutgoingConnectionsCount": 0,
      "rtpMulticastConnectionsCount": 0,
      "rtpConnectionsMaxCount": 100,
      "iScsiEnabled": false,
      "diskContentTotal": 499849887744,
      "diskContentUsed": 110917320704,
      "diskContentHealth": "Normal",
      "diskSystemTotal": 5453643776,
      "diskSystemUsed": 1936719872,
      "diskSystemHealth": "Normal",
      "physicalMemoryTotal": 3851,
      "physicalMemoryUsed": 2242,
      "swapMemoryUsed": 183,
      "swapMemoryTotal": 4095,
      "memoryHealth": "Normal",
      "meshPeerTotalCount": 0,
      "meshPeerReachableCount": 0,
      "meshHealth": "Normal",
      "transratingActiveCount": 0,
      "transratingMaxCount": 3,
      "recordings": [],
      "sslMediaTransfer": "1",
      "accountId": "fe1530da-7938-4d92-b0e7-cfe81e71ad11",
      "id": "2d1ea902-fe96-4031-aef0-5af800d95fe4",
      "version": "7.17.2.200",
      "sequenceNumber": 0,
      "createdBy":
      {
        "when": "2015-08-07T14:24:08.78Z",
        "principal": "HQ-DME"
      },
      "modifiedBy":
      {
        "when": "2017-09-06T13:56:25.617Z",
        "principal": "HQ-DME"
      }
    }
  } ]
}

Response Codes

Code Description
200 ok
401 Unauthorized error
500 Internal server error