The Sentinel REM extension provides a RESTful HTTP provisioning API.
To use the Sentinel Provisioning REST Web Interface and Machine API, you will need to configure a Rhino instance using the Rhino Element Manager (REM). |
The Sentinel SDK contains a Python script called sentinel-rest-example in the build/bin directory. It implements the examples discussed here and a few more. View the script source for requirements and usage instructions. |
This page covers
Accessing the Provisioning REST API
To access the Provisioning REST API:
1 |
Ensure the Sentinel REM extension is installed in REM. |
---|---|
2 |
Start REM. |
3 |
Access the Sentinel Provisioning API at [http://localhost:8080/rem/sentinel/api] (replace localhost with some other hostname if REM is not being run locally). |
Access is restricted to users configured through REM using HTTP BASIC authorization. If you’re using a web browser, it will prompt you to enter a username and password the first time you access any part of the API. |
Listing and browsing resources
Listing resources
You can find a listing of all available resources at the top-level URL for the API (for example, [http://localhost:8080/rem/sentinel/api]).
The list can be in either:
-
HTML format (for viewing in a browser)
-
an APP Service Document (application/atomsvc+xml), that can be parsed by a scripted client.
Browsing resources
From the top-level API URL, you can browse into the available resources. Each resource in turn lists its own sub-resources. All of the sub-resources require a rhinoInstanceId query parameter. This should exactly match the name of a Rhino instance configured in REM (such as rhinoInstanceId=Local). Most of the sub-resources also require a selectionKey query parameter in the form of platformOperator:networkOperator:sessionType:planId:subscriptionId - such as selectionKey=OpenCloud::::
Example 1:
http://localhost:8080/rem/sentinel/api/featureexecutionscripts returns a sub-resource listing for feature execution scripts:
<feature>
<name>FeatureExecutionScripts</name>
<resources>
<link title="Feature Execution Scripts" href="http://localhost:8080/rem/sentinel/api/featureexecutionscripts/scripts" rel="entries"/>
<link title="Feature Execution Script Execution Point Associations" href="http://localhost:8080/rem/sentinel/api/featureexecutionscripts/executionpoints" rel="associations"/>
</resources>
</feature>
Example 2:
- Following the entries relation to the scripts resource, by adding the rhinoInstanceId and selectionKey parameters, http://localhost:8080/rem/sentinel/api/featureexecutionscripts/scripts?rhinoInstanceId=Local&selectionKey=OpenCloud
-
returns a paged listing of feature execution scripts configured in your local Rhino instance for platform operator OpenCloud:
<featureExecutionScripts next="http://localhost:8080/rem/sentinel/api/featureexecutionscripts/scripts?rhinoInstanceId=Local&selectionKey=OpenCloud::::&page=2">
<featureExecutionScript>
<name>default_DiameterAccess_NetworkPreCreditCheck</name>
<resources>
<link title="default_DiameterAccess_NetworkPreCreditCheck" href="http://localhost:8080/rem/sentinel/api/featureexecutionscripts/scripts/default_DiameterAccess_NetworkPreCreditCheck?rhinoInstanceId=Local&selectionKey=OpenCloud::::" rel="config"/>
</resources>
</featureExecutionScript>
...
<featureExecutionScript>
<name>default_Mediation_CreditAllocatedPostOcsCC</name>
<resources>
<link title="default_Mediation_CreditAllocatedPostOcsCC" href="http://localhost:8080/rem/sentinel/api/featureexecutionscripts/scripts/default_Mediation_CreditAllocatedPostOcsCC?rhinoInstanceId=Local&selectionKey=OpenCloud::::" rel="config"/>
</resources>
</featureExecutionScript>
</featureExecutionScripts>
-
The next and prev attributes contain the URLs for the next and previous pages of results.
-
The link entries contain the URLs for accessing the individual feature execution script resource entities.
Specifying content type
By default, the API accepts and returns application/xml, but also supports application/json. To request content in JSON format, simple set the http Accept request header to application/json.
For example:
{{wget --header='Accept: application/json' ...}}
for {{.../featureexecutionscripts/scripts/default_DirectAccess_SessionStart?rhinoInstanceId=Local&selectionKey=OpenCloud::::}}
returns a JSON object representing the requested feature execution script.
{"featureExecutionScript": {
"name": "default_DirectAccess_SessionStart",
"src": "featurescript OnSessionStart { if not currentNextStep.refuseDialog and not currentNextStep.relayDialog { run AcceptCamelVoiceV1V2V3 } }"
}}
Provisioning using simple tools and scripts
Higher-level clients can be used to interact with the REST API from Java or other application code, but you really just need to be able to make HTTP requests. See these examples:
Adding a feature execution script with curl (XML)
Request |
curl -H 'Accept: application/xml' \ -H 'Content-Type: application/xml' \ -i -w '\nHTTP STATUS: %{http_code}\nTIME: %{time_total}\n' \ -X POST \ -u "username:password" \ -d "<featureExecutionScript><name>my_new_feature_script</name><src>featurescript newScript { }</src></featureExecutionScript>" \ "http://localhost:8080/rem/sentinel/api/featureexecutionscripts/scripts?rhinoInstanceId=Local&selectionKey=OpenCloud::::" |
---|---|
Response |
HTTP/1.1 201 Created Date: Tue, 13 Sep 2011 20:42:15 GMT Location: http://localhost:8080/rem/sentinel/api/featureexecutionscripts/scripts/my_new_feature_script?rhinoInstanceId=Local&selectionKey=OpenCloud:::: Content-Length: 0 Server: Jetty(6.1.24) |
Adding a subscriber with curl (JSON)
Request |
curl -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ -i -w '\nHTTP STATUS: %{http_code}\nTIME: %{time_total}\n' \ -X POST \ -u "username:password" \ -d '{ "name": "34600000002", "subscriberData": [ {"name": "FriendsAndFamilyEnabled", "type": "Boolean", "valueBoolean": "true"}, {"name": "FriendsAndFamilyList", "type": "StringArray", "valueArray": ["34600000001"] } ] }' \ "http://localhost:8080/rem/sentinel/api/subscriberdata/records?rhinoInstanceId=Local&selectionKey=OpenCloud::::" |
---|---|
Response |
HTTP/1.1 201 Created Date: Tue, 13 Sep 2011 21:07:03 GMT Location: http://localhost:8080/rem/sentinel/api/subscriberdata/records/34600000002?rhinoInstanceId=Local&selectionKey=OpenCloud:::: Content-Length: 0 Server: Jetty(6.1.24) |
Turning on HomeZone for a subscriber using Ruby (JSON)
require 'rubygems'
require 'json'
require 'net/http'
Net::HTTP.start('localhost', '8080') {|http|
req = Net::HTTP::Get.new('/rem/sentinel/api/subscriberdata/records/34600000003?rhinoInstanceId=Local&selectionKey=OpenCloud::::', {'Accept' => 'application/json'})
req.basic_auth 'username', 'password'
response = http.request(req)
subscriber = JSON.parse(response.body)
subscriber['subscriberData'].each {|item|
if item['name'] == 'HomeZoneEnabled'
item['valueBoolean'] = true;
end
}
req = Net::HTTP::Put.new('/rem/sentinel/api/subscriberdata/records/34600000003?rhinoInstanceId=Local&selectionKey=OpenCloud::::', {'Content-Type' => 'application/json'})
req.basic_auth 'username', 'password'
response = http.request(req, JSON.generate(subscriber))
}
Result codes and error responses
The Provisioning REST API returns the following Result codes and Error responses
Result codes
The API returns these codes
Result code |
Description |
200 OK |
The request to list or retrieve a record was successful |
201 Created |
The record posted was successfully created |
204 No Content |
The update or delete operation was successful |
400 Bad Request |
Incorrectly configured request. Check the response body for specific error information |
401 Unauthorized |
The request was not authorized. Check that the username and password are correct in the request |
404 Not Found |
The requested resource could not be found. Check the response body for specific error information |
406 Not Acceptable |
The requested media type is not supported |
500 Internal Server Error |
An internal error occurred while processing the request. Check the response body for specific error information |
Error responses
You can find more information for result codes 400, 404, and 500 in an error response entity in the response body, in the requested content type (XML or JSON). For example:
XML
<error>
<type>...</type>
<message>...</message>
</error>
JSON
{
"type": "...",
"message": "..."
}
Here are the possible responses:
Error type |
Associated Result Code |
Description |
CollectionNotFound |
404 Not Found |
The collection/table/scope containing the requested entity could not be found |
EntityNotFound |
404 Not Found |
The requested entity could not be found |
EntityMissing |
400 Bad Request |
Post request did not contain an entity in the request body |
EntityAlreadyExists |
400 Bad Request |
Post request attempted to create an entity that already exists |
RequiredParameterMissing |
400 Bad Request |
A required query parameter was not provided |
ParameterInvalid |
400 Bad Request |
One of the query parameters provided was invalid |
RequestInconsistent |
400 Bad Request |
Put request attempted to update an entity with an id/name in the request body that didn’t match the id/name in the URL |
ServerError |
500 Internal Server Error |
An internal error occurred while processing the request |
PageNotFound |
404 Not Found |
The requested page of the paged resource listing could not be found |
NotAcceptable |
406 Not Acceptable |
Requested media type is not supported (XML-only response, since media type could not be determined) |
Activity Test REST API
Resource Activity Test
Resource |
Activity Test |
---|---|
Workspace |
Sentinel Services |
Path |
/activitytest |
Operations
Operation |
Retrieve a list of sub-resources offered by this resource |
---|---|
Request Method |
GET |
Path |
/activitytest |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
/activitytest/config
Operation |
Create a new Activity Test Config entry |
---|---|
Request Method |
POST |
Path |
/activitytest/config |
Parameters |
|
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 Activity Test Config entry or a listing of Activity Test Config entries |
---|---|
Request Method |
GET |
Path |
/activitytest/config |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
If scope is provided: ActivityTestConfig Otherwise: ActivityTestConfigs |
Operation |
Update an existing Activity Test Config entry |
---|---|
Request Method |
PUT |
Path |
/activitytest/config |
Parameters |
|
Request Body |
|
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
Operation |
Delete an existing Activity Test Config entry |
---|---|
Request Method |
DELETE |
Path |
/activitytest/config |
Parameters |
|
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>
ActivityTestConfig
Class: com.opencloud.sentinel.provisioning.activitytest.ActivityTestConfig
JSON
{
"type" : "object",
"properties" : {
"timerModeType" : {
"type" : "string"
},
"fixedDuration" : {
"type" : "number"
},
"chargingPeriodMultiple" : {
"type" : "number"
},
"activityTestInvokeTimeout" : {
"type" : "number"
},
"randomPeriod" : {
"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="activityTestConfig" type="ActivityTestConfigType"/>
<xs:complexType name="ActivityTestConfigType">
<xs:sequence>
<xs:element name="timerModeType" type="xs:string" minOccurs="0"/>
<xs:element name="fixedDuration" type="xs:long"/>
<xs:element name="chargingPeriodMultiple" type="xs:double"/>
<xs:element name="activityTestInvokeTimeout" type="xs:long"/>
<xs:element name="randomPeriod" type="xs:long"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
ActivityTestConfigs
Class: com.opencloud.sentinel.rest.server.resources.activitytest.ActivityTestConfigResource$ActivityTestConfigs
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="activityTestConfig" type="ActivityTestConfigsEntryType"/>
<xs:element name="activityTestConfigs" type="ActivityTestConfigsType"/>
<xs:element name="link" type="LinkType"/>
<xs:complexType name="ActivityTestConfigsType">
<xs:sequence>
<xs:element ref="activityTestConfig" 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="ActivityTestConfigsEntryType">
<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>
Call Information Report REST API
Resource Call Information Report
Resource |
Call Information Report |
---|---|
Workspace |
Sentinel Services |
Path |
/callinformationreport |
Operations
Operation |
Retrieve a list of sub-resources offered by this resource |
---|---|
Request Method |
GET |
Path |
/callinformationreport |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
/callinformationreport/config
Operation |
Create a new Call Information Report Config entry |
---|---|
Request Method |
POST |
Path |
/callinformationreport/config |
Parameters |
|
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 Call Information Report Config entry or a listing of Call Information Report Config entries |
---|---|
Request Method |
GET |
Path |
/callinformationreport/config |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
If scope is provided: CallInformationReportConfig Otherwise: CallInformationReportConfigs |
Operation |
Update an existing Call Information Report Config entry |
---|---|
Request Method |
PUT |
Path |
/callinformationreport/config |
Parameters |
|
Request Body |
|
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
Operation |
Delete an existing Call Information Report Config entry |
---|---|
Request Method |
DELETE |
Path |
/callinformationreport/config |
Parameters |
|
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>
CallInformationReportConfig
Class: com.opencloud.sentinel.provisioning.callinformationreport.CallInformationReportConfig
JSON
{
"type" : "object",
"properties" : {
"suppressOriginatingPartyCallInfoReport" : {
"type" : "boolean",
"required" : true
},
"suppressTerminatingPartyCallInfoReport" : {
"type" : "boolean",
"required" : true
},
"callAlertingTimeIsChargeable" : {
"type" : "boolean",
"required" : true
},
"callAlertingTimePrereservationSeconds" : {
"type" : "integer"
},
"cirTimeout" : {
"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="callInformationReportConfig" type="CallInformationReportConfigType"/>
<xs:complexType name="CallInformationReportConfigType">
<xs:sequence>
<xs:element name="suppressOriginatingPartyCallInfoReport" type="xs:boolean"/>
<xs:element name="suppressTerminatingPartyCallInfoReport" type="xs:boolean"/>
<xs:element name="callAlertingTimeIsChargeable" type="xs:boolean"/>
<xs:element name="callAlertingTimePrereservationSeconds" type="xs:int"/>
<xs:element name="cirTimeout" type="xs:int"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
CallInformationReportConfigs
Class: com.opencloud.sentinel.rest.server.resources.callinformationreport.CallInformationReportConfigResource$CallInformationReportConfigs
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="callInformationReportConfig" type="CallInformationReportConfigsEntryType"/>
<xs:element name="callInformationReportConfigs" type="CallInformationReportConfigsType"/>
<xs:element name="link" type="LinkType"/>
<xs:complexType name="CallInformationReportConfigsType">
<xs:sequence>
<xs:element ref="callInformationReportConfig" 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="CallInformationReportConfigsEntryType">
<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>
Cassandra Subscriber Data Store REST API
Resource Cassandra Subscriber Data Store
Resource |
Cassandra Subscriber Data Store |
---|---|
Workspace |
Sentinel Services |
Path |
/cassandrabasedsubscriberdatastore |
Operations
Operation |
Retrieve a list of sub-resources offered by this resource |
---|---|
Request Method |
GET |
Path |
/cassandrabasedsubscriberdatastore |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
/cassandrabasedsubscriberdatastore/config
Operation |
Create a new Cassandra Subscriber Data Store Config entry |
---|---|
Request Method |
POST |
Path |
/cassandrabasedsubscriberdatastore/config |
Parameters |
|
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 Cassandra Subscriber Data Store Config entry or a listing of Cassandra Subscriber Data Store Config entries |
---|---|
Request Method |
GET |
Path |
/cassandrabasedsubscriberdatastore/config |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
If scope is provided: CassandraBasedSubscriberDataStoreConfig Otherwise: CassandraBasedSubscriberDataStoreConfigs |
Operation |
Update an existing Cassandra Subscriber Data Store Config entry |
---|---|
Request Method |
PUT |
Path |
/cassandrabasedsubscriberdatastore/config |
Parameters |
|
Request Body |
|
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
Operation |
Delete an existing Cassandra Subscriber Data Store Config entry |
---|---|
Request Method |
DELETE |
Path |
/cassandrabasedsubscriberdatastore/config |
Parameters |
|
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>
CassandraBasedSubscriberDataStoreConfig
Class: com.opencloud.sentinel.provisioning.registrar.CassandraBasedSubscriberDataStoreConfig
JSON
{
"type" : "object",
"properties" : {
"cassandraTTL" : {
"type" : "integer"
},
"cassandraTracing" : {
"type" : "boolean",
"required" : true
}
}
}
XML
<?xml version="1.0" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="cassandraBasedSubscriberDataStoreConfig" type="CassandraBasedSubscriberDataStoreConfigType"/>
<xs:complexType name="CassandraBasedSubscriberDataStoreConfigType">
<xs:sequence>
<xs:element name="cassandraTTL" type="xs:int"/>
<xs:element name="cassandraTracing" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
CassandraBasedSubscriberDataStoreConfigs
Class: com.opencloud.sentinel.rest.server.resources.registrar.CassandraBasedSubscriberDataStoreConfigResource$CassandraBasedSubscriberDataStoreConfigs
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="cassandraBasedSubscriberDataStoreConfig" type="CassandraBasedSubscriberDataStoreConfigsEntryType"/>
<xs:element name="cassandraBasedSubscriberDataStoreConfigs" type="CassandraBasedSubscriberDataStoreConfigsType"/>
<xs:element name="link" type="LinkType"/>
<xs:complexType name="CassandraBasedSubscriberDataStoreConfigsType">
<xs:sequence>
<xs:element ref="cassandraBasedSubscriberDataStoreConfig" 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="CassandraBasedSubscriberDataStoreConfigsEntryType">
<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>
Correlation REST API
Resource Correlation
Resource |
Correlation |
---|---|
Workspace |
Sentinel Services |
Path |
/correlation |
Operations
Operation |
Retrieve a listing of correlation RA entities with links to sub-resources |
---|---|
Request Method |
GET |
Path |
/correlation |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
/correlation/{raEntityName}/config
Operation |
Create a new correlation config |
---|---|
Request Method |
POST |
Path |
/correlation/{raEntityName}/config |
Parameters |
|
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 correlation config |
---|---|
Request Method |
GET |
Path |
/correlation/{raEntityName}/config |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
Operation |
Update an existing correlation config |
---|---|
Request Method |
PUT |
Path |
/correlation/{raEntityName}/config |
Parameters |
|
Request Body |
|
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
Operation |
Delete an existing correlation config |
---|---|
Request Method |
DELETE |
Path |
/correlation/{raEntityName}/config |
Parameters |
|
Request Body |
Not used |
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
/correlation/{raEntityName}/pools
Operation |
Create a new correlation id pool |
---|---|
Request Method |
POST |
Path |
/correlation/{raEntityName}/pools |
Parameters |
|
Request Body |
|
Success Result |
201 Created |
Response Headers |
Location — contains the URL to access the created record |
Response Body |
Not used |
Operation |
Retrieve a listing of correlation id pools |
---|---|
Request Method |
GET |
Path |
/correlation/{raEntityName}/pools |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
Operation |
Update an existing correlation id pool config |
---|---|
Request Method |
PUT |
Path |
/correlation/{raEntityName}/pools/{poolName} |
Parameters |
|
Request Body |
|
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
Operation |
Delete an existing correlation id pool |
---|---|
Request Method |
DELETE |
Path |
/correlation/{raEntityName}/pools/{poolName} |
Parameters |
|
Request Body |
Not used |
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
Operation |
Retrieve an existing correlation id pool config |
---|---|
Request Method |
GET |
Path |
/correlation/{raEntityName}/pools/{poolName} |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
Schemas
CorrelationRAEntities
Class: com.opencloud.sentinel.rest.correlation.CorrelationRAEntities
JSON
{
"type" : "object",
"properties" : {
"raEntities" : {
"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"
}
}
}
}
}
}
},
"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="correlationRAEntities" type="CorrelationRAEntitiesType"/>
<xs:element name="link" type="LinkType"/>
<xs:element name="raEntity" type="CorrelationRAEntityType"/>
<xs:complexType name="CorrelationRAEntitiesType">
<xs:sequence>
<xs:element ref="raEntity" 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="CorrelationRAEntityType">
<xs:complexContent>
<xs:extension base="simpleEntry">
<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>
CorrelationConfig
Class: com.opencloud.sentinel.provisioning.correlation.CorrelationConfig
JSON
{
"type" : "object",
"properties" : {
"correlationIDExpiryTimerPeriod" : {
"type" : "number"
},
"numberOfThreadPool" : {
"type" : "integer"
},
"requestTimeout" : {
"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="correlationConfig" type="CorrelationConfigType"/>
<xs:complexType name="CorrelationConfigType">
<xs:sequence>
<xs:element name="correlationIDExpiryTimerPeriod" type="xs:long"/>
<xs:element name="numberOfThreadPool" type="xs:int"/>
<xs:element name="requestTimeout" type="xs:long"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
CorrelationIdPool
Class: com.opencloud.sentinel.provisioning.correlation.CorrelationIdPool
JSON
{
"type" : "object",
"properties" : {
"name" : {
"type" : "string"
},
"addressPrefixes" : {
"type" : "array",
"items" : {
"type" : "string"
}
},
"correlationIDNumberOfDigits" : {
"type" : "integer"
},
"correlationIDRangePerNode" : {
"type" : "array",
"items" : {
"type" : "integer"
}
},
"isPreconfiguredCorrelationIdSetUsed" : {
"type" : "boolean",
"required" : true
},
"maxCorrelationIDInCluster" : {
"type" : "number"
},
"minCorrelationIDInCluster" : {
"type" : "number"
},
"nodeIds" : {
"type" : "array",
"items" : {
"type" : "integer"
}
},
"preconfiguredCorrelationIdSet" : {
"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="correlationIdPool" type="CorrelationIdPoolType"/>
<xs:complexType name="CorrelationIdPoolType">
<xs:sequence>
<xs:element name="name" type="xs:string" minOccurs="0"/>
<xs:element name="addressPrefixes" 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:element name="correlationIDNumberOfDigits" type="xs:int"/>
<xs:element name="correlationIDRangePerNode" nillable="true" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="value" type="xs:int" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="isPreconfiguredCorrelationIdSetUsed" type="xs:boolean"/>
<xs:element name="maxCorrelationIDInCluster" type="xs:long"/>
<xs:element name="minCorrelationIDInCluster" type="xs:long"/>
<xs:element name="nodeIds" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="value" type="xs:int" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="preconfiguredCorrelationIdSet" 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>
CorrelationIdPools
Class: com.opencloud.sentinel.rest.server.resources.correlation.CorrelationIdPoolResource$CorrelationIdPools
JSON
{
"type" : "object",
"properties" : {
"idPools" : {
"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"
}
}
}
}
}
}
},
"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="correlationIdPools" type="CorrelationIdPoolsType"/>
<xs:element name="idPool" type="CorrelationIdPoolEntryType"/>
<xs:element name="link" type="LinkType"/>
<xs:complexType name="CorrelationIdPoolsType">
<xs:sequence>
<xs:element ref="idPool" 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="CorrelationIdPoolEntryType">
<xs:complexContent>
<xs:extension base="simpleEntry">
<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>
Diameter Determine Network Operator REST API
Resource Diameter Determine Network Operator
Resource |
Diameter Determine Network Operator |
---|---|
Workspace |
Sentinel Services |
Path |
/diameterdeterminenetworkoperator |
Operations
Operation |
Retrieve a list of sub-resources offered by this resource |
---|---|
Request Method |
GET |
Path |
/diameterdeterminenetworkoperator |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
/diameterdeterminenetworkoperator/config
Operation |
Retrieve a listing of Diameter Determine Network Operator config entries |
---|---|
Request Method |
GET |
Path |
/diameterdeterminenetworkoperator/config |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
Operation |
Create a new Diameter Determine Network Operator config |
---|---|
Request Method |
POST |
Path |
/diameterdeterminenetworkoperator/config |
Parameters |
|
Request Body |
|
Success Result |
201 Created |
Response Headers |
Location — contains the URL to access the created record |
Response Body |
Not used |
Operation |
Update an existing Diameter Determine Network Operator config |
---|---|
Request Method |
PUT |
Path |
/diameterdeterminenetworkoperator/config/{mccMnc} |
Parameters |
|
Request Body |
|
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
Operation |
Delete an existing Diameter Determine Network Operator config |
---|---|
Request Method |
DELETE |
Path |
/diameterdeterminenetworkoperator/config/{mccMnc} |
Parameters |
|
Request Body |
Not used |
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
Operation |
Retrieve an existing Diameter Determine Network Operator config |
---|---|
Request Method |
GET |
Path |
/diameterdeterminenetworkoperator/config/{mccMnc} |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
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>
DiameterDetermineNetworkOperatorMccMncs
Class: com.opencloud.sentinel.rest.common.DiameterDetermineNetworkOperatorMccMncs
JSON
{
"type" : "object",
"properties" : {
"mccMncs" : {
"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"
}
}
}
}
}
}
},
"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="diameterDetermineNetworkOperatorMccMncs" type="DiameterDetermineNetworkOperatorMccMncsType"/>
<xs:element name="link" type="LinkType"/>
<xs:element name="mccMnc" type="DiameterDetermineNetworkOperatorMccMncsEntryType"/>
<xs:complexType name="DiameterDetermineNetworkOperatorMccMncsType">
<xs:sequence>
<xs:element ref="mccMnc" 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="DiameterDetermineNetworkOperatorMccMncsEntryType">
<xs:complexContent>
<xs:extension base="simpleEntry">
<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>
DiameterDetermineNetworkOperatorConfig
Class: com.opencloud.sentinel.provisioning.diameterdeterminenetworkoperator.DiameterDetermineNetworkOperatorConfig
JSON
{
"type" : "object",
"properties" : {
"mccMnc" : {
"type" : "string"
},
"networkOperator" : {
"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="diameterDetermineNetworkOperatorConfig" type="DiameterDetermineNetworkOperatorConfigType"/>
<xs:complexType name="DiameterDetermineNetworkOperatorConfigType">
<xs:sequence>
<xs:element name="mccMnc" type="xs:string" minOccurs="0"/>
<xs:element name="networkOperator" type="xs:string" nillable="true" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
Diameter Mediation REST API
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
If scope is provided: DiameterMediationTccTimerConfig Otherwise: DiameterMediationTccTimerConfigs |
Operation |
Update an existing Diameter Mediation TCC Timer Config entry |
---|---|
Request Method |
PUT |
Path |
/diametermediation/tcctimerconfig |
Parameters |
|
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 |
|
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 |
|
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 |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
If scope is provided: DiameterMediationServiceIdConfig Otherwise: DiameterMediationServiceIdConfigs |
Operation |
Update an existing Diameter Mediation Service IDs entry |
---|---|
Request Method |
PUT |
Path |
/diametermediation/serviceids |
Parameters |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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>
Diameter Sentinel REST API
Resource Diameter Sentinel
Resource |
Diameter Sentinel |
---|---|
Workspace |
Sentinel Services |
Path |
/diametersentinel |
Operations
Operation |
Retrieve a list of sub-resources offered by this resource |
---|---|
Request Method |
GET |
Path |
/diametersentinel |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
/diametersentinel/config
Operation |
Create a new Diameter Sentinel Config entry |
---|---|
Request Method |
POST |
Path |
/diametersentinel/config |
Parameters |
|
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 Sentinel Config entry or a listing of Diameter Sentinel Config entries |
---|---|
Request Method |
GET |
Path |
/diametersentinel/config |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
If scope is provided: DiameterSentinelConfig Otherwise: DiameterSentinelConfigs |
Operation |
Update an existing Diameter Sentinel Config entry |
---|---|
Request Method |
PUT |
Path |
/diametersentinel/config |
Parameters |
|
Request Body |
|
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
Operation |
Delete an existing Diameter Sentinel Config entry |
---|---|
Request Method |
DELETE |
Path |
/diametersentinel/config |
Parameters |
|
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>
DiameterSentinelConfig
Class: com.opencloud.sentinel.provisioning.diameter.DiameterSentinelConfig
JSON
{
"type" : "object",
"properties" : {
"creditFinalisationWaitingTime" : {
"type" : "number"
},
"suppressAbortSessionRequest" : {
"type" : "boolean",
"required" : true
}
}
}
XML
<?xml version="1.0" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="diameterSentinelConfig" type="DiameterSentinelConfigType"/>
<xs:complexType name="DiameterSentinelConfigType">
<xs:sequence>
<xs:element name="creditFinalisationWaitingTime" type="xs:long"/>
<xs:element name="suppressAbortSessionRequest" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
DiameterSentinelConfigs
Class: com.opencloud.sentinel.rest.server.resources.diameter.DiameterSentinelConfigResource$DiameterSentinelConfigs
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="diameterSentinelConfig" type="DiameterSentinelConfigsEntryType"/>
<xs:element name="diameterSentinelConfigs" type="DiameterSentinelConfigsType"/>
<xs:element name="link" type="LinkType"/>
<xs:complexType name="DiameterSentinelConfigsType">
<xs:sequence>
<xs:element ref="diameterSentinelConfig" 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="DiameterSentinelConfigsEntryType">
<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>
Feature Execution Scripts REST API
Resource Feature Execution Scripts
Resource |
Feature Execution Scripts |
---|---|
Workspace |
Sentinel Services |
Path |
/featureexecutionscripts |
Operations
Operation |
Retrieve a list of sub-resources offered by this resource |
---|---|
Request Method |
GET |
Path |
/featureexecutionscripts |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
/featureexecutionscripts/executionpoints
Operation |
Retrieve a listing of Feature Execution Scripts Config entries |
---|---|
Request Method |
GET |
Path |
/featureexecutionscripts/executionpoints |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
Operation |
Create a new Feature Execution Scripts Config entry |
---|---|
Request Method |
POST |
Path |
/featureexecutionscripts/executionpoints |
Parameters |
|
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 Feature Execution Scripts Config entry |
---|---|
Request Method |
GET |
Path |
/featureexecutionscripts/executionpoints/{featureExecutionPointName} |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
Operation |
Update an existing Feature Execution Scripts Config entry |
---|---|
Request Method |
PUT |
Path |
/featureexecutionscripts/executionpoints/{featureExecutionPointName} |
Parameters |
|
Request Body |
|
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
Operation |
Delete an existing Feature Execution Scripts Config entry |
---|---|
Request Method |
DELETE |
Path |
/featureexecutionscripts/executionpoints/{featureExecutionPointName} |
Parameters |
|
Request Body |
Not used |
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
/featureexecutionscripts/scripts
Operation |
Retrieve a listing of feature execution scripts |
---|---|
Request Method |
GET |
Path |
/featureexecutionscripts/scripts |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
Operation |
Create a new feature execution script |
---|---|
Request Method |
POST |
Path |
/featureexecutionscripts/scripts |
Parameters |
|
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 feature execution script |
---|---|
Request Method |
GET |
Path |
/featureexecutionscripts/scripts/{scriptName} |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
Operation |
Update an existing feature execution script |
---|---|
Request Method |
PUT |
Path |
/featureexecutionscripts/scripts/{scriptName} |
Parameters |
|
Request Body |
|
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
Operation |
Delete an existing feature execution script |
---|---|
Request Method |
DELETE |
Path |
/featureexecutionscripts/scripts/{scriptName} |
Parameters |
|
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>
FeatureExecutionScriptAssociations
Class: com.opencloud.sentinel.rest.server.resources.FeatureExecutionScriptAssociationResource$FeatureExecutionScriptAssociations
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="featureExecutionScriptAssociation" type="FeatureExecutionScriptAssociationsEntryType"/>
<xs:element name="featureExecutionScriptAssociations" type="FeatureExecutionScriptAssociationsType"/>
<xs:element name="link" type="LinkType"/>
<xs:complexType name="FeatureExecutionScriptAssociationsType">
<xs:sequence>
<xs:element ref="featureExecutionScriptAssociation" 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="FeatureExecutionScriptAssociationsEntryType">
<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>
FeatureExecutionScriptAssociation
Class: com.opencloud.sentinel.provisioning.featurescript.FeatureExecutionScriptAssociation
JSON
{
"type" : "object",
"properties" : {
"featureExecutionPointName" : {
"type" : "string"
},
"featureExecutionScriptName" : {
"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="featureExecutionScriptAssociation" type="FeatureExecutionScriptAssociationType"/>
<xs:complexType name="FeatureExecutionScriptAssociationType">
<xs:sequence>
<xs:element name="featureExecutionPointName" type="xs:string" minOccurs="0"/>
<xs:element name="featureExecutionScriptName" type="xs:string" nillable="true" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
FeatureExecutionScripts
Class: com.opencloud.sentinel.rest.common.FeatureExecutionScripts
JSON
{
"type" : "object",
"properties" : {
"scripts" : {
"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"
}
}
}
}
}
}
},
"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="featureExecutionScript" type="FeatureExecutionScriptsEntryType"/>
<xs:element name="featureExecutionScripts" type="FeatureExecutionScriptsType"/>
<xs:element name="link" type="LinkType"/>
<xs:complexType name="FeatureExecutionScriptsType">
<xs:sequence>
<xs:element ref="featureExecutionScript" 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="FeatureExecutionScriptsEntryType">
<xs:complexContent>
<xs:extension base="simpleEntry">
<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>
FeatureExecutionScript
Class: com.opencloud.sentinel.provisioning.featurescript.FeatureExecutionScript
JSON
{
"type" : "object",
"properties" : {
"name" : {
"type" : "string"
},
"src" : {
"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="featureExecutionScript" type="FeatureExecutionScriptType"/>
<xs:complexType name="FeatureExecutionScriptType">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
<xs:element name="src" type="xs:string" nillable="true" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
Features REST API
Resource Features
Resource |
Features |
---|---|
Workspace |
Sentinel Services |
Path |
/features |
Operations
Operation |
Retrieve a list of features that can be configured |
---|---|
Request Method |
GET |
Path |
/features |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
/features/{featureKey}
Operation |
Retrieve a list of sub-resources for the specified feature |
---|---|
Request Method |
GET |
Path |
/features/{featureKey} |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
/features/{featureKey}/addresslists/{schemaName}
Operation |
Retrieve a listing of address lists |
---|---|
Request Method |
GET |
Path |
/features/{featureKey}/addresslists/{schemaName} |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
/features/{featureKey}/addresslists/{schemaName}/config
Operation |
Create a new address list |
---|---|
Request Method |
POST |
Path |
/features/{featureKey}/addresslists/{schemaName}/config |
Parameters |
|
Request Body |
|
Success Result |
201 Created |
Response Headers |
Location — contains the URL to access the created record |
Response Body |
Not used |
Operation |
Retrieve address list configuration |
---|---|
Request Method |
GET |
Path |
/features/{featureKey}/addresslists/{schemaName}/config/{listName} |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
Operation |
Update an existing address list config |
---|---|
Request Method |
PUT |
Path |
/features/{featureKey}/addresslists/{schemaName}/config/{listName} |
Parameters |
|
Request Body |
|
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
Operation |
Delete an existing address list |
---|---|
Request Method |
DELETE |
Path |
/features/{featureKey}/addresslists/{schemaName}/config/{listName} |
Parameters |
|
Request Body |
Not used |
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
/features/{featureKey}/addresslists/{schemaName}/lists
Operation |
Retrieve a listing of address list entries |
---|---|
Request Method |
GET |
Path |
/features/{featureKey}/addresslists/{schemaName}/lists/{listName} |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
Operation |
Create a new address list entry |
---|---|
Request Method |
POST |
Path |
/features/{featureKey}/addresslists/{schemaName}/lists/{listName} |
Parameters |
|
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 address list entry |
---|---|
Request Method |
GET |
Path |
/features/{featureKey}/addresslists/{schemaName}/lists/{listName}/{address} |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
Operation |
Update an existing address list entry |
---|---|
Request Method |
PUT |
Path |
/features/{featureKey}/addresslists/{schemaName}/lists/{listName}/{address} |
Parameters |
|
Request Body |
|
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
Operation |
Delete an existing address list entry |
---|---|
Request Method |
DELETE |
Path |
/features/{featureKey}/addresslists/{schemaName}/lists/{listName}/{address} |
Parameters |
|
Request Body |
Not used |
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
/features/{featureKey}/configuration
Operation |
Update an existing feature config entry |
---|---|
Request Method |
PUT |
Path |
/features/{featureKey}/configuration/{configType} |
Parameters |
|
Request Body |
|
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
Operation |
Update an existing feature config entry |
---|---|
Request Method |
PUT |
Path |
/features/{featureKey}/configuration/{configType}/{configId} |
Parameters |
|
Request Body |
|
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
Operation |
Delete an existing feature config entry |
---|---|
Request Method |
DELETE |
Path |
/features/{featureKey}/configuration/{configType} |
Parameters |
|
Request Body |
Not used |
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
Operation |
Delete an existing feature config entry |
---|---|
Request Method |
DELETE |
Path |
/features/{featureKey}/configuration/{configType}/{configId} |
Parameters |
|
Request Body |
Not used |
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
Operation |
Retrieve feature configuration for the specified feature |
---|---|
Request Method |
GET |
Path |
/features/{featureKey}/configuration/{configType} |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
If scope is provided: FeatureConfiguration Otherwise: FeatureConfigs |
Operation |
Retrieve feature configuration for the specified feature |
---|---|
Request Method |
GET |
Path |
/features/{featureKey}/configuration/{configType}/{configId} |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
Operation |
Create a new feature config entry |
---|---|
Request Method |
POST |
Path |
/features/{featureKey}/configuration/{configType} |
Parameters |
|
Request Body |
|
Success Result |
201 Created |
Response Headers |
Location — contains the URL to access the created record |
Response Body |
Not used |
Schemas
Features
Class: com.opencloud.sentinel.rest.server.resources.FeaturesResource$Features
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"
}
}
}
}
}
}
}
}
}
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="features" type="FeaturesType"/>
<xs:element name="link" type="LinkType"/>
<xs:complexType name="FeaturesType">
<xs:sequence>
<xs:element ref="feature" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<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>
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>
AddressLists
Class: com.opencloud.sentinel.rest.common.AddressLists
JSON
{
"type" : "object",
"properties" : {
"lists" : {
"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"
}
}
}
}
}
}
},
"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="addressList" type="AddressListsEntryType"/>
<xs:element name="addressLists" type="AddressListsType"/>
<xs:element name="link" type="LinkType"/>
<xs:complexType name="AddressListsType">
<xs:sequence>
<xs:element ref="addressList" 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="AddressListsEntryType">
<xs:complexContent>
<xs:extension base="simpleEntry">
<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>
AddressListConfig
Class: com.opencloud.sentinel.provisioning.addresslists.AddressListConfig
JSON
{
"type" : "object",
"properties" : {
"name" : {
"type" : "string"
},
"description" : {
"type" : "string"
},
"defaultSearchMode" : {
"type" : "integer"
},
"shouldCache" : {
"type" : "boolean",
"required" : true
},
"version" : {
"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="addressListConfig" type="AddressListConfigType"/>
<xs:complexType name="AddressListConfigType">
<xs:sequence>
<xs:element name="name" type="xs:string" minOccurs="0"/>
<xs:element name="description" type="xs:string" minOccurs="0"/>
<xs:element name="defaultSearchMode" type="xs:int"/>
<xs:element name="shouldCache" type="xs:boolean"/>
<xs:element name="version" type="xs:long"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
AddressListEntries
Class: com.opencloud.sentinel.rest.common.AddressListEntries
JSON
{
"type" : "object",
"properties" : {
"addresses" : {
"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"
}
}
}
}
}
}
},
"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="addressListEntries" type="AddressListEntriesType"/>
<xs:element name="addressListEntry" type="AddressListEntriesEntryType"/>
<xs:element name="link" type="LinkType"/>
<xs:complexType name="AddressListEntriesType">
<xs:sequence>
<xs:element ref="addressListEntry" 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="AddressListEntriesEntryType">
<xs:complexContent>
<xs:extension base="simpleEntry">
<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>
AddressListEntryExt
Class: com.opencloud.sentinel.provisioning.addresslists.AddressListEntryExt
JSON
{
"type" : "object",
"properties" : {
"attributes" : {
"type" : "object"
},
"address" : {
"type" : "string"
},
"description" : {
"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="addressListEntry" type="AddressListEntryType"/>
<xs:element name="addressListEntryExt" type="AddressListEntryExtType"/>
<xs:complexType name="AddressListEntryExtType">
<xs:complexContent>
<xs:extension base="AddressListEntryType">
<xs:sequence>
<xs:element name="attributes">
<xs:complexType>
<xs:sequence>
<xs:element name="entry" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="key" minOccurs="0" type="xs:string"/>
<xs:element name="value" minOccurs="0" type="profileAttribute"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="AddressListEntryType">
<xs:sequence>
<xs:element name="address" type="xs:string" minOccurs="0"/>
<xs:element name="description" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="profileAttribute">
<xs:sequence>
<xs:element name="array" type="xs:boolean"/>
<xs:element name="name" type="xs:string" minOccurs="0"/>
<xs:element name="valueArray" type="xs:string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="valueString" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
FeatureConfiguration
Class: com.opencloud.sentinel.provisioning.featureconfig.FeatureConfiguration
XML
<?xml version="1.0" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="featureConfiguration" type="FeatureConfigurationType"/>
<xs:complexType name="FeatureConfigurationType">
<xs:sequence>
<xs:element name="attributes">
<xs:complexType>
<xs:sequence>
<xs:element name="entry" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="key" minOccurs="0" type="xs:string"/>
<xs:element name="value" minOccurs="0" type="profileAttribute"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="profileAttribute">
<xs:sequence>
<xs:element name="array" type="xs:boolean"/>
<xs:element name="name" type="xs:string" minOccurs="0"/>
<xs:element name="valueArray" type="xs:string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="valueString" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
FeatureConfigs
Class: com.opencloud.sentinel.rest.common.FeatureConfigs
JSON
{
"type" : "object",
"properties" : {
"configs" : {
"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"
}
}
}
}
}
}
},
"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="featureConfig" type="FeatureConfigsEntryType"/>
<xs:element name="featureConfigs" type="FeatureConfigsType"/>
<xs:element name="link" type="LinkType"/>
<xs:complexType name="FeatureConfigsType">
<xs:sequence>
<xs:element ref="featureConfig" 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="FeatureConfigsEntryType">
<xs:complexContent>
<xs:extension base="simpleEntry">
<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>
HTTP Determine Network Operator REST API
Resource HTTP Determine Network Operator
Resource |
HTTP Determine Network Operator |
---|---|
Workspace |
Sentinel Services |
Path |
/httpdeterminenetworkoperator |
Operations
Operation |
Retrieve a list of sub-resources offered by this resource |
---|---|
Request Method |
GET |
Path |
/httpdeterminenetworkoperator |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
/httpdeterminenetworkoperator/config
Operation |
Retrieve a listing of HTTP Determine Network Operator config entries |
---|---|
Request Method |
GET |
Path |
/httpdeterminenetworkoperator/config |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
Operation |
Create a new HTTP Determine Network Operator config |
---|---|
Request Method |
POST |
Path |
/httpdeterminenetworkoperator/config |
Parameters |
|
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 HTTP Determine Network Operator config |
---|---|
Request Method |
GET |
Path |
/httpdeterminenetworkoperator/config/{httpFieldValue} |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
Operation |
Update an existing HTTP Determine Network Operator config |
---|---|
Request Method |
PUT |
Path |
/httpdeterminenetworkoperator/config/{httpFieldValue} |
Parameters |
|
Request Body |
|
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
Operation |
Delete an existing HTTP Determine Network Operator config |
---|---|
Request Method |
DELETE |
Path |
/httpdeterminenetworkoperator/config/{httpFieldValue} |
Parameters |
|
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>
HttpDetermineNetworkOperatorFieldValues
Class: com.opencloud.sentinel.rest.common.HttpDetermineNetworkOperatorFieldValues
JSON
{
"type" : "object",
"properties" : {
"httpFieldValues" : {
"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"
}
}
}
}
}
}
},
"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="httpDetermineNetworkOperatorFieldValues" type="HttpDetermineNetworkOperatorFieldValuesType"/>
<xs:element name="httpFieldValue" type="HttpDetermineNetworkOperatorFieldValuesEntryType"/>
<xs:element name="link" type="LinkType"/>
<xs:complexType name="HttpDetermineNetworkOperatorFieldValuesType">
<xs:sequence>
<xs:element ref="httpFieldValue" 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="HttpDetermineNetworkOperatorFieldValuesEntryType">
<xs:complexContent>
<xs:extension base="simpleEntry">
<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>
HttpDetermineNetworkOperatorConfig
Class: com.opencloud.sentinel.provisioning.httpdeterminenetworkoperator.HttpDetermineNetworkOperatorConfig
JSON
{
"type" : "object",
"properties" : {
"httpFieldValue" : {
"type" : "string"
},
"networkOperator" : {
"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="httpDetermineNetworkOperatorConfig" type="HttpDetermineNetworkOperatorConfigType"/>
<xs:complexType name="HttpDetermineNetworkOperatorConfigType">
<xs:sequence>
<xs:element name="httpFieldValue" type="xs:string" minOccurs="0"/>
<xs:element name="networkOperator" type="xs:string" nillable="true" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
Home Zone REST API
Resource Home Zone
Resource |
Home Zone |
---|---|
Workspace |
Sentinel Services |
Path |
/homezone |
Operations
Operation |
Retrieve a list of sub-resources offered by this resource |
---|---|
Request Method |
GET |
Path |
/homezone |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
/homezone/sqlconfig
Operation |
Create a new Home Zone SQL Config entry |
---|---|
Request Method |
POST |
Path |
/homezone/sqlconfig |
Parameters |
|
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 Home Zone SQL Config entry or a listing of Home Zone SQL Config entries |
---|---|
Request Method |
GET |
Path |
/homezone/sqlconfig |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
If scope is provided: HomeZoneSql Otherwise: HomeZoneSqls |
Operation |
Update an existing Home Zone SQL Config entry |
---|---|
Request Method |
PUT |
Path |
/homezone/sqlconfig |
Parameters |
|
Request Body |
|
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
Operation |
Delete an existing Home Zone SQL Config entry |
---|---|
Request Method |
DELETE |
Path |
/homezone/sqlconfig |
Parameters |
|
Request Body |
Not used |
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
/homezone/config
Operation |
Retrieve an existing Home Zone Config entry or a listing of Home Zone Config entries |
---|---|
Request Method |
GET |
Path |
/homezone/config |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
If scope is provided: HomeZoneConfig Otherwise: HomeZoneConfigs |
Operation |
Create a new Home Zone Config entry |
---|---|
Request Method |
POST |
Path |
/homezone/config |
Parameters |
|
Request Body |
|
Success Result |
201 Created |
Response Headers |
Location — contains the URL to access the created record |
Response Body |
Not used |
Operation |
Update an existing Home Zone Config entry |
---|---|
Request Method |
PUT |
Path |
/homezone/config |
Parameters |
|
Request Body |
|
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
Operation |
Delete an existing Home Zone Config entry |
---|---|
Request Method |
DELETE |
Path |
/homezone/config |
Parameters |
|
Request Body |
Not used |
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
/homezone/zones
Operation |
Create a new home zone zone |
---|---|
Request Method |
POST |
Path |
/homezone/zones |
Parameters |
|
Request Body |
|
Success Result |
201 Created |
Response Headers |
Location — contains the URL to access the created record |
Response Body |
Not used |
Operation |
Retrieve a listing of home zone zones |
---|---|
Request Method |
GET |
Path |
/homezone/zones |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
Operation |
Retrieve an existing home zone zone config |
---|---|
Request Method |
GET |
Path |
/homezone/zones/{name} |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
Operation |
Update an existing home zone zone config |
---|---|
Request Method |
PUT |
Path |
/homezone/zones/{name} |
Parameters |
|
Request Body |
|
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
Operation |
Delete an existing home zone zone |
---|---|
Request Method |
DELETE |
Path |
/homezone/zones/{name} |
Parameters |
|
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>
HomeZoneSql
Class: com.opencloud.sentinel.provisioning.homezone.HomeZoneSql
JSON
{
"type" : "object",
"properties" : {
"zoneLookupSQL" : {
"type" : "string"
},
"zoneInsertSQL" : {
"type" : "string"
},
"zoneUpdateSQL" : {
"type" : "string"
},
"zoneDeleteSQL" : {
"type" : "string"
},
"zoneListingSQL" : {
"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="homeZoneSql" type="HomeZoneSqlType"/>
<xs:complexType name="HomeZoneSqlType">
<xs:sequence>
<xs:element name="zoneLookupSQL" type="xs:string" minOccurs="0"/>
<xs:element name="zoneInsertSQL" type="xs:string" minOccurs="0"/>
<xs:element name="zoneUpdateSQL" type="xs:string" minOccurs="0"/>
<xs:element name="zoneDeleteSQL" type="xs:string" minOccurs="0"/>
<xs:element name="zoneListingSQL" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
HomeZoneSqls
Class: com.opencloud.sentinel.rest.server.resources.homezone.HomeZoneSqlResource$HomeZoneSqls
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="homeZoneSql" type="HomeZoneSqlsEntryType"/>
<xs:element name="homeZoneSqls" type="HomeZoneSqlsType"/>
<xs:element name="link" type="LinkType"/>
<xs:complexType name="HomeZoneSqlsType">
<xs:sequence>
<xs:element ref="homeZoneSql" 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="HomeZoneSqlsEntryType">
<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>
HomeZoneConfig
Class: com.opencloud.sentinel.provisioning.homezone.HomeZoneConfig
XML
<?xml version="1.0" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="homeZoneConfig" type="HomeZoneConfigType"/>
<xs:complexType name="HomeZoneConfigType">
<xs:sequence>
<xs:element name="lookupType" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
HomeZoneConfigs
Class: com.opencloud.sentinel.rest.server.resources.homezone.HomeZoneConfigResource$HomeZoneConfigs
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="homeZoneConfig" type="HomeZoneConfigsEntryType"/>
<xs:element name="homeZoneConfigs" type="HomeZoneConfigsType"/>
<xs:element name="link" type="LinkType"/>
<xs:complexType name="HomeZoneConfigsType">
<xs:sequence>
<xs:element ref="homeZoneConfig" 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="HomeZoneConfigsEntryType">
<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>
HomeZoneZone
Class: com.opencloud.sentinel.provisioning.homezone.HomeZoneZone
JSON
{
"type" : "object",
"properties" : {
"name" : {
"type" : "string"
},
"locationTypes" : {
"type" : "array",
"items" : {
"type" : "string"
}
},
"mCC" : {
"type" : "array",
"items" : {
"type" : "string"
}
},
"mNC" : {
"type" : "array",
"items" : {
"type" : "string"
}
},
"lAC" : {
"type" : "array",
"items" : {
"type" : "integer"
}
},
"cIOrSAC" : {
"type" : "array",
"items" : {
"type" : "integer"
}
},
"locationDescriptions" : {
"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="homeZoneZone" type="HomeZoneZoneType"/>
<xs:complexType name="HomeZoneZoneType">
<xs:sequence>
<xs:element name="name" type="xs:string" minOccurs="0"/>
<xs:element name="locationTypes" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="value" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="mCC" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="value" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="mNC" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="value" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="lAC" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="value" type="xs:int" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="cIOrSAC" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="value" type="xs:int" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="locationDescriptions" 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>
HomeZoneZones
Class: com.opencloud.sentinel.rest.server.resources.homezone.HomeZoneZonesResource$HomeZoneZones
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"
}
}
}
}
}
}
},
"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="homeZoneZone" type="HomeZoneZonesEntryType"/>
<xs:element name="homeZoneZones" type="HomeZoneZonesType"/>
<xs:element name="link" type="LinkType"/>
<xs:complexType name="HomeZoneZonesType">
<xs:sequence>
<xs:element ref="homeZoneZone" 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="HomeZoneZonesEntryType">
<xs:complexContent>
<xs:extension base="simpleEntry">
<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>
Mappers REST API
Resource Mappers
Resource |
Mappers |
---|---|
Workspace |
Sentinel Services |
Path |
/mappers |
Operations
Operation |
Retrieve a list of sub-resources offered by this resource |
---|---|
Request Method |
GET |
Path |
/mappers |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
/mappers/mappersets
Operation |
Retrieve a listing of mapper sets |
---|---|
Request Method |
GET |
Path |
/mappers/mappersets |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
Operation |
Create a new mapper set |
---|---|
Request Method |
POST |
Path |
/mappers/mappersets |
Parameters |
|
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 mapper set config |
---|---|
Request Method |
GET |
Path |
/mappers/mappersets/{mapperSetName} |
Parameters |
|
Request Body |
Not used |
Success Result |
200 OK |
Response Headers |
None |
Response Body |
Operation |
Update an existing mapper set config |
---|---|
Request Method |
PUT |
Path |
/mappers/mappersets/{mapperSetName} |
Parameters |
|
Request Body |
|
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |
Operation |
Delete an existing mapper set |
---|---|
Request Method |
DELETE |
Path |
/mappers/mappersets/{mapperSetName} |
Parameters |
|
Request Body |
Not used |
Success Result |
204 No content |
Response Headers |
None |
Response Body |
Not used |