RniAPI.yaml 150 KB
Newer Older
Michel Roy's avatar
Michel Roy committed
1
openapi: 3.0.0
2
info:
Michel Roy's avatar
Michel Roy committed
3
4
5
  title: ETSI GS MEC 012 - Radio Network Information API
  version: 2.1.1
  description: The ETSI MEC ISG MEC012 Radio Network Information API described using OpenAPI.
6
  license:
admin_forge's avatar
admin_forge committed
7
8
    name: BSD-3-Clause
    url: 'https://forge.etsi.org/legal-matters'
9
externalDocs:
Michel Roy's avatar
Michel Roy committed
10
11
12
  description: ETSI GS MEC 012 Radio Network Information API, V2.1.1
  url: 'http://www.etsi.org/deliver/etsi_gs/MEC/001_099/012/02.01.01_60/gs_mec012v020101p.pdf'
servers:
Michel Roy's avatar
Michel Roy committed
13
14
15
  - url: 'https://localhost/rni/v2'
tags:
- name: 'rni'
16
paths:
17
  /queries/rab_info:
18
    get:
Michel Roy's avatar
Michel Roy committed
19
      tags:
Michel Roy's avatar
Michel Roy committed
20
      - 'rni'
Michel Roy's avatar
Michel Roy committed
21
22
      summary: 'Retrieve information on Radio Access Bearers'
      description: 'Queries information about the Radio Access Bearers'
23
24
      operationId: rab_infoGET
      parameters:
Michel Roy's avatar
Michel Roy committed
25
26
27
28
29
30
31
32
33
34
35
36
        - $ref: '#/components/parameters/Query.AppInsId'
        - $ref: '#/components/parameters/Query.CellId'
        - $ref: '#/components/parameters/Query.UeIpv4Address'
        - $ref: '#/components/parameters/Query.UeIpv6Address'
        - $ref: '#/components/parameters/Query.NatedIpAddress'
        - $ref: '#/components/parameters/Query.GtpTeid'
        - $ref: '#/components/parameters/Query.ErabId'
        - $ref: '#/components/parameters/Query.Qci'
        - $ref: '#/components/parameters/Query.ErabMbrDl'
        - $ref: '#/components/parameters/Query.ErabMbrUl'
        - $ref: '#/components/parameters/Query.ErabGbrDl'
        - $ref: '#/components/parameters/Query.ErabGbrUl'
37
38
39
      responses:
        '200':
          description: Successful response to rab_info request
Michel Roy's avatar
Michel Roy committed
40
          content:
41
            application/json:
Michel Roy's avatar
Michel Roy committed
42
43
44
45
46
              schema:
                type: object
                properties:
                  rabInfo:
                    $ref: '#/components/schemas/RabInfo'
47
        '400':
Michel Roy's avatar
Michel Roy committed
48
          $ref: '#/components/responses/400'
49
        '401':
Michel Roy's avatar
Michel Roy committed
50
          $ref: '#/components/responses/401'
51
        '403':
Michel Roy's avatar
Michel Roy committed
52
          $ref: '#/components/responses/403'
53
        '404':
Michel Roy's avatar
Michel Roy committed
54
          $ref: '#/components/responses/404'
55
        '406':
Michel Roy's avatar
Michel Roy committed
56
          $ref: '#/components/responses/406'
57
        '429':
Michel Roy's avatar
Michel Roy committed
58
59
          $ref: '#/components/responses/429'
      x-swagger-router-controller: "queries"
60
  /queries/plmn_info:
61
    get:
Michel Roy's avatar
Michel Roy committed
62
      tags:
Michel Roy's avatar
Michel Roy committed
63
      - 'rni'
Michel Roy's avatar
Michel Roy committed
64
65
      summary: 'Retrieve information on the underlying Mobile Network that the MEC application is associated to'
      description: 'Queries information about the Mobile Network'
66
67
      operationId: plmn_infoGET
      parameters:
Michel Roy's avatar
Michel Roy committed
68
        - $ref: '#/components/parameters/Query.AppInsIdArr'
69
70
      responses:
        '200':
Michel Roy's avatar
Michel Roy committed
71
72
          description: Successful response to plmn_info request
          content:
73
            application/json:
Michel Roy's avatar
Michel Roy committed
74
75
76
77
78
79
80
              schema:
                type: "object"
                properties:
                  plmnInfo:
                    type: "array"
                    items:
                      $ref: '#/components/schemas/PlmnInfo'
81
        '400':
Michel Roy's avatar
Michel Roy committed
82
          $ref: '#/components/responses/400'
83
        '401':
Michel Roy's avatar
Michel Roy committed
84
          $ref: '#/components/responses/401'
85
        '403':
Michel Roy's avatar
Michel Roy committed
86
          $ref: '#/components/responses/403'
87
        '404':
Michel Roy's avatar
Michel Roy committed
88
          $ref: '#/components/responses/404'
89
        '406':
Michel Roy's avatar
Michel Roy committed
90
          $ref: '#/components/responses/406'
91
        '429':
Michel Roy's avatar
Michel Roy committed
92
93
          $ref: '#/components/responses/429'
      x-swagger-router-controller: "queries"
94
  /queries/s1_bearer_info:
95
    get:
Michel Roy's avatar
Michel Roy committed
96
      tags:
Michel Roy's avatar
Michel Roy committed
97
      - 'rni'
Michel Roy's avatar
Michel Roy committed
98
99
      summary: 'Retrieve S1-U bearer information related to specific UE(s)'
      description: 'Queries information about the S1 bearer(s)'
