Configure Media Flow Engine

Use this REST API endpoint to add, edit, or remove MFE nodes, specifying details such as the engine’s name, IP address, port settings, and protocol support.

URL Syntax

/management/weblogic/latest/edit/customResources/IntelligentMediaConnector/customResource/mediaFlowEngines

HTTP Methods

  • GET
  • POST
  • DELETE

Parameters

Table 17-23 URL Parameters

Names Description
links Set to none if you want to remove the links from the response. Set to an enumerated list of the links to return. For example:
.../?links=none

Examples

Example 17-66 Get all Media Flow Engines

curl -u 'weblogic:<password>' \
    "http://10.0.0.1:7001/management/weblogic/latest/edit/customResources/IntelligentMediaConnector/customResource/mediaFlowEngines?links=none"

Example response:

{
  "items": [
    {
      "identity": [
        "customResources",
        "IntelligentMediaConnector",
        "customResource",
        "mediaFlowEngines",
        "MF2"
      ],
      "managementIP": "10.0.0.2",
      "managementPort": 8081,
      "sslEnabled": false,
      "serverName": "MF2",
      "secondaryPort": 8080
    },
    {
      "identity": [
        "customResources",
        "IntelligentMediaConnector",
        "customResource",
        "mediaFlowEngines",
        "MF3"
      ],
      "managementIP": "10.0.0.3",
      "managementPort": 8081,
      "sslEnabled": false,
      "serverName": "MF3",
      "secondaryPort": 8080
    }
  ]
}

Example 17-67 Get a specific Media Flow Engine

curl -X GET -u 'weblogic:<password>' \
  "http://10.0.0.1:7001/management/weblogic/latest/edit/customResources/IntelligentMediaConnector/customResource/mediaFlowEngines/MF3?links=none"

Example response body:

{
  "identity": [
    "customResources",
    "IntelligentMediaConnector",
    "customResource",
    "mediaFlowEngines",
    "MF3"
  ],
  "managementIP": "10.0.0.3",
  "managementPort": 8081,
  "sslEnabled": false,
  "serverName": "MF3",
  "secondaryPort": 8080
}

Example 17-68 Add a Media Flow Engine

curl -X POST -u 'weblogic:<password>' \
  -H "X-Requested-By: ConsoleBackendRestClient" \
  -H "Content-Type: application/json" \
  -d@mediaFlowEngines.json \
  "http://10.0.0.1:7001/management/weblogic/latest/edit/customResources/IntelligentMediaConnector/customResource/mediaFlowEngines"

Example request body:

{
    "managementIP": "10.0.0.2",
    "managementPort": 8081,
    "sslEnabled": false,
    "serverName": "MF2",
    "secondaryPort": 8080
}

The responds with a 201 Created.

Example 17-69 Delete a Media Flow Engine

curl -X DELETE -u 'weblogic:<password>' \
  -H "X-Requested-By: ConsoleBackendRestClient" \
  "http://10.0.0.1:7001/management/weblogic/latest/edit/customResources/IntelligentMediaConnector/customResource/mediaFlowEngines/MF3"

The responds with a 200 OK.