WlanInformationApi.yaml 112 KB
Newer Older
Michel Roy's avatar
Michel Roy committed
1
2
3
openapi: 3.0.0
info:
  contact:
Michel Roy's avatar
Michel Roy committed
4
    url: 'https://forge.etsi.org/rep/mec/gs028-wai-api'
Michel Roy's avatar
Michel Roy committed
5
  title: ETSI GS MEC 028 - WLAN Access Information API
Michel Roy's avatar
Michel Roy committed
6
  version: 2.2.1
Michel Roy's avatar
Michel Roy committed
7
8
9
10
11
  description: The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI
  license:
    name: BSD-3-Clause
    url: 'https://forge.etsi.org/legal-matters'
externalDocs:
Michel Roy's avatar
Michel Roy committed
12
13
14
  description: ETSI MEC028 V2.2.1 WLAN Information API
  url: >-
    https://www.etsi.org/deliver/etsi_gs/MEC/001_099/028/02.02.01_60/gs_mec028v020201p.pdf
Michel Roy's avatar
Michel Roy committed
15
16
17
servers:
  - url: 'https://localhost/wai/v2'
tags:
Michel Roy's avatar
Michel Roy committed
18
  - name: wai
Michel Roy's avatar
Michel Roy committed
19
20
21
22
paths:
  /queries/ap/ap_information:
    get:
      tags:
Michel Roy's avatar
Michel Roy committed
23
24
25
        - wai
      summary: Retrieve information on existing Access Points
      description: Queries information about existing WLAN Access Points
Michel Roy's avatar
Michel Roy committed
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
      operationId: apInfoGET
      parameters:
        - $ref: '#/components/parameters/Query.Filter'
        - $ref: '#/components/parameters/Query.AllFields'
        - $ref: '#/components/parameters/Query.Fields'
        - $ref: '#/components/parameters/Query.ExcludeFields'
        - $ref: '#/components/parameters/Query.ExcludeDefault'
      responses:
        '200':
          description: Successful response to ap_info request
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ApInfo'
        '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'
  /queries/sta/sta_information:
    get:
      tags:
Michel Roy's avatar
Michel Roy committed
57
58
59
        - wai
      summary: Retrieve information on existing Stations
      description: Queries information about existing WLAN stations
Michel Roy's avatar
Michel Roy committed
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
      operationId: staInfoGET
      parameters:
        - $ref: '#/components/parameters/Query.Filter'
        - $ref: '#/components/parameters/Query.AllFields'
        - $ref: '#/components/parameters/Query.Fields'
        - $ref: '#/components/parameters/Query.ExcludeFields'
        - $ref: '#/components/parameters/Query.ExcludeDefault'
      responses:
        '200':
          description: Successful response to sta_info request
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StaInfo'
        '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'
  /subscriptions:
    get:
      tags:
Michel Roy's avatar
Michel Roy committed
91
92
93
        - wai
      summary: Retrieve information on subscriptions for notifications
      description: Queries information on subscriptions for notifications
Michel Roy's avatar
Michel Roy committed
94
95
96
97
98
      operationId: subscriptionLinkList_subscriptionsGET
      parameters:
        - $ref: '#/components/parameters/Query.SubscriptionType'
      responses:
        '200':
Michel Roy's avatar
Michel Roy committed
99
100
101
          description: >-
            Response body contains the list of links to requestors
            subscriptions.
Michel Roy's avatar
Michel Roy committed
102
103
104
105
106
107
108
109
110
111
112
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubscriptionLinkList'
              example:
                _links:
                  self:
                    href: 'http://meAppServer.example.com/wai/v2/subscriptions'
                subscription:
                  - _links:
                      self:
Michel Roy's avatar
Michel Roy committed
113
114
                        href: >-
                          http://meAppServer.example.com/wai/v2/subscriptions/sub123
Michel Roy's avatar
Michel Roy committed
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
                    callbackReference: 'http://my.callback.com/wai/assocStaSubscription/some-id'
                    subscriptionType: AssocStaSubscription
        '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'
    post:
      tags:
