<script>
// Script section to load models into a JS Var
var defs = {}
- defs["authorization_result"] = {\r
- "required" : [ "result" ],\r
- "type" : "object",\r
- "properties" : {\r
- "result" : {\r
- "type" : "boolean",\r
- "description" : "If true, the access is granted"\r
- }\r
- },\r
- "description" : "Result of authorization",\r
- "example" : {\r
- "result" : true\r
- }\r
+ defs["authorization_result"] = {
+ "required" : [ "result" ],
+ "type" : "object",
+ "properties" : {
+ "result" : {
+ "type" : "boolean",
+ "description" : "If true, the access is granted"
+ }
+ },
+ "description" : "Result of authorization",
+ "example" : {
+ "result" : true
+ }
};
- defs["error_information"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "detail" : {\r
- "type" : "string",\r
- "description" : " A human-readable explanation specific to this occurrence of the problem.",\r
- "example" : "Policy type not found"\r
- },\r
- "title" : {\r
- "type" : "string",\r
- "description" : "A specific error name",\r
- "example" : "Not Found"\r
- },\r
- "status" : {\r
- "type" : "integer",\r
- "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",\r
- "format" : "int32",\r
- "example" : 404\r
- }\r
- },\r
- "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"\r
+ defs["error_information"] = {
+ "type" : "object",
+ "properties" : {
+ "detail" : {
+ "type" : "string",
+ "description" : " A human-readable explanation specific to this occurrence of the problem.",
+ "example" : "Policy type not found"
+ },
+ "title" : {
+ "type" : "string",
+ "description" : "A specific error name",
+ "example" : "Not Found"
+ },
+ "status" : {
+ "type" : "integer",
+ "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",
+ "format" : "int32",
+ "example" : 404
+ }
+ },
+ "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"
};
- defs["input"] = {\r
- "required" : [ "access_type", "auth_token", "policy_type_id" ],\r
- "type" : "object",\r
- "properties" : {\r
- "access_type" : {\r
- "type" : "string",\r
- "description" : "Access type",\r
- "enum" : [ "READ", "WRITE", "DELETE" ]\r
- },\r
- "auth_token" : {\r
- "type" : "string",\r
- "description" : "Authorization token"\r
- },\r
- "policy_type_id" : {\r
- "type" : "string",\r
- "description" : "Policy type identifier"\r
- }\r
- },\r
- "description" : "input"\r
+ defs["input"] = {
+ "required" : [ "access_type", "auth_token", "policy_type_id" ],
+ "type" : "object",
+ "properties" : {
+ "access_type" : {
+ "type" : "string",
+ "description" : "Access type",
+ "enum" : [ "READ", "WRITE", "DELETE" ]
+ },
+ "auth_token" : {
+ "type" : "string",
+ "description" : "Authorization token"
+ },
+ "policy_type_id" : {
+ "type" : "string",
+ "description" : "Policy type identifier"
+ }
+ },
+ "description" : "input"
};
- defs["Link"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "templated" : {\r
- "type" : "boolean"\r
- },\r
- "href" : {\r
- "type" : "string"\r
- }\r
- }\r
+ defs["Link"] = {
+ "type" : "object",
+ "properties" : {
+ "templated" : {
+ "type" : "boolean"
+ },
+ "href" : {
+ "type" : "string"
+ }
+ }
};
- defs["policy_authorization"] = {\r
- "required" : [ "input" ],\r
- "type" : "object",\r
- "properties" : {\r
- "input" : {\r
- "$ref" : "#/components/schemas/input"\r
- }\r
- },\r
- "description" : "Authorization request for A1 policy requests"\r
+ defs["policy_authorization"] = {
+ "required" : [ "input" ],
+ "type" : "object",
+ "properties" : {
+ "input" : {
+ "$ref" : "#/components/schemas/input"
+ }
+ },
+ "description" : "Authorization request for A1 policy requests"
};
- defs["policy_id_list"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "policy_ids" : {\r
- "type" : "array",\r
- "description" : "Policy identities",\r
- "items" : {\r
- "type" : "string",\r
- "description" : "Policy identities"\r
- }\r
- }\r
- },\r
- "description" : "A list of policy identities",\r
- "example" : {\r
- "policy_ids" : [ "policy_ids", "policy_ids" ]\r
- }\r
+ defs["policy_id_list"] = {
+ "type" : "object",
+ "properties" : {
+ "policy_ids" : {
+ "type" : "array",
+ "description" : "Policy identities",
+ "items" : {
+ "type" : "string",
+ "description" : "Policy identities"
+ }
+ }
+ },
+ "description" : "A list of policy identities",
+ "example" : {
+ "policy_ids" : [ "policy_ids", "policy_ids" ]
+ }
};
- defs["policy_info"] = {\r
- "required" : [ "policy_data", "policy_id", "policytype_id", "ric_id" ],\r
- "type" : "object",\r
- "properties" : {\r
- "ric_id" : {\r
- "type" : "string",\r
- "description" : "identity of the target Near-RT RIC"\r
- },\r
- "policy_id" : {\r
- "type" : "string",\r
- "description" : "identity of the policy"\r
- },\r
- "transient" : {\r
- "type" : "boolean",\r
- "description" : "if true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",\r
- "nullable" : false,\r
- "example" : false,\r
- "default" : false\r
- },\r
- "service_id" : {\r
- "type" : "string",\r
- "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",\r
- "default" : ""\r
- },\r
- "policy_data" : {\r
- "type" : "object",\r
- "description" : "the configuration of the policy"\r
- },\r
- "status_notification_uri" : {\r
- "type" : "string",\r
- "description" : "Callback URI for policy status updates"\r
- },\r
- "policytype_id" : {\r
- "type" : "string",\r
- "description" : "identity of the policy type"\r
- }\r
- },\r
- "description" : "Information for one A1-P Policy"\r
+ defs["policy_info"] = {
+ "required" : [ "policy_data", "policy_id", "policytype_id", "ric_id" ],
+ "type" : "object",
+ "properties" : {
+ "ric_id" : {
+ "type" : "string",
+ "description" : "identity of the target Near-RT RIC"
+ },
+ "policy_id" : {
+ "type" : "string",
+ "description" : "identity of the policy"
+ },
+ "transient" : {
+ "type" : "boolean",
+ "description" : "if true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",
+ "nullable" : false,
+ "example" : false,
+ "default" : false
+ },
+ "service_id" : {
+ "type" : "string",
+ "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
+ "default" : ""
+ },
+ "policy_data" : {
+ "type" : "object",
+ "description" : "the configuration of the policy"
+ },
+ "status_notification_uri" : {
+ "type" : "string",
+ "description" : "Callback URI for policy status updates"
+ },
+ "policytype_id" : {
+ "type" : "string",
+ "description" : "identity of the policy type"
+ }
+ },
+ "description" : "Information for one A1-P Policy"
};
- defs["policy_info_list"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "policies" : {\r
- "type" : "array",\r
- "description" : "List of policy information",\r
- "items" : {\r
- "$ref" : "#/components/schemas/policy_info"\r
- }\r
- }\r
- },\r
- "description" : "List of policy information"\r
+ defs["policy_info_list"] = {
+ "type" : "object",
+ "properties" : {
+ "policies" : {
+ "type" : "array",
+ "description" : "List of policy information",
+ "items" : {
+ "$ref" : "#/components/schemas/policy_info"
+ }
+ }
+ },
+ "description" : "List of policy information"
};
- defs["policy_status_info"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "last_modified" : {\r
- "type" : "string",\r
- "description" : "timestamp, last modification time"\r
- },\r
- "status" : {\r
- "type" : "object",\r
- "description" : "the Policy status"\r
- }\r
- },\r
- "description" : "Status for one A1-P Policy"\r
+ defs["policy_status_info"] = {
+ "type" : "object",
+ "properties" : {
+ "last_modified" : {
+ "type" : "string",
+ "description" : "timestamp, last modification time"
+ },
+ "status" : {
+ "type" : "object",
+ "description" : "the Policy status"
+ }
+ },
+ "description" : "Status for one A1-P Policy"
};
- defs["policy_type_definition"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "policy_schema" : {\r
- "type" : "object",\r
- "description" : "Policy type json schema. The schema is a json object following http://json-schema.org/draft-07/schema"\r
- }\r
- },\r
- "description" : "Contains policy type schema definition"\r
+ defs["policy_type_definition"] = {
+ "type" : "object",
+ "properties" : {
+ "policy_schema" : {
+ "type" : "object",
+ "description" : "Policy type json schema. The schema is a json object following http://json-schema.org/draft-07/schema"
+ }
+ },
+ "description" : "Contains policy type schema definition"
};
- defs["policy_type_id_list"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "policytype_ids" : {\r
- "type" : "array",\r
- "description" : "Policy type identities",\r
- "items" : {\r
- "type" : "string",\r
- "description" : "Policy type identities"\r
- }\r
- }\r
- },\r
- "description" : "Information about policy types"\r
+ defs["policy_type_id_list"] = {
+ "type" : "object",
+ "properties" : {
+ "policytype_ids" : {
+ "type" : "array",
+ "description" : "Policy type identities",
+ "items" : {
+ "type" : "string",
+ "description" : "Policy type identities"
+ }
+ }
+ },
+ "description" : "Information about policy types"
};
- defs["ric_info"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "ric_id" : {\r
- "type" : "string",\r
- "description" : "identity of the Near-RT RIC"\r
- },\r
- "managed_element_ids" : {\r
- "type" : "array",\r
- "description" : "O1 identities for managed entities",\r
- "items" : {\r
- "type" : "string",\r
- "description" : "O1 identities for managed entities"\r
- }\r
- },\r
- "state" : {\r
- "type" : "string",\r
- "description" : "Represents the states for a Near-RT RIC",\r
- "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]\r
- },\r
- "policytype_ids" : {\r
- "type" : "array",\r
- "description" : "supported policy types",\r
- "items" : {\r
- "type" : "string",\r
- "description" : "supported policy types"\r
- }\r
- }\r
- },\r
- "description" : "Information for a Near-RT RIC"\r
+ defs["ric_info"] = {
+ "type" : "object",
+ "properties" : {
+ "ric_id" : {
+ "type" : "string",
+ "description" : "identity of the Near-RT RIC"
+ },
+ "managed_element_ids" : {
+ "type" : "array",
+ "description" : "O1 identities for managed entities",
+ "items" : {
+ "type" : "string",
+ "description" : "O1 identities for managed entities"
+ }
+ },
+ "state" : {
+ "type" : "string",
+ "description" : "Represents the states for a Near-RT RIC",
+ "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]
+ },
+ "policytype_ids" : {
+ "type" : "array",
+ "description" : "supported policy types",
+ "items" : {
+ "type" : "string",
+ "description" : "supported policy types"
+ }
+ }
+ },
+ "description" : "Information for a Near-RT RIC"
};
- defs["ric_info_list"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "rics" : {\r
- "type" : "array",\r
- "description" : "List of Near-RT RIC information",\r
- "items" : {\r
- "$ref" : "#/components/schemas/ric_info"\r
- }\r
- }\r
- },\r
- "description" : "List of Near-RT RIC information"\r
+ defs["ric_info_list"] = {
+ "type" : "object",
+ "properties" : {
+ "rics" : {
+ "type" : "array",
+ "description" : "List of Near-RT RIC information",
+ "items" : {
+ "$ref" : "#/components/schemas/ric_info"
+ }
+ }
+ },
+ "description" : "List of Near-RT RIC information"
};
- defs["service_callback_info_v2"] = {\r
- "required" : [ "event_type", "ric_id" ],\r
- "type" : "object",\r
- "properties" : {\r
- "ric_id" : {\r
- "type" : "string",\r
- "description" : "identity of a Near-RT RIC"\r
- },\r
- "event_type" : {\r
- "type" : "string",\r
- "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",\r
- "enum" : [ "AVAILABLE" ]\r
- }\r
- },\r
- "description" : "Information transferred as in Service callbacks (callback_url)"\r
+ defs["service_callback_info_v2"] = {
+ "required" : [ "event_type", "ric_id" ],
+ "type" : "object",
+ "properties" : {
+ "ric_id" : {
+ "type" : "string",
+ "description" : "identity of a Near-RT RIC"
+ },
+ "event_type" : {
+ "type" : "string",
+ "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",
+ "enum" : [ "AVAILABLE" ]
+ }
+ },
+ "description" : "Information transferred as in Service callbacks (callback_url)"
};
- defs["service_registration_info"] = {\r
- "required" : [ "service_id" ],\r
- "type" : "object",\r
- "properties" : {\r
- "callback_url" : {\r
- "type" : "string",\r
- "description" : "callback for notifying of Near-RT RIC state changes"\r
- },\r
- "service_id" : {\r
- "type" : "string",\r
- "description" : "identity of the service"\r
- },\r
- "keep_alive_interval_seconds" : {\r
- "type" : "integer",\r
- "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",\r
- "format" : "int64"\r
- }\r
- },\r
- "description" : "Information for one service"\r
+ defs["service_registration_info"] = {
+ "required" : [ "service_id" ],
+ "type" : "object",
+ "properties" : {
+ "callback_url" : {
+ "type" : "string",
+ "description" : "callback for notifying of Near-RT RIC state changes"
+ },
+ "service_id" : {
+ "type" : "string",
+ "description" : "identity of the service"
+ },
+ "keep_alive_interval_seconds" : {
+ "type" : "integer",
+ "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",
+ "format" : "int64"
+ }
+ },
+ "description" : "Information for one service"
};
- defs["service_status"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "callback_url" : {\r
- "type" : "string",\r
- "description" : "callback for notifying of RIC synchronization"\r
- },\r
- "service_id" : {\r
- "type" : "string",\r
- "description" : "identity of the service"\r
- },\r
- "keep_alive_interval_seconds" : {\r
- "type" : "integer",\r
- "description" : "policy keep alive timeout",\r
- "format" : "int64"\r
- },\r
- "time_since_last_activity_seconds" : {\r
- "type" : "integer",\r
- "description" : "time since last invocation by the service",\r
- "format" : "int64"\r
- }\r
- }\r
+ defs["service_status"] = {
+ "type" : "object",
+ "properties" : {
+ "callback_url" : {
+ "type" : "string",
+ "description" : "callback for notifying of RIC synchronization"
+ },
+ "service_id" : {
+ "type" : "string",
+ "description" : "identity of the service"
+ },
+ "keep_alive_interval_seconds" : {
+ "type" : "integer",
+ "description" : "policy keep alive timeout",
+ "format" : "int64"
+ },
+ "time_since_last_activity_seconds" : {
+ "type" : "integer",
+ "description" : "time since last invocation by the service",
+ "format" : "int64"
+ }
+ }
};
- defs["service_status_list"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "service_list" : {\r
- "type" : "array",\r
- "description" : "List of service information",\r
- "items" : {\r
- "$ref" : "#/components/schemas/service_status"\r
- }\r
- }\r
- }\r
+ defs["service_status_list"] = {
+ "type" : "object",
+ "properties" : {
+ "service_list" : {
+ "type" : "array",
+ "description" : "List of service information",
+ "items" : {
+ "$ref" : "#/components/schemas/service_status"
+ }
+ }
+ }
};
- defs["status_info"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "status" : {\r
- "type" : "string",\r
- "description" : "status text"\r
- }\r
- }\r
+ defs["status_info"] = {
+ "type" : "object",
+ "properties" : {
+ "status" : {
+ "type" : "string",
+ "description" : "status text"
+ }
+ }
};
<div id="responses-A1PolicyManagement-deletePolicy-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy deleted",\r
- "content" : {\r
- "*/*" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/void"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy deleted",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-423" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/error_information"\r
- },\r
- "example" : {\r
- "status" : 423,\r
- "title" : "Locked",\r
- "detail" : "Requested resource is in a locked state."\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "Requested resource is in a locked state."
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy found",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/policy_info"\r
- },\r
- "examples" : {\r
- "policy_info" : {\r
- "$ref" : "#/components/examples/policy_info"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy found",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_info"
+ },
+ "examples" : {
+ "policy_info" : {
+ "$ref" : "#/components/examples/policy_info"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "example" : [ ]\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyIds-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy identities",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/policy_id_list"\r
- },\r
- "examples" : {\r
- "policy_id_list" : {\r
- "$ref" : "#/components/examples/policy_id_list"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy identities",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_id_list"
+ },
+ "examples" : {
+ "policy_id_list" : {
+ "$ref" : "#/components/examples/policy_id_list"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyIds-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "example" : [ ]\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyInstances-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Returns A1 Policies which matches the criteria",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/policy_info_list"\r
- },\r
- "examples" : {\r
- "policy_info_list" : {\r
- "$ref" : "#/components/examples/policy_info_list"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Returns A1 Policies which matches the criteria",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_info_list"
+ },
+ "examples" : {
+ "policy_info_list" : {
+ "$ref" : "#/components/examples/policy_info_list"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyInstances-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found - Near-RT RIC, policy type or service not found",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/error_information"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found - Near-RT RIC, policy type or service not found",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy status",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/policy_status_info"\r
- },\r
- "examples" : {\r
- "policy_status_info" : {\r
- "$ref" : "#/components/examples/policy_status_info"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy status",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_status_info"
+ },
+ "examples" : {
+ "policy_status_info" : {
+ "$ref" : "#/components/examples/policy_status_info"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "example" : [ ]\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - schema of the given policy type",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/policy_type_definition"\r
- },\r
- "examples" : {\r
- "policy_type_definition" : {\r
- "$ref" : "#/components/examples/policy_type_definition"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - schema of the given policy type",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_type_definition"
+ },
+ "examples" : {
+ "policy_type_definition" : {
+ "$ref" : "#/components/examples/policy_type_definition"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "example" : [ ]\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy Type IDs Found",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/policy_type_id_list"\r
- },\r
- "examples" : {\r
- "policy_type_id_list" : {\r
- "$ref" : "#/components/examples/policy_type_id_list"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy Type IDs Found",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_type_id_list"
+ },
+ "examples" : {
+ "policy_type_id_list" : {
+ "$ref" : "#/components/examples/policy_type_id_list"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "example" : [ ]\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/policy_info"\r
- }\r
- }\r
- },\r
- "required" : true\r
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_info"
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
<div id="responses-A1PolicyManagement-putPolicy-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy updated",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/void"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy updated",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-201" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Created - Policy created",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/void"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Created - Policy created",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-423" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/error_information"\r
- },\r
- "example" : {\r
- "status" : 423,\r
- "title" : "Locked",\r
- "detail" : "Requested resource is in a locked state."\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "Requested resource is in a locked state."
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/policy_authorization"\r
- }\r
- }\r
- },\r
- "required" : true\r
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_authorization"
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
<div id="responses-AuthorizationAPI-performAccessControl-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/authorization_result"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/authorization_result"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-AuthorizationAPI-performAccessControl-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/error_information"\r
- },\r
- "example" : {\r
- "status" : 403,\r
- "title" : "Forbidden",\r
- "detail" : "Your role does not allow to perform this action. Contact System Administrator to change your access rights."\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ },
+ "example" : {
+ "status" : 403,
+ "title" : "Forbidden",
+ "detail" : "Your role does not allow to perform this action. Contact System Administrator to change your access rights."
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-Configuration-getConfiguration-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Configuration",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "type" : "string"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Configuration",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-Configuration-getConfiguration-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "example" : [ ]\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "type" : "object"\r
- }\r
- }\r
- },\r
- "required" : true\r
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
<div id="responses-Configuration-putConfiguration-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Configuration updated",\r
- "content" : {\r
- "*/*" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/void"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Configuration updated",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-Configuration-putConfiguration-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/error_information"\r
- },\r
- "example" : {\r
- "status" : 400,\r
- "title" : "Bad Request",\r
- "detail" : "The provided request is not valid."\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ },
+ "example" : {
+ "status" : 400,
+ "title" : "Bad Request",
+ "detail" : "The provided request is not valid."
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-HealthCheck-getStatus-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK- Service is living Ok",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/status_info"\r
- },\r
- "examples" : {\r
- "status_info" : {\r
- "$ref" : "#/components/examples/status_info"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK- Service is living Ok",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/status_info"
+ },
+ "examples" : {
+ "status_info" : {
+ "$ref" : "#/components/examples/status_info"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-HealthCheck-getStatusV1-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Service is living",\r
- "content" : {\r
- "*/*" : {\r
- "schema" : {\r
- "type" : "string"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Service is living",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-NearRTRICRepository-getRic-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Near-RT RIC is found",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ric_info"\r
- },\r
- "examples" : {\r
- "ric_info" : {\r
- "$ref" : "#/components/examples/ric_info"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Near-RT RIC is found",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ric_info"
+ },
+ "examples" : {
+ "ric_info" : {
+ "$ref" : "#/components/examples/ric_info"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-NearRTRICRepository-getRic-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "example" : [ ]\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-NearRTRICRepository-getRics-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ric_info_list"\r
- },\r
- "examples" : {\r
- "ric_info_list" : {\r
- "$ref" : "#/components/examples/ric_info_list"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ric_info_list"
+ },
+ "examples" : {
+ "ric_info_list" : {
+ "$ref" : "#/components/examples/ric_info_list"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-NearRTRICRepository-getRics-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "example" : [ ]\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-deleteService-schema-204" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "No Content - Service unregistered",\r
- "content" : {\r
- "*/*" : {\r
- "schema" : {\r
- "type" : "object"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "No Content - Service unregistered",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-deleteService-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "example" : [ ]\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-getServices-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/service_status_list"\r
- },\r
- "examples" : {\r
- "service_status_list" : {\r
- "$ref" : "#/components/examples/service_status_list"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/service_status_list"
+ },
+ "examples" : {
+ "service_status_list" : {
+ "$ref" : "#/components/examples/service_status_list"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-getServices-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "example" : [ ]\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Service supervision timer refreshed, OK",\r
- "content" : {\r
- "*/*" : {\r
- "schema" : {\r
- "type" : "object"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Service supervision timer refreshed, OK",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "example" : [ ]\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/service_registration_info"\r
- }\r
- }\r
- },\r
- "required" : true\r
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/service_registration_info"
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
<div id="responses-ServiceRegistryAndSupervision-putService-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Service updated",\r
- "content" : {\r
- "*/*" : {\r
- "schema" : {\r
- "type" : "object"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Service updated",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-putService-schema-201" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Created - Service created",\r
- "content" : {\r
- "*/*" : {\r
- "schema" : {\r
- "type" : "object"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Created - Service created",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-putService-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/error_information"\r
- },\r
- "example" : {\r
- "status" : 400,\r
- "title" : "Bad Request",\r
- "detail" : "The provided request is not valid."\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ },
+ "example" : {
+ "status" : 400,
+ "title" : "Bad Request",
+ "detail" : "The provided request is not valid."
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<script>
// Script section to load models into a JS Var
var defs = {}
- defs["AuthorizationResult"] = {\r
- "required" : [ "result" ],\r
- "type" : "object",\r
- "properties" : {\r
- "result" : {\r
- "type" : "boolean",\r
- "description" : "If true, the access is granted"\r
- }\r
- },\r
- "description" : "Result of authorization",\r
- "example" : {\r
- "result" : true\r
- }\r
-};
- defs["ErrorInformation"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "detail" : {\r
- "type" : "string",\r
- "description" : " A human-readable explanation specific to this occurrence of the problem.",\r
- "example" : "Policy type not found"\r
- },\r
- "title" : {\r
- "type" : "string",\r
- "description" : "A specific error name",\r
- "example" : "Not Found"\r
- },\r
- "status" : {\r
- "type" : "integer",\r
- "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",\r
- "format" : "int32",\r
- "example" : 404\r
- }\r
- },\r
- "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"\r
-};
- defs["input"] = {\r
- "required" : [ "accessType", "authToken", "policyTypeId" ],\r
- "type" : "object",\r
- "properties" : {\r
- "accessType" : {\r
- "type" : "string",\r
- "description" : "Access type",\r
- "enum" : [ "READ", "WRITE", "DELETE" ]\r
- },\r
- "authToken" : {\r
- "type" : "string",\r
- "description" : "Authorization token"\r
- },\r
- "policyTypeId" : {\r
- "type" : "string",\r
- "description" : "Policy type identifier"\r
- }\r
- },\r
- "description" : "input"\r
-};
- defs["Link"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "templated" : {\r
- "type" : "boolean"\r
- },\r
- "href" : {\r
- "type" : "string"\r
- }\r
- }\r
-};
- defs["PolicyAuthorization"] = {\r
- "required" : [ "input" ],\r
- "type" : "object",\r
- "properties" : {\r
- "input" : {\r
- "$ref" : "#/components/schemas/input"\r
- }\r
- },\r
- "description" : "Authorization request for A1 policy requests"\r
-};
- defs["PolicyInformation"] = {\r
- "required" : [ "nearRtRicId", "policyId" ],\r
- "type" : "object",\r
- "properties" : {\r
- "policyId" : {\r
- "type" : "string",\r
- "description" : "Identity of the policy"\r
- },\r
- "nearRtRicId" : {\r
- "$ref" : "#/components/schemas/NearRtRicId"\r
- }\r
- },\r
- "description" : "Near-RT RIC identifiers where A1 policies exist and for each Near-RT RIC identifier the policy identifiers of those policies that exist in that Near-RT RIC"\r
-};
- defs["PolicyObjectInformation"] = {\r
- "required" : [ "nearRtRicId", "policyObject", "policyTypeId" ],\r
- "type" : "object",\r
- "properties" : {\r
- "nearRtRicId" : {\r
- "type" : "string",\r
- "description" : "Identity of the target Near-RT RIC",\r
- "example" : "Near-RT-Ric-ID"\r
- },\r
- "transient" : {\r
- "type" : "boolean",\r
- "description" : "If true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",\r
- "nullable" : false,\r
- "default" : false\r
- },\r
- "policyId" : {\r
- "type" : "string",\r
- "description" : "The identity of the Policy. If this value is present, it must be unique; otherwise, a random UUID is generated.",\r
- "example" : "POLICY-ID"\r
- },\r
- "serviceId" : {\r
- "type" : "string",\r
- "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",\r
- "example" : "rApp ID",\r
- "default" : ""\r
- },\r
- "policyObject" : {\r
- "$ref" : "#/components/schemas/PolicyObject"\r
- },\r
- "policyTypeId" : {\r
- "type" : "string",\r
- "description" : "Identity of the policy type",\r
- "example" : "ORAN_QOS_1.0.0(typeName_SemVersion)"\r
- }\r
- },\r
- "description" : "Information related to the creation of the policy"\r
-};
- defs["PolicyStatusInfo"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "lastModified" : {\r
- "type" : "string",\r
- "description" : "timestamp, last modification time"\r
- },\r
- "status" : {\r
- "type" : "object",\r
- "description" : "the Policy status"\r
- }\r
- },\r
- "description" : "Status for one A1-P Policy"\r
-};
- defs["PolicyTypeInformation"] = {\r
- "required" : [ "nearRtRicId", "policyTypeId" ],\r
- "type" : "object",\r
- "properties" : {\r
- "policyTypeId" : {\r
- "type" : "string",\r
- "description" : "Identity of the policy type"\r
- },\r
- "nearRtRicId" : {\r
- "$ref" : "#/components/schemas/NearRtRicId"\r
- }\r
- },\r
- "description" : "Available policy types and for each policy type identifier the Near-RT RIC identifiers of those Near-RT RICs that support the related A1 policy type",\r
- "example" : {\r
- "policyTypeId" : "STD_QOS2_0.1.0",\r
- "nearRtRicId" : "ricsim_g3_2"\r
- }\r
-};
- defs["PolicyTypeObject"] = {\r
- "required" : [ "policySchema" ],\r
- "type" : "object",\r
- "properties" : {\r
- "policySchema" : {\r
- "$ref" : "#/components/schemas/PolicySchema"\r
- },\r
- "statusSchema" : {\r
- "$ref" : "#/components/schemas/StatusSchema"\r
- }\r
- },\r
- "description" : "policy type object as defined in A1TD",\r
- "example" : {\r
- "policySchema" : {\r
- "$schema" : "http://json-schema.org/draft-07/schema#",\r
- "title" : "STD_QOS_0_2_0",\r
- "description" : "STD QOS policy type",\r
- "type" : "object",\r
- "properties" : {\r
- "scope" : {\r
- "type" : "object",\r
- "properties" : {\r
- "ueId" : {\r
- "type" : "string"\r
- },\r
- "qosId" : {\r
- "type" : "string"\r
- }\r
- },\r
- "additionalProperties" : false,\r
- "required" : [ "ueId", "qosId" ]\r
- },\r
- "qosObjectives" : {\r
- "type" : "object",\r
- "properties" : {\r
- "priorityLevel" : {\r
- "type" : "number"\r
- }\r
- },\r
- "additionalProperties" : false,\r
- "required" : [ "priorityLevel" ]\r
- }\r
- }\r
- },\r
- "statusSchema" : {\r
- "$schema" : "http://json-schema.org/draft-07/schema#",\r
- "title" : "STD_QOS_0.2.0",\r
- "description" : "STD QOS policy type status",\r
- "type" : "object",\r
- "properties" : {\r
- "enforceStatus" : {\r
- "type" : "string"\r
- },\r
- "enforceReason" : {\r
- "type" : "string"\r
- },\r
- "additionalProperties" : false,\r
- "required" : [ "enforceStatus" ]\r
- }\r
- }\r
- }\r
-};
- defs["ProblemDetails"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "type" : {\r
- "type" : "string",\r
- "description" : "a URI reference according to IETF RFC 3986 that identifies the problem type"\r
- },\r
- "title" : {\r
- "type" : "string",\r
- "description" : "human-readable summary of the problem type"\r
- },\r
- "status" : {\r
- "type" : "number",\r
- "description" : "the HTTP status code"\r
- },\r
- "detail" : {\r
- "type" : "string",\r
- "description" : "human-readable explanation "\r
- },\r
- "instance" : {\r
- "type" : "string",\r
- "description" : "URI reference that identifies the specific occurrence of the problem"\r
- }\r
- },\r
- "description" : "A problem detail to carry details in an HTTP response according to RFC 7807"\r
-};
- defs["RicInfo"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "ricId" : {\r
- "type" : "string",\r
- "description" : "Identity of the Near-RT RIC"\r
- },\r
- "managedElementIds" : {\r
- "type" : "array",\r
- "description" : "O1 identities for managed entities",\r
- "items" : {\r
- "type" : "string",\r
- "description" : "O1 identities for managed entities"\r
- }\r
- },\r
- "state" : {\r
- "type" : "string",\r
- "description" : "Represents the states for a Near-RT RIC",\r
- "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]\r
- },\r
- "policyTypeIds" : {\r
- "type" : "array",\r
- "description" : "supported policy types",\r
- "items" : {\r
- "type" : "string",\r
- "description" : "supported policy types"\r
- }\r
- }\r
- },\r
- "description" : "Information for a Near-RT RIC"\r
-};
- defs["RicInfoList"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "rics" : {\r
- "type" : "array",\r
- "description" : "List of Near-RT RIC information",\r
- "items" : {\r
- "$ref" : "#/components/schemas/RicInfo"\r
- }\r
- }\r
- },\r
- "description" : "List of Near-RT RIC information"\r
-};
- defs["ServiceCallbackInfo"] = {\r
- "required" : [ "eventType", "ricId" ],\r
- "type" : "object",\r
- "properties" : {\r
- "ricId" : {\r
- "type" : "string",\r
- "description" : "Identity of a Near-RT RIC"\r
- },\r
- "eventType" : {\r
- "type" : "string",\r
- "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",\r
- "enum" : [ "AVAILABLE" ]\r
- }\r
- },\r
- "description" : "Information transferred as in Service callbacks (callback_url)"\r
-};
- defs["ServiceRegistrationInfo"] = {\r
- "required" : [ "serviceId" ],\r
- "type" : "object",\r
- "properties" : {\r
- "callbackUrl" : {\r
- "type" : "string",\r
- "description" : "callback for notifying of Near-RT RIC state changes"\r
- },\r
- "serviceId" : {\r
- "type" : "string",\r
- "description" : "Identity of the service"\r
- },\r
- "keepAliveIntervalSeconds" : {\r
- "type" : "integer",\r
- "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",\r
- "format" : "int64"\r
- }\r
- },\r
- "description" : "Information for one service"\r
-};
- defs["ServiceStatus"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "callbackUrl" : {\r
- "type" : "string",\r
- "description" : "callback for notifying of RIC synchronization"\r
- },\r
- "serviceId" : {\r
- "type" : "string",\r
- "description" : "Identity of the service"\r
- },\r
- "keepAliveIntervalSeconds" : {\r
- "type" : "integer",\r
- "description" : "policy keep alive timeout",\r
- "format" : "int64"\r
- },\r
- "timeSinceLastActivitySeconds" : {\r
- "type" : "integer",\r
- "description" : "time since last invocation by the service",\r
- "format" : "int64"\r
- }\r
- }\r
-};
- defs["ServiceStatusList"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "serviceList" : {\r
- "type" : "array",\r
- "description" : "List of service information",\r
- "items" : {\r
- "$ref" : "#/components/schemas/ServiceStatus"\r
- }\r
- }\r
- }\r
-};
- defs["StatusInfo"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "status" : {\r
- "type" : "string",\r
- "description" : "status text"\r
- }\r
- }\r
-};
-
- defs["NearRtRicId"] = {\r
- "type" : "string",\r
- "description" : "Identity of the policy"\r
+ defs["AuthorizationResult"] = {
+ "required" : [ "result" ],
+ "type" : "object",
+ "properties" : {
+ "result" : {
+ "type" : "boolean",
+ "description" : "If true, the access is granted"
+ }
+ },
+ "description" : "Result of authorization",
+ "example" : {
+ "result" : true
+ }
+};
+ defs["ErrorInformation"] = {
+ "type" : "object",
+ "properties" : {
+ "detail" : {
+ "type" : "string",
+ "description" : " A human-readable explanation specific to this occurrence of the problem.",
+ "example" : "Policy type not found"
+ },
+ "title" : {
+ "type" : "string",
+ "description" : "A specific error name",
+ "example" : "Not Found"
+ },
+ "status" : {
+ "type" : "integer",
+ "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",
+ "format" : "int32",
+ "example" : 404
+ }
+ },
+ "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"
+};
+ defs["input"] = {
+ "required" : [ "accessType", "authToken", "policyTypeId" ],
+ "type" : "object",
+ "properties" : {
+ "accessType" : {
+ "type" : "string",
+ "description" : "Access type",
+ "enum" : [ "READ", "WRITE", "DELETE" ]
+ },
+ "authToken" : {
+ "type" : "string",
+ "description" : "Authorization token"
+ },
+ "policyTypeId" : {
+ "type" : "string",
+ "description" : "Policy type identifier"
+ }
+ },
+ "description" : "input"
+};
+ defs["Link"] = {
+ "type" : "object",
+ "properties" : {
+ "templated" : {
+ "type" : "boolean"
+ },
+ "href" : {
+ "type" : "string"
+ }
+ }
+};
+ defs["PolicyAuthorization"] = {
+ "required" : [ "input" ],
+ "type" : "object",
+ "properties" : {
+ "input" : {
+ "$ref" : "#/components/schemas/input"
+ }
+ },
+ "description" : "Authorization request for A1 policy requests"
+};
+ defs["PolicyInformation"] = {
+ "required" : [ "nearRtRicId", "policyId" ],
+ "type" : "object",
+ "properties" : {
+ "policyId" : {
+ "type" : "string",
+ "description" : "Identity of the policy"
+ },
+ "nearRtRicId" : {
+ "$ref" : "#/components/schemas/NearRtRicId"
+ }
+ },
+ "description" : "Near-RT RIC identifiers where A1 policies exist and for each Near-RT RIC identifier the policy identifiers of those policies that exist in that Near-RT RIC"
+};
+ defs["PolicyObjectInformation"] = {
+ "required" : [ "nearRtRicId", "policyObject", "policyTypeId" ],
+ "type" : "object",
+ "properties" : {
+ "nearRtRicId" : {
+ "type" : "string",
+ "description" : "Identity of the target Near-RT RIC",
+ "example" : "Near-RT-Ric-ID"
+ },
+ "transient" : {
+ "type" : "boolean",
+ "description" : "If true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",
+ "nullable" : false,
+ "default" : false
+ },
+ "policyId" : {
+ "type" : "string",
+ "description" : "The identity of the Policy. If this value is present, it must be unique; otherwise, a random UUID is generated.",
+ "example" : "POLICY-ID"
+ },
+ "serviceId" : {
+ "type" : "string",
+ "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
+ "example" : "rApp ID",
+ "default" : ""
+ },
+ "policyObject" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ },
+ "policyTypeId" : {
+ "type" : "string",
+ "description" : "Identity of the policy type",
+ "example" : "ORAN_QOS_1.0.0(typeName_SemVersion)"
+ }
+ },
+ "description" : "Information related to the creation of the policy"
+};
+ defs["PolicyStatusInfo"] = {
+ "type" : "object",
+ "properties" : {
+ "lastModified" : {
+ "type" : "string",
+ "description" : "timestamp, last modification time"
+ },
+ "status" : {
+ "type" : "object",
+ "description" : "the Policy status"
+ }
+ },
+ "description" : "Status for one A1-P Policy"
+};
+ defs["PolicyTypeInformation"] = {
+ "required" : [ "nearRtRicId", "policyTypeId" ],
+ "type" : "object",
+ "properties" : {
+ "policyTypeId" : {
+ "type" : "string",
+ "description" : "Identity of the policy type"
+ },
+ "nearRtRicId" : {
+ "$ref" : "#/components/schemas/NearRtRicId"
+ }
+ },
+ "description" : "Available policy types and for each policy type identifier the Near-RT RIC identifiers of those Near-RT RICs that support the related A1 policy type",
+ "example" : {
+ "policyTypeId" : "STD_QOS2_0.1.0",
+ "nearRtRicId" : "ricsim_g3_2"
+ }
+};
+ defs["PolicyTypeObject"] = {
+ "required" : [ "policySchema" ],
+ "type" : "object",
+ "properties" : {
+ "policySchema" : {
+ "$ref" : "#/components/schemas/PolicySchema"
+ },
+ "statusSchema" : {
+ "$ref" : "#/components/schemas/StatusSchema"
+ }
+ },
+ "description" : "policy type object as defined in A1TD",
+ "example" : {
+ "policySchema" : {
+ "$schema" : "http://json-schema.org/draft-07/schema#",
+ "title" : "STD_QOS_0_2_0",
+ "description" : "STD QOS policy type",
+ "type" : "object",
+ "properties" : {
+ "scope" : {
+ "type" : "object",
+ "properties" : {
+ "ueId" : {
+ "type" : "string"
+ },
+ "qosId" : {
+ "type" : "string"
+ }
+ },
+ "additionalProperties" : false,
+ "required" : [ "ueId", "qosId" ]
+ },
+ "qosObjectives" : {
+ "type" : "object",
+ "properties" : {
+ "priorityLevel" : {
+ "type" : "number"
+ }
+ },
+ "additionalProperties" : false,
+ "required" : [ "priorityLevel" ]
+ }
+ }
+ },
+ "statusSchema" : {
+ "$schema" : "http://json-schema.org/draft-07/schema#",
+ "title" : "STD_QOS_0.2.0",
+ "description" : "STD QOS policy type status",
+ "type" : "object",
+ "properties" : {
+ "enforceStatus" : {
+ "type" : "string"
+ },
+ "enforceReason" : {
+ "type" : "string"
+ },
+ "additionalProperties" : false,
+ "required" : [ "enforceStatus" ]
+ }
+ }
+ }
+};
+ defs["ProblemDetails"] = {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "type" : "string",
+ "description" : "a URI reference according to IETF RFC 3986 that identifies the problem type"
+ },
+ "title" : {
+ "type" : "string",
+ "description" : "human-readable summary of the problem type"
+ },
+ "status" : {
+ "type" : "number",
+ "description" : "the HTTP status code"
+ },
+ "detail" : {
+ "type" : "string",
+ "description" : "human-readable explanation "
+ },
+ "instance" : {
+ "type" : "string",
+ "description" : "URI reference that identifies the specific occurrence of the problem"
+ }
+ },
+ "description" : "A problem detail to carry details in an HTTP response according to RFC 7807"
+};
+ defs["RicInfo"] = {
+ "type" : "object",
+ "properties" : {
+ "ricId" : {
+ "type" : "string",
+ "description" : "Identity of the Near-RT RIC"
+ },
+ "managedElementIds" : {
+ "type" : "array",
+ "description" : "O1 identities for managed entities",
+ "items" : {
+ "type" : "string",
+ "description" : "O1 identities for managed entities"
+ }
+ },
+ "state" : {
+ "type" : "string",
+ "description" : "Represents the states for a Near-RT RIC",
+ "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]
+ },
+ "policyTypeIds" : {
+ "type" : "array",
+ "description" : "supported policy types",
+ "items" : {
+ "type" : "string",
+ "description" : "supported policy types"
+ }
+ }
+ },
+ "description" : "Information for a Near-RT RIC"
+};
+ defs["RicInfoList"] = {
+ "type" : "object",
+ "properties" : {
+ "rics" : {
+ "type" : "array",
+ "description" : "List of Near-RT RIC information",
+ "items" : {
+ "$ref" : "#/components/schemas/RicInfo"
+ }
+ }
+ },
+ "description" : "List of Near-RT RIC information"
+};
+ defs["ServiceCallbackInfo"] = {
+ "required" : [ "eventType", "ricId" ],
+ "type" : "object",
+ "properties" : {
+ "ricId" : {
+ "type" : "string",
+ "description" : "Identity of a Near-RT RIC"
+ },
+ "eventType" : {
+ "type" : "string",
+ "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",
+ "enum" : [ "AVAILABLE" ]
+ }
+ },
+ "description" : "Information transferred as in Service callbacks (callback_url)"
+};
+ defs["ServiceRegistrationInfo"] = {
+ "required" : [ "serviceId" ],
+ "type" : "object",
+ "properties" : {
+ "callbackUrl" : {
+ "type" : "string",
+ "description" : "callback for notifying of Near-RT RIC state changes"
+ },
+ "serviceId" : {
+ "type" : "string",
+ "description" : "Identity of the service"
+ },
+ "keepAliveIntervalSeconds" : {
+ "type" : "integer",
+ "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",
+ "format" : "int64"
+ }
+ },
+ "description" : "Information for one service"
+};
+ defs["ServiceStatus"] = {
+ "type" : "object",
+ "properties" : {
+ "callbackUrl" : {
+ "type" : "string",
+ "description" : "callback for notifying of RIC synchronization"
+ },
+ "serviceId" : {
+ "type" : "string",
+ "description" : "Identity of the service"
+ },
+ "keepAliveIntervalSeconds" : {
+ "type" : "integer",
+ "description" : "policy keep alive timeout",
+ "format" : "int64"
+ },
+ "timeSinceLastActivitySeconds" : {
+ "type" : "integer",
+ "description" : "time since last invocation by the service",
+ "format" : "int64"
+ }
+ }
+};
+ defs["ServiceStatusList"] = {
+ "type" : "object",
+ "properties" : {
+ "serviceList" : {
+ "type" : "array",
+ "description" : "List of service information",
+ "items" : {
+ "$ref" : "#/components/schemas/ServiceStatus"
+ }
+ }
+ }
+};
+ defs["StatusInfo"] = {
+ "type" : "object",
+ "properties" : {
+ "status" : {
+ "type" : "string",
+ "description" : "status text"
+ }
+ }
+};
+
+ defs["NearRtRicId"] = {
+ "type" : "string",
+ "description" : "Identity of the policy"
};
var errs = {};
-H "Accept: application/json,application/problem+json" \
-H "Content-Type: application/json" \
"https://example.com/a1-policy-management/v1/policies" \
- -d '{\r
- "policyId" : "POLICY-ID",\r
- "nearRtRicId" : "Near-RT-Ric-ID",\r
- "transient" : false,\r
- "policyObject" : "{}",\r
- "serviceId" : "rApp ID",\r
- "policyTypeId" : "ORAN_QOS_1.0.0(typeName_SemVersion)"\r
+ -d '{
+ "policyId" : "POLICY-ID",
+ "nearRtRicId" : "Near-RT-Ric-ID",
+ "transient" : false,
+ "policyObject" : "{}",
+ "serviceId" : "rApp ID",
+ "policyTypeId" : "ORAN_QOS_1.0.0(typeName_SemVersion)"
}'
</code></pre>
</div>
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyObjectInformation"\r
- }\r
- }\r
- },\r
- "required" : true\r
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObjectInformation"
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
<div id="responses-A1PolicyManagement-createPolicy-schema-201" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Success case 201 created",\r
- "headers" : {\r
- "Location" : {\r
- "description" : "Contains the URI of the newly created resource",\r
- "required" : true,\r
- "style" : "simple",\r
- "explode" : false,\r
- "schema" : {\r
- "type" : "string"\r
- }\r
- }\r
- },\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyObjectInformation"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Success case 201 created",
+ "headers" : {
+ "Location" : {
+ "description" : "Contains the URI of the newly created resource",
+ "required" : true,
+ "style" : "simple",
+ "explode" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ },
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObjectInformation"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-405" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Method Not Allowed",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Method Not Allowed",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-409" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Conflict",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Conflict",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-413" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Payload Too Large",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Payload Too Large",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-415" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unsupported Media Type",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unsupported Media Type",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-423" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ErrorInformation"\r
- },\r
- "example" : {\r
- "status" : 423,\r
- "title" : "Locked",\r
- "detail" : "State is Locked in the provided request."\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-204" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "The A1 policy was deleted"\r
+ var schemaWrapper = {
+ "description" : "The A1 policy was deleted"
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-405" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Method Not Allowed",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Method Not Allowed",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-423" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ErrorInformation"\r
- },\r
- "example" : {\r
- "status" : 423,\r
- "title" : "Locked",\r
- "detail" : "State is Locked in the provided request."\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy identities",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "type" : "array",\r
- "items" : {\r
- "$ref" : "#/components/schemas/PolicyInformation"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy identities",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/PolicyInformation"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy found",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyObject"\r
- },\r
- "examples" : {\r
- "policyObject" : {\r
- "$ref" : "#/components/examples/PolicyObject"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy found",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ },
+ "examples" : {
+ "policyObject" : {
+ "$ref" : "#/components/examples/PolicyObject"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyStatusObject"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyStatusObject"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - schema of the given policy type",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyTypeObject"\r
- },\r
- "examples" : {\r
- "PolicyTypeObject" : {\r
- "$ref" : "#/components/examples/PolicyTypeObject"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - schema of the given policy type",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyTypeObject"
+ },
+ "examples" : {
+ "PolicyTypeObject" : {
+ "$ref" : "#/components/examples/PolicyTypeObject"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy Type IDs found Ok",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "type" : "array",\r
- "items" : {\r
- "$ref" : "#/components/schemas/PolicyTypeInformation"\r
- }\r
- },\r
- "examples" : {\r
- "PolicyTypeInformation" : {\r
- "$ref" : "#/components/examples/PolicyTypeInformation"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy Type IDs found Ok",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/PolicyTypeInformation"
+ }
+ },
+ "examples" : {
+ "PolicyTypeInformation" : {
+ "$ref" : "#/components/examples/PolicyTypeInformation"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyObject"\r
- },\r
- "examples" : {\r
- "policyObject" : {\r
- "$ref" : "#/components/examples/PolicyObject"\r
- }\r
- }\r
- }\r
- },\r
- "required" : true\r
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ },
+ "examples" : {
+ "policyObject" : {
+ "$ref" : "#/components/examples/PolicyObject"
+ }
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
<div id="responses-A1PolicyManagement-putPolicy-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy updated",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyObject"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy updated",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-411" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Length Required",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Length Required",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-413" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Payload Too Large",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Payload Too Large",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-415" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unsupported Media Type",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unsupported Media Type",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-423" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ErrorInformation"\r
- },\r
- "example" : {\r
- "status" : 423,\r
- "title" : "Locked",\r
- "detail" : "State is Locked in the provided request."\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<script>
// Script section to load models into a JS Var
var defs = {}
- defs["AuthorizationResult"] = {\r
- "required" : [ "result" ],\r
- "type" : "object",\r
- "properties" : {\r
- "result" : {\r
- "type" : "boolean",\r
- "description" : "If true, the access is granted"\r
- }\r
- },\r
- "description" : "Result of authorization",\r
- "example" : {\r
- "result" : true\r
- }\r
+ defs["AuthorizationResult"] = {
+ "required" : [ "result" ],
+ "type" : "object",
+ "properties" : {
+ "result" : {
+ "type" : "boolean",
+ "description" : "If true, the access is granted"
+ }
+ },
+ "description" : "Result of authorization",
+ "example" : {
+ "result" : true
+ }
};
- defs["ErrorInformation"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "detail" : {\r
- "type" : "string",\r
- "description" : " A human-readable explanation specific to this occurrence of the problem.",\r
- "example" : "Policy type not found"\r
- },\r
- "title" : {\r
- "type" : "string",\r
- "description" : "A specific error name",\r
- "example" : "Not Found"\r
- },\r
- "status" : {\r
- "type" : "integer",\r
- "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",\r
- "format" : "int32",\r
- "example" : 404\r
- }\r
- },\r
- "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"\r
+ defs["ErrorInformation"] = {
+ "type" : "object",
+ "properties" : {
+ "detail" : {
+ "type" : "string",
+ "description" : " A human-readable explanation specific to this occurrence of the problem.",
+ "example" : "Policy type not found"
+ },
+ "title" : {
+ "type" : "string",
+ "description" : "A specific error name",
+ "example" : "Not Found"
+ },
+ "status" : {
+ "type" : "integer",
+ "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",
+ "format" : "int32",
+ "example" : 404
+ }
+ },
+ "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"
};
- defs["input"] = {\r
- "required" : [ "accessType", "authToken", "policyTypeId" ],\r
- "type" : "object",\r
- "properties" : {\r
- "accessType" : {\r
- "type" : "string",\r
- "description" : "Access type",\r
- "enum" : [ "READ", "WRITE", "DELETE" ]\r
- },\r
- "authToken" : {\r
- "type" : "string",\r
- "description" : "Authorization token"\r
- },\r
- "policyTypeId" : {\r
- "type" : "string",\r
- "description" : "Policy type identifier"\r
- }\r
- },\r
- "description" : "input"\r
+ defs["input"] = {
+ "required" : [ "accessType", "authToken", "policyTypeId" ],
+ "type" : "object",
+ "properties" : {
+ "accessType" : {
+ "type" : "string",
+ "description" : "Access type",
+ "enum" : [ "READ", "WRITE", "DELETE" ]
+ },
+ "authToken" : {
+ "type" : "string",
+ "description" : "Authorization token"
+ },
+ "policyTypeId" : {
+ "type" : "string",
+ "description" : "Policy type identifier"
+ }
+ },
+ "description" : "input"
};
- defs["Link"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "templated" : {\r
- "type" : "boolean"\r
- },\r
- "href" : {\r
- "type" : "string"\r
- }\r
- }\r
+ defs["Link"] = {
+ "type" : "object",
+ "properties" : {
+ "templated" : {
+ "type" : "boolean"
+ },
+ "href" : {
+ "type" : "string"
+ }
+ }
};
- defs["PolicyAuthorization"] = {\r
- "required" : [ "input" ],\r
- "type" : "object",\r
- "properties" : {\r
- "input" : {\r
- "$ref" : "#/components/schemas/input"\r
- }\r
- },\r
- "description" : "Authorization request for A1 policy requests"\r
+ defs["PolicyAuthorization"] = {
+ "required" : [ "input" ],
+ "type" : "object",
+ "properties" : {
+ "input" : {
+ "$ref" : "#/components/schemas/input"
+ }
+ },
+ "description" : "Authorization request for A1 policy requests"
};
- defs["PolicyInformation"] = {\r
- "required" : [ "nearRtRicId", "policyId" ],\r
- "type" : "object",\r
- "properties" : {\r
- "policyId" : {\r
- "type" : "string",\r
- "description" : "Identity of the policy"\r
- },\r
- "nearRtRicId" : {\r
- "$ref" : "#/components/schemas/NearRtRicId"\r
- }\r
- },\r
- "description" : "Near-RT RIC identifiers where A1 policies exist and for each Near-RT RIC identifier the policy identifiers of those policies that exist in that Near-RT RIC"\r
+ defs["PolicyInformation"] = {
+ "required" : [ "nearRtRicId", "policyId" ],
+ "type" : "object",
+ "properties" : {
+ "policyId" : {
+ "type" : "string",
+ "description" : "Identity of the policy"
+ },
+ "nearRtRicId" : {
+ "$ref" : "#/components/schemas/NearRtRicId"
+ }
+ },
+ "description" : "Near-RT RIC identifiers where A1 policies exist and for each Near-RT RIC identifier the policy identifiers of those policies that exist in that Near-RT RIC"
};
- defs["PolicyObjectInformation"] = {\r
- "required" : [ "nearRtRicId", "policyObject", "policyTypeId" ],\r
- "type" : "object",\r
- "properties" : {\r
- "nearRtRicId" : {\r
- "type" : "string",\r
- "description" : "Identity of the target Near-RT RIC",\r
- "example" : "Near-RT-Ric-ID"\r
- },\r
- "transient" : {\r
- "type" : "boolean",\r
- "description" : "If true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",\r
- "nullable" : false,\r
- "default" : false\r
- },\r
- "policyId" : {\r
- "type" : "string",\r
- "description" : "The identity of the Policy. If this value is present, it must be unique; otherwise, a random UUID is generated.",\r
- "example" : "POLICY-ID"\r
- },\r
- "serviceId" : {\r
- "type" : "string",\r
- "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",\r
- "example" : "rApp ID",\r
- "default" : ""\r
- },\r
- "policyObject" : {\r
- "$ref" : "#/components/schemas/PolicyObject"\r
- },\r
- "policyTypeId" : {\r
- "type" : "string",\r
- "description" : "Identity of the policy type",\r
- "example" : "ORAN_QOS_1.0.0(typeName_SemVersion)"\r
- }\r
- },\r
- "description" : "Information related to the creation of the policy"\r
+ defs["PolicyObjectInformation"] = {
+ "required" : [ "nearRtRicId", "policyObject", "policyTypeId" ],
+ "type" : "object",
+ "properties" : {
+ "nearRtRicId" : {
+ "type" : "string",
+ "description" : "Identity of the target Near-RT RIC",
+ "example" : "Near-RT-Ric-ID"
+ },
+ "transient" : {
+ "type" : "boolean",
+ "description" : "If true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",
+ "nullable" : false,
+ "default" : false
+ },
+ "policyId" : {
+ "type" : "string",
+ "description" : "The identity of the Policy. If this value is present, it must be unique; otherwise, a random UUID is generated.",
+ "example" : "POLICY-ID"
+ },
+ "serviceId" : {
+ "type" : "string",
+ "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
+ "example" : "rApp ID",
+ "default" : ""
+ },
+ "policyObject" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ },
+ "policyTypeId" : {
+ "type" : "string",
+ "description" : "Identity of the policy type",
+ "example" : "ORAN_QOS_1.0.0(typeName_SemVersion)"
+ }
+ },
+ "description" : "Information related to the creation of the policy"
};
- defs["PolicyStatusInfo"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "lastModified" : {\r
- "type" : "string",\r
- "description" : "timestamp, last modification time"\r
- },\r
- "status" : {\r
- "type" : "object",\r
- "description" : "the Policy status"\r
- }\r
- },\r
- "description" : "Status for one A1-P Policy"\r
+ defs["PolicyStatusInfo"] = {
+ "type" : "object",
+ "properties" : {
+ "lastModified" : {
+ "type" : "string",
+ "description" : "timestamp, last modification time"
+ },
+ "status" : {
+ "type" : "object",
+ "description" : "the Policy status"
+ }
+ },
+ "description" : "Status for one A1-P Policy"
};
- defs["PolicyTypeInformation"] = {\r
- "required" : [ "nearRtRicId", "policyTypeId" ],\r
- "type" : "object",\r
- "properties" : {\r
- "policyTypeId" : {\r
- "type" : "string",\r
- "description" : "Identity of the policy type"\r
- },\r
- "nearRtRicId" : {\r
- "$ref" : "#/components/schemas/NearRtRicId"\r
- }\r
- },\r
- "description" : "Available policy types and for each policy type identifier the Near-RT RIC identifiers of those Near-RT RICs that support the related A1 policy type",\r
- "example" : {\r
- "policyTypeId" : "STD_QOS2_0.1.0",\r
- "nearRtRicId" : "ricsim_g3_2"\r
- }\r
+ defs["PolicyTypeInformation"] = {
+ "required" : [ "nearRtRicId", "policyTypeId" ],
+ "type" : "object",
+ "properties" : {
+ "policyTypeId" : {
+ "type" : "string",
+ "description" : "Identity of the policy type"
+ },
+ "nearRtRicId" : {
+ "$ref" : "#/components/schemas/NearRtRicId"
+ }
+ },
+ "description" : "Available policy types and for each policy type identifier the Near-RT RIC identifiers of those Near-RT RICs that support the related A1 policy type",
+ "example" : {
+ "policyTypeId" : "STD_QOS2_0.1.0",
+ "nearRtRicId" : "ricsim_g3_2"
+ }
};
- defs["PolicyTypeObject"] = {\r
- "required" : [ "policySchema" ],\r
- "type" : "object",\r
- "properties" : {\r
- "policySchema" : {\r
- "$ref" : "#/components/schemas/PolicySchema"\r
- },\r
- "statusSchema" : {\r
- "$ref" : "#/components/schemas/StatusSchema"\r
- }\r
- },\r
- "description" : "policy type object as defined in A1TD",\r
- "example" : {\r
- "policySchema" : {\r
- "$schema" : "http://json-schema.org/draft-07/schema#",\r
- "title" : "STD_QOS_0_2_0",\r
- "description" : "STD QOS policy type",\r
- "type" : "object",\r
- "properties" : {\r
- "scope" : {\r
- "type" : "object",\r
- "properties" : {\r
- "ueId" : {\r
- "type" : "string"\r
- },\r
- "qosId" : {\r
- "type" : "string"\r
- }\r
- },\r
- "additionalProperties" : false,\r
- "required" : [ "ueId", "qosId" ]\r
- },\r
- "qosObjectives" : {\r
- "type" : "object",\r
- "properties" : {\r
- "priorityLevel" : {\r
- "type" : "number"\r
- }\r
- },\r
- "additionalProperties" : false,\r
- "required" : [ "priorityLevel" ]\r
- }\r
- }\r
- },\r
- "statusSchema" : {\r
- "$schema" : "http://json-schema.org/draft-07/schema#",\r
- "title" : "STD_QOS_0.2.0",\r
- "description" : "STD QOS policy type status",\r
- "type" : "object",\r
- "properties" : {\r
- "enforceStatus" : {\r
- "type" : "string"\r
- },\r
- "enforceReason" : {\r
- "type" : "string"\r
- },\r
- "additionalProperties" : false,\r
- "required" : [ "enforceStatus" ]\r
- }\r
- }\r
- }\r
+ defs["PolicyTypeObject"] = {
+ "required" : [ "policySchema" ],
+ "type" : "object",
+ "properties" : {
+ "policySchema" : {
+ "$ref" : "#/components/schemas/PolicySchema"
+ },
+ "statusSchema" : {
+ "$ref" : "#/components/schemas/StatusSchema"
+ }
+ },
+ "description" : "policy type object as defined in A1TD",
+ "example" : {
+ "policySchema" : {
+ "$schema" : "http://json-schema.org/draft-07/schema#",
+ "title" : "STD_QOS_0_2_0",
+ "description" : "STD QOS policy type",
+ "type" : "object",
+ "properties" : {
+ "scope" : {
+ "type" : "object",
+ "properties" : {
+ "ueId" : {
+ "type" : "string"
+ },
+ "qosId" : {
+ "type" : "string"
+ }
+ },
+ "additionalProperties" : false,
+ "required" : [ "ueId", "qosId" ]
+ },
+ "qosObjectives" : {
+ "type" : "object",
+ "properties" : {
+ "priorityLevel" : {
+ "type" : "number"
+ }
+ },
+ "additionalProperties" : false,
+ "required" : [ "priorityLevel" ]
+ }
+ }
+ },
+ "statusSchema" : {
+ "$schema" : "http://json-schema.org/draft-07/schema#",
+ "title" : "STD_QOS_0.2.0",
+ "description" : "STD QOS policy type status",
+ "type" : "object",
+ "properties" : {
+ "enforceStatus" : {
+ "type" : "string"
+ },
+ "enforceReason" : {
+ "type" : "string"
+ },
+ "additionalProperties" : false,
+ "required" : [ "enforceStatus" ]
+ }
+ }
+ }
};
- defs["ProblemDetails"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "type" : {\r
- "type" : "string",\r
- "description" : "a URI reference according to IETF RFC 3986 that identifies the problem type"\r
- },\r
- "title" : {\r
- "type" : "string",\r
- "description" : "human-readable summary of the problem type"\r
- },\r
- "status" : {\r
- "type" : "number",\r
- "description" : "the HTTP status code"\r
- },\r
- "detail" : {\r
- "type" : "string",\r
- "description" : "human-readable explanation "\r
- },\r
- "instance" : {\r
- "type" : "string",\r
- "description" : "URI reference that identifies the specific occurrence of the problem"\r
- }\r
- },\r
- "description" : "A problem detail to carry details in an HTTP response according to RFC 7807"\r
+ defs["ProblemDetails"] = {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "type" : "string",
+ "description" : "a URI reference according to IETF RFC 3986 that identifies the problem type"
+ },
+ "title" : {
+ "type" : "string",
+ "description" : "human-readable summary of the problem type"
+ },
+ "status" : {
+ "type" : "number",
+ "description" : "the HTTP status code"
+ },
+ "detail" : {
+ "type" : "string",
+ "description" : "human-readable explanation "
+ },
+ "instance" : {
+ "type" : "string",
+ "description" : "URI reference that identifies the specific occurrence of the problem"
+ }
+ },
+ "description" : "A problem detail to carry details in an HTTP response according to RFC 7807"
};
- defs["RicInfo"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "ricId" : {\r
- "type" : "string",\r
- "description" : "Identity of the Near-RT RIC"\r
- },\r
- "managedElementIds" : {\r
- "type" : "array",\r
- "description" : "O1 identities for managed entities",\r
- "items" : {\r
- "type" : "string",\r
- "description" : "O1 identities for managed entities"\r
- }\r
- },\r
- "state" : {\r
- "type" : "string",\r
- "description" : "Represents the states for a Near-RT RIC",\r
- "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]\r
- },\r
- "policyTypeIds" : {\r
- "type" : "array",\r
- "description" : "supported policy types",\r
- "items" : {\r
- "type" : "string",\r
- "description" : "supported policy types"\r
- }\r
- }\r
- },\r
- "description" : "Information for a Near-RT RIC"\r
+ defs["RicInfo"] = {
+ "type" : "object",
+ "properties" : {
+ "ricId" : {
+ "type" : "string",
+ "description" : "Identity of the Near-RT RIC"
+ },
+ "managedElementIds" : {
+ "type" : "array",
+ "description" : "O1 identities for managed entities",
+ "items" : {
+ "type" : "string",
+ "description" : "O1 identities for managed entities"
+ }
+ },
+ "state" : {
+ "type" : "string",
+ "description" : "Represents the states for a Near-RT RIC",
+ "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]
+ },
+ "policyTypeIds" : {
+ "type" : "array",
+ "description" : "supported policy types",
+ "items" : {
+ "type" : "string",
+ "description" : "supported policy types"
+ }
+ }
+ },
+ "description" : "Information for a Near-RT RIC"
};
- defs["RicInfoList"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "rics" : {\r
- "type" : "array",\r
- "description" : "List of Near-RT RIC information",\r
- "items" : {\r
- "$ref" : "#/components/schemas/RicInfo"\r
- }\r
- }\r
- },\r
- "description" : "List of Near-RT RIC information"\r
+ defs["RicInfoList"] = {
+ "type" : "object",
+ "properties" : {
+ "rics" : {
+ "type" : "array",
+ "description" : "List of Near-RT RIC information",
+ "items" : {
+ "$ref" : "#/components/schemas/RicInfo"
+ }
+ }
+ },
+ "description" : "List of Near-RT RIC information"
};
- defs["ServiceCallbackInfo"] = {\r
- "required" : [ "eventType", "ricId" ],\r
- "type" : "object",\r
- "properties" : {\r
- "ricId" : {\r
- "type" : "string",\r
- "description" : "Identity of a Near-RT RIC"\r
- },\r
- "eventType" : {\r
- "type" : "string",\r
- "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",\r
- "enum" : [ "AVAILABLE" ]\r
- }\r
- },\r
- "description" : "Information transferred as in Service callbacks (callback_url)"\r
+ defs["ServiceCallbackInfo"] = {
+ "required" : [ "eventType", "ricId" ],
+ "type" : "object",
+ "properties" : {
+ "ricId" : {
+ "type" : "string",
+ "description" : "Identity of a Near-RT RIC"
+ },
+ "eventType" : {
+ "type" : "string",
+ "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",
+ "enum" : [ "AVAILABLE" ]
+ }
+ },
+ "description" : "Information transferred as in Service callbacks (callback_url)"
};
- defs["ServiceRegistrationInfo"] = {\r
- "required" : [ "serviceId" ],\r
- "type" : "object",\r
- "properties" : {\r
- "callbackUrl" : {\r
- "type" : "string",\r
- "description" : "callback for notifying of Near-RT RIC state changes"\r
- },\r
- "serviceId" : {\r
- "type" : "string",\r
- "description" : "Identity of the service"\r
- },\r
- "keepAliveIntervalSeconds" : {\r
- "type" : "integer",\r
- "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",\r
- "format" : "int64"\r
- }\r
- },\r
- "description" : "Information for one service"\r
+ defs["ServiceRegistrationInfo"] = {
+ "required" : [ "serviceId" ],
+ "type" : "object",
+ "properties" : {
+ "callbackUrl" : {
+ "type" : "string",
+ "description" : "callback for notifying of Near-RT RIC state changes"
+ },
+ "serviceId" : {
+ "type" : "string",
+ "description" : "Identity of the service"
+ },
+ "keepAliveIntervalSeconds" : {
+ "type" : "integer",
+ "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",
+ "format" : "int64"
+ }
+ },
+ "description" : "Information for one service"
};
- defs["ServiceStatus"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "callbackUrl" : {\r
- "type" : "string",\r
- "description" : "callback for notifying of RIC synchronization"\r
- },\r
- "serviceId" : {\r
- "type" : "string",\r
- "description" : "Identity of the service"\r
- },\r
- "keepAliveIntervalSeconds" : {\r
- "type" : "integer",\r
- "description" : "policy keep alive timeout",\r
- "format" : "int64"\r
- },\r
- "timeSinceLastActivitySeconds" : {\r
- "type" : "integer",\r
- "description" : "time since last invocation by the service",\r
- "format" : "int64"\r
- }\r
- }\r
+ defs["ServiceStatus"] = {
+ "type" : "object",
+ "properties" : {
+ "callbackUrl" : {
+ "type" : "string",
+ "description" : "callback for notifying of RIC synchronization"
+ },
+ "serviceId" : {
+ "type" : "string",
+ "description" : "Identity of the service"
+ },
+ "keepAliveIntervalSeconds" : {
+ "type" : "integer",
+ "description" : "policy keep alive timeout",
+ "format" : "int64"
+ },
+ "timeSinceLastActivitySeconds" : {
+ "type" : "integer",
+ "description" : "time since last invocation by the service",
+ "format" : "int64"
+ }
+ }
};
- defs["ServiceStatusList"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "serviceList" : {\r
- "type" : "array",\r
- "description" : "List of service information",\r
- "items" : {\r
- "$ref" : "#/components/schemas/ServiceStatus"\r
- }\r
- }\r
- }\r
+ defs["ServiceStatusList"] = {
+ "type" : "object",
+ "properties" : {
+ "serviceList" : {
+ "type" : "array",
+ "description" : "List of service information",
+ "items" : {
+ "$ref" : "#/components/schemas/ServiceStatus"
+ }
+ }
+ }
};
- defs["StatusInfo"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "status" : {\r
- "type" : "string",\r
- "description" : "status text"\r
- }\r
- }\r
+ defs["StatusInfo"] = {
+ "type" : "object",
+ "properties" : {
+ "status" : {
+ "type" : "string",
+ "description" : "status text"
+ }
+ }
};
- defs["NearRtRicId"] = {\r
- "type" : "string",\r
- "description" : "Identity of the policy"\r
+ defs["NearRtRicId"] = {
+ "type" : "string",
+ "description" : "Identity of the policy"
};
var errs = {};
-H "Accept: application/json,application/problem+json" \
-H "Content-Type: application/json" \
"https://example.com/a1-policy-management/v1/policies" \
- -d '{\r
- "policyId" : "POLICY-ID",\r
- "nearRtRicId" : "Near-RT-Ric-ID",\r
- "transient" : false,\r
- "policyObject" : "{}",\r
- "serviceId" : "rApp ID",\r
- "policyTypeId" : "ORAN_QOS_1.0.0(typeName_SemVersion)"\r
+ -d '{
+ "policyId" : "POLICY-ID",
+ "nearRtRicId" : "Near-RT-Ric-ID",
+ "transient" : false,
+ "policyObject" : "{}",
+ "serviceId" : "rApp ID",
+ "policyTypeId" : "ORAN_QOS_1.0.0(typeName_SemVersion)"
}'
</code></pre>
</div>
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyObjectInformation"\r
- }\r
- }\r
- },\r
- "required" : true\r
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObjectInformation"
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
<div id="responses-A1PolicyManagement-createPolicy-schema-201" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Success case 201 created",\r
- "headers" : {\r
- "Location" : {\r
- "description" : "Contains the URI of the newly created resource",\r
- "required" : true,\r
- "style" : "simple",\r
- "explode" : false,\r
- "schema" : {\r
- "type" : "string"\r
- }\r
- }\r
- },\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyObjectInformation"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Success case 201 created",
+ "headers" : {
+ "Location" : {
+ "description" : "Contains the URI of the newly created resource",
+ "required" : true,
+ "style" : "simple",
+ "explode" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ },
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObjectInformation"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-405" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Method Not Allowed",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Method Not Allowed",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-409" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Conflict",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Conflict",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-413" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Payload Too Large",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Payload Too Large",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-415" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unsupported Media Type",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unsupported Media Type",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-423" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ErrorInformation"\r
- },\r
- "example" : {\r
- "status" : 423,\r
- "title" : "Locked",\r
- "detail" : "State is Locked in the provided request."\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-204" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "The A1 policy was deleted"\r
+ var schemaWrapper = {
+ "description" : "The A1 policy was deleted"
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-405" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Method Not Allowed",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Method Not Allowed",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-423" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ErrorInformation"\r
- },\r
- "example" : {\r
- "status" : 423,\r
- "title" : "Locked",\r
- "detail" : "State is Locked in the provided request."\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy identities",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "type" : "array",\r
- "items" : {\r
- "$ref" : "#/components/schemas/PolicyInformation"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy identities",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/PolicyInformation"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy found",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyObject"\r
- },\r
- "examples" : {\r
- "policyObject" : {\r
- "$ref" : "#/components/examples/PolicyObject"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy found",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ },
+ "examples" : {
+ "policyObject" : {
+ "$ref" : "#/components/examples/PolicyObject"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyStatusObject"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyStatusObject"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - schema of the given policy type",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyTypeObject"\r
- },\r
- "examples" : {\r
- "PolicyTypeObject" : {\r
- "$ref" : "#/components/examples/PolicyTypeObject"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - schema of the given policy type",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyTypeObject"
+ },
+ "examples" : {
+ "PolicyTypeObject" : {
+ "$ref" : "#/components/examples/PolicyTypeObject"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy Type IDs found Ok",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "type" : "array",\r
- "items" : {\r
- "$ref" : "#/components/schemas/PolicyTypeInformation"\r
- }\r
- },\r
- "examples" : {\r
- "PolicyTypeInformation" : {\r
- "$ref" : "#/components/examples/PolicyTypeInformation"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy Type IDs found Ok",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/PolicyTypeInformation"
+ }
+ },
+ "examples" : {
+ "PolicyTypeInformation" : {
+ "$ref" : "#/components/examples/PolicyTypeInformation"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyObject"\r
- },\r
- "examples" : {\r
- "policyObject" : {\r
- "$ref" : "#/components/examples/PolicyObject"\r
- }\r
- }\r
- }\r
- },\r
- "required" : true\r
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ },
+ "examples" : {
+ "policyObject" : {
+ "$ref" : "#/components/examples/PolicyObject"
+ }
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
<div id="responses-A1PolicyManagement-putPolicy-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy updated",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyObject"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy updated",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-411" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Length Required",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Length Required",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-413" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Payload Too Large",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Payload Too Large",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-415" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unsupported Media Type",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unsupported Media Type",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-423" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ErrorInformation"\r
- },\r
- "example" : {\r
- "status" : 423,\r
- "title" : "Locked",\r
- "detail" : "State is Locked in the provided request."\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-Configuration-getConfiguration-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Application configuration received",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "type" : "string"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Application configuration received",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-Configuration-getConfiguration-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "type" : "object"\r
- }\r
- }\r
- },\r
- "required" : true\r
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
<div id="responses-Configuration-putConfiguration-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Configuration updated",\r
- "content" : {\r
- "*/*" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/void"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Configuration updated",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-Configuration-putConfiguration-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-HealthCheck-getStatus-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK- Service is living Ok",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/StatusInfo"\r
- },\r
- "examples" : {\r
- "status_info" : {\r
- "$ref" : "#/components/examples/StatusInfo"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK- Service is living Ok",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/StatusInfo"
+ },
+ "examples" : {
+ "status_info" : {
+ "$ref" : "#/components/examples/StatusInfo"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-NearRTRICRepository-getRic-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Near-RT RIC is found OK",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/RicInfo"\r
- },\r
- "examples" : {\r
- "ric_info" : {\r
- "$ref" : "#/components/examples/RicInfo"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Near-RT RIC is found OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/RicInfo"
+ },
+ "examples" : {
+ "ric_info" : {
+ "$ref" : "#/components/examples/RicInfo"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-NearRTRICRepository-getRic-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-NearRTRICRepository-getRics-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/RicInfoList"\r
- },\r
- "examples" : {\r
- "ric_info_list" : {\r
- "$ref" : "#/components/examples/RicInfoList"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/RicInfoList"
+ },
+ "examples" : {
+ "ric_info_list" : {
+ "$ref" : "#/components/examples/RicInfoList"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-NearRTRICRepository-getRics-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-deleteService-schema-204" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "No Content - Service unregistered",\r
- "content" : {\r
- "*/*" : {\r
- "schema" : {\r
- "type" : "object"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "No Content - Service unregistered",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-deleteService-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-getServices-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ServiceStatusList"\r
- },\r
- "examples" : {\r
- "service_status_list" : {\r
- "$ref" : "#/components/examples/ServiceStatusList"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ServiceStatusList"
+ },
+ "examples" : {
+ "service_status_list" : {
+ "$ref" : "#/components/examples/ServiceStatusList"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-getServices-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "type" : "string"\r
- }\r
- }\r
- },\r
- "required" : false\r
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ },
+ "required" : false
};
var schema = findNode('schema',schemaWrapper).schema;
<div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Service supervision timer refreshed, OK",\r
- "content" : {\r
- "*/*" : {\r
- "schema" : {\r
- "type" : "object"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Service supervision timer refreshed, OK",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
-H "Accept: */*,application/problem+json" \
-H "Content-Type: application/json" \
"https://example.com/a1-policy-management/v1/services" \
- -d '{\r
- "keepAliveIntervalSeconds" : 0,\r
- "callbackUrl" : "callbackUrl",\r
- "serviceId" : "serviceId"\r
+ -d '{
+ "keepAliveIntervalSeconds" : 0,
+ "callbackUrl" : "callbackUrl",
+ "serviceId" : "serviceId"
}'
</code></pre>
</div>
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ServiceRegistrationInfo"\r
- }\r
- }\r
- },\r
- "required" : true\r
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ServiceRegistrationInfo"
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
<div id="responses-ServiceRegistryAndSupervision-putService-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Service updated",\r
- "content" : {\r
- "*/*" : {\r
- "schema" : {\r
- "type" : "object"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Service updated",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-putService-schema-201" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Created - Service created",\r
- "content" : {\r
- "*/*" : {\r
- "schema" : {\r
- "type" : "object"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Created - Service created",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-putService-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
"type" : "string"
},
"serviceId" : {
+ "default" : "",
"description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
"example" : "rApp ID",
"type" : "string"
validate-policy-instance-schema: NONE
lifecycle:
timeout-per-shutdown-phase: "20s"
+
logging:
+ config: ${LOGBACK_CONFIG_FILE:classpath:logback-plain.xml}
# Reactive logging filter
reactive-entry-exit-filter-enabled: true
# Configuration of logging
username: a1pms
password: mypwd
springdoc:
- show-actuator: true
\ No newline at end of file
+ show-actuator: true
* ========================LICENSE_START=================================
* ONAP : ccsdk oran
* ======================================================================
- * Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved.
+ * Copyright (C) 2024-2025 OpenInfra Foundation Europe. All rights reserved.
* ======================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
package org.onap.ccsdk.oran.a1policymanagementservice.util.v3;
+import com.google.gson.JsonObject;
+import com.google.gson.JsonParser;
+import java.lang.invoke.MethodHandles;
+import java.nio.charset.StandardCharsets;
+import java.util.Base64;
import org.reactivestreams.Publisher;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+import org.slf4j.MDC;
import org.springframework.core.io.buffer.DataBuffer;
import org.springframework.http.server.reactive.ServerHttpRequest;
import org.springframework.http.server.reactive.ServerHttpRequestDecorator;
-import org.springframework.http.server.reactive.ServerHttpResponse;
import org.springframework.http.server.reactive.ServerHttpResponseDecorator;
import org.springframework.util.MultiValueMap;
import org.springframework.web.server.ServerWebExchange;
import org.springframework.web.server.WebFilterChain;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
-
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-import java.lang.invoke.MethodHandles;
-import java.nio.channels.Channels;
-import java.nio.charset.StandardCharsets;
+import reactor.util.context.Context;
+import reactor.util.context.ContextView;
public class ReactiveEntryExitFilter implements WebFilter {
private static final Logger logger = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
+ private static final String BEARER_PREFIX = "Bearer ";
+ private static final String FACILITY_KEY = "facility";
+ private static final String SUBJECT_KEY = "subject";
+
@Override
public Mono<Void> filter(ServerWebExchange exchange, WebFilterChain chain) {
+
+ // sets FACILITY_KEY and SUBJECT_KEY in MDC
+ auditLog(exchange.getRequest());
+
+ String subject = MDC.get(SUBJECT_KEY);
+ String facility = MDC.get(FACILITY_KEY);
+
ServerHttpRequest httpRequest = exchange.getRequest();
- ServerHttpResponse httpResponse = exchange.getResponse();
MultiValueMap<String, String> queryParams = httpRequest.getQueryParams();
logger.info("Request received with path: {}, and the Request Id: {}, with HTTP Method: {}", httpRequest.getPath(),
exchange.getRequest().getId(), exchange.getRequest().getMethod());
ServerHttpRequestDecorator loggingServerHttpRequestDecorator = new ServerHttpRequestDecorator(exchange.getRequest()) {
String requestBody;
+
@Override
public Flux<DataBuffer> getBody() {
- return super.getBody().doOnNext(dataBuffer -> {
- requestBody = dataBuffer.toString(StandardCharsets.UTF_8); // Read the bytes from the DataBuffer
- if (!(requestBody.isEmpty() && requestBody.isBlank()))
+ return Flux.deferContextual(contextView ->
+ // Now, return the original body flux with a doFinally to clear MDC after processing
+ super.getBody().doOnNext(dataBuffer -> {
+ requestBody = dataBuffer.toString(StandardCharsets.UTF_8); // Read the bytes from the DataBuffer
logger.trace("For the request ID: {} the received request body: {}", exchange.getRequest().getId(), requestBody);
- });
+ }).doOnEach(signal -> MDC.clear())
+ .doFinally(signal -> MDC.clear())); // Clear MDC after the request body is processed
}
};
ServerHttpResponseDecorator loggingServerHttpResponseDecorator = new ServerHttpResponseDecorator(exchange.getResponse()) {
- String responseBody;
@Override
public Mono<Void> writeWith(Publisher<? extends DataBuffer> body) {
- Flux<DataBuffer> buffer = Flux.from(body);
- return super.writeWith(buffer.doOnNext(dataBuffer -> {
-// try {
- dataBuffer.toString(StandardCharsets.UTF_8);
- logger.info("For the request ID: {} the Status code of the response: {}", exchange.getRequest().getId(), httpResponse.getStatusCode());
- logger.trace("For the request ID: {} the response is: {} ", exchange.getRequest().getId(), responseBody);
-// } catch (Exception e) {
-// logger.info("For the request ID: {} we got an Error during processing: {}", exchange.getRequest().getId(), e.getMessage());
-// logger.trace("For the request ID: {} the response body :: {}", exchange.getRequest().getId(), responseBody);
-// }
- }));
+ return Mono.deferContextual(contextView ->
+ super.writeWith(Flux.from(body).doOnNext(dataBuffer -> {
+ String responseBody = dataBuffer.toString(StandardCharsets.UTF_8);
+ restoreFromContextToMdc(contextView);
+ logger.info("For the request ID: {} the Status code of the response: {}",
+ exchange.getRequest().getId(), getStatusCode());
+ logger.trace("For the request ID: {} the response is: {} ",
+ exchange.getRequest().getId(), responseBody);
+ })).doFinally(signalType -> MDC.clear())); // Clear MDC to prevent leakage
}
};
- return chain.filter(exchange.mutate().request(loggingServerHttpRequestDecorator).response(loggingServerHttpResponseDecorator).build());
+ return chain.filter(exchange.mutate()
+ .request(loggingServerHttpRequestDecorator)
+ .response(loggingServerHttpResponseDecorator)
+ .build())
+ .contextWrite(Context.of(FACILITY_KEY, facility, SUBJECT_KEY, subject))
+ .doFinally(signalType -> MDC.clear());
+ }
+
+ private void auditLog(ServerHttpRequest request) {
+ String authHeader = request.getHeaders().getFirst("Authorization");
+ String subject = "n/av";
+ if (authHeader != null && authHeader.startsWith(BEARER_PREFIX)) {
+ String token = authHeader.substring(BEARER_PREFIX.length());
+ subject = this.getSubjectFromToken(token);
+ }
+
+ String facility = "log audit";
+
+ MDC.put(SUBJECT_KEY, subject);
+ MDC.put(FACILITY_KEY, facility);
}
+ private String getSubjectFromToken(String token) {
+ try {
+ String[] chunks = token.split("\\.");
+ if (chunks.length < 2) {
+ logger.warn("Invalid JWT: Missing payload");
+ return "n/av";
+ }
+
+ Base64.Decoder decoder = Base64.getUrlDecoder();
+ String payload = new String(decoder.decode(chunks[1]));
+ JsonObject jsonObject = JsonParser.parseString(payload).getAsJsonObject();
+ if (jsonObject.has("upn")) {
+ return sanitize(jsonObject.get("upn").getAsString());
+ } else if (jsonObject.has("preferred_username")) {
+ return sanitize(jsonObject.get("preferred_username").getAsString());
+ } else if (jsonObject.has("sub")) {
+ return sanitize(jsonObject.get("sub").getAsString());
+ }
+ } catch (Exception e) {
+ logger.warn("Failed to extract subject from token: {}", e.getMessage());
+ }
+ return "n/av";
+ }
+
+ private String sanitize(String input) {
+ if (input == null) {
+ return "n/av";
+ }
+ // Replace dangerous characters
+ return input.replaceAll("[\r\n]", "") // Remove newlines
+ .replaceAll("[{}()<>]", "") // Remove brackets
+ .replaceAll("[^\\p{Alnum}\\p{Punct}\\s]", ""); // Remove non-printable characters
+ }
+
+ private void restoreFromContextToMdc(ContextView context) {
+ context.getOrEmpty(FACILITY_KEY).ifPresent(value -> MDC.put(FACILITY_KEY, value.toString()));
+ context.getOrEmpty(SUBJECT_KEY).ifPresent(value -> MDC.put(SUBJECT_KEY, value.toString()));
+ }
}
\ No newline at end of file
--- /dev/null
+<!--
+ ~ ============LICENSE_START=======================================================
+ ~ ONAP : ccsdk oran
+ ~ ================================================================================
+ ~ Copyright (C) 2025 OpenInfra Foundation Europe. All rights reserved.
+ ~ ================================================================================
+ ~ Licensed under the Apache License, Version 2.0 (the "License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ ~ ============LICENSE_END=======================================================
+ ~
+-->
+<configuration>
+
+ <!-- Define a plain text console appender -->
+ <appender name="console" class="ch.qos.logback.core.ConsoleAppender">
+ <encoder>
+ <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{55} - <!--
+ -->%replace(%X{facility}){'^(.+)$','facility=$1 | '} <!--
+ -->%replace(%X{subject}){'^(.+)$','subject=$1 | ' } <!--
+ -->%msg%n</pattern>
+ </encoder>
+ </appender>
+
+
+
+ <!-- Configure root logger to use the plain text console appender for all log levels -->
+ <root level="INFO">
+ <appender-ref ref="console"/>
+ </root>
+
+</configuration>
\ No newline at end of file
+ "ImV4cCI6MzAwMDAwMDAwMCwiY2xpZW50X2lkIjoibXljbGllbnQiLCJyb2xlIjoidXNlciJ9."
+ "O5QN_SWN4J1mWKyXk_-PCvOA6GF3ypv1rSdg2uTb_Ls";
+ private final String bearerTokenUpn = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9."
+ + "eyJpc3MiOiJleGFtcGxlX2lzc3VlciIsInVwbiI6IjEyMzQ1Njc4OTAiLCJhdWQiOiJteWNsaWVu"
+ + "dCIsImV4cCI6MzAwMDAwMDAwMCwiY2xpZW50X2lkIjoibXljbGllbnQiLCJyb2xlIjoidXNlciJ9."
+ + "z3OqH4_a2jzt4XOJlUB5r9seP2ppkdYVdK1LYZXkSh4";
+
+ private final String bearerTokenPrefUser = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9."
+ + "eyJpc3MiOiJleGFtcGxlX2lzc3VlciIsInByZWZlcnJlZF91c2VybmFtZSI6IjEyMzQ1Njc4OTAiLCJh"
+ + "dWQiOiJteWNsaWVudCIsImV4cCI6MzAwMDAwMDAwMCwiY2xpZW50X2lkIjoibXljbGllbnQiLCJyb2xlIjoidXNlciJ9."
+ + "vt5K1E68zHUBkvK8lTXSLHXH6gvHdZ1RwyrhPx9qQ-Q";
+
private final String emptyBearerToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IiJ9."
+ "eyJpYXQiOjE1MTYyMzkwMjJ9.uE72OfhNzhIFuyHhZyI0eYVPG6QJ7s7A-SVeKsLubCQ";
postPolicyWithTokenAndVerify(bearerToken, null, "myclient");
}
+ @Test
+ @DisplayName("client_id VALID + service_id NULL/EMPTY = client_id with subject as upn")
+ void testPostPolicyWithTokenUpn() throws IOException {
+ postPolicyWithTokenAndVerify(bearerTokenUpn, null, "myclient");
+ }
+
+ @Test
+ @DisplayName("client_id VALID + service_id NULL/EMPTY = client_id with subject as preferred_username")
+ void testPostPolicyWithTokenPrefUser() throws IOException {
+ postPolicyWithTokenAndVerify(bearerTokenPrefUser, null, "myclient");
+ }
+
@Test
@DisplayName("client_id VALID + service_id VALID = service_id")
void testPostPolicyWithTokenAndServiceID() throws IOException {
<script>
// Script section to load models into a JS Var
var defs = {}
- defs["authorization_result"] = {\r
- "required" : [ "result" ],\r
- "type" : "object",\r
- "properties" : {\r
- "result" : {\r
- "type" : "boolean",\r
- "description" : "If true, the access is granted"\r
- }\r
- },\r
- "description" : "Result of authorization",\r
- "example" : {\r
- "result" : true\r
- }\r
+ defs["authorization_result"] = {
+ "required" : [ "result" ],
+ "type" : "object",
+ "properties" : {
+ "result" : {
+ "type" : "boolean",
+ "description" : "If true, the access is granted"
+ }
+ },
+ "description" : "Result of authorization",
+ "example" : {
+ "result" : true
+ }
};
- defs["error_information"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "detail" : {\r
- "type" : "string",\r
- "description" : " A human-readable explanation specific to this occurrence of the problem.",\r
- "example" : "Policy type not found"\r
- },\r
- "title" : {\r
- "type" : "string",\r
- "description" : "A specific error name",\r
- "example" : "Not Found"\r
- },\r
- "status" : {\r
- "type" : "integer",\r
- "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",\r
- "format" : "int32",\r
- "example" : 404\r
- }\r
- },\r
- "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"\r
+ defs["error_information"] = {
+ "type" : "object",
+ "properties" : {
+ "detail" : {
+ "type" : "string",
+ "description" : " A human-readable explanation specific to this occurrence of the problem.",
+ "example" : "Policy type not found"
+ },
+ "title" : {
+ "type" : "string",
+ "description" : "A specific error name",
+ "example" : "Not Found"
+ },
+ "status" : {
+ "type" : "integer",
+ "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",
+ "format" : "int32",
+ "example" : 404
+ }
+ },
+ "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"
};
- defs["input"] = {\r
- "required" : [ "access_type", "auth_token", "policy_type_id" ],\r
- "type" : "object",\r
- "properties" : {\r
- "access_type" : {\r
- "type" : "string",\r
- "description" : "Access type",\r
- "enum" : [ "READ", "WRITE", "DELETE" ]\r
- },\r
- "auth_token" : {\r
- "type" : "string",\r
- "description" : "Authorization token"\r
- },\r
- "policy_type_id" : {\r
- "type" : "string",\r
- "description" : "Policy type identifier"\r
- }\r
- },\r
- "description" : "input"\r
+ defs["input"] = {
+ "required" : [ "access_type", "auth_token", "policy_type_id" ],
+ "type" : "object",
+ "properties" : {
+ "access_type" : {
+ "type" : "string",
+ "description" : "Access type",
+ "enum" : [ "READ", "WRITE", "DELETE" ]
+ },
+ "auth_token" : {
+ "type" : "string",
+ "description" : "Authorization token"
+ },
+ "policy_type_id" : {
+ "type" : "string",
+ "description" : "Policy type identifier"
+ }
+ },
+ "description" : "input"
};
- defs["Link"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "templated" : {\r
- "type" : "boolean"\r
- },\r
- "href" : {\r
- "type" : "string"\r
- }\r
- }\r
+ defs["Link"] = {
+ "type" : "object",
+ "properties" : {
+ "templated" : {
+ "type" : "boolean"
+ },
+ "href" : {
+ "type" : "string"
+ }
+ }
};
- defs["policy_authorization"] = {\r
- "required" : [ "input" ],\r
- "type" : "object",\r
- "properties" : {\r
- "input" : {\r
- "$ref" : "#/components/schemas/input"\r
- }\r
- },\r
- "description" : "Authorization request for A1 policy requests"\r
+ defs["policy_authorization"] = {
+ "required" : [ "input" ],
+ "type" : "object",
+ "properties" : {
+ "input" : {
+ "$ref" : "#/components/schemas/input"
+ }
+ },
+ "description" : "Authorization request for A1 policy requests"
};
- defs["policy_id_list"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "policy_ids" : {\r
- "type" : "array",\r
- "description" : "Policy identities",\r
- "items" : {\r
- "type" : "string",\r
- "description" : "Policy identities"\r
- }\r
- }\r
- },\r
- "description" : "A list of policy identities",\r
- "example" : {\r
- "policy_ids" : [ "policy_ids", "policy_ids" ]\r
- }\r
+ defs["policy_id_list"] = {
+ "type" : "object",
+ "properties" : {
+ "policy_ids" : {
+ "type" : "array",
+ "description" : "Policy identities",
+ "items" : {
+ "type" : "string",
+ "description" : "Policy identities"
+ }
+ }
+ },
+ "description" : "A list of policy identities",
+ "example" : {
+ "policy_ids" : [ "policy_ids", "policy_ids" ]
+ }
};
- defs["policy_info"] = {\r
- "required" : [ "policy_data", "policy_id", "policytype_id", "ric_id" ],\r
- "type" : "object",\r
- "properties" : {\r
- "ric_id" : {\r
- "type" : "string",\r
- "description" : "identity of the target Near-RT RIC"\r
- },\r
- "policy_id" : {\r
- "type" : "string",\r
- "description" : "identity of the policy"\r
- },\r
- "transient" : {\r
- "type" : "boolean",\r
- "description" : "if true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",\r
- "nullable" : false,\r
- "example" : false,\r
- "default" : false\r
- },\r
- "service_id" : {\r
- "type" : "string",\r
- "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",\r
- "default" : ""\r
- },\r
- "policy_data" : {\r
- "type" : "object",\r
- "description" : "the configuration of the policy"\r
- },\r
- "status_notification_uri" : {\r
- "type" : "string",\r
- "description" : "Callback URI for policy status updates"\r
- },\r
- "policytype_id" : {\r
- "type" : "string",\r
- "description" : "identity of the policy type"\r
- }\r
- },\r
- "description" : "Information for one A1-P Policy"\r
+ defs["policy_info"] = {
+ "required" : [ "policy_data", "policy_id", "policytype_id", "ric_id" ],
+ "type" : "object",
+ "properties" : {
+ "ric_id" : {
+ "type" : "string",
+ "description" : "identity of the target Near-RT RIC"
+ },
+ "policy_id" : {
+ "type" : "string",
+ "description" : "identity of the policy"
+ },
+ "transient" : {
+ "type" : "boolean",
+ "description" : "if true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",
+ "nullable" : false,
+ "example" : false,
+ "default" : false
+ },
+ "service_id" : {
+ "type" : "string",
+ "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
+ "default" : ""
+ },
+ "policy_data" : {
+ "type" : "object",
+ "description" : "the configuration of the policy"
+ },
+ "status_notification_uri" : {
+ "type" : "string",
+ "description" : "Callback URI for policy status updates"
+ },
+ "policytype_id" : {
+ "type" : "string",
+ "description" : "identity of the policy type"
+ }
+ },
+ "description" : "Information for one A1-P Policy"
};
- defs["policy_info_list"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "policies" : {\r
- "type" : "array",\r
- "description" : "List of policy information",\r
- "items" : {\r
- "$ref" : "#/components/schemas/policy_info"\r
- }\r
- }\r
- },\r
- "description" : "List of policy information"\r
+ defs["policy_info_list"] = {
+ "type" : "object",
+ "properties" : {
+ "policies" : {
+ "type" : "array",
+ "description" : "List of policy information",
+ "items" : {
+ "$ref" : "#/components/schemas/policy_info"
+ }
+ }
+ },
+ "description" : "List of policy information"
};
- defs["policy_status_info"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "last_modified" : {\r
- "type" : "string",\r
- "description" : "timestamp, last modification time"\r
- },\r
- "status" : {\r
- "type" : "object",\r
- "description" : "the Policy status"\r
- }\r
- },\r
- "description" : "Status for one A1-P Policy"\r
+ defs["policy_status_info"] = {
+ "type" : "object",
+ "properties" : {
+ "last_modified" : {
+ "type" : "string",
+ "description" : "timestamp, last modification time"
+ },
+ "status" : {
+ "type" : "object",
+ "description" : "the Policy status"
+ }
+ },
+ "description" : "Status for one A1-P Policy"
};
- defs["policy_type_definition"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "policy_schema" : {\r
- "type" : "object",\r
- "description" : "Policy type json schema. The schema is a json object following http://json-schema.org/draft-07/schema"\r
- }\r
- },\r
- "description" : "Contains policy type schema definition"\r
+ defs["policy_type_definition"] = {
+ "type" : "object",
+ "properties" : {
+ "policy_schema" : {
+ "type" : "object",
+ "description" : "Policy type json schema. The schema is a json object following http://json-schema.org/draft-07/schema"
+ }
+ },
+ "description" : "Contains policy type schema definition"
};
- defs["policy_type_id_list"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "policytype_ids" : {\r
- "type" : "array",\r
- "description" : "Policy type identities",\r
- "items" : {\r
- "type" : "string",\r
- "description" : "Policy type identities"\r
- }\r
- }\r
- },\r
- "description" : "Information about policy types"\r
+ defs["policy_type_id_list"] = {
+ "type" : "object",
+ "properties" : {
+ "policytype_ids" : {
+ "type" : "array",
+ "description" : "Policy type identities",
+ "items" : {
+ "type" : "string",
+ "description" : "Policy type identities"
+ }
+ }
+ },
+ "description" : "Information about policy types"
};
- defs["ric_info"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "ric_id" : {\r
- "type" : "string",\r
- "description" : "identity of the Near-RT RIC"\r
- },\r
- "managed_element_ids" : {\r
- "type" : "array",\r
- "description" : "O1 identities for managed entities",\r
- "items" : {\r
- "type" : "string",\r
- "description" : "O1 identities for managed entities"\r
- }\r
- },\r
- "state" : {\r
- "type" : "string",\r
- "description" : "Represents the states for a Near-RT RIC",\r
- "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]\r
- },\r
- "policytype_ids" : {\r
- "type" : "array",\r
- "description" : "supported policy types",\r
- "items" : {\r
- "type" : "string",\r
- "description" : "supported policy types"\r
- }\r
- }\r
- },\r
- "description" : "Information for a Near-RT RIC"\r
+ defs["ric_info"] = {
+ "type" : "object",
+ "properties" : {
+ "ric_id" : {
+ "type" : "string",
+ "description" : "identity of the Near-RT RIC"
+ },
+ "managed_element_ids" : {
+ "type" : "array",
+ "description" : "O1 identities for managed entities",
+ "items" : {
+ "type" : "string",
+ "description" : "O1 identities for managed entities"
+ }
+ },
+ "state" : {
+ "type" : "string",
+ "description" : "Represents the states for a Near-RT RIC",
+ "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]
+ },
+ "policytype_ids" : {
+ "type" : "array",
+ "description" : "supported policy types",
+ "items" : {
+ "type" : "string",
+ "description" : "supported policy types"
+ }
+ }
+ },
+ "description" : "Information for a Near-RT RIC"
};
- defs["ric_info_list"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "rics" : {\r
- "type" : "array",\r
- "description" : "List of Near-RT RIC information",\r
- "items" : {\r
- "$ref" : "#/components/schemas/ric_info"\r
- }\r
- }\r
- },\r
- "description" : "List of Near-RT RIC information"\r
+ defs["ric_info_list"] = {
+ "type" : "object",
+ "properties" : {
+ "rics" : {
+ "type" : "array",
+ "description" : "List of Near-RT RIC information",
+ "items" : {
+ "$ref" : "#/components/schemas/ric_info"
+ }
+ }
+ },
+ "description" : "List of Near-RT RIC information"
};
- defs["service_callback_info_v2"] = {\r
- "required" : [ "event_type", "ric_id" ],\r
- "type" : "object",\r
- "properties" : {\r
- "ric_id" : {\r
- "type" : "string",\r
- "description" : "identity of a Near-RT RIC"\r
- },\r
- "event_type" : {\r
- "type" : "string",\r
- "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",\r
- "enum" : [ "AVAILABLE" ]\r
- }\r
- },\r
- "description" : "Information transferred as in Service callbacks (callback_url)"\r
+ defs["service_callback_info_v2"] = {
+ "required" : [ "event_type", "ric_id" ],
+ "type" : "object",
+ "properties" : {
+ "ric_id" : {
+ "type" : "string",
+ "description" : "identity of a Near-RT RIC"
+ },
+ "event_type" : {
+ "type" : "string",
+ "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",
+ "enum" : [ "AVAILABLE" ]
+ }
+ },
+ "description" : "Information transferred as in Service callbacks (callback_url)"
};
- defs["service_registration_info"] = {\r
- "required" : [ "service_id" ],\r
- "type" : "object",\r
- "properties" : {\r
- "callback_url" : {\r
- "type" : "string",\r
- "description" : "callback for notifying of Near-RT RIC state changes"\r
- },\r
- "service_id" : {\r
- "type" : "string",\r
- "description" : "identity of the service"\r
- },\r
- "keep_alive_interval_seconds" : {\r
- "type" : "integer",\r
- "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",\r
- "format" : "int64"\r
- }\r
- },\r
- "description" : "Information for one service"\r
+ defs["service_registration_info"] = {
+ "required" : [ "service_id" ],
+ "type" : "object",
+ "properties" : {
+ "callback_url" : {
+ "type" : "string",
+ "description" : "callback for notifying of Near-RT RIC state changes"
+ },
+ "service_id" : {
+ "type" : "string",
+ "description" : "identity of the service"
+ },
+ "keep_alive_interval_seconds" : {
+ "type" : "integer",
+ "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",
+ "format" : "int64"
+ }
+ },
+ "description" : "Information for one service"
};
- defs["service_status"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "callback_url" : {\r
- "type" : "string",\r
- "description" : "callback for notifying of RIC synchronization"\r
- },\r
- "service_id" : {\r
- "type" : "string",\r
- "description" : "identity of the service"\r
- },\r
- "keep_alive_interval_seconds" : {\r
- "type" : "integer",\r
- "description" : "policy keep alive timeout",\r
- "format" : "int64"\r
- },\r
- "time_since_last_activity_seconds" : {\r
- "type" : "integer",\r
- "description" : "time since last invocation by the service",\r
- "format" : "int64"\r
- }\r
- }\r
+ defs["service_status"] = {
+ "type" : "object",
+ "properties" : {
+ "callback_url" : {
+ "type" : "string",
+ "description" : "callback for notifying of RIC synchronization"
+ },
+ "service_id" : {
+ "type" : "string",
+ "description" : "identity of the service"
+ },
+ "keep_alive_interval_seconds" : {
+ "type" : "integer",
+ "description" : "policy keep alive timeout",
+ "format" : "int64"
+ },
+ "time_since_last_activity_seconds" : {
+ "type" : "integer",
+ "description" : "time since last invocation by the service",
+ "format" : "int64"
+ }
+ }
};
- defs["service_status_list"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "service_list" : {\r
- "type" : "array",\r
- "description" : "List of service information",\r
- "items" : {\r
- "$ref" : "#/components/schemas/service_status"\r
- }\r
- }\r
- }\r
+ defs["service_status_list"] = {
+ "type" : "object",
+ "properties" : {
+ "service_list" : {
+ "type" : "array",
+ "description" : "List of service information",
+ "items" : {
+ "$ref" : "#/components/schemas/service_status"
+ }
+ }
+ }
};
- defs["status_info"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "status" : {\r
- "type" : "string",\r
- "description" : "status text"\r
- }\r
- }\r
+ defs["status_info"] = {
+ "type" : "object",
+ "properties" : {
+ "status" : {
+ "type" : "string",
+ "description" : "status text"
+ }
+ }
};
<div id="responses-A1PolicyManagement-deletePolicy-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy deleted",\r
- "content" : {\r
- "*/*" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/void"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy deleted",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-423" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/error_information"\r
- },\r
- "example" : {\r
- "status" : 423,\r
- "title" : "Locked",\r
- "detail" : "Requested resource is in a locked state."\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "Requested resource is in a locked state."
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy found",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/policy_info"\r
- },\r
- "examples" : {\r
- "policy_info" : {\r
- "$ref" : "#/components/examples/policy_info"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy found",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_info"
+ },
+ "examples" : {
+ "policy_info" : {
+ "$ref" : "#/components/examples/policy_info"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "example" : [ ]\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyIds-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy identities",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/policy_id_list"\r
- },\r
- "examples" : {\r
- "policy_id_list" : {\r
- "$ref" : "#/components/examples/policy_id_list"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy identities",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_id_list"
+ },
+ "examples" : {
+ "policy_id_list" : {
+ "$ref" : "#/components/examples/policy_id_list"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyIds-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "example" : [ ]\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyInstances-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Returns A1 Policies which matches the criteria",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/policy_info_list"\r
- },\r
- "examples" : {\r
- "policy_info_list" : {\r
- "$ref" : "#/components/examples/policy_info_list"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Returns A1 Policies which matches the criteria",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_info_list"
+ },
+ "examples" : {
+ "policy_info_list" : {
+ "$ref" : "#/components/examples/policy_info_list"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyInstances-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found - Near-RT RIC, policy type or service not found",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/error_information"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found - Near-RT RIC, policy type or service not found",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy status",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/policy_status_info"\r
- },\r
- "examples" : {\r
- "policy_status_info" : {\r
- "$ref" : "#/components/examples/policy_status_info"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy status",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_status_info"
+ },
+ "examples" : {
+ "policy_status_info" : {
+ "$ref" : "#/components/examples/policy_status_info"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "example" : [ ]\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - schema of the given policy type",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/policy_type_definition"\r
- },\r
- "examples" : {\r
- "policy_type_definition" : {\r
- "$ref" : "#/components/examples/policy_type_definition"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - schema of the given policy type",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_type_definition"
+ },
+ "examples" : {
+ "policy_type_definition" : {
+ "$ref" : "#/components/examples/policy_type_definition"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "example" : [ ]\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy Type IDs Found",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/policy_type_id_list"\r
- },\r
- "examples" : {\r
- "policy_type_id_list" : {\r
- "$ref" : "#/components/examples/policy_type_id_list"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy Type IDs Found",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_type_id_list"
+ },
+ "examples" : {
+ "policy_type_id_list" : {
+ "$ref" : "#/components/examples/policy_type_id_list"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "example" : [ ]\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/policy_info"\r
- }\r
- }\r
- },\r
- "required" : true\r
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_info"
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
<div id="responses-A1PolicyManagement-putPolicy-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy updated",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/void"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy updated",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-201" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Created - Policy created",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/void"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Created - Policy created",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-423" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/error_information"\r
- },\r
- "example" : {\r
- "status" : 423,\r
- "title" : "Locked",\r
- "detail" : "Requested resource is in a locked state."\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "Requested resource is in a locked state."
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/policy_authorization"\r
- }\r
- }\r
- },\r
- "required" : true\r
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/policy_authorization"
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
<div id="responses-AuthorizationAPI-performAccessControl-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/authorization_result"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/authorization_result"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-AuthorizationAPI-performAccessControl-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/error_information"\r
- },\r
- "example" : {\r
- "status" : 403,\r
- "title" : "Forbidden",\r
- "detail" : "Your role does not allow to perform this action. Contact System Administrator to change your access rights."\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ },
+ "example" : {
+ "status" : 403,
+ "title" : "Forbidden",
+ "detail" : "Your role does not allow to perform this action. Contact System Administrator to change your access rights."
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-Configuration-getConfiguration-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Configuration",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "type" : "string"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Configuration",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-Configuration-getConfiguration-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "example" : [ ]\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "type" : "object"\r
- }\r
- }\r
- },\r
- "required" : true\r
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
<div id="responses-Configuration-putConfiguration-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Configuration updated",\r
- "content" : {\r
- "*/*" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/void"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Configuration updated",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-Configuration-putConfiguration-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/error_information"\r
- },\r
- "example" : {\r
- "status" : 400,\r
- "title" : "Bad Request",\r
- "detail" : "The provided request is not valid."\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ },
+ "example" : {
+ "status" : 400,
+ "title" : "Bad Request",
+ "detail" : "The provided request is not valid."
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-HealthCheck-getStatus-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK- Service is living Ok",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/status_info"\r
- },\r
- "examples" : {\r
- "status_info" : {\r
- "$ref" : "#/components/examples/status_info"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK- Service is living Ok",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/status_info"
+ },
+ "examples" : {
+ "status_info" : {
+ "$ref" : "#/components/examples/status_info"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-HealthCheck-getStatusV1-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Service is living",\r
- "content" : {\r
- "*/*" : {\r
- "schema" : {\r
- "type" : "string"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Service is living",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-NearRTRICRepository-getRic-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Near-RT RIC is found",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ric_info"\r
- },\r
- "examples" : {\r
- "ric_info" : {\r
- "$ref" : "#/components/examples/ric_info"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Near-RT RIC is found",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ric_info"
+ },
+ "examples" : {
+ "ric_info" : {
+ "$ref" : "#/components/examples/ric_info"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-NearRTRICRepository-getRic-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "example" : [ ]\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-NearRTRICRepository-getRics-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ric_info_list"\r
- },\r
- "examples" : {\r
- "ric_info_list" : {\r
- "$ref" : "#/components/examples/ric_info_list"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ric_info_list"
+ },
+ "examples" : {
+ "ric_info_list" : {
+ "$ref" : "#/components/examples/ric_info_list"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-NearRTRICRepository-getRics-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "example" : [ ]\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-deleteService-schema-204" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "No Content - Service unregistered",\r
- "content" : {\r
- "*/*" : {\r
- "schema" : {\r
- "type" : "object"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "No Content - Service unregistered",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-deleteService-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "example" : [ ]\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-getServices-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/service_status_list"\r
- },\r
- "examples" : {\r
- "service_status_list" : {\r
- "$ref" : "#/components/examples/service_status_list"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/service_status_list"
+ },
+ "examples" : {
+ "service_status_list" : {
+ "$ref" : "#/components/examples/service_status_list"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-getServices-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "example" : [ ]\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Service supervision timer refreshed, OK",\r
- "content" : {\r
- "*/*" : {\r
- "schema" : {\r
- "type" : "object"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Service supervision timer refreshed, OK",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "example" : [ ]\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "example" : [ ]
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/service_registration_info"\r
- }\r
- }\r
- },\r
- "required" : true\r
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/service_registration_info"
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
<div id="responses-ServiceRegistryAndSupervision-putService-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Service updated",\r
- "content" : {\r
- "*/*" : {\r
- "schema" : {\r
- "type" : "object"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Service updated",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-putService-schema-201" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Created - Service created",\r
- "content" : {\r
- "*/*" : {\r
- "schema" : {\r
- "type" : "object"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Created - Service created",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-putService-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/error_information"\r
- },\r
- "example" : {\r
- "status" : 400,\r
- "title" : "Bad Request",\r
- "detail" : "The provided request is not valid."\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/error_information"
+ },
+ "example" : {
+ "status" : 400,
+ "title" : "Bad Request",
+ "detail" : "The provided request is not valid."
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<script>
// Script section to load models into a JS Var
var defs = {}
- defs["AuthorizationResult"] = {\r
- "required" : [ "result" ],\r
- "type" : "object",\r
- "properties" : {\r
- "result" : {\r
- "type" : "boolean",\r
- "description" : "If true, the access is granted"\r
- }\r
- },\r
- "description" : "Result of authorization",\r
- "example" : {\r
- "result" : true\r
- }\r
-};
- defs["ErrorInformation"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "detail" : {\r
- "type" : "string",\r
- "description" : " A human-readable explanation specific to this occurrence of the problem.",\r
- "example" : "Policy type not found"\r
- },\r
- "title" : {\r
- "type" : "string",\r
- "description" : "A specific error name",\r
- "example" : "Not Found"\r
- },\r
- "status" : {\r
- "type" : "integer",\r
- "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",\r
- "format" : "int32",\r
- "example" : 404\r
- }\r
- },\r
- "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"\r
-};
- defs["input"] = {\r
- "required" : [ "accessType", "authToken", "policyTypeId" ],\r
- "type" : "object",\r
- "properties" : {\r
- "accessType" : {\r
- "type" : "string",\r
- "description" : "Access type",\r
- "enum" : [ "READ", "WRITE", "DELETE" ]\r
- },\r
- "authToken" : {\r
- "type" : "string",\r
- "description" : "Authorization token"\r
- },\r
- "policyTypeId" : {\r
- "type" : "string",\r
- "description" : "Policy type identifier"\r
- }\r
- },\r
- "description" : "input"\r
-};
- defs["Link"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "templated" : {\r
- "type" : "boolean"\r
- },\r
- "href" : {\r
- "type" : "string"\r
- }\r
- }\r
-};
- defs["PolicyAuthorization"] = {\r
- "required" : [ "input" ],\r
- "type" : "object",\r
- "properties" : {\r
- "input" : {\r
- "$ref" : "#/components/schemas/input"\r
- }\r
- },\r
- "description" : "Authorization request for A1 policy requests"\r
-};
- defs["PolicyInformation"] = {\r
- "required" : [ "nearRtRicId", "policyId" ],\r
- "type" : "object",\r
- "properties" : {\r
- "policyId" : {\r
- "type" : "string",\r
- "description" : "Identity of the policy"\r
- },\r
- "nearRtRicId" : {\r
- "$ref" : "#/components/schemas/NearRtRicId"\r
- }\r
- },\r
- "description" : "Near-RT RIC identifiers where A1 policies exist and for each Near-RT RIC identifier the policy identifiers of those policies that exist in that Near-RT RIC"\r
-};
- defs["PolicyObjectInformation"] = {\r
- "required" : [ "nearRtRicId", "policyObject", "policyTypeId" ],\r
- "type" : "object",\r
- "properties" : {\r
- "nearRtRicId" : {\r
- "type" : "string",\r
- "description" : "Identity of the target Near-RT RIC",\r
- "example" : "Near-RT-Ric-ID"\r
- },\r
- "transient" : {\r
- "type" : "boolean",\r
- "description" : "If true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",\r
- "nullable" : false,\r
- "default" : false\r
- },\r
- "policyId" : {\r
- "type" : "string",\r
- "description" : "The identity of the Policy. If this value is present, it must be unique; otherwise, a random UUID is generated.",\r
- "example" : "POLICY-ID"\r
- },\r
- "serviceId" : {\r
- "type" : "string",\r
- "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",\r
- "example" : "rApp ID",\r
- "default" : ""\r
- },\r
- "policyObject" : {\r
- "$ref" : "#/components/schemas/PolicyObject"\r
- },\r
- "policyTypeId" : {\r
- "type" : "string",\r
- "description" : "Identity of the policy type",\r
- "example" : "ORAN_QOS_1.0.0(typeName_SemVersion)"\r
- }\r
- },\r
- "description" : "Information related to the creation of the policy"\r
-};
- defs["PolicyStatusInfo"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "lastModified" : {\r
- "type" : "string",\r
- "description" : "timestamp, last modification time"\r
- },\r
- "status" : {\r
- "type" : "object",\r
- "description" : "the Policy status"\r
- }\r
- },\r
- "description" : "Status for one A1-P Policy"\r
-};
- defs["PolicyTypeInformation"] = {\r
- "required" : [ "nearRtRicId", "policyTypeId" ],\r
- "type" : "object",\r
- "properties" : {\r
- "policyTypeId" : {\r
- "type" : "string",\r
- "description" : "Identity of the policy type"\r
- },\r
- "nearRtRicId" : {\r
- "$ref" : "#/components/schemas/NearRtRicId"\r
- }\r
- },\r
- "description" : "Available policy types and for each policy type identifier the Near-RT RIC identifiers of those Near-RT RICs that support the related A1 policy type",\r
- "example" : {\r
- "policyTypeId" : "STD_QOS2_0.1.0",\r
- "nearRtRicId" : "ricsim_g3_2"\r
- }\r
-};
- defs["PolicyTypeObject"] = {\r
- "required" : [ "policySchema" ],\r
- "type" : "object",\r
- "properties" : {\r
- "policySchema" : {\r
- "$ref" : "#/components/schemas/PolicySchema"\r
- },\r
- "statusSchema" : {\r
- "$ref" : "#/components/schemas/StatusSchema"\r
- }\r
- },\r
- "description" : "policy type object as defined in A1TD",\r
- "example" : {\r
- "policySchema" : {\r
- "$schema" : "http://json-schema.org/draft-07/schema#",\r
- "title" : "STD_QOS_0_2_0",\r
- "description" : "STD QOS policy type",\r
- "type" : "object",\r
- "properties" : {\r
- "scope" : {\r
- "type" : "object",\r
- "properties" : {\r
- "ueId" : {\r
- "type" : "string"\r
- },\r
- "qosId" : {\r
- "type" : "string"\r
- }\r
- },\r
- "additionalProperties" : false,\r
- "required" : [ "ueId", "qosId" ]\r
- },\r
- "qosObjectives" : {\r
- "type" : "object",\r
- "properties" : {\r
- "priorityLevel" : {\r
- "type" : "number"\r
- }\r
- },\r
- "additionalProperties" : false,\r
- "required" : [ "priorityLevel" ]\r
- }\r
- }\r
- },\r
- "statusSchema" : {\r
- "$schema" : "http://json-schema.org/draft-07/schema#",\r
- "title" : "STD_QOS_0.2.0",\r
- "description" : "STD QOS policy type status",\r
- "type" : "object",\r
- "properties" : {\r
- "enforceStatus" : {\r
- "type" : "string"\r
- },\r
- "enforceReason" : {\r
- "type" : "string"\r
- },\r
- "additionalProperties" : false,\r
- "required" : [ "enforceStatus" ]\r
- }\r
- }\r
- }\r
-};
- defs["ProblemDetails"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "type" : {\r
- "type" : "string",\r
- "description" : "a URI reference according to IETF RFC 3986 that identifies the problem type"\r
- },\r
- "title" : {\r
- "type" : "string",\r
- "description" : "human-readable summary of the problem type"\r
- },\r
- "status" : {\r
- "type" : "number",\r
- "description" : "the HTTP status code"\r
- },\r
- "detail" : {\r
- "type" : "string",\r
- "description" : "human-readable explanation "\r
- },\r
- "instance" : {\r
- "type" : "string",\r
- "description" : "URI reference that identifies the specific occurrence of the problem"\r
- }\r
- },\r
- "description" : "A problem detail to carry details in an HTTP response according to RFC 7807"\r
-};
- defs["RicInfo"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "ricId" : {\r
- "type" : "string",\r
- "description" : "Identity of the Near-RT RIC"\r
- },\r
- "managedElementIds" : {\r
- "type" : "array",\r
- "description" : "O1 identities for managed entities",\r
- "items" : {\r
- "type" : "string",\r
- "description" : "O1 identities for managed entities"\r
- }\r
- },\r
- "state" : {\r
- "type" : "string",\r
- "description" : "Represents the states for a Near-RT RIC",\r
- "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]\r
- },\r
- "policyTypeIds" : {\r
- "type" : "array",\r
- "description" : "supported policy types",\r
- "items" : {\r
- "type" : "string",\r
- "description" : "supported policy types"\r
- }\r
- }\r
- },\r
- "description" : "Information for a Near-RT RIC"\r
-};
- defs["RicInfoList"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "rics" : {\r
- "type" : "array",\r
- "description" : "List of Near-RT RIC information",\r
- "items" : {\r
- "$ref" : "#/components/schemas/RicInfo"\r
- }\r
- }\r
- },\r
- "description" : "List of Near-RT RIC information"\r
-};
- defs["ServiceCallbackInfo"] = {\r
- "required" : [ "eventType", "ricId" ],\r
- "type" : "object",\r
- "properties" : {\r
- "ricId" : {\r
- "type" : "string",\r
- "description" : "Identity of a Near-RT RIC"\r
- },\r
- "eventType" : {\r
- "type" : "string",\r
- "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",\r
- "enum" : [ "AVAILABLE" ]\r
- }\r
- },\r
- "description" : "Information transferred as in Service callbacks (callback_url)"\r
-};
- defs["ServiceRegistrationInfo"] = {\r
- "required" : [ "serviceId" ],\r
- "type" : "object",\r
- "properties" : {\r
- "callbackUrl" : {\r
- "type" : "string",\r
- "description" : "callback for notifying of Near-RT RIC state changes"\r
- },\r
- "serviceId" : {\r
- "type" : "string",\r
- "description" : "Identity of the service"\r
- },\r
- "keepAliveIntervalSeconds" : {\r
- "type" : "integer",\r
- "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",\r
- "format" : "int64"\r
- }\r
- },\r
- "description" : "Information for one service"\r
-};
- defs["ServiceStatus"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "callbackUrl" : {\r
- "type" : "string",\r
- "description" : "callback for notifying of RIC synchronization"\r
- },\r
- "serviceId" : {\r
- "type" : "string",\r
- "description" : "Identity of the service"\r
- },\r
- "keepAliveIntervalSeconds" : {\r
- "type" : "integer",\r
- "description" : "policy keep alive timeout",\r
- "format" : "int64"\r
- },\r
- "timeSinceLastActivitySeconds" : {\r
- "type" : "integer",\r
- "description" : "time since last invocation by the service",\r
- "format" : "int64"\r
- }\r
- }\r
-};
- defs["ServiceStatusList"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "serviceList" : {\r
- "type" : "array",\r
- "description" : "List of service information",\r
- "items" : {\r
- "$ref" : "#/components/schemas/ServiceStatus"\r
- }\r
- }\r
- }\r
-};
- defs["StatusInfo"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "status" : {\r
- "type" : "string",\r
- "description" : "status text"\r
- }\r
- }\r
-};
-
- defs["NearRtRicId"] = {\r
- "type" : "string",\r
- "description" : "Identity of the policy"\r
+ defs["AuthorizationResult"] = {
+ "required" : [ "result" ],
+ "type" : "object",
+ "properties" : {
+ "result" : {
+ "type" : "boolean",
+ "description" : "If true, the access is granted"
+ }
+ },
+ "description" : "Result of authorization",
+ "example" : {
+ "result" : true
+ }
+};
+ defs["ErrorInformation"] = {
+ "type" : "object",
+ "properties" : {
+ "detail" : {
+ "type" : "string",
+ "description" : " A human-readable explanation specific to this occurrence of the problem.",
+ "example" : "Policy type not found"
+ },
+ "title" : {
+ "type" : "string",
+ "description" : "A specific error name",
+ "example" : "Not Found"
+ },
+ "status" : {
+ "type" : "integer",
+ "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",
+ "format" : "int32",
+ "example" : 404
+ }
+ },
+ "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"
+};
+ defs["input"] = {
+ "required" : [ "accessType", "authToken", "policyTypeId" ],
+ "type" : "object",
+ "properties" : {
+ "accessType" : {
+ "type" : "string",
+ "description" : "Access type",
+ "enum" : [ "READ", "WRITE", "DELETE" ]
+ },
+ "authToken" : {
+ "type" : "string",
+ "description" : "Authorization token"
+ },
+ "policyTypeId" : {
+ "type" : "string",
+ "description" : "Policy type identifier"
+ }
+ },
+ "description" : "input"
+};
+ defs["Link"] = {
+ "type" : "object",
+ "properties" : {
+ "templated" : {
+ "type" : "boolean"
+ },
+ "href" : {
+ "type" : "string"
+ }
+ }
+};
+ defs["PolicyAuthorization"] = {
+ "required" : [ "input" ],
+ "type" : "object",
+ "properties" : {
+ "input" : {
+ "$ref" : "#/components/schemas/input"
+ }
+ },
+ "description" : "Authorization request for A1 policy requests"
+};
+ defs["PolicyInformation"] = {
+ "required" : [ "nearRtRicId", "policyId" ],
+ "type" : "object",
+ "properties" : {
+ "policyId" : {
+ "type" : "string",
+ "description" : "Identity of the policy"
+ },
+ "nearRtRicId" : {
+ "$ref" : "#/components/schemas/NearRtRicId"
+ }
+ },
+ "description" : "Near-RT RIC identifiers where A1 policies exist and for each Near-RT RIC identifier the policy identifiers of those policies that exist in that Near-RT RIC"
+};
+ defs["PolicyObjectInformation"] = {
+ "required" : [ "nearRtRicId", "policyObject", "policyTypeId" ],
+ "type" : "object",
+ "properties" : {
+ "nearRtRicId" : {
+ "type" : "string",
+ "description" : "Identity of the target Near-RT RIC",
+ "example" : "Near-RT-Ric-ID"
+ },
+ "transient" : {
+ "type" : "boolean",
+ "description" : "If true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",
+ "nullable" : false,
+ "default" : false
+ },
+ "policyId" : {
+ "type" : "string",
+ "description" : "The identity of the Policy. If this value is present, it must be unique; otherwise, a random UUID is generated.",
+ "example" : "POLICY-ID"
+ },
+ "serviceId" : {
+ "type" : "string",
+ "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
+ "example" : "rApp ID",
+ "default" : ""
+ },
+ "policyObject" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ },
+ "policyTypeId" : {
+ "type" : "string",
+ "description" : "Identity of the policy type",
+ "example" : "ORAN_QOS_1.0.0(typeName_SemVersion)"
+ }
+ },
+ "description" : "Information related to the creation of the policy"
+};
+ defs["PolicyStatusInfo"] = {
+ "type" : "object",
+ "properties" : {
+ "lastModified" : {
+ "type" : "string",
+ "description" : "timestamp, last modification time"
+ },
+ "status" : {
+ "type" : "object",
+ "description" : "the Policy status"
+ }
+ },
+ "description" : "Status for one A1-P Policy"
+};
+ defs["PolicyTypeInformation"] = {
+ "required" : [ "nearRtRicId", "policyTypeId" ],
+ "type" : "object",
+ "properties" : {
+ "policyTypeId" : {
+ "type" : "string",
+ "description" : "Identity of the policy type"
+ },
+ "nearRtRicId" : {
+ "$ref" : "#/components/schemas/NearRtRicId"
+ }
+ },
+ "description" : "Available policy types and for each policy type identifier the Near-RT RIC identifiers of those Near-RT RICs that support the related A1 policy type",
+ "example" : {
+ "policyTypeId" : "STD_QOS2_0.1.0",
+ "nearRtRicId" : "ricsim_g3_2"
+ }
+};
+ defs["PolicyTypeObject"] = {
+ "required" : [ "policySchema" ],
+ "type" : "object",
+ "properties" : {
+ "policySchema" : {
+ "$ref" : "#/components/schemas/PolicySchema"
+ },
+ "statusSchema" : {
+ "$ref" : "#/components/schemas/StatusSchema"
+ }
+ },
+ "description" : "policy type object as defined in A1TD",
+ "example" : {
+ "policySchema" : {
+ "$schema" : "http://json-schema.org/draft-07/schema#",
+ "title" : "STD_QOS_0_2_0",
+ "description" : "STD QOS policy type",
+ "type" : "object",
+ "properties" : {
+ "scope" : {
+ "type" : "object",
+ "properties" : {
+ "ueId" : {
+ "type" : "string"
+ },
+ "qosId" : {
+ "type" : "string"
+ }
+ },
+ "additionalProperties" : false,
+ "required" : [ "ueId", "qosId" ]
+ },
+ "qosObjectives" : {
+ "type" : "object",
+ "properties" : {
+ "priorityLevel" : {
+ "type" : "number"
+ }
+ },
+ "additionalProperties" : false,
+ "required" : [ "priorityLevel" ]
+ }
+ }
+ },
+ "statusSchema" : {
+ "$schema" : "http://json-schema.org/draft-07/schema#",
+ "title" : "STD_QOS_0.2.0",
+ "description" : "STD QOS policy type status",
+ "type" : "object",
+ "properties" : {
+ "enforceStatus" : {
+ "type" : "string"
+ },
+ "enforceReason" : {
+ "type" : "string"
+ },
+ "additionalProperties" : false,
+ "required" : [ "enforceStatus" ]
+ }
+ }
+ }
+};
+ defs["ProblemDetails"] = {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "type" : "string",
+ "description" : "a URI reference according to IETF RFC 3986 that identifies the problem type"
+ },
+ "title" : {
+ "type" : "string",
+ "description" : "human-readable summary of the problem type"
+ },
+ "status" : {
+ "type" : "number",
+ "description" : "the HTTP status code"
+ },
+ "detail" : {
+ "type" : "string",
+ "description" : "human-readable explanation "
+ },
+ "instance" : {
+ "type" : "string",
+ "description" : "URI reference that identifies the specific occurrence of the problem"
+ }
+ },
+ "description" : "A problem detail to carry details in an HTTP response according to RFC 7807"
+};
+ defs["RicInfo"] = {
+ "type" : "object",
+ "properties" : {
+ "ricId" : {
+ "type" : "string",
+ "description" : "Identity of the Near-RT RIC"
+ },
+ "managedElementIds" : {
+ "type" : "array",
+ "description" : "O1 identities for managed entities",
+ "items" : {
+ "type" : "string",
+ "description" : "O1 identities for managed entities"
+ }
+ },
+ "state" : {
+ "type" : "string",
+ "description" : "Represents the states for a Near-RT RIC",
+ "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]
+ },
+ "policyTypeIds" : {
+ "type" : "array",
+ "description" : "supported policy types",
+ "items" : {
+ "type" : "string",
+ "description" : "supported policy types"
+ }
+ }
+ },
+ "description" : "Information for a Near-RT RIC"
+};
+ defs["RicInfoList"] = {
+ "type" : "object",
+ "properties" : {
+ "rics" : {
+ "type" : "array",
+ "description" : "List of Near-RT RIC information",
+ "items" : {
+ "$ref" : "#/components/schemas/RicInfo"
+ }
+ }
+ },
+ "description" : "List of Near-RT RIC information"
+};
+ defs["ServiceCallbackInfo"] = {
+ "required" : [ "eventType", "ricId" ],
+ "type" : "object",
+ "properties" : {
+ "ricId" : {
+ "type" : "string",
+ "description" : "Identity of a Near-RT RIC"
+ },
+ "eventType" : {
+ "type" : "string",
+ "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",
+ "enum" : [ "AVAILABLE" ]
+ }
+ },
+ "description" : "Information transferred as in Service callbacks (callback_url)"
+};
+ defs["ServiceRegistrationInfo"] = {
+ "required" : [ "serviceId" ],
+ "type" : "object",
+ "properties" : {
+ "callbackUrl" : {
+ "type" : "string",
+ "description" : "callback for notifying of Near-RT RIC state changes"
+ },
+ "serviceId" : {
+ "type" : "string",
+ "description" : "Identity of the service"
+ },
+ "keepAliveIntervalSeconds" : {
+ "type" : "integer",
+ "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",
+ "format" : "int64"
+ }
+ },
+ "description" : "Information for one service"
+};
+ defs["ServiceStatus"] = {
+ "type" : "object",
+ "properties" : {
+ "callbackUrl" : {
+ "type" : "string",
+ "description" : "callback for notifying of RIC synchronization"
+ },
+ "serviceId" : {
+ "type" : "string",
+ "description" : "Identity of the service"
+ },
+ "keepAliveIntervalSeconds" : {
+ "type" : "integer",
+ "description" : "policy keep alive timeout",
+ "format" : "int64"
+ },
+ "timeSinceLastActivitySeconds" : {
+ "type" : "integer",
+ "description" : "time since last invocation by the service",
+ "format" : "int64"
+ }
+ }
+};
+ defs["ServiceStatusList"] = {
+ "type" : "object",
+ "properties" : {
+ "serviceList" : {
+ "type" : "array",
+ "description" : "List of service information",
+ "items" : {
+ "$ref" : "#/components/schemas/ServiceStatus"
+ }
+ }
+ }
+};
+ defs["StatusInfo"] = {
+ "type" : "object",
+ "properties" : {
+ "status" : {
+ "type" : "string",
+ "description" : "status text"
+ }
+ }
+};
+
+ defs["NearRtRicId"] = {
+ "type" : "string",
+ "description" : "Identity of the policy"
};
var errs = {};
-H "Accept: application/json,application/problem+json" \
-H "Content-Type: application/json" \
"https://example.com/a1-policy-management/v1/policies" \
- -d '{\r
- "policyId" : "POLICY-ID",\r
- "nearRtRicId" : "Near-RT-Ric-ID",\r
- "transient" : false,\r
- "policyObject" : "{}",\r
- "serviceId" : "rApp ID",\r
- "policyTypeId" : "ORAN_QOS_1.0.0(typeName_SemVersion)"\r
+ -d '{
+ "policyId" : "POLICY-ID",
+ "nearRtRicId" : "Near-RT-Ric-ID",
+ "transient" : false,
+ "policyObject" : "{}",
+ "serviceId" : "rApp ID",
+ "policyTypeId" : "ORAN_QOS_1.0.0(typeName_SemVersion)"
}'
</code></pre>
</div>
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyObjectInformation"\r
- }\r
- }\r
- },\r
- "required" : true\r
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObjectInformation"
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
<div id="responses-A1PolicyManagement-createPolicy-schema-201" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Success case 201 created",\r
- "headers" : {\r
- "Location" : {\r
- "description" : "Contains the URI of the newly created resource",\r
- "required" : true,\r
- "style" : "simple",\r
- "explode" : false,\r
- "schema" : {\r
- "type" : "string"\r
- }\r
- }\r
- },\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyObjectInformation"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Success case 201 created",
+ "headers" : {
+ "Location" : {
+ "description" : "Contains the URI of the newly created resource",
+ "required" : true,
+ "style" : "simple",
+ "explode" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ },
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObjectInformation"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-405" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Method Not Allowed",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Method Not Allowed",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-409" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Conflict",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Conflict",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-413" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Payload Too Large",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Payload Too Large",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-415" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unsupported Media Type",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unsupported Media Type",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-423" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ErrorInformation"\r
- },\r
- "example" : {\r
- "status" : 423,\r
- "title" : "Locked",\r
- "detail" : "State is Locked in the provided request."\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-204" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "The A1 policy was deleted"\r
+ var schemaWrapper = {
+ "description" : "The A1 policy was deleted"
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-405" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Method Not Allowed",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Method Not Allowed",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-423" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ErrorInformation"\r
- },\r
- "example" : {\r
- "status" : 423,\r
- "title" : "Locked",\r
- "detail" : "State is Locked in the provided request."\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy identities",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "type" : "array",\r
- "items" : {\r
- "$ref" : "#/components/schemas/PolicyInformation"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy identities",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/PolicyInformation"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy found",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyObject"\r
- },\r
- "examples" : {\r
- "policyObject" : {\r
- "$ref" : "#/components/examples/PolicyObject"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy found",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ },
+ "examples" : {
+ "policyObject" : {
+ "$ref" : "#/components/examples/PolicyObject"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyStatusObject"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyStatusObject"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - schema of the given policy type",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyTypeObject"\r
- },\r
- "examples" : {\r
- "PolicyTypeObject" : {\r
- "$ref" : "#/components/examples/PolicyTypeObject"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - schema of the given policy type",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyTypeObject"
+ },
+ "examples" : {
+ "PolicyTypeObject" : {
+ "$ref" : "#/components/examples/PolicyTypeObject"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy Type IDs found Ok",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "type" : "array",\r
- "items" : {\r
- "$ref" : "#/components/schemas/PolicyTypeInformation"\r
- }\r
- },\r
- "examples" : {\r
- "PolicyTypeInformation" : {\r
- "$ref" : "#/components/examples/PolicyTypeInformation"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy Type IDs found Ok",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/PolicyTypeInformation"
+ }
+ },
+ "examples" : {
+ "PolicyTypeInformation" : {
+ "$ref" : "#/components/examples/PolicyTypeInformation"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyObject"\r
- },\r
- "examples" : {\r
- "policyObject" : {\r
- "$ref" : "#/components/examples/PolicyObject"\r
- }\r
- }\r
- }\r
- },\r
- "required" : true\r
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ },
+ "examples" : {
+ "policyObject" : {
+ "$ref" : "#/components/examples/PolicyObject"
+ }
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
<div id="responses-A1PolicyManagement-putPolicy-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy updated",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyObject"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy updated",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-411" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Length Required",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Length Required",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-413" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Payload Too Large",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Payload Too Large",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-415" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unsupported Media Type",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unsupported Media Type",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-423" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ErrorInformation"\r
- },\r
- "example" : {\r
- "status" : 423,\r
- "title" : "Locked",\r
- "detail" : "State is Locked in the provided request."\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<script>
// Script section to load models into a JS Var
var defs = {}
- defs["AuthorizationResult"] = {\r
- "required" : [ "result" ],\r
- "type" : "object",\r
- "properties" : {\r
- "result" : {\r
- "type" : "boolean",\r
- "description" : "If true, the access is granted"\r
- }\r
- },\r
- "description" : "Result of authorization",\r
- "example" : {\r
- "result" : true\r
- }\r
+ defs["AuthorizationResult"] = {
+ "required" : [ "result" ],
+ "type" : "object",
+ "properties" : {
+ "result" : {
+ "type" : "boolean",
+ "description" : "If true, the access is granted"
+ }
+ },
+ "description" : "Result of authorization",
+ "example" : {
+ "result" : true
+ }
};
- defs["ErrorInformation"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "detail" : {\r
- "type" : "string",\r
- "description" : " A human-readable explanation specific to this occurrence of the problem.",\r
- "example" : "Policy type not found"\r
- },\r
- "title" : {\r
- "type" : "string",\r
- "description" : "A specific error name",\r
- "example" : "Not Found"\r
- },\r
- "status" : {\r
- "type" : "integer",\r
- "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",\r
- "format" : "int32",\r
- "example" : 404\r
- }\r
- },\r
- "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"\r
+ defs["ErrorInformation"] = {
+ "type" : "object",
+ "properties" : {
+ "detail" : {
+ "type" : "string",
+ "description" : " A human-readable explanation specific to this occurrence of the problem.",
+ "example" : "Policy type not found"
+ },
+ "title" : {
+ "type" : "string",
+ "description" : "A specific error name",
+ "example" : "Not Found"
+ },
+ "status" : {
+ "type" : "integer",
+ "description" : "The HTTP status code generated by the origin server for this occurrence of the problem. ",
+ "format" : "int32",
+ "example" : 404
+ }
+ },
+ "description" : "Problem as defined in https://tools.ietf.org/html/rfc7807"
};
- defs["input"] = {\r
- "required" : [ "accessType", "authToken", "policyTypeId" ],\r
- "type" : "object",\r
- "properties" : {\r
- "accessType" : {\r
- "type" : "string",\r
- "description" : "Access type",\r
- "enum" : [ "READ", "WRITE", "DELETE" ]\r
- },\r
- "authToken" : {\r
- "type" : "string",\r
- "description" : "Authorization token"\r
- },\r
- "policyTypeId" : {\r
- "type" : "string",\r
- "description" : "Policy type identifier"\r
- }\r
- },\r
- "description" : "input"\r
+ defs["input"] = {
+ "required" : [ "accessType", "authToken", "policyTypeId" ],
+ "type" : "object",
+ "properties" : {
+ "accessType" : {
+ "type" : "string",
+ "description" : "Access type",
+ "enum" : [ "READ", "WRITE", "DELETE" ]
+ },
+ "authToken" : {
+ "type" : "string",
+ "description" : "Authorization token"
+ },
+ "policyTypeId" : {
+ "type" : "string",
+ "description" : "Policy type identifier"
+ }
+ },
+ "description" : "input"
};
- defs["Link"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "templated" : {\r
- "type" : "boolean"\r
- },\r
- "href" : {\r
- "type" : "string"\r
- }\r
- }\r
+ defs["Link"] = {
+ "type" : "object",
+ "properties" : {
+ "templated" : {
+ "type" : "boolean"
+ },
+ "href" : {
+ "type" : "string"
+ }
+ }
};
- defs["PolicyAuthorization"] = {\r
- "required" : [ "input" ],\r
- "type" : "object",\r
- "properties" : {\r
- "input" : {\r
- "$ref" : "#/components/schemas/input"\r
- }\r
- },\r
- "description" : "Authorization request for A1 policy requests"\r
+ defs["PolicyAuthorization"] = {
+ "required" : [ "input" ],
+ "type" : "object",
+ "properties" : {
+ "input" : {
+ "$ref" : "#/components/schemas/input"
+ }
+ },
+ "description" : "Authorization request for A1 policy requests"
};
- defs["PolicyInformation"] = {\r
- "required" : [ "nearRtRicId", "policyId" ],\r
- "type" : "object",\r
- "properties" : {\r
- "policyId" : {\r
- "type" : "string",\r
- "description" : "Identity of the policy"\r
- },\r
- "nearRtRicId" : {\r
- "$ref" : "#/components/schemas/NearRtRicId"\r
- }\r
- },\r
- "description" : "Near-RT RIC identifiers where A1 policies exist and for each Near-RT RIC identifier the policy identifiers of those policies that exist in that Near-RT RIC"\r
+ defs["PolicyInformation"] = {
+ "required" : [ "nearRtRicId", "policyId" ],
+ "type" : "object",
+ "properties" : {
+ "policyId" : {
+ "type" : "string",
+ "description" : "Identity of the policy"
+ },
+ "nearRtRicId" : {
+ "$ref" : "#/components/schemas/NearRtRicId"
+ }
+ },
+ "description" : "Near-RT RIC identifiers where A1 policies exist and for each Near-RT RIC identifier the policy identifiers of those policies that exist in that Near-RT RIC"
};
- defs["PolicyObjectInformation"] = {\r
- "required" : [ "nearRtRicId", "policyObject", "policyTypeId" ],\r
- "type" : "object",\r
- "properties" : {\r
- "nearRtRicId" : {\r
- "type" : "string",\r
- "description" : "Identity of the target Near-RT RIC",\r
- "example" : "Near-RT-Ric-ID"\r
- },\r
- "transient" : {\r
- "type" : "boolean",\r
- "description" : "If true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",\r
- "nullable" : false,\r
- "default" : false\r
- },\r
- "policyId" : {\r
- "type" : "string",\r
- "description" : "The identity of the Policy. If this value is present, it must be unique; otherwise, a random UUID is generated.",\r
- "example" : "POLICY-ID"\r
- },\r
- "serviceId" : {\r
- "type" : "string",\r
- "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",\r
- "example" : "rApp ID",\r
- "default" : ""\r
- },\r
- "policyObject" : {\r
- "$ref" : "#/components/schemas/PolicyObject"\r
- },\r
- "policyTypeId" : {\r
- "type" : "string",\r
- "description" : "Identity of the policy type",\r
- "example" : "ORAN_QOS_1.0.0(typeName_SemVersion)"\r
- }\r
- },\r
- "description" : "Information related to the creation of the policy"\r
+ defs["PolicyObjectInformation"] = {
+ "required" : [ "nearRtRicId", "policyObject", "policyTypeId" ],
+ "type" : "object",
+ "properties" : {
+ "nearRtRicId" : {
+ "type" : "string",
+ "description" : "Identity of the target Near-RT RIC",
+ "example" : "Near-RT-Ric-ID"
+ },
+ "transient" : {
+ "type" : "boolean",
+ "description" : "If true, the policy is deleted at RIC restart. If false, its value is maintained by this service until explicitly deleted. Default false.",
+ "nullable" : false,
+ "default" : false
+ },
+ "policyId" : {
+ "type" : "string",
+ "description" : "The identity of the Policy. If this value is present, it must be unique; otherwise, a random UUID is generated.",
+ "example" : "POLICY-ID"
+ },
+ "serviceId" : {
+ "type" : "string",
+ "description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
+ "example" : "rApp ID",
+ "default" : ""
+ },
+ "policyObject" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ },
+ "policyTypeId" : {
+ "type" : "string",
+ "description" : "Identity of the policy type",
+ "example" : "ORAN_QOS_1.0.0(typeName_SemVersion)"
+ }
+ },
+ "description" : "Information related to the creation of the policy"
};
- defs["PolicyStatusInfo"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "lastModified" : {\r
- "type" : "string",\r
- "description" : "timestamp, last modification time"\r
- },\r
- "status" : {\r
- "type" : "object",\r
- "description" : "the Policy status"\r
- }\r
- },\r
- "description" : "Status for one A1-P Policy"\r
+ defs["PolicyStatusInfo"] = {
+ "type" : "object",
+ "properties" : {
+ "lastModified" : {
+ "type" : "string",
+ "description" : "timestamp, last modification time"
+ },
+ "status" : {
+ "type" : "object",
+ "description" : "the Policy status"
+ }
+ },
+ "description" : "Status for one A1-P Policy"
};
- defs["PolicyTypeInformation"] = {\r
- "required" : [ "nearRtRicId", "policyTypeId" ],\r
- "type" : "object",\r
- "properties" : {\r
- "policyTypeId" : {\r
- "type" : "string",\r
- "description" : "Identity of the policy type"\r
- },\r
- "nearRtRicId" : {\r
- "$ref" : "#/components/schemas/NearRtRicId"\r
- }\r
- },\r
- "description" : "Available policy types and for each policy type identifier the Near-RT RIC identifiers of those Near-RT RICs that support the related A1 policy type",\r
- "example" : {\r
- "policyTypeId" : "STD_QOS2_0.1.0",\r
- "nearRtRicId" : "ricsim_g3_2"\r
- }\r
+ defs["PolicyTypeInformation"] = {
+ "required" : [ "nearRtRicId", "policyTypeId" ],
+ "type" : "object",
+ "properties" : {
+ "policyTypeId" : {
+ "type" : "string",
+ "description" : "Identity of the policy type"
+ },
+ "nearRtRicId" : {
+ "$ref" : "#/components/schemas/NearRtRicId"
+ }
+ },
+ "description" : "Available policy types and for each policy type identifier the Near-RT RIC identifiers of those Near-RT RICs that support the related A1 policy type",
+ "example" : {
+ "policyTypeId" : "STD_QOS2_0.1.0",
+ "nearRtRicId" : "ricsim_g3_2"
+ }
};
- defs["PolicyTypeObject"] = {\r
- "required" : [ "policySchema" ],\r
- "type" : "object",\r
- "properties" : {\r
- "policySchema" : {\r
- "$ref" : "#/components/schemas/PolicySchema"\r
- },\r
- "statusSchema" : {\r
- "$ref" : "#/components/schemas/StatusSchema"\r
- }\r
- },\r
- "description" : "policy type object as defined in A1TD",\r
- "example" : {\r
- "policySchema" : {\r
- "$schema" : "http://json-schema.org/draft-07/schema#",\r
- "title" : "STD_QOS_0_2_0",\r
- "description" : "STD QOS policy type",\r
- "type" : "object",\r
- "properties" : {\r
- "scope" : {\r
- "type" : "object",\r
- "properties" : {\r
- "ueId" : {\r
- "type" : "string"\r
- },\r
- "qosId" : {\r
- "type" : "string"\r
- }\r
- },\r
- "additionalProperties" : false,\r
- "required" : [ "ueId", "qosId" ]\r
- },\r
- "qosObjectives" : {\r
- "type" : "object",\r
- "properties" : {\r
- "priorityLevel" : {\r
- "type" : "number"\r
- }\r
- },\r
- "additionalProperties" : false,\r
- "required" : [ "priorityLevel" ]\r
- }\r
- }\r
- },\r
- "statusSchema" : {\r
- "$schema" : "http://json-schema.org/draft-07/schema#",\r
- "title" : "STD_QOS_0.2.0",\r
- "description" : "STD QOS policy type status",\r
- "type" : "object",\r
- "properties" : {\r
- "enforceStatus" : {\r
- "type" : "string"\r
- },\r
- "enforceReason" : {\r
- "type" : "string"\r
- },\r
- "additionalProperties" : false,\r
- "required" : [ "enforceStatus" ]\r
- }\r
- }\r
- }\r
+ defs["PolicyTypeObject"] = {
+ "required" : [ "policySchema" ],
+ "type" : "object",
+ "properties" : {
+ "policySchema" : {
+ "$ref" : "#/components/schemas/PolicySchema"
+ },
+ "statusSchema" : {
+ "$ref" : "#/components/schemas/StatusSchema"
+ }
+ },
+ "description" : "policy type object as defined in A1TD",
+ "example" : {
+ "policySchema" : {
+ "$schema" : "http://json-schema.org/draft-07/schema#",
+ "title" : "STD_QOS_0_2_0",
+ "description" : "STD QOS policy type",
+ "type" : "object",
+ "properties" : {
+ "scope" : {
+ "type" : "object",
+ "properties" : {
+ "ueId" : {
+ "type" : "string"
+ },
+ "qosId" : {
+ "type" : "string"
+ }
+ },
+ "additionalProperties" : false,
+ "required" : [ "ueId", "qosId" ]
+ },
+ "qosObjectives" : {
+ "type" : "object",
+ "properties" : {
+ "priorityLevel" : {
+ "type" : "number"
+ }
+ },
+ "additionalProperties" : false,
+ "required" : [ "priorityLevel" ]
+ }
+ }
+ },
+ "statusSchema" : {
+ "$schema" : "http://json-schema.org/draft-07/schema#",
+ "title" : "STD_QOS_0.2.0",
+ "description" : "STD QOS policy type status",
+ "type" : "object",
+ "properties" : {
+ "enforceStatus" : {
+ "type" : "string"
+ },
+ "enforceReason" : {
+ "type" : "string"
+ },
+ "additionalProperties" : false,
+ "required" : [ "enforceStatus" ]
+ }
+ }
+ }
};
- defs["ProblemDetails"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "type" : {\r
- "type" : "string",\r
- "description" : "a URI reference according to IETF RFC 3986 that identifies the problem type"\r
- },\r
- "title" : {\r
- "type" : "string",\r
- "description" : "human-readable summary of the problem type"\r
- },\r
- "status" : {\r
- "type" : "number",\r
- "description" : "the HTTP status code"\r
- },\r
- "detail" : {\r
- "type" : "string",\r
- "description" : "human-readable explanation "\r
- },\r
- "instance" : {\r
- "type" : "string",\r
- "description" : "URI reference that identifies the specific occurrence of the problem"\r
- }\r
- },\r
- "description" : "A problem detail to carry details in an HTTP response according to RFC 7807"\r
+ defs["ProblemDetails"] = {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "type" : "string",
+ "description" : "a URI reference according to IETF RFC 3986 that identifies the problem type"
+ },
+ "title" : {
+ "type" : "string",
+ "description" : "human-readable summary of the problem type"
+ },
+ "status" : {
+ "type" : "number",
+ "description" : "the HTTP status code"
+ },
+ "detail" : {
+ "type" : "string",
+ "description" : "human-readable explanation "
+ },
+ "instance" : {
+ "type" : "string",
+ "description" : "URI reference that identifies the specific occurrence of the problem"
+ }
+ },
+ "description" : "A problem detail to carry details in an HTTP response according to RFC 7807"
};
- defs["RicInfo"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "ricId" : {\r
- "type" : "string",\r
- "description" : "Identity of the Near-RT RIC"\r
- },\r
- "managedElementIds" : {\r
- "type" : "array",\r
- "description" : "O1 identities for managed entities",\r
- "items" : {\r
- "type" : "string",\r
- "description" : "O1 identities for managed entities"\r
- }\r
- },\r
- "state" : {\r
- "type" : "string",\r
- "description" : "Represents the states for a Near-RT RIC",\r
- "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]\r
- },\r
- "policyTypeIds" : {\r
- "type" : "array",\r
- "description" : "supported policy types",\r
- "items" : {\r
- "type" : "string",\r
- "description" : "supported policy types"\r
- }\r
- }\r
- },\r
- "description" : "Information for a Near-RT RIC"\r
+ defs["RicInfo"] = {
+ "type" : "object",
+ "properties" : {
+ "ricId" : {
+ "type" : "string",
+ "description" : "Identity of the Near-RT RIC"
+ },
+ "managedElementIds" : {
+ "type" : "array",
+ "description" : "O1 identities for managed entities",
+ "items" : {
+ "type" : "string",
+ "description" : "O1 identities for managed entities"
+ }
+ },
+ "state" : {
+ "type" : "string",
+ "description" : "Represents the states for a Near-RT RIC",
+ "enum" : [ "UNAVAILABLE", "AVAILABLE", "SYNCHRONIZING", "CONSISTENCY_CHECK" ]
+ },
+ "policyTypeIds" : {
+ "type" : "array",
+ "description" : "supported policy types",
+ "items" : {
+ "type" : "string",
+ "description" : "supported policy types"
+ }
+ }
+ },
+ "description" : "Information for a Near-RT RIC"
};
- defs["RicInfoList"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "rics" : {\r
- "type" : "array",\r
- "description" : "List of Near-RT RIC information",\r
- "items" : {\r
- "$ref" : "#/components/schemas/RicInfo"\r
- }\r
- }\r
- },\r
- "description" : "List of Near-RT RIC information"\r
+ defs["RicInfoList"] = {
+ "type" : "object",
+ "properties" : {
+ "rics" : {
+ "type" : "array",
+ "description" : "List of Near-RT RIC information",
+ "items" : {
+ "$ref" : "#/components/schemas/RicInfo"
+ }
+ }
+ },
+ "description" : "List of Near-RT RIC information"
};
- defs["ServiceCallbackInfo"] = {\r
- "required" : [ "eventType", "ricId" ],\r
- "type" : "object",\r
- "properties" : {\r
- "ricId" : {\r
- "type" : "string",\r
- "description" : "Identity of a Near-RT RIC"\r
- },\r
- "eventType" : {\r
- "type" : "string",\r
- "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",\r
- "enum" : [ "AVAILABLE" ]\r
- }\r
- },\r
- "description" : "Information transferred as in Service callbacks (callback_url)"\r
+ defs["ServiceCallbackInfo"] = {
+ "required" : [ "eventType", "ricId" ],
+ "type" : "object",
+ "properties" : {
+ "ricId" : {
+ "type" : "string",
+ "description" : "Identity of a Near-RT RIC"
+ },
+ "eventType" : {
+ "type" : "string",
+ "description" : "values:\nAVAILABLE: the Near-RT RIC has become available for A1 Policy management",
+ "enum" : [ "AVAILABLE" ]
+ }
+ },
+ "description" : "Information transferred as in Service callbacks (callback_url)"
};
- defs["ServiceRegistrationInfo"] = {\r
- "required" : [ "serviceId" ],\r
- "type" : "object",\r
- "properties" : {\r
- "callbackUrl" : {\r
- "type" : "string",\r
- "description" : "callback for notifying of Near-RT RIC state changes"\r
- },\r
- "serviceId" : {\r
- "type" : "string",\r
- "description" : "Identity of the service"\r
- },\r
- "keepAliveIntervalSeconds" : {\r
- "type" : "integer",\r
- "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",\r
- "format" : "int64"\r
- }\r
- },\r
- "description" : "Information for one service"\r
+ defs["ServiceRegistrationInfo"] = {
+ "required" : [ "serviceId" ],
+ "type" : "object",
+ "properties" : {
+ "callbackUrl" : {
+ "type" : "string",
+ "description" : "callback for notifying of Near-RT RIC state changes"
+ },
+ "serviceId" : {
+ "type" : "string",
+ "description" : "Identity of the service"
+ },
+ "keepAliveIntervalSeconds" : {
+ "type" : "integer",
+ "description" : "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.",
+ "format" : "int64"
+ }
+ },
+ "description" : "Information for one service"
};
- defs["ServiceStatus"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "callbackUrl" : {\r
- "type" : "string",\r
- "description" : "callback for notifying of RIC synchronization"\r
- },\r
- "serviceId" : {\r
- "type" : "string",\r
- "description" : "Identity of the service"\r
- },\r
- "keepAliveIntervalSeconds" : {\r
- "type" : "integer",\r
- "description" : "policy keep alive timeout",\r
- "format" : "int64"\r
- },\r
- "timeSinceLastActivitySeconds" : {\r
- "type" : "integer",\r
- "description" : "time since last invocation by the service",\r
- "format" : "int64"\r
- }\r
- }\r
+ defs["ServiceStatus"] = {
+ "type" : "object",
+ "properties" : {
+ "callbackUrl" : {
+ "type" : "string",
+ "description" : "callback for notifying of RIC synchronization"
+ },
+ "serviceId" : {
+ "type" : "string",
+ "description" : "Identity of the service"
+ },
+ "keepAliveIntervalSeconds" : {
+ "type" : "integer",
+ "description" : "policy keep alive timeout",
+ "format" : "int64"
+ },
+ "timeSinceLastActivitySeconds" : {
+ "type" : "integer",
+ "description" : "time since last invocation by the service",
+ "format" : "int64"
+ }
+ }
};
- defs["ServiceStatusList"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "serviceList" : {\r
- "type" : "array",\r
- "description" : "List of service information",\r
- "items" : {\r
- "$ref" : "#/components/schemas/ServiceStatus"\r
- }\r
- }\r
- }\r
+ defs["ServiceStatusList"] = {
+ "type" : "object",
+ "properties" : {
+ "serviceList" : {
+ "type" : "array",
+ "description" : "List of service information",
+ "items" : {
+ "$ref" : "#/components/schemas/ServiceStatus"
+ }
+ }
+ }
};
- defs["StatusInfo"] = {\r
- "type" : "object",\r
- "properties" : {\r
- "status" : {\r
- "type" : "string",\r
- "description" : "status text"\r
- }\r
- }\r
+ defs["StatusInfo"] = {
+ "type" : "object",
+ "properties" : {
+ "status" : {
+ "type" : "string",
+ "description" : "status text"
+ }
+ }
};
- defs["NearRtRicId"] = {\r
- "type" : "string",\r
- "description" : "Identity of the policy"\r
+ defs["NearRtRicId"] = {
+ "type" : "string",
+ "description" : "Identity of the policy"
};
var errs = {};
-H "Accept: application/json,application/problem+json" \
-H "Content-Type: application/json" \
"https://example.com/a1-policy-management/v1/policies" \
- -d '{\r
- "policyId" : "POLICY-ID",\r
- "nearRtRicId" : "Near-RT-Ric-ID",\r
- "transient" : false,\r
- "policyObject" : "{}",\r
- "serviceId" : "rApp ID",\r
- "policyTypeId" : "ORAN_QOS_1.0.0(typeName_SemVersion)"\r
+ -d '{
+ "policyId" : "POLICY-ID",
+ "nearRtRicId" : "Near-RT-Ric-ID",
+ "transient" : false,
+ "policyObject" : "{}",
+ "serviceId" : "rApp ID",
+ "policyTypeId" : "ORAN_QOS_1.0.0(typeName_SemVersion)"
}'
</code></pre>
</div>
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyObjectInformation"\r
- }\r
- }\r
- },\r
- "required" : true\r
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObjectInformation"
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
<div id="responses-A1PolicyManagement-createPolicy-schema-201" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Success case 201 created",\r
- "headers" : {\r
- "Location" : {\r
- "description" : "Contains the URI of the newly created resource",\r
- "required" : true,\r
- "style" : "simple",\r
- "explode" : false,\r
- "schema" : {\r
- "type" : "string"\r
- }\r
- }\r
- },\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyObjectInformation"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Success case 201 created",
+ "headers" : {
+ "Location" : {
+ "description" : "Contains the URI of the newly created resource",
+ "required" : true,
+ "style" : "simple",
+ "explode" : false,
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ },
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObjectInformation"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-405" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Method Not Allowed",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Method Not Allowed",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-409" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Conflict",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Conflict",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-413" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Payload Too Large",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Payload Too Large",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-415" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unsupported Media Type",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unsupported Media Type",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-423" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ErrorInformation"\r
- },\r
- "example" : {\r
- "status" : 423,\r
- "title" : "Locked",\r
- "detail" : "State is Locked in the provided request."\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-createPolicy-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-204" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "The A1 policy was deleted"\r
+ var schemaWrapper = {
+ "description" : "The A1 policy was deleted"
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-405" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Method Not Allowed",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Method Not Allowed",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-423" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ErrorInformation"\r
- },\r
- "example" : {\r
- "status" : 423,\r
- "title" : "Locked",\r
- "detail" : "State is Locked in the provided request."\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-deletePolicy-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy identities",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "type" : "array",\r
- "items" : {\r
- "$ref" : "#/components/schemas/PolicyInformation"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy identities",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/PolicyInformation"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getAllPolicies-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy found",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyObject"\r
- },\r
- "examples" : {\r
- "policyObject" : {\r
- "$ref" : "#/components/examples/PolicyObject"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy found",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ },
+ "examples" : {
+ "policyObject" : {
+ "$ref" : "#/components/examples/PolicyObject"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicy-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyStatusObject"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyStatusObject"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyStatus-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - schema of the given policy type",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyTypeObject"\r
- },\r
- "examples" : {\r
- "PolicyTypeObject" : {\r
- "$ref" : "#/components/examples/PolicyTypeObject"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - schema of the given policy type",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyTypeObject"
+ },
+ "examples" : {
+ "PolicyTypeObject" : {
+ "$ref" : "#/components/examples/PolicyTypeObject"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypeDefinition-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy Type IDs found Ok",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "type" : "array",\r
- "items" : {\r
- "$ref" : "#/components/schemas/PolicyTypeInformation"\r
- }\r
- },\r
- "examples" : {\r
- "PolicyTypeInformation" : {\r
- "$ref" : "#/components/examples/PolicyTypeInformation"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy Type IDs found Ok",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/components/schemas/PolicyTypeInformation"
+ }
+ },
+ "examples" : {
+ "PolicyTypeInformation" : {
+ "$ref" : "#/components/examples/PolicyTypeInformation"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-getPolicyTypes-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyObject"\r
- },\r
- "examples" : {\r
- "policyObject" : {\r
- "$ref" : "#/components/examples/PolicyObject"\r
- }\r
- }\r
- }\r
- },\r
- "required" : true\r
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ },
+ "examples" : {
+ "policyObject" : {
+ "$ref" : "#/components/examples/PolicyObject"
+ }
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
<div id="responses-A1PolicyManagement-putPolicy-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Policy updated",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/PolicyObject"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Policy updated",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/PolicyObject"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-401" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unauthorized",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unauthorized",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-403" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Forbidden",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Forbidden",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-406" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Acceptable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Acceptable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-411" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Length Required",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Length Required",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-413" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Payload Too Large",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Payload Too Large",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-415" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Unsupported Media Type",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Unsupported Media Type",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-423" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Locked - HTTP Status code which can be used when the state is Locked",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ErrorInformation"\r
- },\r
- "example" : {\r
- "status" : 423,\r
- "title" : "Locked",\r
- "detail" : "State is Locked in the provided request."\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Locked - HTTP Status code which can be used when the state is Locked",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ErrorInformation"
+ },
+ "example" : {
+ "status" : 423,
+ "title" : "Locked",
+ "detail" : "State is Locked in the provided request."
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-429" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Too Many Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Too Many Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-500" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Internal Server Error",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Internal Server Error",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-502" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Gateway",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Gateway",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-A1PolicyManagement-putPolicy-schema-503" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Service Unavailable",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Service Unavailable",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-Configuration-getConfiguration-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Application configuration received",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "type" : "string"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Application configuration received",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-Configuration-getConfiguration-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "type" : "object"\r
- }\r
- }\r
- },\r
- "required" : true\r
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
<div id="responses-Configuration-putConfiguration-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Configuration updated",\r
- "content" : {\r
- "*/*" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/void"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Configuration updated",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/void"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-Configuration-putConfiguration-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-HealthCheck-getStatus-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK- Service is living Ok",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/StatusInfo"\r
- },\r
- "examples" : {\r
- "status_info" : {\r
- "$ref" : "#/components/examples/StatusInfo"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK- Service is living Ok",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/StatusInfo"
+ },
+ "examples" : {
+ "status_info" : {
+ "$ref" : "#/components/examples/StatusInfo"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-NearRTRICRepository-getRic-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Near-RT RIC is found OK",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/RicInfo"\r
- },\r
- "examples" : {\r
- "ric_info" : {\r
- "$ref" : "#/components/examples/RicInfo"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Near-RT RIC is found OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/RicInfo"
+ },
+ "examples" : {
+ "ric_info" : {
+ "$ref" : "#/components/examples/RicInfo"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-NearRTRICRepository-getRic-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-NearRTRICRepository-getRics-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/RicInfoList"\r
- },\r
- "examples" : {\r
- "ric_info_list" : {\r
- "$ref" : "#/components/examples/RicInfoList"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/RicInfoList"
+ },
+ "examples" : {
+ "ric_info_list" : {
+ "$ref" : "#/components/examples/RicInfoList"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-NearRTRICRepository-getRics-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-deleteService-schema-204" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "No Content - Service unregistered",\r
- "content" : {\r
- "*/*" : {\r
- "schema" : {\r
- "type" : "object"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "No Content - Service unregistered",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-deleteService-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-getServices-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK",\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ServiceStatusList"\r
- },\r
- "examples" : {\r
- "service_status_list" : {\r
- "$ref" : "#/components/examples/ServiceStatusList"\r
- }\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK",
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ServiceStatusList"
+ },
+ "examples" : {
+ "service_status_list" : {
+ "$ref" : "#/components/examples/ServiceStatusList"
+ }
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-getServices-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "type" : "string"\r
- }\r
- }\r
- },\r
- "required" : false\r
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "type" : "string"
+ }
+ }
+ },
+ "required" : false
};
var schema = findNode('schema',schemaWrapper).schema;
<div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Service supervision timer refreshed, OK",\r
- "content" : {\r
- "*/*" : {\r
- "schema" : {\r
- "type" : "object"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Service supervision timer refreshed, OK",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-keepAliveService-schema-404" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Not Found",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Not Found",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
-H "Accept: */*,application/problem+json" \
-H "Content-Type: application/json" \
"https://example.com/a1-policy-management/v1/services" \
- -d '{\r
- "keepAliveIntervalSeconds" : 0,\r
- "callbackUrl" : "callbackUrl",\r
- "serviceId" : "serviceId"\r
+ -d '{
+ "keepAliveIntervalSeconds" : 0,
+ "callbackUrl" : "callbackUrl",
+ "serviceId" : "serviceId"
}'
</code></pre>
</div>
<p class="marked"></p>
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "content" : {\r
- "application/json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ServiceRegistrationInfo"\r
- }\r
- }\r
- },\r
- "required" : true\r
+ var schemaWrapper = {
+ "content" : {
+ "application/json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ServiceRegistrationInfo"
+ }
+ }
+ },
+ "required" : true
};
var schema = findNode('schema',schemaWrapper).schema;
<div id="responses-ServiceRegistryAndSupervision-putService-schema-200" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "OK - Service updated",\r
- "content" : {\r
- "*/*" : {\r
- "schema" : {\r
- "type" : "object"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "OK - Service updated",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-putService-schema-201" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Created - Service created",\r
- "content" : {\r
- "*/*" : {\r
- "schema" : {\r
- "type" : "object"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Created - Service created",
+ "content" : {
+ "*/*" : {
+ "schema" : {
+ "type" : "object"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
<div id="responses-ServiceRegistryAndSupervision-putService-schema-400" class="exampleStyle">
<script>
$(document).ready(function() {
- var schemaWrapper = {\r
- "description" : "Bad Request",\r
- "content" : {\r
- "application/problem+json" : {\r
- "schema" : {\r
- "$ref" : "#/components/schemas/ProblemDetails"\r
- }\r
- }\r
- }\r
+ var schemaWrapper = {
+ "description" : "Bad Request",
+ "content" : {
+ "application/problem+json" : {
+ "schema" : {
+ "$ref" : "#/components/schemas/ProblemDetails"
+ }
+ }
+ }
};
var schema = findNode('schema',schemaWrapper).schema;
if (!schema) {
"type" : "string"
},
"serviceId" : {
+ "default" : "",
"description" : "the identity of the service owning the policy. This can be used to group the policies (it is possible to get all policies associated to a service). Note that the service does not need to be registered.",
"example" : "rApp ID",
"type" : "string"