Resource Diameter Mediation

Resource

Diameter Mediation

Workspace

Sentinel Services

Path

/diametermediation

Operations

Operation

Retrieve a list of sub-resources offered by this resource

Request Method

GET

Path

/diametermediation

Parameters

Request Body

Not used

Success Result

200 OK

Response Headers

None

Response Body

/diametermediation/ocsdestination

Operation

Retrieve a listing of Diameter Mediation OCS Destination entries

Request Method

GET

Path

/diametermediation/ocsdestination

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • page — the page to retrieve if results span multiple pages (default = 1 if not provided)

Request Body

Not used

Success Result

200 OK

Response Headers

None

Response Body

Operation

Create a new Diameter Mediation OCS Destination entry

Request Method

POST

Path

/diametermediation/ocsdestination

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • selectionKey — the Sentinel selection key scope to use

Request Body

Success Result

201 Created

Response Headers

Location — contains the URL to access the created record

Response Body

Not used

Operation

Retrieve an existing Diameter Mediation OCS Destination entry

Request Method

GET

Path

/diametermediation/ocsdestination/{ocsId}

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • selectionKey — the Sentinel selection key scope to use

  • page — the page to retrieve if results span multiple pages (default = 1 if not provided)

Request Body

Not used

Success Result

200 OK

Response Headers

None

Response Body

Operation

Update an existing Diameter Mediation OCS Destination entry

Request Method

PUT

Path

/diametermediation/ocsdestination/{ocsId}

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • selectionKey — the Sentinel selection key scope to use

Request Body

Success Result

204 No content

Response Headers

None

Response Body

Not used

Operation

Delete an existing Diameter Mediation OCS Destination entry

Request Method

DELETE

Path

/diametermediation/ocsdestination/{ocsId}

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • selectionKey — the Sentinel selection key scope to use

Request Body

Not used

Success Result

204 No content

Response Headers

None

Response Body

Not used

/diametermediation/tcctimerconfig

Operation

Create a new Diameter Mediation TCC Timer Config entry

Request Method

POST

Path

/diametermediation/tcctimerconfig

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • selectionKey — the Sentinel selection key scope to use

Request Body

Success Result

201 Created

Response Headers

Location — contains the URL to access the created record

Response Body

Not used

Operation

Retrieve an existing Diameter Mediation TCC Timer Config entry or a listing of Diameter Mediation TCC Timer Config entries

Request Method

GET

Path

/diametermediation/tcctimerconfig

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • selectionKey — the Sentinel selection key scope to use

  • page — the page to retrieve if results span multiple pages (default = 1 if not provided)

Request Body

Not used

Success Result

200 OK

Response Headers

None

Response Body

Operation

Update an existing Diameter Mediation TCC Timer Config entry

Request Method

PUT

Path

/diametermediation/tcctimerconfig

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • selectionKey — the Sentinel selection key scope to use

Request Body

Success Result

204 No content

Response Headers

None

Response Body

Not used

Operation

Delete an existing Diameter Mediation TCC Timer Config entry

Request Method

DELETE

Path

/diametermediation/tcctimerconfig

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • selectionKey — the Sentinel selection key scope to use

Request Body

Not used

Success Result

204 No content

Response Headers

None

Response Body

Not used

/diametermediation/serviceids

Operation

Create a new Diameter Mediation Service IDs entry

Request Method

POST

Path

/diametermediation/serviceids

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • selectionKey — the Sentinel selection key scope to use

Request Body

Success Result

201 Created

Response Headers

Location — contains the URL to access the created record

Response Body

Not used

Operation

Retrieve an existing Diameter Mediation Service IDs entry or a listing of Diameter Mediation Service IDs entries

Request Method

GET

Path

/diametermediation/serviceids

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • selectionKey — the Sentinel selection key scope to use

  • page — the page to retrieve if results span multiple pages (default = 1 if not provided)

Request Body

Not used

Success Result

200 OK

Response Headers

None

Response Body

Operation

Update an existing Diameter Mediation Service IDs entry

Request Method

PUT

Path