Michel Roy's avatar
Michel Roy committed
131
132
133
        - wai
      summary: Create a new subscription
      description: Creates a new subscription to WLAN Access Information notifications
Michel Roy's avatar
Michel Roy committed
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
      operationId: subscriptionsPOST
      requestBody:
        description: Subscription to be created
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InlineSubscription'
            example:
              subscriptionType: AssocStaSubscription
              callbackReference: 'http://meAppClient.example.com/wai/v2/notifications/1'
              expiryDeadline:
                seconds: 1977836800
                nanoSeconds: 0
              apId:
Michel Roy's avatar
Michel Roy committed
149
150
151
152
153
                bssid: 005C0A0A0A0A
                ssid:
                  - myNetworkSsid
                ipAddress:
                  - 10.10.100.1
Michel Roy's avatar
Michel Roy committed
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
      responses:
        '201':
          description: Successful subscription response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InlineSubscription'
              example:
                subscriptionType: AssocStaSubscription
                callbackReference: 'http://meAppClient.example.com/wai/v2/notifications/1'
                _links:
                  self:
                    href: 'http://meAppServer.example.com/wai/v2/subscriptions/sub123'
                expiryDeadline:
                  seconds: 1977836800
                  nanoSeconds: 0
                apId:
Michel Roy's avatar
Michel Roy committed
171
172
173
174
175
                  bssid: 005C0A0A0A0A
                  ssid:
                    - myNetworkSsid
                  ipAddress:
                    - 10.10.100.1
Michel Roy's avatar
Michel Roy committed
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
        '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'
        '415':
          $ref: '#/components/responses/415'
        '422':
          $ref: '#/components/responses/422'
        '429':
          $ref: '#/components/responses/429'
      callbacks:
        notification:
          '{$request.body#/callbackReference}':
            post:
Michel Roy's avatar
Michel Roy committed
196
              summary: Callback POST used to send a notification
Michel Roy's avatar
Michel Roy committed
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
              description: 'Notification from WAIS, content based on subscription type'
              operationId: notificationPOST
              requestBody:
                description: Subscription notification
                required: true
                content:
                  application/json:
                    schema:
                      $ref: '#/components/schemas/InlineNotification'
                    example:
                      notificationType: AssocStaNotification
                      timeStamp:
                        seconds: 1977836800
                        nanoseconds: 0
                      apId:
Michel Roy's avatar
Michel Roy committed
212
213
214
215
216
                        bssid: 005C0A0A0A0A
                        ssid:
                          - myNetworkSsid
                        ipAddress:
                          - 10.10.100.1
Michel Roy's avatar
Michel Roy committed
217
218
219
                      staId:
                        macId: 005C01111111
                        ssid:
Michel Roy's avatar
Michel Roy committed
220
221
                          - myNetworkSsid
                          - myOtherNetworkSsid
Michel Roy's avatar
Michel Roy committed
222
                        aid: '1122'
Michel Roy's avatar
Michel Roy committed
223
224
                        ipAddress:
                          - 10.10.1.255
Michel Roy's avatar
Michel Roy committed
225
226
227
228
229
230
              responses:
                '204':
                  $ref: '#/components/responses/204'
  '/subscriptions/{subscriptionId}':
    get:
      tags:
Michel Roy's avatar
Michel Roy committed
231
232
233
234
235
        - wai
      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)
Michel Roy's avatar
Michel Roy committed
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
      operationId: subscriptionsGET
      parameters:
        - $ref: '#/components/parameters/Path.subscrId'
      responses:
        '200':
          description: Subscription information regarding subscription notifications
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InlineSubscription'
              example:
                subscriptionType: AssocStaSubscription
                callbackReference: 'http://meAppClient.example.com/wai/v2/notifications/1'
                _links:
                  self:
                    href: 'http://meAppServer.example.com/wai/v2/subscriptions/sub123'
                expiryDeadline:
                  seconds: 1977836800
                  nanoSeconds: 0
                apId:
