Loading WlanInformationApi.yaml +226 −115 Original line number Diff line number Diff line Loading @@ -5,16 +5,26 @@ info: contact: url: https://forge.etsi.org/rep/mec/gs028-wai-api version: '2.2.1' license: name: BSD-3-Clause url: 'https://forge.etsi.org/legal-matters' jsonSchemaDialect: https://json-schema.org/draft/2020-12/schema servers: - url: https://localhost/wai/v2 variables: {} externalDocs: 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 tags: - name: wai paths: /queries/ap/ap_information: get: tags: - wai summary: apInfoGET summary: 'Queries information about existing WLAN Access Points' description: Queries information about existing WLAN Access Points operationId: apInfoGET parameters: Loading Loading @@ -119,7 +129,7 @@ paths: get: tags: - wai summary: staInfoGET summary: 'Queries information about existing WLAN stations' description: Queries information about existing WLAN stations operationId: staInfoGET parameters: Loading Loading @@ -224,7 +234,7 @@ paths: get: tags: - wai summary: subscriptionLinkList_subscriptionsGET summary: 'Queries information on subscriptions for notifications' description: Queries information on subscriptions for notifications operationId: subscriptionLinkList_subscriptionsGET parameters: Loading @@ -243,6 +253,15 @@ paths: application/json: schema: $ref: '#/components/schemas/SubscriptionLinkList' examples: example-of-subscription-link-list: value: _links: self: href: 'http://meAppServer.example.com/wai/v2/subscriptions' subscription: - href: http://meAppServer.example.com/wai/v2/subscriptions/sub123 subscriptionType: AssocStaSubscription '400': description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.' headers: {} Loading Loading @@ -289,7 +308,7 @@ paths: post: tags: - wai summary: subscriptionsPOST summary: 'Creates a new subscription to WLAN Access Information notifications' description: Creates a new subscription to WLAN Access Information notifications operationId: subscriptionsPOST parameters: [] Loading @@ -316,7 +335,9 @@ paths: ipAddress: - 10.10.100.1 contentMediaType: application/json example: examples: example-of-AssocStaSubscription: value: subscriptionType: AssocStaSubscription callbackReference: http://meAppClient.example.com/wai/v2/notifications/1 expiryDeadline: Loading Loading @@ -356,7 +377,9 @@ paths: ipAddress: - 10.10.100.1 contentMediaType: application/json example: examples: example-of-assoc--sta-subscription: value: subscriptionType: AssocStaSubscription callbackReference: http://meAppClient.example.com/wai/v2/notifications/1 _links: Loading Loading @@ -420,11 +443,12 @@ paths: application/problem+json: schema: $ref: '#/components/schemas/ProblemDetails' example: examples: application/problem+json: value: type: https://meAppServer.example.com/wai/v2/probs/too-many targets title: Too many targets status: '422' status: 422 detail: The target area for the request is considered too large instance: /meAppClient.example.com/77777/msgs/abc '429': Loading @@ -435,12 +459,52 @@ paths: schema: $ref: '#/components/schemas/ProblemDetails' deprecated: false callbacks: notification: '{$request.body#/callbackReference}': post: summary: Callback POST used to send a notification 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' examples: example-assoc-sta-notification: value: notificationType: AssocStaNotification timeStamp: seconds: 1977836800 nanoSeconds: 0 apId: bssid: 005C0A0A0A0A ssid: - myNetworkSsid ipAddress: - 10.10.100.1 staId: macId: 005C01111111 ssid: - myNetworkSsid - myOtherNetworkSsid aid: '1122' ipAddress: - 10.10.1.255 responses: '204': description: "No content" parameters: [] /subscriptions/{subscriptionId}: get: tags: - wai summary: subscriptionsGET summary: 'Queries information about an existing subscription, identified by its self-referring URI returned on creation (initial POST)' description: Queries information about an existing subscription, identified by its self-referring URI returned on creation (initial POST) operationId: subscriptionsGET parameters: Loading Loading @@ -478,7 +542,9 @@ paths: ipAddress: - 10.10.100.1 contentMediaType: application/json example: examples: example-of-assoc-sta-subscription: value: subscriptionType: AssocStaSubscription callbackReference: http://meAppClient.example.com/wai/v2/notifications/1 _links: Loading Loading @@ -539,7 +605,7 @@ paths: put: tags: - wai summary: subscriptionsPUT summary: 'Updates an existing subscription, identified by its self-referring URI returned on creation (initial POST)' description: Updates an existing subscription, identified by its self-referring URI returned on creation (initial POST) operationId: subscriptionsPUT parameters: Loading Loading @@ -576,7 +642,10 @@ paths: ipAddress: - 10.10.100.1 contentMediaType: application/json example: examples: example-of-assoc-sta-subscription: value: subscriptionType: AssocStaSubscription callbackReference: http://meAppClient.example.com/wai/v2/notifications/1 _links: Loading Loading @@ -615,7 +684,10 @@ paths: ipAddress: - 10.10.100.1 contentMediaType: application/json example: examples: example-sub-type: value: subscriptionType: "AssocStaSubscription" _links: self: href: http://[hostIP]/sbox-xyz123/wai/v2/subscriptions/sub123 Loading Loading @@ -675,11 +747,12 @@ paths: application/problem+json: schema: $ref: '#/components/schemas/ProblemDetails' example: examples: application/problem+json: value: type: https://meAppServer.example.com/wai/v2/probs/too-many targets title: Too many targets status: '422' status: 422 detail: The target area for the request is considered too large instance: /meAppClient.example.com/77777/msgs/abc '429': Loading @@ -693,7 +766,7 @@ paths: delete: tags: - wai summary: subscriptionsDELETE summary: 'Cancels an existing subscription, identified by its self-referring URI returned on creation (initial POST)' description: Cancels an existing subscription, identified by its self-referring URI returned on creation (initial POST) operationId: subscriptionsDELETE parameters: Loading Loading @@ -743,7 +816,7 @@ paths: get: tags: - wai summary: measurementLinkList_measurementsGET summary: 'Queries information on measurements configuration' description: Queries information on measurements configuration operationId: measurementLinkList_measurementsGET parameters: [] Loading @@ -755,7 +828,9 @@ paths: application/json: schema: $ref: '#/components/schemas/MeasurementConfigLinkList' example: examples: example-measurement: value: _links: self: href: http://meAppServer.example.com/wai/v2/measurements Loading Loading @@ -808,7 +883,7 @@ paths: post: tags: - wai summary: measurementsPOST summary: 'Creates a new measurement configuration' description: Creates a new measurement configuration operationId: measurementsPOST parameters: [] Loading @@ -818,6 +893,16 @@ paths: application/json: schema: $ref: '#/components/schemas/MeasurementConfig' examples: example-body: value: staId: - macId: 005C01111111 ssid: - myNetworkSsid - myOtherNetworkSsid measurementId: myId1 measurementInfo: {} required: true responses: '201': Loading @@ -827,6 +912,19 @@ paths: application/json: schema: $ref: '#/components/schemas/MeasurementConfig' examples: example-response: value: _links: self: href: 'http://meAppServer.example.com/wai/v2/measurements/meas123' staId: - macId: 005C01111111 ssid: - myNetworkSsid - myOtherNetworkSsid measurementId: myId1 measurementInfo: {} '400': description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.' headers: {} Loading Loading @@ -876,11 +974,12 @@ paths: application/problem+json: schema: $ref: '#/components/schemas/ProblemDetails' example: examples: application/problem+json: value: type: https://meAppServer.example.com/wai/v2/probs/too-many targets title: Too many targets status: '422' status: 422 detail: The target area for the request is considered too large instance: /meAppClient.example.com/77777/msgs/abc '429': Loading @@ -896,7 +995,7 @@ paths: get: tags: - wai summary: measurementsGET summary: 'Queries information about an existing measurement configuration, identified by its self-referring URI returned on creation (initial POST)' description: Queries information about an existing measurement configuration, identified by its self-referring URI returned on creation (initial POST) operationId: measurementsGET parameters: Loading @@ -915,6 +1014,21 @@ paths: application/json: schema: $ref: '#/components/schemas/MeasurementConfig' examples: response-example: value: _links: self: href: 'http://meAppServer.example.com/wai/v2/measurements/meas123' staId: - macId: 005C01111111 ssid: - myNetworkSsid - myOtherNetworkSsid measurementId: myId1 measurementInfo: {} '400': description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.' headers: {} Loading Loading @@ -961,7 +1075,7 @@ paths: put: tags: - wai summary: measurementsPUT summary: 'Updates an existing measurement configuration, identified by its self-referring URI returned on creation (initial POST)' description: Updates an existing measurement configuration, identified by its self-referring URI returned on creation (initial POST) operationId: measurementsPUT parameters: Loading Loading @@ -1036,11 +1150,12 @@ paths: application/problem+json: schema: $ref: '#/components/schemas/ProblemDetails' example: examples: application/problem+json: value: type: https://meAppServer.example.com/wai/v2/probs/too-many targets title: Too many targets status: '422' status: 422 detail: The target area for the request is considered too large instance: /meAppClient.example.com/77777/msgs/abc '429': Loading @@ -1054,7 +1169,7 @@ paths: delete: tags: - wai summary: measurementsDELETE summary: 'Cancels an existing measurement configuration, identified by its self-referring URI returned on creation (initial POST)' description: Cancels an existing measurement configuration, identified by its self-referring URI returned on creation (initial POST) operationId: measurementsDELETE parameters: Loading Loading @@ -2817,8 +2932,4 @@ components: - 1 security: - {} tags: - name: wai externalDocs: 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 Loading
WlanInformationApi.yaml +226 −115 Original line number Diff line number Diff line Loading @@ -5,16 +5,26 @@ info: contact: url: https://forge.etsi.org/rep/mec/gs028-wai-api version: '2.2.1' license: name: BSD-3-Clause url: 'https://forge.etsi.org/legal-matters' jsonSchemaDialect: https://json-schema.org/draft/2020-12/schema servers: - url: https://localhost/wai/v2 variables: {} externalDocs: 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 tags: - name: wai paths: /queries/ap/ap_information: get: tags: - wai summary: apInfoGET summary: 'Queries information about existing WLAN Access Points' description: Queries information about existing WLAN Access Points operationId: apInfoGET parameters: Loading Loading @@ -119,7 +129,7 @@ paths: get: tags: - wai summary: staInfoGET summary: 'Queries information about existing WLAN stations' description: Queries information about existing WLAN stations operationId: staInfoGET parameters: Loading Loading @@ -224,7 +234,7 @@ paths: get: tags: - wai summary: subscriptionLinkList_subscriptionsGET summary: 'Queries information on subscriptions for notifications' description: Queries information on subscriptions for notifications operationId: subscriptionLinkList_subscriptionsGET parameters: Loading @@ -243,6 +253,15 @@ paths: application/json: schema: $ref: '#/components/schemas/SubscriptionLinkList' examples: example-of-subscription-link-list: value: _links: self: href: 'http://meAppServer.example.com/wai/v2/subscriptions' subscription: - href: http://meAppServer.example.com/wai/v2/subscriptions/sub123 subscriptionType: AssocStaSubscription '400': description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.' headers: {} Loading Loading @@ -289,7 +308,7 @@ paths: post: tags: - wai summary: subscriptionsPOST summary: 'Creates a new subscription to WLAN Access Information notifications' description: Creates a new subscription to WLAN Access Information notifications operationId: subscriptionsPOST parameters: [] Loading @@ -316,7 +335,9 @@ paths: ipAddress: - 10.10.100.1 contentMediaType: application/json example: examples: example-of-AssocStaSubscription: value: subscriptionType: AssocStaSubscription callbackReference: http://meAppClient.example.com/wai/v2/notifications/1 expiryDeadline: Loading Loading @@ -356,7 +377,9 @@ paths: ipAddress: - 10.10.100.1 contentMediaType: application/json example: examples: example-of-assoc--sta-subscription: value: subscriptionType: AssocStaSubscription callbackReference: http://meAppClient.example.com/wai/v2/notifications/1 _links: Loading Loading @@ -420,11 +443,12 @@ paths: application/problem+json: schema: $ref: '#/components/schemas/ProblemDetails' example: examples: application/problem+json: value: type: https://meAppServer.example.com/wai/v2/probs/too-many targets title: Too many targets status: '422' status: 422 detail: The target area for the request is considered too large instance: /meAppClient.example.com/77777/msgs/abc '429': Loading @@ -435,12 +459,52 @@ paths: schema: $ref: '#/components/schemas/ProblemDetails' deprecated: false callbacks: notification: '{$request.body#/callbackReference}': post: summary: Callback POST used to send a notification 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' examples: example-assoc-sta-notification: value: notificationType: AssocStaNotification timeStamp: seconds: 1977836800 nanoSeconds: 0 apId: bssid: 005C0A0A0A0A ssid: - myNetworkSsid ipAddress: - 10.10.100.1 staId: macId: 005C01111111 ssid: - myNetworkSsid - myOtherNetworkSsid aid: '1122' ipAddress: - 10.10.1.255 responses: '204': description: "No content" parameters: [] /subscriptions/{subscriptionId}: get: tags: - wai summary: subscriptionsGET summary: 'Queries information about an existing subscription, identified by its self-referring URI returned on creation (initial POST)' description: Queries information about an existing subscription, identified by its self-referring URI returned on creation (initial POST) operationId: subscriptionsGET parameters: Loading Loading @@ -478,7 +542,9 @@ paths: ipAddress: - 10.10.100.1 contentMediaType: application/json example: examples: example-of-assoc-sta-subscription: value: subscriptionType: AssocStaSubscription callbackReference: http://meAppClient.example.com/wai/v2/notifications/1 _links: Loading Loading @@ -539,7 +605,7 @@ paths: put: tags: - wai summary: subscriptionsPUT summary: 'Updates an existing subscription, identified by its self-referring URI returned on creation (initial POST)' description: Updates an existing subscription, identified by its self-referring URI returned on creation (initial POST) operationId: subscriptionsPUT parameters: Loading Loading @@ -576,7 +642,10 @@ paths: ipAddress: - 10.10.100.1 contentMediaType: application/json example: examples: example-of-assoc-sta-subscription: value: subscriptionType: AssocStaSubscription callbackReference: http://meAppClient.example.com/wai/v2/notifications/1 _links: Loading Loading @@ -615,7 +684,10 @@ paths: ipAddress: - 10.10.100.1 contentMediaType: application/json example: examples: example-sub-type: value: subscriptionType: "AssocStaSubscription" _links: self: href: http://[hostIP]/sbox-xyz123/wai/v2/subscriptions/sub123 Loading Loading @@ -675,11 +747,12 @@ paths: application/problem+json: schema: $ref: '#/components/schemas/ProblemDetails' example: examples: application/problem+json: value: type: https://meAppServer.example.com/wai/v2/probs/too-many targets title: Too many targets status: '422' status: 422 detail: The target area for the request is considered too large instance: /meAppClient.example.com/77777/msgs/abc '429': Loading @@ -693,7 +766,7 @@ paths: delete: tags: - wai summary: subscriptionsDELETE summary: 'Cancels an existing subscription, identified by its self-referring URI returned on creation (initial POST)' description: Cancels an existing subscription, identified by its self-referring URI returned on creation (initial POST) operationId: subscriptionsDELETE parameters: Loading Loading @@ -743,7 +816,7 @@ paths: get: tags: - wai summary: measurementLinkList_measurementsGET summary: 'Queries information on measurements configuration' description: Queries information on measurements configuration operationId: measurementLinkList_measurementsGET parameters: [] Loading @@ -755,7 +828,9 @@ paths: application/json: schema: $ref: '#/components/schemas/MeasurementConfigLinkList' example: examples: example-measurement: value: _links: self: href: http://meAppServer.example.com/wai/v2/measurements Loading Loading @@ -808,7 +883,7 @@ paths: post: tags: - wai summary: measurementsPOST summary: 'Creates a new measurement configuration' description: Creates a new measurement configuration operationId: measurementsPOST parameters: [] Loading @@ -818,6 +893,16 @@ paths: application/json: schema: $ref: '#/components/schemas/MeasurementConfig' examples: example-body: value: staId: - macId: 005C01111111 ssid: - myNetworkSsid - myOtherNetworkSsid measurementId: myId1 measurementInfo: {} required: true responses: '201': Loading @@ -827,6 +912,19 @@ paths: application/json: schema: $ref: '#/components/schemas/MeasurementConfig' examples: example-response: value: _links: self: href: 'http://meAppServer.example.com/wai/v2/measurements/meas123' staId: - macId: 005C01111111 ssid: - myNetworkSsid - myOtherNetworkSsid measurementId: myId1 measurementInfo: {} '400': description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.' headers: {} Loading Loading @@ -876,11 +974,12 @@ paths: application/problem+json: schema: $ref: '#/components/schemas/ProblemDetails' example: examples: application/problem+json: value: type: https://meAppServer.example.com/wai/v2/probs/too-many targets title: Too many targets status: '422' status: 422 detail: The target area for the request is considered too large instance: /meAppClient.example.com/77777/msgs/abc '429': Loading @@ -896,7 +995,7 @@ paths: get: tags: - wai summary: measurementsGET summary: 'Queries information about an existing measurement configuration, identified by its self-referring URI returned on creation (initial POST)' description: Queries information about an existing measurement configuration, identified by its self-referring URI returned on creation (initial POST) operationId: measurementsGET parameters: Loading @@ -915,6 +1014,21 @@ paths: application/json: schema: $ref: '#/components/schemas/MeasurementConfig' examples: response-example: value: _links: self: href: 'http://meAppServer.example.com/wai/v2/measurements/meas123' staId: - macId: 005C01111111 ssid: - myNetworkSsid - myOtherNetworkSsid measurementId: myId1 measurementInfo: {} '400': description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.' headers: {} Loading Loading @@ -961,7 +1075,7 @@ paths: put: tags: - wai summary: measurementsPUT summary: 'Updates an existing measurement configuration, identified by its self-referring URI returned on creation (initial POST)' description: Updates an existing measurement configuration, identified by its self-referring URI returned on creation (initial POST) operationId: measurementsPUT parameters: Loading Loading @@ -1036,11 +1150,12 @@ paths: application/problem+json: schema: $ref: '#/components/schemas/ProblemDetails' example: examples: application/problem+json: value: type: https://meAppServer.example.com/wai/v2/probs/too-many targets title: Too many targets status: '422' status: 422 detail: The target area for the request is considered too large instance: /meAppClient.example.com/77777/msgs/abc '429': Loading @@ -1054,7 +1169,7 @@ paths: delete: tags: - wai summary: measurementsDELETE summary: 'Cancels an existing measurement configuration, identified by its self-referring URI returned on creation (initial POST)' description: Cancels an existing measurement configuration, identified by its self-referring URI returned on creation (initial POST) operationId: measurementsDELETE parameters: Loading Loading @@ -2817,8 +2932,4 @@ components: - 1 security: - {} tags: - name: wai externalDocs: 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