/diametermediation/serviceids

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • selectionKey — the Sentinel selection key scope to use

Request Body

Success Result

204 No content

Response Headers

None

Response Body

Not used

Operation

Delete an existing Diameter Mediation Service IDs entry

Request Method

DELETE

Path

/diametermediation/serviceids

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • selectionKey — the Sentinel selection key scope to use

Request Body

Not used

Success Result

204 No content

Response Headers

None

Response Body

Not used

/diametermediation/ocsconfig

Operation

Update an existing Diameter Mediation OCS Config entry

Request Method

PUT

Path

/diametermediation/ocsconfig

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • selectionKey — the Sentinel selection key scope to use

Request Body

Success Result

204 No content

Response Headers

None

Response Body

Not used

Operation

Delete an existing Diameter Mediation OCS Config entry

Request Method

DELETE

Path

/diametermediation/ocsconfig

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • selectionKey — the Sentinel selection key scope to use

Request Body

Not used

Success Result

204 No content

Response Headers

None

Response Body

Not used

Operation

Create a new Diameter Mediation OCS Config entry

Request Method

POST

Path

/diametermediation/ocsconfig

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • selectionKey — the Sentinel selection key scope to use

Request Body

Success Result

201 Created

Response Headers

Location — contains the URL to access the created record

Response Body

Not used

Operation

Retrieve an existing Diameter Mediation OCS Config entry or a listing of Diameter Mediation OCS Config entries

Request Method

GET

Path

/diametermediation/ocsconfig

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • selectionKey — the Sentinel selection key scope to use

  • page — the page to retrieve if results span multiple pages (default = 1 if not provided)

Request Body

Not used

Success Result

200 OK

Response Headers

None

Response Body

If scope is provided: DiameterMediationOCSConfig Otherwise: DiameterMediationOCSConfigs

/diametermediation/config

Operation

Create a new Diameter Mediation Config entry

Request Method

POST

Path

/diametermediation/config

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • selectionKey — the Sentinel selection key scope to use

Request Body

Success Result

201 Created

Response Headers

Location — contains the URL to access the created record

Response Body

Not used

Operation

Retrieve an existing Diameter Mediation Config entry or a listing of Diameter Mediation Config entries

Request Method

GET

Path

/diametermediation/config

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • selectionKey — the Sentinel selection key scope to use

  • page — the page to retrieve if results span multiple pages (default = 1 if not provided)

Request Body

Not used

Success Result

200 OK

Response Headers

None

Response Body

If scope is provided: DiameterMediationConfig Otherwise: DiameterMediationConfigs

Operation

Update an existing Diameter Mediation Config entry

Request Method

PUT

Path

/diametermediation/config

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • selectionKey — the Sentinel selection key scope to use

Request Body

Success Result

204 No content

Response Headers

None

Response Body

Not used

Operation

Delete an existing Diameter Mediation Config entry

Request Method

DELETE

Path

/diametermediation/config

Parameters

  • rhinoInstanceId — the ID of the Rhino instance to connect to (as defined in REM)

  • selectionKey — the Sentinel selection key scope to use

Request Body

Not used

Success Result

204 No content

Response Headers

None

Response Body

Not used

Schemas

Feature

Class: com.opencloud.sentinel.rest.common.Feature

JSON
{
  "type" : "object",
  "properties" : {
    "name" : {
      "type" : "string"
    },
    "resources" : {
      "type" : "array",
      "items" : {
        "type" : "object",
        "properties" : {
          "rel" : {
            "type" : "string"
          },
          "href" : {
            "type" : "string"
          },
          "title" : {
            "type" : "string"
          }
        }
      }
    }
  }
}
XML
<?xml version="1.0" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:element name="feature" type="FeatureType"/>

  <xs:element name="link" type="LinkType"/>

  <xs:complexType name="FeatureType">
    <xs:sequence>
      <xs:element name="name" type="xs:string" minOccurs="0"/>
      <xs:element name="resources" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element ref="link" minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="LinkType">
    <xs:sequence/>
    <xs:attribute name="rel" type="xs:string"/>
    <xs:attribute name="href" type="xs:string"/>
    <xs:attribute name="title" type="xs:string"/>
  </xs:complexType>
