System Files

GET system_files/meta

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Returns meta data information used with the Import & Export methods.

Resource URL

http://{host}/api/2.0/system_files/meta/.format

Example Request

GET 

  1. http://44.235.52.211/api/2.0/system_files/meta/.json

{ "ImportExportOptions": { "1": "All", "2": "Users", "3": "Network, Device Name, License Sharing State", "4": "Channels and Scheduling", "5": "Threshold Sets", "6": "Notification Sets and Agents", "7": "DNS, NTP, PTP", "8": "External IRD", "9": "Layouts", "10": "Encoders", "11": "Channels Monitoring State", "12": "Time Zone Settings", "13": "Key Servers", "14": "Certificates" } }

 


 

GET system_files

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Returns a list of configuration files currently available in the system.

Resource URL

http://{host}/api/2.0/system_files/.format

Example Request

GET 

  1. http://44.235.52.211/api/2.0/system_files/.json

[ { "SystemFile": { "id": 15, "filename": "mcm9011_2021_05_02.xml", "description": "MCM-9000 configuration", "size": 315245, "version": "5.5.0dbg7", "modified": "1619961399292", "created": "1619961399292" } }, { "SystemFile": { "id": 16, "filename": "mcm9011_2021_05_02_01.xml", "description": "MCM-9000 configuration", "size": 224896, "version": "5.5.0dbg7", "modified": "1619961442811", "created": "1619961442811" } } ]

 


 

DELETE system_files/{id}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

DELETE

Deletes a single specific File.

Resource URL

http://{host}/api/2.0/system_files/{id}/.format

Parameters

Parameter

Data Type

Description

id
(required)

integer

The ID of the desired system file to be deleted.

Example Request

DELETE 

  1. http://44.235.52.211/api/2.0/system_files/5/.json

{ "success": true }

 


 

GET system_files/command/importConfigurationFile/{file_id}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Imports & activates a specific configuration file into the system.

Resource URL

http://{host}/api/2.0/system_files/command/importConfigurationFile/{file_id}.format?options[]=2&options[]=3

Parameters

Parameter

Data Type

Description

file_id
(required)

integer

The ID of the desired system file to be imported.

options[]=value
(required)

integer

Configuration file to be ingested. For example, if you need all the configuration files write options[]=1.

Example Request

GET 

  1. http://44.235.52.211/api/2.0/system_files/command/importConfigurationFile/15/.json?options[]=2&options[]=3&options[]=5

 


 

GET system_files/command/exportConfigurationFile

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Exports the current system's configuration into a new configuration file.

Resource URL

http://{host}/api/2.0/system_files/command/exportConfigurationFile.format

Example Request

GET 

  1. http://44.235.52.211/api/2.0/system_files/command/exportConfigurationFile/.json?options[]=1&options[]=4

 


 

POST system_files/command/UploadFile/software

Resource Informationtions

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

POST

Uploads software file to the MCM9000.

Resource URL

http://{host}/api/2.0/system_files/command/UploadFile/software

Example Request

Under the body section on the POSTMAN, insert the KEY as data (File), upload the MCM file to upgrade under the VALUE field as shown below, and click Send.

Screenshot 2024-01-25 103717.png

POST 

  1. http://44.235.52.211/api/2.0/system_files/command/UploadFile/software