VNFIndicator.yaml 22.5 KB
Newer Older
1
openapi: 3.0.2
2

3
info:
moscatelli's avatar
moscatelli committed
4
  title: SOL002 - VNF Indicator interface
5
  description: |
Francesca Moscatelli's avatar
Francesca Moscatelli committed
6
7
    SOL002 - VNF Indicator interface

Giacomo Bernini's avatar
Giacomo Bernini committed
8
9
10
    IMPORTANT: Please note that this file might be not aligned to the current
    version of the ETSI Group Specification it refers to. In case of
    discrepancies the published ETSI Group Specification takes precedence.
Francesca Moscatelli's avatar
Francesca Moscatelli committed
11

12
    Please report bugs to https://forge.etsi.org/rep/nfv/SOL002-SOL003/issues
Giacomo Bernini's avatar
Giacomo Bernini committed
13

14
15
  contact:
    name: NFV-SOL WG
16
  license:
moscatelli's avatar
moscatelli committed
17
    name: ETSI Forge copyright notice
18
    url: https://forge.etsi.org/etsi-forge-copyright-notice.txt
19
  version: 1.3.0-impl:etsi.org:ETSI_NFV_OpenAPI:1
20

21
externalDocs:
Sana Zulfiqar's avatar
Sana Zulfiqar committed
22
23
  description: ETSI GS NFV-SOL 002 V3.5.1
  url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/03.05.01_60/gs_NFV-SOL002v030501p.pdf
24

25
26
27
servers:
  - url: http://127.0.0.1/vnfind/v1
  - url: https://127.0.0.1/vnfind/v1
28
29

paths:
30
31
  /api_versions:
    $ref: ../../endpoints/SOL002SOL003_endpoints.yaml#/endpoints/api-versions
32
33
34

  /indicators:
    parameters:
35
36
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Authorization
37
    get:
Giacomo Bernini's avatar
Giacomo Bernini committed
38
39
      description: |
        The GET method queries multiple VNF indicators. See clause 8.4.2.3.2.
40
      parameters:
41
42
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/filter
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/nextpage_opaque_marker
43
      responses:
44
        "200":
Muhammad Hamza's avatar
Muhammad Hamza committed
45
          $ref: '#/components/responses/Indicators.Get.200'
46
        "400":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
47
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
48
        "401":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
49
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/401
50
        "403":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
51
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/403
52
        "404":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
53
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/404
54
        "405":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
55
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/405
56
        "406":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
57
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/406
58
        "416":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
59
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/416
60
        "422":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
61
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/422
62
        "429":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
63
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/429
64
        "500":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
65
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/500
66
        "503":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
67
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/503
68
        "504":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
69
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/504
70

71
  /indicators/{vnfInstanceId}:
72
    parameters:
73
74
75
      - $ref: '#/components/parameters/VnfInstanceId'
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Authorization
76
    get:
77
      description: |
Giacomo Bernini's avatar
Giacomo Bernini committed
78
        The GET method queries multiple VNF indicators related to a VNF instance. See clause 8.4.3.3.2.
79
      parameters:
80
81
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/filter
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/nextpage_opaque_marker
82
      responses:
83
        "200":
Muhammad Hamza's avatar
Muhammad Hamza committed
84
          $ref: '#/components/responses/VnfIndicators.Get.200'
85
        "400":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
86
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
87
        "401":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
88
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/401
89
        "403":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
90
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/403
91
        "404":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
92
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/404
93
        "405":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
94
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/405
95
        "406":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
96
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/406
97
        "416":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
98
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/416
99
        "422":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
100
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/422
101
        "429":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
102
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/429
103
        "500":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
104
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/500
105
        "503":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
106
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/503
107
        "504":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
108
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/504
109
110

  /indicators/{vnfInstanceId}/{indicatorId}:
111
    parameters:
112
113
114
115
      - $ref: '#/components/parameters/VnfInstanceId'
      - $ref: '#/components/parameters/IndicatorId'
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Authorization
116
    get:
117
      description: |
Giacomo Bernini's avatar
Giacomo Bernini committed
118
        The GET method reads a VNF indicator. See clause 8.4.4.3.2.
119
      responses:
120
        "200":