</xs:schema>

DiameterMediationOCSDestinations

Class: com.opencloud.sentinel.rest.server.resources.diametermediation.DiameterMediationOCSDestinationResource$DiameterMediationOCSDestinations

JSON
{
  "type" : "object",
  "properties" : {
    "entries" : {
      "type" : "array",
      "items" : {
        "type" : "object",
        "properties" : {
          "name" : {
            "type" : "string"
          },
          "resources" : {
            "type" : "array",
            "items" : {
              "type" : "object",
              "properties" : {
                "rel" : {
                  "type" : "string"
                },
                "href" : {
                  "type" : "string"
                },
                "title" : {
                  "type" : "string"
                }
              }
            }
          },
          "selectionKey" : {
            "type" : "string"
          }
        }
      }
    },
    "next" : {
      "type" : "string"
    },
    "prev" : {
      "type" : "string"
    }
  }
}
XML
<?xml version="1.0" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:element name="diameterMediationOCSDestination" type="DiameterMediationOCSDestinationsEntryType"/>

  <xs:element name="diameterMediationOCSDestinations" type="DiameterMediationOCSDestinationsType"/>

  <xs:element name="link" type="LinkType"/>

  <xs:complexType name="DiameterMediationOCSDestinationsType">
    <xs:sequence>
      <xs:element ref="diameterMediationOCSDestination" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="next" type="xs:string"/>
    <xs:attribute name="prev" type="xs:string"/>
  </xs:complexType>

  <xs:complexType name="DiameterMediationOCSDestinationsEntryType">
    <xs:complexContent>
      <xs:extension base="simpleEntry">
        <xs:sequence>
          <xs:element name="selectionKey" type="xs:string" minOccurs="0"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>

  <xs:complexType name="simpleEntry" abstract="true">
    <xs:sequence>
      <xs:element name="name" type="xs:string" minOccurs="0"/>
      <xs:element name="resources" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element ref="link" minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="LinkType">
    <xs:sequence/>
    <xs:attribute name="rel" type="xs:string"/>
    <xs:attribute name="href" type="xs:string"/>
    <xs:attribute name="title" type="xs:string"/>
  </xs:complexType>
</xs:schema>

DiameterMediationOCSDestination

Class: com.opencloud.sentinel.provisioning.diametermediation.DiameterMediationOCSDestination

JSON
{
  "type" : "object",
  "properties" : {
    "ocsId" : {
      "type" : "string"
    },
    "destinationRealm" : {
      "type" : "string"
    },
    "destinationHost" : {
      "type" : "string"
    }
  }
}
XML
<?xml version="1.0" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:element name="diameterMediationOCSDestination" type="DiameterMediationOCSDestinationType"/>

  <xs:complexType name="DiameterMediationOCSDestinationType">
    <xs:sequence>
      <xs:element name="ocsId" type="xs:string" minOccurs="0"/>
      <xs:element name="destinationRealm" type="xs:string" minOccurs="0"/>
      <xs:element name="destinationHost" type="xs:string" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
</xs:schema>

DiameterMediationTccTimerConfig

Class: com.opencloud.sentinel.provisioning.diametermediation.DiameterMediationTccTimerConfig