Michel Roy's avatar
Michel Roy committed
256
257
258
259
260
                  bssid: 005C0A0A0A0A
                  ssid:
                    - myNetworkSsid
                  ipAddress:
                    - 10.10.100.1
Michel Roy's avatar
Michel Roy committed
261
262
263
264
265
266
267
268
269
270
271
272
273
274
        '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'
    put:
      tags:
Michel Roy's avatar
Michel Roy committed
275
276
277
278
279
        - wai
      summary: Modify an existing subscription
      description: >-
        Updates an existing subscription, identified by its self-referring URI
        returned on creation (initial POST)
Michel Roy's avatar
Michel Roy committed
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
      operationId: subscriptionsPUT
      requestBody:
        description: Subscription to be modified
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InlineSubscription'
            example:
              subscriptionType: AssocStaSubscription
              callbackReference: 'http://meAppClient.example.com/wai/v2/notifications/1'
              _links:
                self:
                  href: 'http://meAppServer.example.com/wai/v2/subscriptions/sub123'
              expiryDeadline:
                seconds: 1977836800
                nanoSeconds: 0
              apId:
Michel Roy's avatar
Michel Roy committed
298
299
300
301
302
                bssid: 005C0A0A0A0A
                ssid:
                  - myNetworkSsid
                ipAddress:
                  - 10.10.100.1
Michel Roy's avatar
Michel Roy committed
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
      parameters:
        - $ref: '#/components/parameters/Path.subscrId'
      responses:
        '200':
          description: Successful subscription modification
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InlineSubscription'
              example:
                _links:
                  self:
                    href: 'http://[hostIP]/sbox-xyz123/wai/v2/subscriptions/sub123'
                callbackReference: 'http://my.callback.com/wai/some-id'
                apId:
Michel Roy's avatar
Michel Roy committed
318
319
320
321
322
                  bssid: 005C0A0A0A0A
                  ssid:
                    - myNetworkSsid
                  ipAddress:
                    - 10.10.100.1
Michel Roy's avatar
Michel Roy committed
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
        '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'
        '412':
          $ref: '#/components/responses/412'
        '422':
          $ref: '#/components/responses/422'
        '429':
          $ref: '#/components/responses/429'
    delete:
      tags:
Michel Roy's avatar
Michel Roy committed
341
342
343
344
345
        - wai
      summary: Cancel an existing subscription
      description: >-
        Cancels an existing subscription, identified by its self-referring URI
        returned on creation (initial POST)
Michel Roy's avatar
Michel Roy committed
346
347
348
349
350
351
352
353
354
355
356
357
358
359
      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'