Muhammad Hamza's avatar
Muhammad Hamza committed
121
          $ref: '#/components/responses/VnfIndividualIndicator.Get.200'
122
        "400":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
123
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
124
        "401":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
125
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/401
126
        "403":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
127
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/403
128
        "404":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
129
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/404
130
        "405":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
131
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/405
132
        "406":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
133
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/406
134
        "416":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
135
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/416
136
        "422":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
137
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/422
138
        "429":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
139
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/429
140
        "500":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
141
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/500
142
        "503":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
143
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/503
144
        "504":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
145
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/504
146
147

  /subscriptions:
148
149
150
    parameters:
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Authorization
151
    get:
152
      description: |
Giacomo Bernini's avatar
Giacomo Bernini committed
153
154
        The GET method queries the list of active subscriptions of the functional block that invokes the method.
        It can be used e.g. for resynchronization after error situations. See clause 8.4.5.3.2.
155
      parameters:
156
157
158
159
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/filter
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/nextpage_opaque_marker
      responses:
        "200":
Muhammad Hamza's avatar
Muhammad Hamza committed
160
          $ref: '#/components/responses/VnfIndicatorSubscriptions.Get.200'
161
        "400":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
162
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
163
        "401":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
164
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/401
165
        "403":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
166
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/403
167
        "404":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
168
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/404
169
        "405":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
170
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/405
171
        "406":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
172
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/406
173
        "416":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
174
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/416
175
        "422":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
176
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/422
177
        "429":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
178
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/429
179
        "500":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
180
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/500
181
        "503":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
182
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/503
183
        "504":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
184
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/504
185

186
187
    post:
      description: |
Giacomo Bernini's avatar
Giacomo Bernini committed
188
        The POST method creates a new subscription. See clause 8.4.5.3.1.
189
190
191
192
193
      parameters:
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Accept
        - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/ContentType
      requestBody:
        $ref: '#/components/requestBodies/VnfIndicatorSubscriptionRequest'
194
      responses:
195
        "201":
Muhammad Hamza's avatar
Muhammad Hamza committed
196
          $ref: '#/components/responses/VnfIndicatorSubscription.Post.201'
197
        "303":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
198
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/303
199
        "400":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
200
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
201
        "401":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
202
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/401
203
        "403":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
204
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/403
205
        "404":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
206
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/404
207
        "405":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
208
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/405
209
        "406":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
210
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/406
211
        "416":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
212
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/416
213
        "422":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
214
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/422
215
        "429":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
216
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/429
217
        "500":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
218
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/500
219
        "503":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
220
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/503
221
        "504":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
222
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/504
223

224
225
  /subscriptions/{subscriptionId}:
    parameters:
226
227
228
      - $ref: '#/components/parameters/SubscriptionId'
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Version
      - $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Authorization
229
    get:
230
      description: |
Giacomo Bernini's avatar
Giacomo Bernini committed
231
        The GET method reads an individual subscription. See clause 8.4.6.3.2.
232
      responses:
233
        "200":
Muhammad Hamza's avatar
Muhammad Hamza committed
234
          $ref: '#/components/responses/VnfIndicatorSubscription.Get.200'
235
        "400":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
236
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
237
        "401":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
238
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/401
239
        "403":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
240
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/403
241
        "404":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
242
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/404
243
        "405":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
244
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/405
245
        "406":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
246
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/406
247
        "416":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
248
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/416
249
        "422":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
250
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/422
251
        "429":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
252
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/429
253
        "500":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
254
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/500
255
        "503":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
256
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/503
257
        "504":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
258
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/504
259

260
    delete:
261
      description: |
Giacomo Bernini's avatar
Giacomo Bernini committed
262
        The DELETE method terminates an individual subscription. See clause 8.4.6.3.5.
263
      responses:
264
        "204":
Muhammad Hamza's avatar
Muhammad Hamza committed
265
          $ref: '#/components/responses/VnfIndicatorSubscription.Delete.204'
266
        "400":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
267
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
268
        "401":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
269
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/401
270
        "403":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
271
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/403
272
        "404":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
273
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/404
274
        "405":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
275
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/405
276
        "406":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
277
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/406
278
        "416":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
279
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/416
280
        "422":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