JSON
{
  "type" : "object",
  "properties" : {
    "defaultTccTimeout" : {
      "type" : "number"
    },
    "tccOption" : {
      "type" : "string"
    },
    "tccMinValue" : {
      "type" : "number"
    },
    "gsuScaleFactorMultiplier" : {
      "type" : "integer"
    },
    "gsuOffset" : {
      "type" : "integer"
    },
    "gsuScaleFactorDivisor" : {
      "type" : "integer"
    },
    "vtScaleFactorMultiplier" : {
      "type" : "integer"
    },
    "vtOffset" : {
      "type" : "integer"
    },
    "vtScaleFactorDivisor" : {
      "type" : "integer"
    }
  }
}
XML
<?xml version="1.0" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:element name="diameterMediationTccTimerConfig" type="DiameterMediationTccTimerConfigType"/>

  <xs:complexType name="DiameterMediationTccTimerConfigType">
    <xs:sequence>
      <xs:element name="defaultTccTimeout" type="xs:long"/>
      <xs:element name="tccOption" type="xs:string" minOccurs="0"/>
      <xs:element name="tccMinValue" type="xs:long"/>
      <xs:element name="gsuScaleFactorMultiplier" type="xs:int"/>
      <xs:element name="gsuOffset" type="xs:int"/>
      <xs:element name="gsuScaleFactorDivisor" type="xs:int"/>
      <xs:element name="vtScaleFactorMultiplier" type="xs:int"/>
      <xs:element name="vtOffset" type="xs:int"/>
      <xs:element name="vtScaleFactorDivisor" type="xs:int"/>
    </xs:sequence>
  </xs:complexType>
</xs:schema>

DiameterMediationTccTimerConfigs

Class: com.opencloud.sentinel.rest.server.resources.diametermediation.DiameterMediationTccTimerConfigResource$DiameterMediationTccTimerConfigs

JSON
{
  "type" : "object",
  "properties" : {
    "entries" : {
      "type" : "array",
      "items" : {
        "type" : "object",
        "properties" : {
          "name" : {
            "type" : "string"
          },
          "resources" : {
            "type" : "array",
            "items" : {
              "type" : "object",
              "properties" : {
                "rel" : {
                  "type" : "string"
                },
                "href" : {
                  "type" : "string"
                },
                "title" : {
                  "type" : "string"
                }
              }
            }
          },
          "selectionKey" : {
            "type" : "string"
          }
        }
      }
    },
    "next" : {
      "type" : "string"
    },
    "prev" : {
      "type" : "string"
    }
  }
}
XML
<?xml version="1.0" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:element name="diameterMediationTccTimerConfig" type="DiameterMediationTccTimerConfigsEntryType"/>

  <xs:element name="diameterMediationTccTimerConfigs" type="DiameterMediationTccTimerConfigsType"/>

  <xs:element name="link" type="LinkType"/>

  <xs:complexType name="DiameterMediationTccTimerConfigsType">
    <xs:sequence>
      <xs:element ref="diameterMediationTccTimerConfig" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="next" type="xs:string"/>
    <xs:attribute name="prev" type="xs:string"/>
  </xs:complexType>

  <xs:complexType name="DiameterMediationTccTimerConfigsEntryType">
    <xs:complexContent>
      <xs:extension base="simpleEntry">
        <xs:sequence>
          <xs:element name="selectionKey" type="xs:string" minOccurs="0"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>

  <xs:complexType name="simpleEntry" abstract="true">
    <xs:sequence>
      <xs:element name="name" type="xs:string" minOccurs="0"/>
      <xs:element name="resources" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element ref="link" minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="LinkType">
    <xs:sequence/>
    <xs:attribute name="rel" type="xs:string"/>
    <xs:attribute name="href" type="xs:string"/>
    <xs:attribute name="title" type="xs:string"/>
  </xs:complexType>
</xs:schema>

DiameterMediationServiceIdConfig

Class: com.opencloud.sentinel.provisioning.diametermediation.DiameterMediationServiceIdConfig

JSON
{
  "type" : "object",
  "properties" : {
    "serviceIDs" : {
      "type" : "array",
      "items" : {
        "type" : "number"
      }
    },
    "serviceNames" : {
      "type" : "array",
      "items" : {
        "type" : "string"
      }
    }
  }
}
XML
<?xml version="1.0" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:element name="diameterMediationServiceIdConfig" type="DiameterMediationServiceIdConfigType"/>

  <xs:complexType name="DiameterMediationServiceIdConfigType">
    <xs:sequence>
      <xs:element name="serviceIDs" nillable="true" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="value" type="xs:long" minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="serviceNames" nillable="true" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="value" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:schema>

DiameterMediationServiceIdConfigs

Class: com.opencloud.sentinel.rest.server.resources.diametermediation.DiameterMediationServiceIdConfigResource$DiameterMediationServiceIdConfigs