100
101
      operationId: s1_bearer_infoGET
      parameters:
Michel Roy's avatar
Michel Roy committed
102
103
104
105
106
107
108
        - $ref: '#/components/parameters/Query.TempUeId'
        - $ref: '#/components/parameters/Query.UeIpv4Address'
        - $ref: '#/components/parameters/Query.UeIpv6Address'
        - $ref: '#/components/parameters/Query.NatedIpAddress'
        - $ref: '#/components/parameters/Query.GtpTeid'
        - $ref: '#/components/parameters/Query.CellId'
        - $ref: '#/components/parameters/Query.ErabIdArr'
109
110
111
      responses:
        '200':
          description: Successful response to s1_bearer_info request
Michel Roy's avatar
Michel Roy committed
112
          content:
113
            application/json:
Michel Roy's avatar
Michel Roy committed
114
115
116
117
118
119
120
              schema:
                type: "object"
                required:
                  - "s1BearerInfo"
                properties:
                  s1BearerInfo:
                    $ref: '#/components/schemas/S1BearerInfo'
121
        '400':
Michel Roy's avatar
Michel Roy committed
122
          $ref: '#/components/responses/400'
123
        '401':
Michel Roy's avatar
Michel Roy committed
124
          $ref: '#/components/responses/401'
125
        '403':
Michel Roy's avatar
Michel Roy committed
126
          $ref: '#/components/responses/403'
127
        '404':
Michel Roy's avatar
Michel Roy committed
128
          $ref: '#/components/responses/404'
129
        '406':
Michel Roy's avatar
Michel Roy committed
130
          $ref: '#/components/responses/406'
131
        '429':
Michel Roy's avatar
Michel Roy committed
132
133
134
          $ref: '#/components/responses/429'
      x-swagger-router-controller: "queries"
  /queries/layer2_meas:
135
    get:
Michel Roy's avatar
Michel Roy committed
136
      tags:
Michel Roy's avatar
Michel Roy committed
137
      - 'rni'
Michel Roy's avatar
Michel Roy committed
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
      summary: 'Retrieve information on layer 2 measurements'
      description: 'Queries information about the layer 2 measurements.'
      operationId: layer2_meas_infoGET
      parameters:
        - $ref: '#/components/parameters/Query.AppInsId'
        - $ref: '#/components/parameters/Query.CellId'
        - $ref: '#/components/parameters/Query.UeIpv4Address'
        - $ref: '#/components/parameters/Query.UeIpv6Address'
        - $ref: '#/components/parameters/Query.NatedIpAddress'
        - $ref: '#/components/parameters/Query.GtpTeid'
        - $ref: '#/components/parameters/Query.DlGbrPrbUsageCell'
        - $ref: '#/components/parameters/Query.UlGbrPrbUsageCell'
        - $ref: '#/components/parameters/Query.DlNonGbrPrbUsageCell'
        - $ref: '#/components/parameters/Query.UlNonGbrPrbUsageCell'
        - $ref: '#/components/parameters/Query.DlTotalPrbUsageCell'
        - $ref: '#/components/parameters/Query.UlTotalPrbUsageCell'
        - $ref: '#/components/parameters/Query.ReceivedDedicatedPreamblesCell'
        - $ref: '#/components/parameters/Query.ReceivedRandomPreamblesLowRangeCell'
        - $ref: '#/components/parameters/Query.ReceivedRandomPreamblesHighRangeCell'
        - $ref: '#/components/parameters/Query.NumberOfActiveUeDlGbrCell'
        - $ref: '#/components/parameters/Query.NumberOfActiveUeUlGbrCell'
        - $ref: '#/components/parameters/Query.NumberOfActiveUeDlNonGbrCell'
        - $ref: '#/components/parameters/Query.NumberOfActiveUeUlNonGbrCell'
        - $ref: '#/components/parameters/Query.DlGbrPdrCell'
        - $ref: '#/components/parameters/Query.UlGbrPdrCell'
        - $ref: '#/components/parameters/Query.DlNonGbrPdrCell'
        - $ref: '#/components/parameters/Query.UlNonGbrPdrCell'
        - $ref: '#/components/parameters/Query.DlGbrDelayUe'
        - $ref: '#/components/parameters/Query.UlGbrDelayUe'
        - $ref: '#/components/parameters/Query.DlNonGbrDelayUe'
        - $ref: '#/components/parameters/Query.UlNonGbrDelayUe'
        - $ref: '#/components/parameters/Query.DlGbrPdrUe'
        - $ref: '#/components/parameters/Query.UlGbrPdrUe'
        - $ref: '#/components/parameters/Query.DlNonGbrPdrUe'
        - $ref: '#/components/parameters/Query.UlNonGbrPdrUe'
        - $ref: '#/components/parameters/Query.DlGbrThroughputUe'
        - $ref: '#/components/parameters/Query.UlGbrThroughputUe'
        - $ref: '#/components/parameters/Query.DlNonGbrThroughputUe'
        - $ref: '#/components/parameters/Query.UlNonGbrThroughputUe'
        - $ref: '#/components/parameters/Query.DlGbrDataVolumeUe'
        - $ref: '#/components/parameters/Query.UlGbrDataVolumeUe'
        - $ref: '#/components/parameters/Query.DlNonGbrDataVolumeUe'
        - $ref: '#/components/parameters/Query.UlNonGbrDataVolumeUe'
181
182
      responses:
        '200':
