RniAPI.json 191 KB
Newer Older
              "properties": {
                "S1BearerSubscription": {
                  "$ref": "#/definitions/S1BearerSubscription"
                }
              }
            },
            "examples": {
              "application/json": {
                "S1BearerSubscription": {
                  "callbackReference": "http://meAppClient.example.com/rni/v1/notifications/s1_bearer/77777",
                  "_links": {
                    "self": "http://meAppServer.example.com/rni/v1/subscriptions/s1_bearer/sub123"
                  },
                  "eventType": 1,
                  "s1BearerSubscriptionCriteria": {
                    "associateId": {
                      "type": "1",
                      "value": "192.0.2.0"
                    },
                    "plmn": {
                      "mnc": "01",
                      "mcc": "001"
                    },
                    "cellId": "0x800000B",
                    "erabId": 1
                  },
                  "expiryDeadline": {
                    "seconds": 1577836800,
                    "nanoSeconds": 0
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "406": {
            "description": "Not Acceptable",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "412": {
            "description": "Precondition failed",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Entity",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            },
            "examples": {
              "application/problem+json": {
                "ProblemDetails": {
                  "type": "https://meAppServer.example.com/rni/v1/probs/too-many-targets",
                  "title": "Too many targets",
                  "status": "422",
                  "detail": "The target area for the request is considered too large",
                  "instance": "/meAppClient.example.com/77777/msgs/abc"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "description": "Method to delete a subscription",
        "operationId": "S1Bearer_subscriptionsSubscrIdDELETE",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "$ref": "#/parameters/Path.subscrId"
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        },
        "x-swagger-router-controller": "Default"
      }
    },
    "/subscriptions/ta": {
      "get": {
        "description": "The GET method can be used to request information about the ta subscriptions for this requestor",
        "operationId": "SubscriptionLinkList_subscriptions_ta_GET",
        "produces": [
          "application/json",
          "application/problem+json"
        ],
        "responses": {
          "200": {
            "description": "Response body contains the list of links to requestors ta subscriptions.",
            "schema": {
              "type": "object",
              "properties": {
                "SubscriptionLinkList": {
                  "$ref": "#/definitions/SubscriptionLinkList"
                }
              }
            },
            "examples": {
              "application/json": {
                "SubscriptionLinkList": {
                  "_links": {
                    "self": "http://meAppServer.example.com/rni/v1/subscriptions/ta",
                    "susbcription": [
                      {
                        "href": "http://meAppClient.example.com/rni/v1/notifications/ta/77777",
                        "subscriptionType": "MEAS_ REPORT_UE"
                      },
                      {
                        "href": "http://meAppClient.example.com/rni/v1/notifications/ta/77778",
                        "subscriptionType": "MEAS_ REPORT_UE"
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "406": {
            "description": "Not Acceptable",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          }
        },
        "x-swagger-router-controller": "Default"
      },
      "post": {
        "description": "Creates a subscription to UE Timing Advance notifications from Radio Network Information Service",
        "operationId": "MeasTa_subscriptionsPOST",
        "produces": [
          "application/json",
          "application/problem+json"
        ],
        "parameters": [
          {
            "$ref": "#/parameters/Body.MeasTaSubscriptionPost"
          }
        ],
        "responses": {
          "201": {
            "description": "Successful subscription to response to UE Timing Advance notifications",
            "schema": {
              "type": "object",
              "properties": {
                "MeasTaSubscription": {
                  "$ref": "#/definitions/MeasTaSubscription"
                }
              }
            },
            "examples": {
              "application/json": {
                "MeasTaSubscription": {
                  "callbackReference": "http://meAppClient.example.com/rni/v1/notifications/ta/77777",
                  "_links": {
                    "self": "http://meAppServer.example.com/rni/v1/subscriptions/ta/sub123"
                  },
                  "filterCriteria": {
                    "associateId": {
                      "type": "1",
                      "value": "192.0.2.0"
                    },
                    "plmn": {
                      "mnc": "01",
                      "mcc": "001"
                    },
                    "appInsId": "01",
                    "trigger": 6,
                    "cellId": "0x800000B"
                  },
                  "expiryDeadline": {
                    "seconds": 1577836800,
                    "nanoSeconds": 0
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "406": {
            "description": "Not Acceptable",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "415": {
            "description": "Unsupported Media Type",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Entity",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            },
            "examples": {
              "application/problem+json": {
                "ProblemDetails": {
                  "type": "https://meAppServer.example.com/rni/v1/probs/too-many-targets",
                  "title": "Too many targets",
                  "status": "422",
                  "detail": "The target area for the request is considered too large",
                  "instance": "/meAppClient.example.com/77777/msgs/abc"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          }
        },
        "x-swagger-router-controller": "Default"
      }
    },
    "/subscriptions/ta/{subscriptionId}": {
      "get": {
        "description": "Gets UE Timing Advance subscription information from Radio Network Information Service",
        "operationId": "MeasTa_subscriptionsGET",
        "produces": [
          "application/json",
          "application/problem+json"
        ],
        "parameters": [
          {
            "$ref": "#/parameters/Path.subscrId"
          }
        ],
        "responses": {
          "200": {
            "description": "Subscription information regarding UE Timing Advance notifications",
            "schema": {
              "type": "object",
              "properties": {
                "MeasTaSubscription": {
                  "$ref": "#/definitions/MeasTaSubscription"
                }
              }
            },
            "examples": {
              "application/json": {
                "MeasTaSubscription": {
                  "callbackReference": "http://meAppClient.example.com/rni/v1/notifications/ta/77777",
                  "_links": {
                    "self": "http://meAppServer.example.com/rni/v1/subscriptions/ta/sub123"
                  },
                  "filterCriteria": {
                    "associateId": {
                      "type": "1",
                      "value": "192.0.2.0"
                    },
                    "plmn": {
                      "mnc": "01",
                      "mcc": "001"
                    },
                    "appInsId": "01",
                    "trigger": 6,
                    "cellId": "0x800000B"
                  },
                  "expiryDeadline": {
                    "seconds": 1577836800,
                    "nanoSeconds": 0
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "406": {
            "description": "Not Acceptable",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "description": "Updates a subscription to UE Timing Advance notifications from Radio Network Information Service",
        "operationId": "MeasTa_subscriptionsPUT",
        "produces": [
          "application/json",
          "application/problem+json"
        ],
        "parameters": [
          {
            "$ref": "#/parameters/Path.subscrId"
          },
          {
            "$ref": "#/parameters/Body.MeasTaSubscription"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful subscription to response to UE Timing Advance notifications",
            "schema": {
              "type": "object",
              "properties": {
                "MeasTaSubscription": {
                  "$ref": "#/definitions/MeasTaSubscription"
                }
              }
            },
            "examples": {
              "application/json": {
                "MeasTaSubscription": {
                  "callbackReference": "http://meAppClient.example.com/rni/v1/notifications/ta/77777",
                  "_links": {
                    "self": "http://meAppServer.example.com/rni/v1/subscriptions/ta/sub123"
                  },
                  "filterCriteria": {
                    "associateId": {
                      "type": "1",
                      "value": "192.0.2.0"
                    },
                    "plmn": {
                      "mnc": "01",
                      "mcc": "001"
                    },
                    "appInsId": "01",
                    "trigger": 6,
                    "cellId": "0x800000B"
                  },
                  "expiryDeadline": {
                    "seconds": 1577836800,
                    "nanoSeconds": 0
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "406": {
            "description": "Not Acceptable",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "412": {
            "description": "Precondition failed",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Entity",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            },
            "examples": {
              "application/problem+json": {
                "ProblemDetails": {
                  "type": "https://meAppServer.example.com/rni/v1/probs/too-many-targets",
                  "title": "Too many targets",
                  "status": "422",
                  "detail": "The target area for the request is considered too large",
                  "instance": "/meAppClient.example.com/77777/msgs/abc"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "description": "Method to delete a subscription",
        "operationId": "MeasTa_subscriptionsSubscrIdDELETE",
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "$ref": "#/parameters/Path.subscrId"
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        },
        "x-swagger-router-controller": "Default"
      }
    },
    "/subscriptions/meas_rep_ue": {
      "get": {
        "description": "The GET method can be used to request information about the meas_rep_ue subscriptions for this requestor",
        "operationId": "SubscriptionLinkList_subscriptions_mr_GET",
        "produces": [
          "application/json",
          "application/problem+json"
        ],
        "responses": {
          "200": {
            "description": "Response body contains the list of links to requestors meas_rep_ue subscriptions.",
            "schema": {
              "type": "object",
              "properties": {
                "SubscriptionLinkList": {
                  "$ref": "#/definitions/SubscriptionLinkList"
                }
              }
            },
            "examples": {
              "application/json": {
                "SubscriptionLinkList": {
                  "_links": {
                    "self": "http://meAppServer.example.com/rni/v1/subscriptions/meas_rep_ue",
                    "susbcription": [
                      {
                        "href": "http://meAppClient.example.com/rni/v1/notifications/meas_rep_ue/77777",
                        "subscriptionType": "MEAS_ REPORT_UE"
                      },
                      {
                        "href": "http://meAppClient.example.com/rni/v1/notifications/meas_rep_ue/77778",
                        "subscriptionType": "MEAS_ REPORT_UE"
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "406": {
            "description": "Not Acceptable",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          }
        },
        "x-swagger-router-controller": "Default"
      },
      "post": {
        "description": "Creates a subscription to UE measurement report notifications from Radio Network Information Service",
        "operationId": "MeasRepUe_subscriptionsPOST",
        "produces": [
          "application/json",
          "application/problem+json"
        ],
        "parameters": [
          {
            "$ref": "#/parameters/Body.MeasRepUeSubscriptionPost"
          }
        ],
        "responses": {
          "201": {
            "description": "Successful subscription to response to UE measurement report notifications",
            "schema": {
              "type": "object",
              "properties": {
                "MeasRepUeSubscription": {
                  "$ref": "#/definitions/MeasRepUeSubscription"
                }
              }
            },
            "examples": {
              "application/json": {
                "MeasRepUeSubscription": {
                  "callbackReference": "http://meAppClient.example.com/rni/v1/notifications/meas_rep_ue/77777",
                  "_links": {
                    "self": "http://meAppServer.example.com/rni/v1/subscriptions/meas_rep_ue/sub123"
                  },
                  "filterCriteria": {
                    "associateId": {
                      "type": "1",
                      "value": "192.0.2.0"
                    },
                    "plmn": {
                      "mnc": "01",
                      "mcc": "001"
                    },
                    "appInsId": "01",
                    "trigger": 6,
                    "cellId": "0x800000B"
                  },
                  "expiryDeadline": {
                    "seconds": 1577836800,
                    "nanoSeconds": 0
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "406": {
            "description": "Not Acceptable",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "415": {
            "description": "Unsupported Media Type",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Entity",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            },
            "examples": {
              "application/problem+json": {
                "ProblemDetails": {
                  "type": "https://meAppServer.example.com/rni/v1/probs/too-many-targets",
                  "title": "Too many targets",
                  "status": "422",
                  "detail": "The target area for the request is considered too large",
                  "instance": "/meAppClient.example.com/77777/msgs/abc"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "schema": {
              "type": "object",
              "properties": {
                "ProblemDetails": {
                  "$ref": "#/definitions/ProblemDetails"
                }
              }
            }
          }
        },
        "x-swagger-router-controller": "Default"