JSON
{
  "type" : "object",
  "properties" : {
    "entries" : {
      "type" : "array",
      "items" : {
        "type" : "object",
        "properties" : {
          "name" : {
            "type" : "string"
          },
          "resources" : {
            "type" : "array",
            "items" : {
              "type" : "object",
              "properties" : {
                "rel" : {
                  "type" : "string"
                },
                "href" : {
                  "type" : "string"
                },
                "title" : {
                  "type" : "string"
                }
              }
            }
          },
          "selectionKey" : {
            "type" : "string"
          }
        }
      }
    },
    "next" : {
      "type" : "string"
    },
    "prev" : {
      "type" : "string"
    }
  }
}
XML
<?xml version="1.0" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:element name="diameterMediationServiceIdConfig" type="DiameterMediationServiceIdConfigsEntryType"/>

  <xs:element name="diameterMediationServiceIdConfigs" type="DiameterMediationServiceIdConfigsType"/>

  <xs:element name="link" type="LinkType"/>

  <xs:complexType name="DiameterMediationServiceIdConfigsType">
    <xs:sequence>
      <xs:element ref="diameterMediationServiceIdConfig" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="next" type="xs:string"/>
    <xs:attribute name="prev" type="xs:string"/>
  </xs:complexType>

  <xs:complexType name="DiameterMediationServiceIdConfigsEntryType">
    <xs:complexContent>
      <xs:extension base="simpleEntry">
        <xs:sequence>
          <xs:element name="selectionKey" type="xs:string" minOccurs="0"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>

  <xs:complexType name="simpleEntry" abstract="true">
    <xs:sequence>
      <xs:element name="name" type="xs:string" minOccurs="0"/>
      <xs:element name="resources" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element ref="link" minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="LinkType">
    <xs:sequence/>
    <xs:attribute name="rel" type="xs:string"/>
    <xs:attribute name="href" type="xs:string"/>
    <xs:attribute name="title" type="xs:string"/>
  </xs:complexType>
</xs:schema>

DiameterMediationOCSConfig

Class: com.opencloud.sentinel.provisioning.diametermediation.DiameterMediationOCSConfig

JSON
{
  "type" : "object",
  "properties" : {
    "destinationRealm" : {
      "type" : "string"
    },
    "destinationHost" : {
      "type" : "string"
    },
    "timeoutDuration" : {
      "type" : "number"
    }
  }
}
XML
<?xml version="1.0" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:element name="diameterMediationOCSConfig" type="DiameterMediationOCSConfigType"/>

  <xs:complexType name="DiameterMediationOCSConfigType">
    <xs:sequence>
      <xs:element name="destinationRealm" type="xs:string" minOccurs="0"/>
      <xs:element name="destinationHost" type="xs:string" nillable="true" minOccurs="0"/>
      <xs:element name="timeoutDuration" type="xs:long"/>
    </xs:sequence>
  </xs:complexType>
</xs:schema>

DiameterMediationOCSConfigs

Class: com.opencloud.sentinel.rest.server.resources.diametermediation.DiameterMediationOCSConfigResource$DiameterMediationOCSConfigs