Michel Roy's avatar
Michel Roy committed
183
184
          description: Successful response to layer2 measurements info request
          content:
185
            application/json:
Michel Roy's avatar
Michel Roy committed
186
187
188
189
190
191
192
              schema:
                type: "object"
                required:
                  - "l2Meas"
                properties:
                  l2Meas:
                    $ref: '#/components/schemas/L2Meas'
193
        '400':
Michel Roy's avatar
Michel Roy committed
194
          $ref: '#/components/responses/400'
195
        '401':
Michel Roy's avatar
Michel Roy committed
196
          $ref: '#/components/responses/401'
197
        '403':
Michel Roy's avatar
Michel Roy committed
198
          $ref: '#/components/responses/403'
199
        '404':
Michel Roy's avatar
Michel Roy committed
200
          $ref: '#/components/responses/404'
201
        '406':
Michel Roy's avatar
Michel Roy committed
202
203
204
          $ref: '#/components/responses/406'
        '414':
          $ref: '#/components/responses/414'
205
        '429':
Michel Roy's avatar
Michel Roy committed
206
207
          $ref: '#/components/responses/429'
      x-swagger-router-controller: "queries"
Michel Roy's avatar
Michel Roy committed
208
  /subscriptions:
209
    get:
Michel Roy's avatar
Michel Roy committed
210
      tags:
Michel Roy's avatar
Michel Roy committed
211
      - 'rni'
Michel Roy's avatar
Michel Roy committed
212
213
214
215
216
      summary: 'Retrieve information on subscriptions for notifications'
      description: 'Queries information on subscriptions for notifications'
      operationId: subscriptionLinkList_subscriptionsGET
      parameters:
        - $ref: '#/components/parameters/Query.SubscriptionType'
217
218
      responses:
        '200':
Michel Roy's avatar
Michel Roy committed
219
220
          description: 'Response body contains the list of links to requestors subscriptions.'
          content:
221
            application/json:
Michel Roy's avatar
Michel Roy committed
222
223
224
225
226
227
228
229
230
231
232
233
              schema:
                type: object
                required:
                  - subscriptionLinkList
                properties:
                  subscriptionLinkList:
                    $ref: '#/components/schemas/SubscriptionLinkList'
              example:
                subscriptionLinkList:
                  _links:
                    self:
                      href: 'http://meAppServer.example.com/rni/v2/subscriptions'
234
                  subscription:
Michel Roy's avatar
Michel Roy committed
235
236
237
238
239
                    - _links:
                        self:
                          href: 'http://meAppServer.example.com/rni/v2/subscriptions/sub123'
                      callbackReference: 'http://my.callback.com/rni-cell-change/some-id'
                      subscriptionType: CellChangeSubscription
240
        '400':
Michel Roy's avatar
Michel Roy committed
241
          $ref: '#/components/responses/400'
242
        '401':
Michel Roy's avatar
Michel Roy committed
243
          $ref: '#/components/responses/401'
244
        '403':
Michel Roy's avatar
Michel Roy committed
245
          $ref: '#/components/responses/403'
246
        '404':
Michel Roy's avatar
Michel Roy committed
247
          $ref: '#/components/responses/404'
248
        '406':
Michel Roy's avatar
Michel Roy committed
249
          $ref: '#/components/responses/406'
250
        '429':
Michel Roy's avatar
Michel Roy committed
251
252
          $ref: '#/components/responses/429'
      x-swagger-router-controller: "subscriptions"
253
    post:
Michel Roy's avatar
Michel Roy committed
254
      tags:
Michel Roy's avatar
Michel Roy committed
255
      - 'rni'
Michel Roy's avatar
Michel Roy committed
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
      summary: 'Create a new subscription'
      description: 'Creates a new subscription to Radio Network Information notifications'
      operationId: subscriptionsPOST
      requestBody:
        description: Subscription to be created
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                notificationSubscription:
                  oneOf:
                    - $ref: '#/components/schemas/CellChangeSubscription'
                    - $ref: '#/components/schemas/RabEstSubscription'
                    - $ref: '#/components/schemas/RabModSubscription'
                    - $ref: '#/components/schemas/RabRelSubscription'
                    - $ref: '#/components/schemas/MeasRepUeSubscription'
                    - $ref: '#/components/schemas/NrMeasRepUeSubscription'
                    - $ref: '#/components/schemas/MeasTaSubscription'
                    - $ref: '#/components/schemas/CaReconfSubscription'
                    - $ref: '#/components/schemas/S1BearerSubscription'
                  discriminator:
                    propertyName: subscriptionType
              example:
                notificationSubscription:
                  subscriptionType: CellChangeSubscription
                  callbackReference: 'http://my.callback.com/rni-cell-change/some-id'
                  filterCriteriaAssocHo:
                    appInstanceId: 'myApp'
                    associateId:
Michel Roy's avatar
Michel Roy committed
287
                    - type: 1
Michel Roy's avatar
Michel Roy committed
288
289
290
291
292
293
294
                      value: '10.100.0.1'
                    ecgi:
                    - plmn:
                        mnc: '01'
                        mcc: '001'
                      cellId: 'ACBDEFA'
                    hoStatus:
Michel Roy's avatar
Michel Roy committed
295
296
                    - 1
                    - 2
Michel Roy's avatar
Michel Roy committed
297
298
299
                  expiryDeadline:
                    seconds: 1977836800
                    nanoseconds: 0
300
301
      responses:
        '201':