Michel Roy's avatar
Michel Roy committed
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
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
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
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
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
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
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
566
567
568
569
570
571
572
573
  /measurements:
    get:
      tags:
        - wai
      summary: Retrieve information on measurements configuration
      description: Queries information on measurements configuration
      operationId: measurementLinkList_measurementsGET
      responses:
        '200':
          description: >-
            Response body contains the list of links to requestors measurement
            configurations.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MeasurementConfigLinkList'
              example:
                _links:
                  self:
                    href: 'http://meAppServer.example.com/wai/v2/measurements'
                measurementConfig:
                  - href: 'http://meAppServer.example.com/wai/v2/measurements/meas123'
                    measurementId: myId1
        '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'
    post:
      tags:
        - wai
      summary: Create a new measurement configuration
      description: Creates a new measurement configuration
      operationId: measurementsPOST
      requestBody:
        description: Measurement configuration information
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MeasurementConfig'
            example:
              staId:
                macId: 005C01111111
                ssid:
                  - myNetworkSsid
                  - myOtherNetworkSsid
              measurementId: myId1
              measurementInfo: {}
      responses:
        '201':
          description: Successful measurement configuration response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MeasurementConfig'
              example:
                _links:
                  self:
                    href: 'http://meAppServer.example.com/wai/v2/measurements/meas123'
                staId:
                  macId: 005C01111111
                  ssid:
                    - myNetworkSsid
                    - myOtherNetworkSsid
                measurementId: myId1
                measurementInfo: {}
        '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'
        '415':
          $ref: '#/components/responses/415'
        '422':
          $ref: '#/components/responses/422'
        '429':
          $ref: '#/components/responses/429'
  '/measurements/{measurementConfigId}':
    get:
      tags:
        - wai
      summary: Retrieve information on an existing measurement configuration
      description: >-
        Queries information about an existing measurement configuration,
        identified by its self-referring URI returned on creation (initial POST)
      operationId: measurementsGET
      parameters:
        - $ref: '#/components/parameters/Path.measurementConfigId'
      responses:
        '200':
          description: Measurement configuration information
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MeasurementConfig'
              example:
                _links:
                  self:
                    href: 'http://meAppServer.example.com/wai/v2/measurements/meas123'
                staId:
                  macId: 005C01111111
                  ssid:
                    - myNetworkSsid
                    - myOtherNetworkSsid
                measurementId: myId1
                measurementInfo: {}
        '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'
    put:
      tags:
        - wai
      summary: Modify an existing measurement configuration
      description: >-
        Updates an existing measurement configuration, identified by its
        self-referring URI returned on creation (initial POST)
      operationId: measurementsPUT
      requestBody:
        description: Measurement configuration to be modified
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MeasurementConfig'
            example:
              _links:
                self:
                  href: 'http://meAppServer.example.com/wai/v2/measurements/meas123'
              staId:
                macId: 005C01111111
                ssid:
                  - myNetworkSsid
                  - myOtherNetworkSsid
              measurementId: myId1
              measurementInfo: {}
      parameters:
        - $ref: '#/components/parameters/Path.measurementConfigId'
      responses:
        '200':
          description: Successful measurement configuration modification
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MeasurementConfig'
              example:
                _links:
                  self:
                    href: 'http://meAppServer.example.com/wai/v2/measurements/123'
                staId:
                  macId: 005C01111111
                  ssid:
                    - myNetworkSsid
                    - myOtherNetworkSsid
                measurementId: myId1
                measurementInfo: {}
        '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'
        '412':
          $ref: '#/components/responses/412'
        '422':
          $ref: '#/components/responses/422'
        '429':
          $ref: '#/components/responses/429'
    delete:
      tags:
        - wai
      summary: Cancel a measurement configuration
      description: >-
        Cancels an existing measurement configuration, identified by its
        self-referring URI returned on creation (initial POST)
      operationId: measurementsDELETE
      parameters:
        - $ref: '#/components/parameters/Path.measurementConfigId'
      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'
Michel Roy's avatar
Michel Roy committed
574
575
components:
  responses:
Michel Roy's avatar
Michel Roy committed
576
    '200':
Michel Roy's avatar
Michel Roy committed
577
      description: OK
Michel Roy's avatar
Michel Roy committed
578
    '204':
Michel Roy's avatar
Michel Roy committed
579
      description: No Content
Michel Roy's avatar
Michel Roy committed
580
581
582
583
    '400':
      description: >-
        Bad Request : used to indicate that incorrect parameters were passed to
        the request.
Michel Roy's avatar
Michel Roy committed
584
585
586
587
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/ProblemDetails'
Michel Roy's avatar
Michel Roy committed
588
    '401':
Michel Roy's avatar
Michel Roy committed
589
590
591
592
593
      description: 'Unauthorized :  used when the client did not submit credentials.'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/ProblemDetails'
Michel Roy's avatar
Michel Roy committed
594
595
596
597
    '403':
      description: >-
        Forbidden :  operation is not allowed given the current status of the
        resource.
Michel Roy's avatar
Michel Roy committed
598
599
600
601
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/ProblemDetails'
Michel Roy's avatar
Michel Roy committed
602
603
604
605
    '404':
      description: >-
        Not Found :  used when a client provided a URI that cannot be mapped to
        a valid resource URI.
Michel Roy's avatar
Michel Roy committed
606
607
608
609
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/ProblemDetails'
Michel Roy's avatar
Michel Roy committed
610
611
612
613
    '406':
      description: >-
        Not Acceptable : used to indicate that the server cannot provide the any
        of the content formats supported by the client.