281
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/422
282
        "429":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
283
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/429
284
        "500":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
285
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/500
286
        "503":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
287
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/503
288
        "504":
Francesca Moscatelli's avatar
Francesca Moscatelli committed
289
          $ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/504
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317

components:
  parameters:
    VnfInstanceId:
      name: vnfInstanceId
      in: path
      description: |
        Service Unavailable.
        Identifier of the VNF instance to which the VNF indicators applies.
        NOTE: This identifier can be retrieved from the resource referenced by the "Location" HTTP header in the
        response to a POST request creating a new VNF instance resource. It can also be retrieved from the "id"
        attribute in the payload body of that response.
      required: true
      style: simple
      explode: false
      schema:
        type: string

    IndicatorId:
      name: indicatorId
      in: path
      description: |
        Identifier of the VNF indicator.
      required: true
      style: simple
      explode: false
      schema:
        type: string
318

319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
    SubscriptionId:
      name: subscriptionId
      in: path
      description: |
        Identifier of this subscription. NOTE:
         This identifier can be retrieved from the resource referenced by the "Location" HTTP header
         in the response to a POST request creating a new subscription resource. It can also be retrieved
         from the "id" attribute in the payload body of that response.
      required: true
      style: simple
      explode: false
      schema:
        type: string

  requestBodies:
    VnfIndicatorSubscriptionRequest:
      description: Details of the subscription to be created.
      content:
        application/json:
          schema:
            $ref: ../../definitions/SOL002SOL003VNFIndicator_def.yaml#/definitions/VnfIndicatorSubscriptionRequest
      required: true

  responses:
Muhammad Hamza's avatar
Muhammad Hamza committed
343
    Indicators.Get.200:
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
      description: |
        200 OK
        Shall be returned when information about zero or more VNF indicators was  queried successfully.
        The response body shall contain in an array the  representations of all VNF indicators that match the
        attribute-based  filtering parameters, i.e. zero or more representations of VNF indicators  as defined
        in clause 8.5.2.2. If the "filter" URI parameter was supplied in the request, the data in  the response
        body shall have been transformed according to the rules  specified in clause 5.2.2 of ETSI GS NFV-SOL 013.
        If the EM/VNF supports alternative 2 (paging) according to clause 5.4.2.1  of ETSI GS NFV-SOL 013for this
        resource, inclusion of the Link HTTP header  in this response shall follow the provisions in clause 5.4.2.3
        of  ETSI GS NFV-SOL 013.
      headers:
        Version:
          description: The used API version.
          style: simple
          explode: false
          schema:
            type: string
        Link:
          description: |
            Reference to other resources. Used for paging in the present document, see clause 4.7.2.1.
          style: simple
          explode: false
          schema:
            type: string
        Content-Type:
          description: The MIME type of the body of the response.
          style: simple
          explode: false
          schema:
            type: string
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: ../../definitions/SOL002SOL003VNFIndicator_def.yaml#/definitions/VnfIndicator

Muhammad Hamza's avatar
Muhammad Hamza committed
381
    VnfIndicators.Get.200:
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
      description: |
        200 OK
        Shall be returned when information about zero or more VNF indicators  was queried successfully.
        The response body shall contain in an array the representations of all VNF indicators that are related
        to the particular VNF instance and that match the attribute filter., i.e. zero or more representations
        of VNF indicators as defined in clause 8.5.2.2. If the "filter" URI parameter was supplied in the request,
        the data in  the response body shall have been transformed according to the rules  specified in clause
        5.2.2 of ETSI GS NFV-SOL 013. If the EM/VMF supports alternative 2 (paging) according to clause 5.4.2.1 of
        ETSI GS NFV-SOL 013 for this resource, inclusion of the Link HTTP  header in this response shall follow the
        provisions in clause 5.4.2.3  of ETSI GS NFV-SOL 013.
      headers:
        Version:
          description: The used API version.
          style: simple
          explode: false
          schema:
            type: string
        Link:
          description: |
            Reference to other resources. Used for paging in the present document, see clause 4.7.2.1.
          style: simple
          explode: false
          schema:
            type: string
        Content-Type:
          description: The MIME type of the body of the response.
          style: simple
          explode: false
          schema:
            type: string
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: ../../definitions/SOL002SOL003VNFIndicator_def.yaml#/definitions/VnfIndicator