Michel Roy's avatar
Michel Roy committed
302
303
          description: Successful subscription
          content:
304
            application/json:
Michel Roy's avatar
Michel Roy committed
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
              schema:
                type: object
                properties:
                  notificationSubscription:
                    oneOf:
                      - $ref: '#/components/schemas/CellChangeSubscription'
                      - $ref: '#/components/schemas/RabEstSubscription'
                      - $ref: '#/components/schemas/RabModSubscription'
                      - $ref: '#/components/schemas/RabRelSubscription'
                      - $ref: '#/components/schemas/MeasRepUeSubscription'
                      - $ref: '#/components/schemas/NrMeasRepUeSubscription'
                      - $ref: '#/components/schemas/MeasTaSubscription'
                      - $ref: '#/components/schemas/CaReconfSubscription'
                      - $ref: '#/components/schemas/S1BearerSubscription'
                    discriminator:
                      propertyName: subscriptionType
                example:
                  notificationSubscription:
                    subscriptionType: CellChangeSubscription
                    callbackReference: 'http://my.callback.com/rni-cell-change/some-id'
                    _links:
                      self:
                        href: 'http://meAppServer.example.com/rni/v2/subscriptions/sub123'
                    filterCriteriaAssocHo:
                      appInstanceId: 'myApp'
                      associateId:
Michel Roy's avatar
Michel Roy committed
331
                      - type: 1
Michel Roy's avatar
Michel Roy committed
332
333
334
335
336
337
338
                        value: '10.100.0.1'
                      ecgi:
                      - plmn:
                          mnc: '01'
                          mcc: '001'
                        cellId: 'ACBDEFA'
                      hoStatus:
Michel Roy's avatar
Michel Roy committed
339
340
                      - 1
                      - 2
Michel Roy's avatar
Michel Roy committed
341
342
343
                    expiryDeadline:
                      seconds: 1977836800
                      nanoseconds: 0
344
        '400':
Michel Roy's avatar
Michel Roy committed
345
          $ref: '#/components/responses/400'
346
        '401':
Michel Roy's avatar
Michel Roy committed
347
          $ref: '#/components/responses/401'
348
        '403':
Michel Roy's avatar
Michel Roy committed
349
          $ref: '#/components/responses/403'
350
        '404':
Michel Roy's avatar
Michel Roy committed
351
          $ref: '#/components/responses/404'
352
        '406':
Michel Roy's avatar
Michel Roy committed
353
          $ref: '#/components/responses/406'
354
        '415':
Michel Roy's avatar
Michel Roy committed
355
          $ref: '#/components/responses/412'
356
        '422':
Michel Roy's avatar
Michel Roy committed
357
          $ref: '#/components/responses/422'
358
        '429':
Michel Roy's avatar
Michel Roy committed
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
          $ref: '#/components/responses/429'
      callbacks:
        notification:
          '{$request.body#/notificationSubscription.callbackReference}':
            post:
              summary: 'Callback POST used to send a notification'
              description: 'Notification from RNIS, content based on subscription type'
              operationId: notificationPOST
              requestBody:
                description: Subscription notification
                required: true
                content:
                  application/json:
                    schema:
                      type: object
                      properties:
                        notification:
                          oneOf:
                            - $ref: '#/components/schemas/CellChangeNotification'
                            - $ref: '#/components/schemas/RabEstNotification'
                            - $ref: '#/components/schemas/RabModNotification'
                            - $ref: '#/components/schemas/RabRelNotification'
                            - $ref: '#/components/schemas/MeasRepUeNotification'
                            - $ref: '#/components/schemas/NrMeasRepUeNotification'
                            - $ref: '#/components/schemas/MeasTaNotification'
                            - $ref: '#/components/schemas/CaReconfNotification'
                            - $ref: '#/components/schemas/S1BearerNotification'
                          discriminator:
                            propertyName: notificationType
                      example:
                        notification:
                          notificationType: CellChangeNotification
                          associateId:
Michel Roy's avatar
Michel Roy committed
392
                          - type: 1
Michel Roy's avatar
Michel Roy committed
393
                            value: '10.100.0.1'
Michel Roy's avatar
Michel Roy committed
394
                          hoStatus: 1
Michel Roy's avatar
Michel Roy committed
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
                          srcEcgi:
                            plmn:
                              mnc: '01'
                              mcc: '001'
                            cellId: 'ACBDEFA'
                          tempUeId:
                            mmec: 1
                            mtmsi: 001011231231234
                          timeStamp:
                            seconds: 1977836800
                            nanoseconds: 0
                          trgEcgi:
                            plmn:
                              mnc: '01'
                              mcc: '001'
                            cellId: 'FEDCBAA'
              responses:
                '204':
                  $ref: '#/components/responses/204'
      x-swagger-router-controller: "subscriptions"
  '/subscriptions/{subscriptionId}':
416
    get:
Michel Roy's avatar
Michel Roy committed
417
      tags:
Michel Roy's avatar
Michel Roy committed
418
      - 'rni'
Michel Roy's avatar
Michel Roy committed
419
420
421
      summary: 'Retrieve information on current specific subscription'
      description: 'Queries information about an existing subscription, identified by its self-referring URI returned on creation (initial POST)'
      operationId: subscriptionsGET
422
      parameters:
Michel Roy's avatar
Michel Roy committed
423
        - $ref: '#/components/parameters/Path.subscrId'
424
425
      responses:
        '200':