Michel Roy's avatar
Michel Roy committed
614
615
616
617
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/ProblemDetails'
Michel Roy's avatar
Michel Roy committed
618
619
620
621
622
    '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
Michel Roy's avatar
Michel Roy committed
623
624
625
626
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/ProblemDetails'
Michel Roy's avatar
Michel Roy committed
627
628
629
630
    '415':
      description: >-
        Unsupported Media Type :  used to indicate that the server or the client
        does not support the content type of the entity body.
Michel Roy's avatar
Michel Roy committed
631
632
633
634
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/ProblemDetails'
Michel Roy's avatar
Michel Roy committed
635
636
637
638
639
640
641
642
643
644
    '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.
Michel Roy's avatar
Michel Roy committed
645
646
647
648
649
650
651
652
653
654
655
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/ProblemDetails'
          example:
            application/problem+json:
              type: 'https://meAppServer.example.com/wai/v2/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
Michel Roy's avatar
Michel Roy committed
656
    '429':
Michel Roy's avatar
Michel Roy committed
657
658
659
660
661
662
663
664
665
      description: 'Too Many Requests : used when a rate limiter has triggered.'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/ProblemDetails'
  parameters:
    Path.subscrId:
      name: subscriptionId
      in: path
Michel Roy's avatar
Michel Roy committed
666
667
668
669
670
671
672
673
674
675
676
677
678
      description: >-
        Subscription Id, specifically the "self" returned in the subscription
        request
      required: true
      schema:
        type: string
        format: uri
    Path.measurementConfigId:
      name: measurementConfigId
      in: path
      description: >-
        Measurement configuration Id, specifically the "self" returned in the
        measurement configuration request
Michel Roy's avatar
Michel Roy committed
679
680
681
682
683
684
685
      required: true
      schema:
        type: string
        format: uri
    Query.Filter:
      name: filter
      in: query
Michel Roy's avatar
Michel Roy committed
686
687
688
      description: >-
        Attribute-based filtering expression according to clause 6.19 of ETSI GS
        MEC 009. .
Michel Roy's avatar
Michel Roy committed
689
690
691
692
693
694
      required: false
      schema:
        type: string
    Query.AllFields:
      name: all_fields
      in: query
Michel Roy's avatar
Michel Roy committed
695
696
697
      description: >-
        Include all complex attributes in the response. See clause 6.18 of ETSI
        GS MEC 009 for details.
Michel Roy's avatar
Michel Roy committed
698
699
700
701
702
703
      required: false
      schema:
        type: string
    Query.Fields:
      name: fields
      in: query
Michel Roy's avatar
Michel Roy committed
704
705
706
      description: >-
        Complex attributes to be included into the response. See clause 6.18 of
        ETSI GS MEC 009 for details.
Michel Roy's avatar
Michel Roy committed
707
708
709
710
711
712
713
714
      required: false
      schema:
        type: array
        items:
          type: string
    Query.ExcludeFields:
      name: exclude_fields
      in: query
Michel Roy's avatar
Michel Roy committed
715
716
717
      description: >-
        Complex attributes to be excluded from the response. See clause 6.18 of
        ETSI GS MEC 009 for details.
Michel Roy's avatar
Michel Roy committed
718
719
720
721
722
723
724
725
      required: false
      schema:
        type: array
        items:
          type: string
    Query.ExcludeDefault:
      name: exclude_default
      in: query
Michel Roy's avatar
Michel Roy committed
726
727
728
729
730
731
      description: >-
        Indicates to exclude the following complex attributes from the response.
        See clause 6.18 of ETSI GS MEC 009 for details. The following attributes
        shall be excluded from the structure in the response body if this
        parameter is provided, or none of the parameters "all_fields", "fields",
        "exclude_fields", "exclude_default" are provided: Not applicable
Michel Roy's avatar
Michel Roy committed
732
733
734
735
736
737
738
739
      required: false
      schema:
        type: array
        items:
          type: string
    Query.SubscriptionType:
      name: subscription_type
      in: query
