Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

GET devices/config

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Returns a list of all Devices in the system, with its main configuration data.

Resource URL

https://{{ip_address}}:{{port}}/api/{{version}}/devices/config

Example Request

GET 

  1. https://192.168.0.22/api/5.0/devices/config

Code Block
languagejson
{
    "data": [
        {
            "uuid": "92081df8-f78d-418e-92b7-87fdab283cd8",
            "label": "MCM9000-SN:9232",
            "created": "2022-01-07T08:06:05.173Z",
            "modified": "2022-02-15T15:08:12.372Z",
            "settings": {
                "color": [
                    "#df6627",
                    "#a88c15"
                ],
                "license_sharing": true,
                "stacking_multicast": "229.245.235.211",
                "stacking_port": 65513,
                "cloud_license": "TjJTjL0H0XCNoHQXJQFCA8qGcFOHCU0PYO8BwesRTjJssjL0H0XCNoHQXJxxxxxFOHCU0PYO8Bwezz",
                "license_server_host": null,
                "disable_http_access": false,
                "disable_ftp_access": false,
                "disable_ftps_access": false,
                "groups": [
                    {
                        "label": "Group1",
                        "type": "Resource"
                    }
                ]
            },
            "access": {
                "url": "192.168.10.132",
                "username": "Admin",
                "password": "Admin"
            }
        },
        {
            "uuid": "2102d188-f7b1-4d6a-a8b4-1bd10653c31b",
            "label": "MCM9000-SN:9898",
            "created": "2022-01-19T09:17:31.376Z",
            "modified": "2022-02-09T02:39:35.441Z",
            "settings": {
                "color": [
                    "#8f6ce0",
                    "#abd93f"
                ],
                "license_sharing": true,
                "stacking_multicast": "229.245.235.211",
                "stacking_port": "65513",
                "cloud_license": "TjJTjL0H0XCNoHQXJQFCA8qGcFOHCU0PYO8BwesRTjJssjL0H0XCNoHQXJxxxxxFOHCU0PYO8Bwezz",
                "license_server_host": null,
                "disable_http_access": false,
                "disable_ftp_access": false,
                "disable_ftps_access": false,
                "groups": []
            },
            "access": {
                "url": "192.168.10.131",
                "username": "Admin",
                "password": "Admin"
            }
        }
    ],
    "metadata": {
        "item_count": 2,
        "total_items": 2,
        "current_page": 1,
        "sort_by": [
            {
                "field": "label",
                "direction": "ASC"
            }
        ],
        "links": {
            "current": "http://192.168.10.53/api/5.0/devices/config"
        }
    }
}


GET devices/config/{uuid}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Returns an extended single Devices configuration view, specified by the required {uuid} parameter.

Resource URL

https://{{ip_address}}:{{port}}/api/{{version}}/devices/config/{{uuid}}

Parameters

Parameter

Data Type

Description

uuid
(required)

string

The UUID of the desired Devices.

Example Request

GET 

  1. https://192.168.0.22/api/5.0/devices/config/92081df8-f78d-418e-92b7-87fdab283cd8

Code Block
languagejson
{
    "data": {
        "uuid": "92081df8-f78d-418e-92b7-87fdab283cd8",
        "label": "MCM9000-SN:9232",
        "created": "2022-01-07T08:06:05.173Z",
        "modified": "2022-02-15T15:08:12.372Z",
        "settings": {
            "color": [
                "#df6627",
                "#a88c15"
            ],
            "license_sharing": true,
            "stacking_multicast": "229.245.235.211",
            "stacking_port": 65513,
            "cloud_license": "TjJTjL0H0XCNoHQXJQFCA8qGcFOHCU0PYO8BwesRTjJssjL0H0XCNoHQXJxxxxxFOHCU0PYO8Bwezz",
            "license_server_host": null,
            "disable_http_access": false,
            "disable_ftp_access": false,
            "disable_ftps_access": false,
            "groups": [
                {
                    "label": "Group1",
                    "type": "Resource"
                }
            ]
        },
        "access": {
            "url": "192.168.10.132",
            "username": "Admin",
            "password": "Admin"
        }
    },
    "metadata": {}
}


GET

DELETE devices/config/

meta

{uuid}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Returns all meta data used by

DELETE

Delete a specific Devices configuration.