Michel Roy's avatar
Michel Roy committed
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
          description: Subscription information regarding subscription notifications
          content:
            application/json:
              schema:
                type: object
                required:
                  - notificationSubscription
                properties:
                  notificationSubscription:
                    oneOf:
                      - $ref: '#/components/schemas/CellChangeSubscription'
                      - $ref: '#/components/schemas/RabEstSubscription'
                      - $ref: '#/components/schemas/RabModSubscription'
                      - $ref: '#/components/schemas/RabRelSubscription'
                      - $ref: '#/components/schemas/MeasRepUeSubscription'
                      - $ref: '#/components/schemas/NrMeasRepUeSubscription'
                      - $ref: '#/components/schemas/MeasTaSubscription'
                      - $ref: '#/components/schemas/CaReconfSubscription'
                      - $ref: '#/components/schemas/S1BearerSubscription'
                    discriminator:
                      propertyName: subscriptionType
                example:
                  notificationSubscription:
                    subscriptionType: CellChangeSubscription
                    callbackReference: 'http://my.callback.com/rni-cell-change/some-id'
                    _links:
                      self:
                        href: 'http://meAppServer.example.com/rni/v2/subscriptions/sub123'
                    filterCriteriaAssocHo:
                      appInstanceId: 'myApp'
                      associateId:
Michel Roy's avatar
Michel Roy committed
457
                      - type: 1
Michel Roy's avatar
Michel Roy committed
458
459
460
461
462
463
464
                        value: '10.100.0.1'
                      ecgi:
                      - plmn:
                          mnc: '01'
                          mcc: '001'
                        cellId: 'ACBDEFA'
                      hoStatus:
Michel Roy's avatar
Michel Roy committed
465
466
                      - 1
                      - 2
Michel Roy's avatar
Michel Roy committed
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
                    expiryDeadline:
                      seconds: 1977836800
                      nanoseconds: 0
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '406':
          $ref: '#/components/responses/406'
        '429':
          $ref: '#/components/responses/429'
      x-swagger-router-controller: "subscriptions"
    put:
      tags:
Michel Roy's avatar
Michel Roy committed
485
      - 'rni'
Michel Roy's avatar
Michel Roy committed
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
      summary: 'Modify an existing subscription'
      description: 'Updates an existing subscription, identified by its self-referring URI returned on creation (initial POST)'
      operationId: subscriptionsPUT
      requestBody:
        description: Subscription to be modified
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                notificationSubscription:
                  oneOf:
                      - $ref: '#/components/schemas/CellChangeSubscription'
                      - $ref: '#/components/schemas/RabEstSubscription'
                      - $ref: '#/components/schemas/RabModSubscription'
                      - $ref: '#/components/schemas/RabRelSubscription'
                      - $ref: '#/components/schemas/MeasRepUeSubscription'
                      - $ref: '#/components/schemas/NrMeasRepUeSubscription'
                      - $ref: '#/components/schemas/MeasTaSubscription'
                      - $ref: '#/components/schemas/CaReconfSubscription'
                      - $ref: '#/components/schemas/S1BearerSubscription'
                  discriminator:
                    propertyName: subscriptionType
              example:
                notificationSubscription:
                  subscriptionType: CellChangeSubscription
                  callbackReference: 'http://my.callback.com/rni-cell-change/some-id'
                  _links:
                    self:
                      href: 'http://meAppServer.example.com/rni/v2/subscriptions/sub123'
                  filterCriteriaAssocHo:
                    appInstanceId: 'myApp'
                    associateId:
Michel Roy's avatar
Michel Roy committed
520
                    - type: 1
Michel Roy's avatar
Michel Roy committed
521
522
523
524
525
526
527
                      value: '10.100.0.1'
                    ecgi:
                    - plmn:
                        mnc: '01'
                        mcc: '001'
                      cellId: 'ACBDEFA'
                    hoStatus:
Michel Roy's avatar
Michel Roy committed
528
529
                    - 1
                    - 2
Michel Roy's avatar
Michel Roy committed
530
531
532
533
534
535
536
537
538
                  expiryDeadline:
                    seconds: 1977836800
                    nanoseconds: 0
      parameters:
        - $ref: '#/components/parameters/Path.subscrId'
      responses:
        '200':
          description: Successful subscription to response to subscription notifications
          content:
539
            application/json:
Michel Roy's avatar
Michel Roy committed
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
              schema:
                type: object
                properties:
                  notificationSubscription:
                    oneOf:
                      - $ref: '#/components/schemas/CellChangeSubscription'
                      - $ref: '#/components/schemas/RabEstSubscription'
                      - $ref: '#/components/schemas/RabModSubscription'
                      - $ref: '#/components/schemas/RabRelSubscription'
                      - $ref: '#/components/schemas/MeasRepUeSubscription'
                      - $ref: '#/components/schemas/NrMeasRepUeSubscription'
                      - $ref: '#/components/schemas/MeasTaSubscription'
                      - $ref: '#/components/schemas/CaReconfSubscription'
                      - $ref: '#/components/schemas/S1BearerSubscription'
                    discriminator:
                      propertyName: subscriptionType
              example:
                notificationSubscription:
                  subscriptionType: CellChangeSubscription
                  callbackReference: 'http://my.callback.com/rni-cell-change/some-id'
                  _links:
                    self:
                      href: 'http://meAppServer.example.com/rni/v2/subscriptions/sub123'
                  filterCriteriaAssocHo:
                    appInstanceId: 'myApp'
                    associateId:
Michel Roy's avatar
Michel Roy committed
566
                    - type: 1