Michel Roy's avatar
Michel Roy committed
740
741
742
      description: >-
        Filter on a specific subscription type. Permitted values: assoc_sta,
        sta_data_rate, measure_report.
Michel Roy's avatar
Michel Roy committed
743
744
745
746
747
748
749
      required: false
      schema:
        type: string
  schemas:
    ApAssociated:
      properties:
        assocId:
Michel Roy's avatar
Michel Roy committed
750
751
752
          description: >-
            Unique number which identifies a particular association between the
            station and Access Point.
Michel Roy's avatar
Michel Roy committed
753
754
          type: string
          x-etsi-mec-cardinality: 0..1
Michel Roy's avatar
Michel Roy committed
755
756
757
758
759
760
761
762
763
764
          x-etsi-mec-origin-type: String
        bssid:
          description: >-
            Basic Service Set Identifier (BSSID) is a unique identifier assigned
            to the Access Point (as network interface controller) for
            communications at the data link layer of a network segment. BSSID is
            typically set to an access point's MAC address.
          type: string
          x-etsi-mec-cardinality: '1'
          x-etsi-mec-origin-type: String
Michel Roy's avatar
Michel Roy committed
765
766
767
768
769
770
771
        ipAddress:
          description: IPv4 or IPv6 address allocated for the Access Point.
          items:
            type: string
          minItems: 0
          type: array
          x-etsi-mec-cardinality: 0..N
Michel Roy's avatar
Michel Roy committed
772
          x-etsi-mec-origin-type: String
Michel Roy's avatar
Michel Roy committed
773
774
775
776
777
778
779
780
781
        ssid:
          description: Service Set Identifier to identify logical networks.
          items:
            type: string
          minItems: 0
          type: array
          x-etsi-mec-cardinality: 0..N
          x-etsi-mec-origin-type: String
      required:
Michel Roy's avatar
Michel Roy committed
782
        - bssid
Michel Roy's avatar
Michel Roy committed
783
784
785
786
      type: object
      x-etsi-ref: 6.5.12
    ApIdentity:
      properties:
Michel Roy's avatar
Michel Roy committed
787
788
789
790
791
792
793
794
795
        bssid:
          description: >-
            Basic Service Set Identifier (BSSID) is a unique Identifier assigned
            to an Access Point (as network interface controller) for
            communications at the data link layer of a network segment. BSSID is
            typically set to an access point's MAC address.
          type: string
          x-etsi-mec-cardinality: '1'
          x-etsi-mec-origin-type: String
Michel Roy's avatar
Michel Roy committed
796
797
798
799
800
801
802
803
804
        ipAddress:
          description: IPv4 or IPv6 address allocated for the Access Point.
          items:
            type: string
          minItems: 0
          type: array
          x-etsi-mec-cardinality: 0..N
          x-etsi-mec-origin-type: String
        ssid:
Michel Roy's avatar
Michel Roy committed
805
806
807
          description: >-
            Service Set Identifier (SSID) to identify logical WLAN networks
            available via the Access Point.
Michel Roy's avatar
Michel Roy committed
808
809
810
811
812
813
814
          items:
            type: string
          minItems: 0
          type: array
          x-etsi-mec-cardinality: 0..N
          x-etsi-mec-origin-type: String
      required:
Michel Roy's avatar
Michel Roy committed
815
        - bssid
Michel Roy's avatar
Michel Roy committed
816
817
818
819
820
821
822
823
824
825
826
827
      type: object
      x-etsi-ref: 6.5.3
    ApInfo:
      properties:
        apId:
          $ref: '#/components/schemas/ApIdentity'
        apLocation:
          $ref: '#/components/schemas/ApLocation'
        bssLoad:
          $ref: '#/components/schemas/BssLoad'
        channel:
          description: Channel configured for the Access Point.
Michel Roy's avatar
Michel Roy committed
828
          format: uint32
Michel Roy's avatar
Michel Roy committed
829
830
831
832
833
          type: integer
          x-etsi-mec-cardinality: 0..1
          x-etsi-mec-origin-type: Uint32
        extBssLoad:
          $ref: '#/components/schemas/ExtBssLoad'
