Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
GET devices/config
Resource Information
Requires Authentication? | |
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
Code Block | ||
---|---|---|
| ||
{ "data": [ { "uuid": "f0fd775392081df8-5843f78d-43a3418e-acf792b7-eaf8065f801087fdab283cd8", "label": "MCM9000-SN:9202:9232", "created": "2022-01-07T08:06:05.173Z", "modified": "2022-02-15T15:08:12.372Z", "settings": { "color": [ "#e95cf2#df6627", "#20c5c5#a88c15" ], "cloudlicense_licensesharing": "TjJTjL0H0XCNoHQXJQFCA8qGcFOHCU0PYO8BwesR"true, "stacking_portmulticast": 65513"229.245.235.211", "licensestacking_sharingport": true65513, "disablecloud_ftp_accesslicense": false"TjJssjL0H0XCNoHQXJxxxxxFOHCU0PYO8Bwezz", "stackinglicense_server_multicasthost": "229.245.235.213"null, "disable_ftpshttp_access": false, "disable_httpftp_access": false, "licensedisable_serverftps_hostaccess": nullfalse, }, "groups": [ "access": { { "url": "192.168.2.202", "passwordlabel": "testGroup1", "username "type": "testResource" }, } "modified": "2021-09-08T08:12:00.307Z", ] "created": "2021-09-08T08:08:07.140Z" }, { "access": { "uuid": "39626cb3-986a-4ac4-9e7a-f9d7658139b6", "labelurl": "MCM9000-SN:9203192.168.10.132", "settingsusername": {"Admin", "colorpassword": ["Admin" } "#4C33FE" }, { "#A894E7uuid": "2102d188-f7b1-4d6a-a8b4-1bd10653c31b", ], "label": "MCM9000-SN:9898", "cloud_licensecreated": null"2022-01-19T09:17:31.376Z", "stacking_port"modified": "655132022-02-09T02:39:35.441Z", "license_sharing"settings": false,{ "disable_ftp_accesscolor": false,[ "stacking_multicast": "229.245.235.211#8f6ce0", "disable_ftps_access": false, "#abd93f" "disable_http_access": false ], "license_server_hostsharing": nulltrue, },"stacking_multicast": "229.245.235.211", "accessstacking_port": {"65513", "urlcloud_license": "192.168.2.203TjJssjL0H0XCNoHQXJxxxxxFOHCU0PYO8Bwezz", "passwordlicense_server_host": "test"null, "usernamedisable_http_access": "test"false, }, "disable_ftp_access": false, "modified "disable_ftps_access": "2021-09-21T10:38:17.097Z",false, "createdgroups": "2021-09-21T10:38:17.097Z"[] } ]}, "metadata": { "item_countaccess": 2,{ "total_items": 2, "current_pageurl": 1"192.168.10.131", "sort_by": [ "username": "Admin", { "fieldpassword": "labelAdmin", } "direction": "ASC" } ], } "metadata": { ]"item_count": 2, "linkstotal_items": 2, { "current_page": 1, "currentsort_by": "http://192.168.0.22/api/5.0/devices/config"[ }{ } } |
GET devices/config/{uuid}
Resource Information
Requires Authentication?
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 "field": "label",
"direction": "ASC"
}
],
"links": {
"current": "http://192.168.10.53/api/5.0/devices/config"
}
}
} |
GET devices/config/{uuid}
Resource Information
Requires Authentication? | |
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 | string | The UUID of the desired Devices. |
Example Request
GET
f0fd7753584343a3acf7eaf8065f8010Code Block | ||
---|---|---|
| ||
{ "data": [ { "uuid": "f0fd775392081df8-5843f78d-43a3418e-acf792b7-eaf8065f801087fdab283cd8", "label": "MCM9000-SN:92029232", "created": "20212022-0901-08T0807T08:0806:0705.140Z173Z", "modified": "20212022-0902-08T0815T15:08:12:00.307Z372Z", "settings": { "color": [ "#e95cf2#df6627", "#20c5c5#a88c15" ], "license_sharing": true, "stacking_multicast": "229.245.235.213211", "stacking_port": 65513, "cloud_license": "TjJTjL0H0XCNoHQXJQFCA8qGcFOHCU0PYO8BwesRTjJssjL0H0XCNoHQXJxxxxxFOHCU0PYO8Bwezz", "license_server_host": null, "disable_http_access": false, "disable_ftp_access": false, "disable_ftps_access": false, "groups": [ }, "access": { "urllabel": "192.168.2.202Group1", "usernametype": "test",Resource" } "password": "test" ] }, "access": { } ], "metadataurl": {} } |
"192.168.10.132",
"username": "Admin",
"password": "Admin"
}
},
"metadata": {}
} |
DELETE devices/config/{uuid}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods |
GET
DELETE |
Delete a specific Devices configuration.
Resource URL
https://{{ip_address}}:{{port}}/api/{{version}}/devices/config/meta
Example Request
GET
https:/{{uuid}}
Parameters
Parameter | Data Type | Description |
---|---|---|
uuid | string | The UUID of the Devices to be deleted. |
Example Request
DELETE
metaCode Block | ||
---|---|---|
| ||
{} |
DELETE devices/config/{uuid}
Resource Information
Requires Authentication?
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
Code Block | ||
---|---|---|
| ||
{ "data": [ "data": [ { "uuid": "7a241ae4-b806-4313-b75d-cee92329bf56", "created": 1632226738471, "type": "Remove Device", "state": "Running", { "progress": 0, "uuid": "7a241ae4-b806-4313-b75d-cee92329bf56", "attributes": { "created": 1632226738471, "type"device": "Remove Device",39626cb3-986a-4ac4-9e7a-f9d7658139b6", "statetype": "RunningRemove Device", "progress": 0}, "attributesresult": {null } "device": "39626cb3-986a-4ac4-9e7a-f9d7658139b6", ], "type": "Remove Device" }, "result": null } ], "metadata": {"metadata": {} } |
PUT devices/config/{uuid}
Resource Information
Requires Authentication? | |
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 | string | The UUID of the Devices to be edited. |
Example Request
PUT
Body
Code Block | ||
---|---|---|
| ||
{ "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 | ||
---|---|---|
| ||
{ "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? | |
Response Formats | json |
HTTP Methods | POST |
Add a new Devices, configured according to the attached data request.
*The response recieved is the task created for the request sent.
Resource URL
https://{{ip_address}}:{{port}}/api/{{version}}/devices/config
Example Request
POST
Body
Code Block | ||
---|---|---|
| ||
{ "url": "http://192.168.1.122", "username": "test", "password": "test" } |
Response
Code Block | ||
---|---|---|
| ||
{ "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": {} } |
Add a new Devices, configured according to the attached data request.
Resource URL
https://{{ip_address}}:{{port}}/api/{{version}}/devices/info
Example Request
GET
Code Block | ||
---|---|---|
| ||
{ "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? | |
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
Code Block | ||
---|---|---|
| ||
{ "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 } } |