JSON
{
  "type" : "object",
  "properties" : {
    "entries" : {
      "type" : "array",
      "items" : {
        "type" : "object",
        "properties" : {
          "name" : {
            "type" : "string"
          },
          "resources" : {
            "type" : "array",
            "items" : {
              "type" : "object",
              "properties" : {
                "rel" : {
                  "type" : "string"
                },
                "href" : {
                  "type" : "string"
                },
                "title" : {
                  "type" : "string"
                }
              }
            }
          },
          "selectionKey" : {
            "type" : "string"
          }
        }
      }
    },
    "next" : {
      "type" : "string"
    },
    "prev" : {
      "type" : "string"
    }
  }
}
XML
<?xml version="1.0" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:element name="diameterMediationOCSConfig" type="DiameterMediationOCSConfigsEntryType"/>

  <xs:element name="diameterMediationOCSConfigs" type="DiameterMediationOCSConfigsType"/>

  <xs:element name="link" type="LinkType"/>

  <xs:complexType name="DiameterMediationOCSConfigsType">
    <xs:sequence>
      <xs:element ref="diameterMediationOCSConfig" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="next" type="xs:string"/>
    <xs:attribute name="prev" type="xs:string"/>
  </xs:complexType>

  <xs:complexType name="DiameterMediationOCSConfigsEntryType">
    <xs:complexContent>
      <xs:extension base="simpleEntry">
        <xs:sequence>
          <xs:element name="selectionKey" type="xs:string" minOccurs="0"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>

  <xs:complexType name="simpleEntry" abstract="true">
    <xs:sequence>
      <xs:element name="name" type="xs:string" minOccurs="0"/>
      <xs:element name="resources" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element ref="link" minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="LinkType">
    <xs:sequence/>
    <xs:attribute name="rel" type="xs:string"/>
    <xs:attribute name="href" type="xs:string"/>
    <xs:attribute name="title" type="xs:string"/>
  </xs:complexType>
</xs:schema>

DiameterMediationConfig

Class: com.opencloud.sentinel.provisioning.diametermediation.DiameterMediationConfig

JSON
{
  "type" : "object",
  "properties" : {
    "closeSessionOnErrorBehaviour" : {
      "type" : "string"
    },
    "vtTimerEnabled" : {
      "type" : "boolean",
      "required" : true
    },
    "vtTimerOffset" : {
      "type" : "integer"
    }
  }
}
XML
<?xml version="1.0" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:element name="diameterMediationConfig" type="DiameterMediationConfigType"/>

  <xs:complexType name="DiameterMediationConfigType">
    <xs:sequence>
      <xs:element name="closeSessionOnErrorBehaviour" type="xs:string" minOccurs="0"/>
      <xs:element name="vtTimerEnabled" type="xs:boolean"/>
      <xs:element name="vtTimerOffset" type="xs:int"/>
    </xs:sequence>
  </xs:complexType>
</xs:schema>

DiameterMediationConfigs

Class: com.opencloud.sentinel.rest.server.resources.diametermediation.DiameterMediationConfigResource$DiameterMediationConfigs

JSON
{
  "type" : "object",
  "properties" : {
    "entries" : {
      "type" : "array",
      "items" : {
        "type" : "object",
        "properties" : {
          "name" : {
            "type" : "string"
          },
          "resources" : {
            "type" : "array",
            "items" : {
              "type" : "object",
              "properties" : {
                "rel" : {
                  "type" : "string"
                },
                "href" : {
                  "type" : "string"
                },
                "title" : {
                  "type" : "string"
                }
              }
            }
          },
          "selectionKey" : {
            "type" : "string"
          }
        }
      }
    },
    "next" : {
      "type" : "string"
    },
    "prev" : {
      "type" : "string"
    }
  }
}
XML
<?xml version="1.0" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:element name="diameterMediationConfig" type="DiameterMediationConfigsEntryType"/>

  <xs:element name="diameterMediationConfigs" type="DiameterMediationConfigsType"/>

  <xs:element name="link" type="LinkType"/>

  <xs:complexType name="DiameterMediationConfigsType">
    <xs:sequence>
      <xs:element ref="diameterMediationConfig" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="next" type="xs:string"/>
    <xs:attribute name="prev" type="xs:string"/>
  </xs:complexType>

  <xs:complexType name="DiameterMediationConfigsEntryType">
    <xs:complexContent>
      <xs:extension base="simpleEntry">
        <xs:sequence>
          <xs:element name="selectionKey" type="xs:string" minOccurs="0"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>

  <xs:complexType name="simpleEntry" abstract="true">
    <xs:sequence>
      <xs:element name="name" type="xs:string" minOccurs="0"/>
      <xs:element name="resources" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element ref="link" minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="LinkType">
    <xs:sequence/>
    <xs:attribute name="rel" type="xs:string"/>
    <xs:attribute name="href" type="xs:string"/>
    <xs:attribute name="title" type="xs:string"/>
  </xs:complexType>
</xs:schema>
Previous page Next page