Michel Roy's avatar
Michel Roy committed
834
835
        oBssLoad:
          $ref: '#/components/schemas/OBssLoad'
Michel Roy's avatar
Michel Roy committed
836
837
838
839
840
841
842
        timeStamp:
          $ref: '#/components/schemas/TimeStamp'
        wanMetrics:
          $ref: '#/components/schemas/WanMetrics'
        wlanCap:
          $ref: '#/components/schemas/WlanCapabilities'
      required:
Michel Roy's avatar
Michel Roy committed
843
        - apId
Michel Roy's avatar
Michel Roy committed
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
      type: object
      x-etsi-ref: 6.2.2
    ApLocation:
      properties:
        civicLocation:
          $ref: '#/components/schemas/CivicLocation'
        geolocation:
          $ref: '#/components/schemas/GeoLocation'
      type: object
      x-etsi-ref: 6.5.9
    AssocStaNotification:
      properties:
        apId:
          $ref: '#/components/schemas/ApIdentity'
        notificationType:
          description: Shall be set to "AssocStaNotification".
          type: string
          x-etsi-mec-cardinality: '1'
          x-etsi-mec-origin-type: String
        staId:
          description: Identifier(s) to uniquely specify the client station(s) associated.
          items:
            $ref: '#/components/schemas/StaIdentity'
          minItems: 0
          type: array
          x-etsi-mec-cardinality: 0..N
          x-etsi-mec-origin-type: StaIdentity
        timeStamp:
          $ref: '#/components/schemas/TimeStamp'
      required:
Michel Roy's avatar
Michel Roy committed
874
875
        - notificationType
        - apId
Michel Roy's avatar
Michel Roy committed
876
877
878
879
880
      type: object
      x-etsi-ref: 6.4.2
    AssocStaSubscription:
      properties:
        _links:
Michel Roy's avatar
Michel Roy committed
881
882
883
          description: >-
            Hyperlink related to the resource. This shall be only included in
            the HTTP responses and in HTTP PUT requests.
Michel Roy's avatar
Michel Roy committed
884
885
886
887
          properties:
            self:
              $ref: '#/components/schemas/LinkType'
          required:
Michel Roy's avatar
Michel Roy committed
888
            - self
Michel Roy's avatar
Michel Roy committed
889
890
891
892
893
894
895
896
897
          type: object
          x-etsi-mec-cardinality: 0..1
          x-etsi-mec-origin-type: Structure (inlined)
        apId:
          $ref: '#/components/schemas/ApIdentity'
        callbackReference:
          type: string
        expiryDeadline:
          $ref: '#/components/schemas/TimeStamp'
Michel Roy's avatar
Michel Roy committed
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
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
        notificationEvent:
          description: 'Set for trigger-based event notification reporting. '
          properties:
            threshold:
              description: >-
                Number of connected stations threshold for trigger-based event
                reporting.
              format: uint8
              type: integer
              x-etsi-mec-cardinality: '1'
              x-etsi-mec-origin-type: Uint8
            trigger:
              description: >-
                Trigger for the notification:

                1 = Notification issued when the number of connected stations is
                greater than or equal to the threshold.

                2 = Notification issued when the number of connected stations is
                less than or equal to the threshold.
              enum:
                - 1
                - 2
              type: integer
              x-etsi-mec-cardinality: '1'
              x-etsi-mec-origin-type: Enum (inline)
          required:
            - trigger
            - threshold
          type: object
          x-etsi-mec-cardinality: 0..1
          x-etsi-mec-origin-type: Structure (inline)
        notificationPeriod:
          description: |-
            Set for periodic notification reporting.
            Value indicates the notification period in seconds.
          format: uint8
          type: integer
          x-etsi-mec-cardinality: 0..1
          x-etsi-mec-origin-type: Uint8
        requestTestNotification:
          description: >-
            Set to TRUE by the service consumer to request a test notification
            on the callbackReference URI to determine if it is reachable by the
            WAIS for notifications.
          type: boolean
          x-etsi-mec-cardinality: 0..1
          x-etsi-mec-origin-type: Boolean