Resource URL

https://{{ip_address}}:{{port}}/api/{{version}}/devices/config/meta{{uuid}}

Parameters

Parameter

Data Type

Description

uuid
(required)

string

The UUID of the Devices to be deleted.

Example Request

GETDELETE 

  1. https://192.168.0.22/api/5.0/devices/config/

meta
  1. 39626cb3-986a-4ac4-9e7a-f9d7658139b6

Code Block
languagejson
{}

DELETE devices/config/{uuid}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

DELETE

Delete a specific Devices configuration.

Resource URL

https://{{ip_address}}:{{port}}/api/{{version}}/devices/config/{{uuid}}

Parameters

Parameter

Data Type

Description

uuid
(required)

string

The UUID of the Devices to be deleted.

Example Request

DELETE 

  1. https://192.168.0.22/api/5.0/devices/config/39626cb3-986a-4ac4-9e7a-f9d7658139b6

Code Block
languagejson
{
    "data": [
    "data": [
        {
            "uuid": "7a241ae4-b806-4313-b75d-cee92329bf56",
            "created": 1632226738471,
            "type": "Remove Device",
             {"state": "Running",
            "uuid": "7a241ae4-b806-4313-b75d-cee92329bf56",
            "created": 1632226738471,
            "type": "Remove Device",
            "state": "Running",
            "progress": 0,
            "attributes": {
                "device": "39626cb3-986a-4ac4-9e7a-f9d7658139b6",
                "type": "Remove Device"
            },
            "result": null
        }
    ],
    "metadata": {}
}

 


PUT devices/config/{uuid}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

PUT

Edit a Devices configuration.

Resource URL

https://{{ip_address}}:{{port}}/api/{{version}}/devices/config/{{uuid}}

Parameters

Parameter

Data Type

Description

uuid
(required)

string

The UUID of the Devices to be edited.

Example Request

PUT 

  1. https://192.168.0.22/api/5.0/devices/config/39626cb3-986a-4ac4-9e7a-f9d7658139b6

Body

Code Block
languagejson
{
    "label": "MCM9000-SN:1992",    
    "settings": {
        "color": [
            "#A9835A",
            "#82F4E4"
        ],
        "license_sharing": true,
        "stacking_multicast": "229.245.235.211",
        "stacking_port": "65513",
        "cloud_license": null,
        "license_server_host": null,
        "disable_http_access": false,
        "disable_ftp_access": false,
        "disable_ftps_access": false
    },
    "access": {
        "url": "http://192.168.0.100",
        "username": "test",
        "password": "test"
    }
}

Response

Code Block
languagejson
{
    "data": [
        {
            "uuid": "39626cb3-986a-4ac4-9e7a-f9d7658139b6",
            "label": "MCM9000-SN:1992",
            "created": "2021-09-21T10:38:17.097Z",
            "modified": "2021-09-21T12:12:50.929Z",
            "settings": {
                "color": [
                    "#A9835A",
                    "#82F4E4"
                ],
                "license_sharing": true,
                "stacking_multicast": "229.245.235.211",
                "stacking_port": 65513,
                "cloud_license": null,
                "license_server_host": null,
                "disable_http_access": false,
                "disable_ftp_access": false,
                "disable_ftps_access": false
            },
            "access": {
                "url": "http://192.168.0.100",
                "username": "test",
                "password": "test"
            }
        }
    ],
    "metadata": {}
}


POST devices/config

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

POST

Add a new Devices, configured according to the attached data request.

Resource URL

*The response recieved is the task created for the request sent.

Resource URL

https://{{ip_address}}:{{port}}/api/{{version}}/devices/config

Example Request

POST 

  1. https://192.168.0.22/api/5.0/devices/config

Body

Code Block
languagejson
{
    "url": "http://192.168.1.122",
    "username": "test",
    "password": "test"
}

Response

Code Block
languagejson
{
    "data": [
        {
            "uuid": "ec3481e6-c65f-4766-a17a-78ff1e6ee802",
            "created": 1632226617310,
            "type": "Add Device",
            "state": "Running",
            "progress": 0,
            "attributes": {
                "url": "192.168.1.122",
                "username": "test",
                "password": "test"
            },
            "result": null
        }
    ],
    "metadata": {}
}


GET devices/info

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Add a new Devices, configured according to the attached data request.

Resource URL

https://{{ip_address}}:{{port}}/api/{{version}}/devices/info

Example Request

GET

  1. https://192.168.0.22/api/5.0/devices/info

Code Block
languagejson
{
    "data": [

    "data": [
        {
            "uuid": "f0fd7753-5843-43a3-acf7-eaf8065f8010",
            "timestamp": "2021-09-21T12:27:09.155Z",
            "uptime": "2021-09-21T11:09:35.920Z",
            "local": true,
            "series": "MCM-9000 Series",
            "model": "MCM-9000",
            "serial": "9202",
            "version": "5.5.6",
            "mode": "Monitor & Display",
            "platform": "Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz (x16), 16 GB Ram",
            "license": {
                "available": 0,
                "expiration": null,
                "features": "Full Monitoring,Light Monitoring,Mosaic Output,Recording,Centralized Error Display,Stacking,Descrambling"
            },
            "hardware": [
                {
                    "Memory Error Correction": " None"
                },
                {
                    "Memory Slot": " RAM slot #0 ( RAM slot #0 ) -  16384 MB  Unknown"
                },
                {
                    "Memory Slot": " RAM slot #1 ( RAM slot #1 ) -  No Module Installed"
                },
                {
                    "Memory Slot": " RAM slot #2 ( RAM slot #2 ) -  No Module Installed"
                },
                {
                    "Memory Slot": " RAM slot #3 ( RAM slot #3 ) -  No Module Installed"
                },
                {
                    "Memory Slot": " RAM slot #4 ( RAM slot #4 ) -  No Module Installed"
                },
                {
                    "Memory Slot": " RAM slot #5 ( RAM slot #5 ) -  No Module Installed"
                },
                {
                    "Memory Slot": " RAM slot #6 ( RAM slot #6 ) -  No Module Installed"
                },
                {
                    "Memory Slot": " RAM slot #7 ( RAM slot #7 ) -  No Module Installed"
                },
                {
                    "Memory Slot": " RAM slot #8 ( RAM slot #8 ) -  No Module Installed"
                },
                {
                    "Memory Slot": " RAM slot #9 ( RAM slot #9 ) -  No Module Installed"
                },
                {
                    "Memory Slot": " RAM slot #10 ( RAM slot #10 ) -  No Module Installed"
                },
                {
                    "CPU Model": " Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz,  2300 MHz"
                },
                {
                    "CPU Details": ""
                },
                {
                    "CPU Model": " Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz,  2300 MHz"
                },
                {
                    "CPU Details": ""
                },
                {
                    "BIOS Vendor": " Phoenix Technologies LTD"
                },
                {
                    "BIOS Version": " 6.00"
                },
                {
                    "BIOS Release Date": " 05/28/2020"
                },
                {
                    "Motherboard Manufacturer": " Intel Corporation"
                },
                {
                    "Motherboard Product Name": " 440BX Desktop Reference Platform"
                },
                {
                    "Motherboard Version": " None"
                },
                {
       {             "uuidMotherboard Serial Number": "f0fd7753-5843-43a3-acf7-eaf8065f8010", None"
                },
                {
      "timestamp": "2021-09-21T12:27:09.155Z",             "uptimeSystem Manufacturer": "2021-09-21T11:09:35.920Z", VMware, Inc."
                },
        "local": true,       {
     "series": "MCM-9000 Series",             "modelSystem Product Name": "MCM-9000", VMware Virtual Platform"
         "serial": "9202",       },
       "version": "5.5.6",        {
    "mode": "Monitor & Display",             "platformSystem Version": "Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz (x16), 16 GB Ram", None"
                },
 "license": {              {
  "available": 0,                 "expirationSystem Serial Number": null," VMware-56 4d 51 e7 01 b0 c4 72-2e 13 57 9d 3d 34 99 fb"
 "features": "Full Monitoring,Light Monitoring,Mosaic Output,Recording,Centralized Error Display,Stacking,Descrambling"         },
   },             "hardware":{
[                 {   "Network Device": "eth0: e1000 7.3.21-k8-NAPI, fw:  on cpu 1"
        "Memory Error Correction": " None"    }
            }],
            "processed": "2021-09-21T12:27:08.665Z"
  {      }
    ],
         "Memory Slot"metadata": " RAM{
slot #0 ( RAM slot #0 ) -  16384 MB"item_count": 1,
  Unknown"      "total_items": 1,
         }"total_pages": 1,
                {
"current_page": 1
              }
}


 

GET devices/status

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Returns the status of devices configuration.

Resource URL

https://{{ip_address}}:{{port}}/api/{{version}}/devices/status

Example Request

GET 

  1. https://192.168.0.22/api/5.0/devices/status

Code Block
languagejson
{
    "Memory Slotdata": "[
RAM slot #1 ( RAM slot #1 ) -{
 No Module Installed"                 }"uuid": "05011df5-87b1-4141-a3c0-c547657bf9b1",
            "label": "MCM9000-SN:9898",
  {                     "Memory Slot"status": "Up",
RAM slot #2 ( RAM slot #2 ) -  No Module Installed"     "timestamp": "2023-07-27T11:49:47.784Z",
          },  "licenses": {
             {   "limit": 3000,
                "Memory Slotused": 1,
" RAM slot #3 ( RAM slot #3 ) -  No Module Installed"   "available": 2999
            },
            "clock": {
  {              "active": false,
     "Memory Slot": " RAM slot #4 ( RAM slot #4 ) -  No Module Installed""offset": null,
                "locked": false
 },           },
     {       "images": [
            "Memory Slot": " RAM slot{
#5 ( RAM slot #5 ) -  No Module Installed"          "index": 1,
     },                 {"firmware": "1.1.8",
                    "Memory Slotsoftware": "6.2.0",
RAM slot #6 ( RAM slot #6 ) -  No Module Installed"        "active": false,
       },             "next": false
  {              },
      "Memory Slot": " RAM slot #7 ( RAM slot #7 ){
-  No Module Installed"                "index": }2,
                {    "firmware": "1.1.8",
               "Memory Slot": " RAM slot #8 ( RAM slot #8 ) -  No Module Installed""software": "6.3.0",
                    "active": true,
   },                 {"next": true
                }
  "Memory Slot": " RAM slot #9 ( RAM slot #9 )],
-  No Module Installed"        "resources": {
       },         "channels": {
      {              "limit": 88,
     "Memory Slot": " RAM slot #10 ( RAM slot #10 ) -  No Module Installed"used": 1
                },
                "recorders": {
                    "CPU Modellimit": " Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz100,
 2300 MHz"                 }, "used": 0
              {  },
                  "CPU Detailsuncompressed": ""{
                 },   "limit": 0,
            {        "used": 0
           "CPU Model": " Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz,  2300 MHz" },
                "encoders": {
     },                 {"limit": 24,
                    "CPU Detailsused": ""0
                },
                "descramblers": {
                    "BIOS Vendorlimit": "88,
Phoenix Technologies LTD"                 }, "used": 0
              {  },
                  "BIOS Versiontotal": "{
6.00"                 },     "limit": 70,
           {         "used": 5
          "BIOS Release Date": " 05/28/2020"  },
              },  "mlx": {
             {       "temperature": []
            "Motherboard Manufacturer": " Intel Corporation"},
                },
"cpu": {
               {     "frequency": {
              "Motherboard Product Name": " 440BX Desktop Reference Platform"   "min": 2,
            },            "max": 2,
   {                     "Motherboard Versionavg": " None"2
                    },
                {    "temperature": [
               "Motherboard Serial Number": " None"     {
           },                 {
"cpu": 1,
                   "System Manufacturer": " VMware, Inc."     "temperature": 100
          },              },
  {                     "System Product Name": " VMware Virtual Platform" {
                    },        "cpu": 2,
       {                     "System Versiontemperature": "100
None"                 },       }
         {           ],
         "System Serial Number": " VMware-56 4d 51 e7 01 b0 c4 72-2e 13 57 9d 3d 34 99 fb""used": 4.7
                },
                "memory": {
                    "Network Deviceused": "eth0: e1000 7.3.21-k8-NAPI, fw:  on cpu 1"4215720,
                    "allocated": 20511704
  }             ], }
           "processed": "2021-09-21T12:27:08.665Z" }
        }
    ],
    "metadata": {
        "itemtotal_countitems": 1,
        "totalitems_per_itemspage": 1,
        "total_pages": 1,
        "current_page": 1,
        "item_count": 1
    }
}