Muhammad Hamza's avatar
Muhammad Hamza committed
419
    VnfIndividualIndicator.Get.200:
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
      description: |
        200 OK
        Shall be returned when the VNF indicator has been read successfully. The response body shall contain the
        representation of the VNF indicator.
      headers:
        Version:
          description: The used API version.
          style: simple
          explode: false
          schema:
            type: string
        Content-Type:
          description: The MIME type of the body of the response.
          style: simple
          explode: false
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: ../../definitions/SOL002SOL003VNFIndicator_def.yaml#/definitions/VnfIndicator

Muhammad Hamza's avatar
Muhammad Hamza committed
442
    VnfIndicatorSubscriptions.Get.200:
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
      description: |
        200 OK
        Shall be returned when the list of subscriptions was queried successfully.
        The response body shall contain in an array the representations of all  active subscriptions of the functional
        block that invokes the method which  match the attribute filter, i.e. zero or more representations of VNF
        indicators subscriptions as defined in clause 8.5.2.4. If the "filter" URI parameter was supplied in the request,
        the data in  the response body shall have been transformed according to the rules  specified in clause 5.2.2 of
        ETSI GS NFV SOL 013. If the EM supports alternative 2 (paging) according to clause 5.4.2.1  of ETSI GS NFV-SOL 013
        for this resource, inclusion of the Link HTTP  header in this response shall follow the provisions in clause 5.4.2.3
        of ETSI GS NFV-SOL 013.
      headers:
        Version:
          description: The used API version.
          style: simple
          explode: false
          schema:
            type: string
        Link:
          description: |
            Reference to other resources. Used for paging in the present document, see clause 4.7.2.1.
          style: simple
          explode: false
          schema:
            type: string
        Content-Type:
          description: The MIME type of the body of the response.
          style: simple
          explode: false
          schema:
            type: string
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: ../../definitions/SOL002SOL003VNFIndicator_def.yaml#/definitions/VnfIndicatorSubscription

Muhammad Hamza's avatar
Muhammad Hamza committed
480
    VnfIndicatorSubscription.Post.201:
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
      description: |
        201 CREATED
        Shall be returned when the subscription has been created successfully. The response body shall contain a
        representation of the created  "Individual subscription" resource.
      headers:
        Version:
          description: The used API version.
          style: simple
          explode: false
          schema:
            type: string
        WWW-Authenticate:
          description: |
            Challenge if the corresponding HTTP request has not provided authorization, or error details if the
            corresponding HTTP request has provided an invalid authorization token.
          style: simple
          explode: false
          schema:
            type: string
        Location:
          description: |
            Pointer to the created subscription resource.
          style: simple
          explode: false
          schema:
            type: string
            format: URI
        Content-Type:
          description: The MIME type of the body of the response.
          style: simple
          explode: false
          schema:
            type: string
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: ../../definitions/SOL002SOL003VNFIndicator_def.yaml#/definitions/VnfIndicatorSubscription

Muhammad Hamza's avatar
Muhammad Hamza committed
521
    VnfIndicatorSubscription.Get.200:
522
523
      description: |
        200 OK
Sana Zulfiqar's avatar
Sana Zulfiqar committed
524
525
        Shall be returned when information about an individual subscription has been read successfully.
        The response body shall contain the representation of the "Individual subscription" resource.
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
      headers:
        Version:
          description: The used API version.
          style: simple
          explode: false
          schema:
            type: string
        Content-Type:
          description: The MIME type of the body of the response.
          style: simple
          explode: false
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: ../../definitions/SOL002SOL003VNFIndicator_def.yaml#/definitions/VnfIndicatorSubscription

Muhammad Hamza's avatar
Muhammad Hamza committed
544
    VnfIndicatorSubscription.Delete.204:
545
546
547
548
549
550
551
552
553
554
555
      description: |
        204 NO CONTENT
        Shall be returned when the subscription has been deleted successfully. The response body shall be empty.
      headers:
        Version:
          description: The used API version.
          style: simple
          explode: false
          schema:
            type: string
      content: {}