Michel Roy's avatar
Michel Roy committed
567
568
569
570
571
572
573
                      value: '10.100.0.1'
                    ecgi:
                    - plmn:
                        mnc: '01'
                        mcc: '001'
                      cellId: 'ACBDEFA'
                    hoStatus:
Michel Roy's avatar
Michel Roy committed
574
575
                    - 1
                    - 2
Michel Roy's avatar
Michel Roy committed
576
577
578
                  expiryDeadline:
                    seconds: 1977836800
                    nanoseconds: 0
579
        '400':
Michel Roy's avatar
Michel Roy committed
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '406':
          $ref: '#/components/responses/406'
        '412':
          $ref: '#/components/responses/412'
        '422':
          $ref: '#/components/responses/422'
        '429':
          $ref: '#/components/responses/429'
      x-swagger-router-controller: "subscriptions"
    delete:
      tags:
Michel Roy's avatar
Michel Roy committed
598
      - 'rni'
Michel Roy's avatar
Michel Roy committed
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
      summary: 'Cancel an existing subscription'
      description: 'Cancels an existing subscription, identified by its self-referring URI returned on creation (initial POST)'
      operationId: subscriptionsDELETE
      parameters:
        - $ref: '#/components/parameters/Path.subscrId'
      responses:
        '204':
          $ref: '#/components/responses/204'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '429':
          $ref: '#/components/responses/429'
      x-swagger-router-controller: "subscriptions"
components:
  responses:
    204:
      description: No Content
    400:
      description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.'
      content:
        application/json:
624
625
626
          schema:
            type: object
            properties:
Michel Roy's avatar
Michel Roy committed
627
628
629
630
631
632
              problemDetails:
                $ref: '#/components/schemas/ProblemDetails'
    401:
      description: 'Unauthorized :  used when the client did not submit credentials.'
      content:
        application/json:
633
634
635
          schema:
            type: object
            properties:
Michel Roy's avatar
Michel Roy committed
636
637
638
639
640
641
              problemDetails:
                $ref: '#/components/schemas/ProblemDetails'
    403:
      description: 'Forbidden :  operation is not allowed given the current status of the resource.'
      content:
        application/json:
642
643
          schema:
            type: object
644
            required:
Michel Roy's avatar
Michel Roy committed
645
              - problemDetails
646
            properties:
Michel Roy's avatar
Michel Roy committed
647
648
649
650
651
652
              problemDetails:
                $ref: '#/components/schemas/ProblemDetails'
    404:
      description: 'Not Found :  used when a client provided a URI that cannot be mapped to a valid resource URI.'
      content:
        application/json:
653
654
655
          schema:
            type: object
            properties:
Michel Roy's avatar
Michel Roy committed
656
657
658
659
660
661
              problemDetails:
                $ref: '#/components/schemas/ProblemDetails'
    406:
      description: 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.'
      content:
        application/json:
662
663
664
          schema:
            type: object
            properties:
Michel Roy's avatar
Michel Roy committed
665
666
667
668
669
670
671
              problemDetails:
                $ref: '#/components/schemas/ProblemDetails'
    412:
      description: 'Precondition failed :  used when a condition has failed during conditional requests, e.g. when
        using ETags to avoid write conflicts when using PUT'
      content:
        application/json:
672
673
674
          schema:
            type: object
            properties:
Michel Roy's avatar
Michel Roy committed
675
676
677
678
679
680
681
              problemDetails:
                $ref: '#/components/schemas/ProblemDetails'
    414:
      description: 'URI Too Long : used to indicate that the server is refusing to process the request because the request URI is
        longer than the server is willing or able to process.'
      content:
        application/json:
682
683
684
          schema:
            type: object
            properties:
Michel Roy's avatar
Michel Roy committed
685
686
687
688
689
690
              problemDetails:
                $ref: '#/components/schemas/ProblemDetails'
    415:
      description: 'Unsupported Media Type :  used to indicate that the server or the client does not support the content type of the entity body.'
      content:
        application/json:
691
692
693
          schema:
            type: object
            properties:
Michel Roy's avatar
Michel Roy committed
694
695
696
697
698
699
700
701
702
              problemDetails:
                $ref: '#/components/schemas/ProblemDetails'
    422:
      description: 'Unprocessable Entity : used to indicate that the server understands the content type of the request entity and that the
        syntax of the request entity is correct but that the server is unable to process the contained instructions. This error condition can occur if an
        JSON request body is syntactically correct but semantically incorrect, for example if the target area for the request is considered too large. This
        error condition can also occur if the capabilities required by the request are not supported.'
      content:
        application/json:
703
704
705
          schema:
            type: object
            properties:
Michel Roy's avatar
Michel Roy committed
706
707
708
709
710
711
              problemDetails:
                $ref: '#/components/schemas/ProblemDetails'
          example:
            application/problem+json:
              problemDetails:
                type: 'https://meAppServer.example.com/rni/v2/probs/too-many targets'
712
                title: Too many targets
713
714
                status: '422'
                detail: The target area for the request is considered too large