Michel Roy's avatar
Michel Roy committed
946
947
948
949
950
        subscriptionType:
          description: Shall be set to "AssocStaSubscription".
          type: string
          x-etsi-mec-cardinality: '1'
          x-etsi-mec-origin-type: String
Michel Roy's avatar
Michel Roy committed
951
952
        websockNotifConfig:
          $ref: '#/components/schemas/WebsockNotifConfig'
Michel Roy's avatar
Michel Roy committed
953
      required:
Michel Roy's avatar
Michel Roy committed
954
955
        - subscriptionType
        - apId
Michel Roy's avatar
Michel Roy committed
956
      type: object
Michel Roy's avatar
Michel Roy committed
957
      x-etsi-notes: "NOTE 1:\tAt least one of callbackReference and websockNotifConfig shall be provided by the service consumer. If both are provided, it is up to WAIS to select the method to be used for notifications and to return only that method in the response.\nNOTE 2:\tAssocStaSubscription shall include either notificationPeriod or notificationEvent.\nNOTE 3:\tIf both notificationPeriod and notificationEvent attributes are set, notifications are issued periodically when the trigger threshold is satisfied."
Michel Roy's avatar
Michel Roy committed
958
      x-etsi-ref: 6.3.2
Michel Roy's avatar
Michel Roy committed
959
    BeaconReport:
Michel Roy's avatar
Michel Roy committed
960
      properties:
Michel Roy's avatar
Michel Roy committed
961
962
963
964
        antennaId:
          description: "The Antenna ID field contains the identifying number for the antenna(s) used for this measurement. Antenna ID is defined in section\_9.4.2.40 of IEEE 802.11-2016 [8]."
          format: uint8
          type: integer
Michel Roy's avatar
Michel Roy committed
965
          x-etsi-mec-cardinality: 0..1
Michel Roy's avatar
Michel Roy committed
966
967
968
969
970
          x-etsi-mec-origin-type: Uint8
        bssid:
          description: >-
            Indicates the BSSID of the BSS for which a beacon report has been
            received.
Michel Roy's avatar
Michel Roy committed
971
972
973
          type: string
          x-etsi-mec-cardinality: '1'
          x-etsi-mec-origin-type: String
Michel Roy's avatar
Michel Roy committed
974
        channel:
Michel Roy's avatar
Michel Roy committed
975
          description: Channel number where the beacon was received.
Michel Roy's avatar
Michel Roy committed
976
          format: uint8
Michel Roy's avatar
Michel Roy committed
977
978
          type: integer
          x-etsi-mec-cardinality: '1'
Michel Roy's avatar
Michel Roy committed
979
          x-etsi-mec-origin-type: Uint8
Michel Roy's avatar
Michel Roy committed
980
        measurementId:
Michel Roy's avatar
Michel Roy committed
981
982
983
          description: >-
            Measurement ID of the Measurement configuration applied to this
            Beacon Report.
Michel Roy's avatar
Michel Roy committed
984
985
986
          type: string
          x-etsi-mec-cardinality: '1'
          x-etsi-mec-origin-type: String
Michel Roy's avatar
Michel Roy committed
987
988
989
990
991
        operatingClass:
          description: >-
            Operating Class field indicates an operating class value as defined
            in Annex E within IEEE 802.11-2016 [8].
          format: uint8
Michel Roy's avatar
Michel Roy committed
992
993
          type: integer
          x-etsi-mec-cardinality: '1'
Michel Roy's avatar
Michel Roy committed
994
995
996
997
998
999
1000
          x-etsi-mec-origin-type: Uint8
        parentTsf:
          description: >-
            The Parent TSF field contains the lower 4 octets of the measuring
            STA's TSF timer value at the start of reception of the first octet
            of the timestamp field of the reported Beacon, Measurement Pilot, or
            Probe Response frame at the time the Beacon, Measurement Pilot, or
For faster browsing, not all history is shown. View entire blame