Michel Roy's avatar
Michel Roy committed
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
                instance: /meAppClient.example.com/77777/msgs/abc
    429:
      description: 'Too Many Requests : used when a rate limiter has triggered.'
      content:
        application/json:
          schema:
            type: object
            properties:
              problemDetails:
                $ref: '#/components/schemas/ProblemDetails'
  parameters:
    Path.subscrId:
      name: subscriptionId
      in: path
      description: 'Subscription Id, specifically the "Self-referring URI" returned in the subscription request'
      required: true
      schema:
        type: string
        format: uri
      x-exportParamName: SubscriptionId
    Query.AppInsId:
      name: app_ins_id
      in: query
      description: Application instance identifier
      required: false
      schema:
        type: string
      x-exportParamName: AppInsId
      x-optionalDataType: String
    Query.AppInsIdArr:
      name: app_ins_id
      in: query
      description: 'Comma separated list of Application instance identifiers'
      required: true
      schema:
          type: array
          items:
            type: string
      x-exportParamName: AppInsIdArr
    Query.CellId:
      name: cell_id
      in: query
      description: 'Comma separated list of E-UTRAN Cell Identities'
      required: false
      schema:
760
761
        type: array
        items:
Michel Roy's avatar
Michel Roy committed
762
763
764
765
766
767
768
769
          type: string
      x-exportParamName: CellId
    Query.UeIpv4Address:
      name: ue_ipv4_address
      in: query
      description: 'Comma separated list of IE IPv4 addresses as defined for the type for AssociateId'
      required: false
      schema:
770
771
        type: array
        items:
Michel Roy's avatar
Michel Roy committed
772
773
774
775
776
777
778
779
          type: string
      x-exportParamName: UeIpv4Address
    Query.UeIpv6Address:
      name: ue_ipv6_address
      in: query
      description: 'Comma separated list of IE IPv6 addresses as defined for the type for AssociateId'
      required: false
      schema:
780
781
        type: array
        items:
Michel Roy's avatar
Michel Roy committed
782
783
784
785
786
787
788
789
          type: string
      x-exportParamName: UeIpv6Address
    Query.NatedIpAddress:
      name: nated_ip_address
      in: query
      description: 'Comma separated list of IE NATed IP addresses as defined for the type for AssociateId'
      required: false
      schema:
790
791
        type: array
        items:
Michel Roy's avatar
Michel Roy committed
792
793
794
795
796
797
798
799
          type: string
      x-exportParamName: NatedIpAddress
    Query.GtpTeid:
      name: gtp_teid
      in: query
      description: 'Comma separated list of GTP TEID addresses as defined for the type for AssociateId'
      required: false
      schema:
800
801
        type: array
        items:
Michel Roy's avatar
Michel Roy committed
802
803
804
805
806
807
808
809
810
          type: string
      x-exportParamName: GtpTeid
    Query.ErabId:
      name: erab_id
      in: query
      description: E-RAB identifier
      required: false
      schema:
        type: integer
Michel Roy's avatar
Michel Roy committed
811
        format: int32
Michel Roy's avatar
Michel Roy committed
812
813
814
815
816
817
818
819
      x-exportParamName: ErabId
      x-optionalDataType: Int32
    Query.ErabIdArr:
      name: erab_id
      in: query
      description: 'Comma separated list of E-RAB identifiers'
      required: false
      schema:
820
821
        type: array
        items:
Michel Roy's avatar
Michel Roy committed
822
          type: integer
Michel Roy's avatar
Michel Roy committed
823
          format: int32
Michel Roy's avatar
Michel Roy committed
824
825
826
827
828
829
830
      x-exportParamName: ErabIdArr
    Query.Qci:
      name: qci
      in: query
      description: 'QoS Class Identifier as defined in ETSI TS 123 401'
      required: false
      schema:
831
        type: integer
Michel Roy's avatar
Michel Roy committed
832
        format: int32
Michel Roy's avatar
Michel Roy committed
833
834
835
836
837
838
839
840
      x-exportParamName: Qci
      x-optionalDataType: Int32
    Query.ErabMbrDl:
      name: erab_mbr_dl
      in: query
      description: 'Maximum downlink E-RAB Bit Rate as defined in ETSI TS 123 401'
      required: false
      schema:
841
        type: integer
Michel Roy's avatar
Michel Roy committed
842
        format: int32
Michel Roy's avatar
Michel Roy committed
843
844
845
846
847
848
849
850
851
      x-exportParamName: ErabMbrDl
      x-optionalDataType: Int32
    Query.ErabMbrUl:
      name: erab_mbr_ul
      in: query
      description: 'Maximum uplink E-RAB Bit Rate as defined in ETSI TS 123 401'
      required: false
      schema:
        type: integer
Michel Roy's avatar
Michel Roy committed
852
        format: int32
Michel Roy's avatar
Michel Roy committed
853
854
855
856
857
858
859
860
861
      x-exportParamName: ErabMbrUl
      x-optionalDataType: Int32
    Query.ErabGbrDl:
      name: erab_gbr_dl
      in: query
      description: 'Guaranteed downlink E-RAB Bit Rate as defined in ETSI TS 123 401'
      required: false
      schema:
        type: integer
Michel Roy's avatar
Michel Roy committed
862
        format: int32
Michel Roy's avatar
Michel Roy committed
863
864
865
866
867
868
869
870
871
      x-exportParamName: ErabGbrDl
      x-optionalDataType: Int32
    Query.ErabGbrUl:
      name: erab_gbr_ul
      in: query
      description: 'Guaranteed uplink E-RAB Bit Rate as defined in ETSI TS 123 401'
      required: false
      schema:
        type: integer
Michel Roy's avatar
Michel Roy committed
872
        format: int32
Michel Roy's avatar
Michel Roy committed
873
874
875
876
877
878
879
880
      x-exportParamName: ErabGbrUl
      x-optionalDataType: Int32
    Query.TempUeId:
      name: temp_ue_id
      in: query
      description: 'Comma separated list of temporary identifiers allocated for the specific UE as defined in   ETSI TS 136 413'
      required: false
      schema:
881
882
        type: array
        items:
Michel Roy's avatar
Michel Roy committed
883
884
885
886
887
888
889
890
          type: string
      x-exportParamName: TempUeId
    Query.DlGbrPrbUsageCell:
      name: dl_gbr_prb_usage_cell
      in: query
      description: 'PRB usage for downlink GBR traffic in percentage as defined in ETSI TS 136 314'
      required: false
      schema:
891
        type: integer
Michel Roy's avatar
Michel Roy committed
892
893
894
895
896
897
898
      x-exportParamName: DlGbrPrbUsageCell
    Query.UlGbrPrbUsageCell:
      name: ul_gbr_prb_usage_cell
      in: query
      description: 'PRB usage for uplink GBR traffic in percentage as defined in ETSI TS 136 314'
      required: false
      schema:
899
        type: integer
Michel Roy's avatar
Michel Roy committed
900
901
902
903
904
905
906
      x-exportParamName: UlGbrPrbUsageCell
    Query.DlNonGbrPrbUsageCell:
      name: dl_nongbr_prb_usage_cell
      in: query
      description: 'PRB usage for downlink non-GBR traffic in percentage as defined in ETSI TS 136 314'
      required: false
      schema:
907
        type: integer
Michel Roy's avatar
Michel Roy committed
908
909
910
911
912
913
914
      x-exportParamName: DlNonGbrPrbUsageCell
    Query.UlNonGbrPrbUsageCell:
      name: ul_nongbr_prb_usage_cell
      in: query
      description: 'PRB usage for uplink non-GBR traffic in percentage as defined in ETSI TS 136 314'
      required: false
      schema:
915
        type: integer
Michel Roy's avatar
Michel Roy committed
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
      x-exportParamName: UlNonGbrPrbUsageCell
    Query.DlTotalPrbUsageCell:
      name: dl_total_prb_usage_cell
      in: query
      description: 'PRB usage for total downlink traffic in percentage as defined in ETSI TS 136 314'
      required: false
      schema:
        type: integer
      x-exportParamName: DlTotalPrbUsageCell
    Query.UlTotalPrbUsageCell:
      name: ul_total_prb_usage_cell
      in: query
      description: 'PRB usage for total uplink traffic in percentage as defined in ETSI TS 136 314'
      required: false
      schema:
        type: integer
      x-exportParamName: UlTotalPrbUsageCell
    Query.ReceivedDedicatedPreamblesCell:
      name: received_dedicated_preambles_cell
      in: query
      description: 'Received dedicated preambles in percentage as defined in ETSI TS 136 314'
      required: false
      schema:
        type: integer
      x-exportParamName: ReceivedDedicatedPreamblesCell
    Query.ReceivedRandomPreamblesLowRangeCell:
      name: received_randomly_selected_preambles_low_range_cell
      in: query
      description: 'Received randomly selected preambles in the low range in percentage as defined in ETSI TS 136 314'
      required: false
      schema:
        type: integer
      x-exportParamName: ReceivedRandomPreamblesLowRangeCell
    Query.ReceivedRandomPreamblesHighRangeCell:
      name: received_randomly_selected_preambles_high_range_cell
      in: query
      description: 'Received rendomly selected preambles in the high range in percentage as defined in ETSI TS 136 314'
      required: false
      schema:
        type: integer
      x-exportParamName: ReceivedRandomPreamblesHighRangeCell
    Query.NumberOfActiveUeDlGbrCell:
      name: number_of_active_ue_dl_gbr_cell
      in: query
      description: 'Number of active UEs with downlink GBR traffic as defined in ETSI TS 136 314'
      required: false
      schema:
        type: integer
      x-exportParamName: NumberOfActiveUeDlGbrCell
    Query.NumberOfActiveUeUlGbrCell:
      name: number_of_active_ue_ul_gbr_cell
      in: query
      description: 'Number of active UEs with uplink GBR traffic as defined in ETSI TS 136 314'
      required: false
      schema:
        type: integer
      x-exportParamName: NumberOfActiveUeUlGbrCell
    Query.NumberOfActiveUeDlNonGbrCell:
      name: number_of_active_ue_dl_nongbr_cell
      in: query
      description: 'Number of active UEs with downlink non-GBR traffic as defined in ETSI TS 136 314'
      required: false
      schema:
        type: integer
      x-exportParamName: NumberOfActiveUeDlNonGbrCell
    Query.NumberOfActiveUeUlNonGbrCell:
      name: number_of_active_ue_ul_nongbr_cell
      in: query
      description: 'Number of active UEs with uplink non-GBR traffic as defined in ETSI TS 136 314'
      required: false
      schema:
        type: integer
      x-exportParamName: NumberOfActiveUeUlNonGbrCell
    Query.DlGbrPdrCell:
      name: dl_gbr_pdr_cell
      in: query
      description: 'Packet discard rate for downlink GBR traffic in percentage as defined in ETSI TS 136 314'
      required: false
      schema:
        type: integer
      x-exportParamName: DlGbrPdrCell
    Query.UlGbrPdrCell:
      name: ul_gbr_pdr_cell
      in: query
      description: 'Packet discard rate for uplink GBR traffic in percentage as defined in ETSI TS 136 314'
For faster browsing, not all history is shown. View entire blame