6
6
7
7
Base URLs:
8
8
9
- * <a href =" /apis " >/apis</a >
9
+ * <a href =" https://api-gw-service-nmn.local/apis " >https://api-gw-service-nmn.local/apis </a >
10
+
11
+ # Authentication
12
+
13
+ - HTTP Authentication, scheme: bearer
10
14
11
15
<h1 id =" ncn-lifecycle-service-ncn-lifecycle-events " >NCN Lifecycle Events</h1 >
12
16
@@ -15,29 +19,31 @@ Base URLs:
15
19
> Code samples
16
20
17
21
``` http
18
- POST /apis/nls/v1/ncns/reboot HTTP/1.1
19
-
22
+ POST https://api-gw-service-nmn.local /apis/nls/v1/ncns/reboot HTTP/1.1
23
+ Host: api-gw-service-nmn.local
20
24
Content-Type: application/json
21
25
Accept: application/json
22
26
23
27
```
24
28
25
29
``` shell
26
30
# You can also use wget
27
- curl -X POST /apis/nls/v1/ncns/reboot \
31
+ curl -X POST https://api-gw-service-nmn.local /apis/nls/v1/ncns/reboot \
28
32
-H ' Content-Type: application/json' \
29
- -H ' Accept: application/json'
33
+ -H ' Accept: application/json' \
34
+ -H ' Authorization: Bearer {access-token}'
30
35
31
36
```
32
37
33
38
``` python
34
39
import requests
35
40
headers = {
36
41
' Content-Type' : ' application/json' ,
37
- ' Accept' : ' application/json'
42
+ ' Accept' : ' application/json' ,
43
+ ' Authorization' : ' Bearer {access-token}'
38
44
}
39
45
40
- r = requests.post(' /apis/nls/v1/ncns/reboot' , headers = headers)
46
+ r = requests.post(' https://api-gw-service-nmn.local /apis/nls/v1/ncns/reboot' , headers = headers)
41
47
42
48
print (r.json())
43
49
@@ -56,10 +62,11 @@ func main() {
56
62
headers := map [string ][]string {
57
63
" Content-Type" : []string {" application/json" },
58
64
" Accept" : []string {" application/json" },
65
+ " Authorization" : []string {" Bearer {access-token}" },
59
66
}
60
67
61
68
data := bytes.NewBuffer ([]byte {jsonReq})
62
- req , err := http.NewRequest (" POST" , " /apis/nls/v1/ncns/reboot" , data)
69
+ req , err := http.NewRequest (" POST" , " https://api-gw-service-nmn.local /apis/nls/v1/ncns/reboot" , data)
63
70
req.Header = headers
64
71
65
72
client := &http.Client {}
@@ -114,38 +121,41 @@ func main() {
114
121
| 404| [ Not Found] ( https://tools.ietf.org/html/rfc7231#section-6.5.4 ) | Not Found| [ ResponseError] ( #schemaresponseerror ) |
115
122
| 500| [ Internal Server Error] ( https://tools.ietf.org/html/rfc7231#section-6.6.1 ) | Internal Server Error| [ ResponseError] ( #schemaresponseerror ) |
116
123
117
- <aside class =" success " >
118
- This operation does not require authentication
124
+ <aside class =" warning " >
125
+ To perform this operation, you must be authenticated by means of one of the following methods:
126
+ bearerAuth
119
127
</aside >
120
128
121
129
## post__ nls_v1_ncns_rebuild
122
130
123
131
> Code samples
124
132
125
133
``` http
126
- POST /apis/nls/v1/ncns/rebuild HTTP/1.1
127
-
134
+ POST https://api-gw-service-nmn.local /apis/nls/v1/ncns/rebuild HTTP/1.1
135
+ Host: api-gw-service-nmn.local
128
136
Content-Type: application/json
129
137
Accept: application/json
130
138
131
139
```
132
140
133
141
``` shell
134
142
# You can also use wget
135
- curl -X POST /apis/nls/v1/ncns/rebuild \
143
+ curl -X POST https://api-gw-service-nmn.local /apis/nls/v1/ncns/rebuild \
136
144
-H ' Content-Type: application/json' \
137
- -H ' Accept: application/json'
145
+ -H ' Accept: application/json' \
146
+ -H ' Authorization: Bearer {access-token}'
138
147
139
148
```
140
149
141
150
``` python
142
151
import requests
143
152
headers = {
144
153
' Content-Type' : ' application/json' ,
145
- ' Accept' : ' application/json'
154
+ ' Accept' : ' application/json' ,
155
+ ' Authorization' : ' Bearer {access-token}'
146
156
}
147
157
148
- r = requests.post(' /apis/nls/v1/ncns/rebuild' , headers = headers)
158
+ r = requests.post(' https://api-gw-service-nmn.local /apis/nls/v1/ncns/rebuild' , headers = headers)
149
159
150
160
print (r.json())
151
161
@@ -164,10 +174,11 @@ func main() {
164
174
headers := map [string ][]string {
165
175
" Content-Type" : []string {" application/json" },
166
176
" Accept" : []string {" application/json" },
177
+ " Authorization" : []string {" Bearer {access-token}" },
167
178
}
168
179
169
180
data := bytes.NewBuffer ([]byte {jsonReq})
170
- req , err := http.NewRequest (" POST" , " /apis/nls/v1/ncns/rebuild" , data)
181
+ req , err := http.NewRequest (" POST" , " https://api-gw-service-nmn.local /apis/nls/v1/ncns/rebuild" , data)
171
182
req.Header = headers
172
183
173
184
client := &http.Client {}
@@ -229,8 +240,9 @@ func main() {
229
240
| 404| [ Not Found] ( https://tools.ietf.org/html/rfc7231#section-6.5.4 ) | Not Found| [ ResponseError] ( #schemaresponseerror ) |
230
241
| 500| [ Internal Server Error] ( https://tools.ietf.org/html/rfc7231#section-6.6.1 ) | Internal Server Error| [ ResponseError] ( #schemaresponseerror ) |
231
242
232
- <aside class =" success " >
233
- This operation does not require authentication
243
+ <aside class =" warning " >
244
+ To perform this operation, you must be authenticated by means of one of the following methods:
245
+ bearerAuth
234
246
</aside >
235
247
236
248
<h1 id =" ncn-lifecycle-service-workflow-management " >Workflow Management</h1 >
@@ -240,26 +252,28 @@ This operation does not require authentication
240
252
> Code samples
241
253
242
254
``` http
243
- GET /apis/nls/v1/workflows HTTP/1.1
244
-
255
+ GET https://api-gw-service-nmn.local /apis/nls/v1/workflows HTTP/1.1
256
+ Host: api-gw-service-nmn.local
245
257
Accept: application/json
246
258
247
259
```
248
260
249
261
``` shell
250
262
# You can also use wget
251
- curl -X GET /apis/nls/v1/workflows \
252
- -H ' Accept: application/json'
263
+ curl -X GET https://api-gw-service-nmn.local/apis/nls/v1/workflows \
264
+ -H ' Accept: application/json' \
265
+ -H ' Authorization: Bearer {access-token}'
253
266
254
267
```
255
268
256
269
``` python
257
270
import requests
258
271
headers = {
259
- ' Accept' : ' application/json'
272
+ ' Accept' : ' application/json' ,
273
+ ' Authorization' : ' Bearer {access-token}'
260
274
}
261
275
262
- r = requests.get(' /apis/nls/v1/workflows' , headers = headers)
276
+ r = requests.get(' https://api-gw-service-nmn.local /apis/nls/v1/workflows' , headers = headers)
263
277
264
278
print (r.json())
265
279
@@ -277,10 +291,11 @@ func main() {
277
291
278
292
headers := map [string ][]string {
279
293
" Accept" : []string {" application/json" },
294
+ " Authorization" : []string {" Bearer {access-token}" },
280
295
}
281
296
282
297
data := bytes.NewBuffer ([]byte {jsonReq})
283
- req , err := http.NewRequest (" GET" , " /apis/nls/v1/workflows" , data)
298
+ req , err := http.NewRequest (" GET" , " https://api-gw-service-nmn.local /apis/nls/v1/workflows" , data)
284
299
req.Header = headers
285
300
286
301
client := &http.Client {}
@@ -334,35 +349,38 @@ Status Code **200**
334
349
| » name| string| false| none| none|
335
350
| » status| object| false| none| none|
336
351
337
- <aside class =" success " >
338
- This operation does not require authentication
352
+ <aside class =" warning " >
353
+ To perform this operation, you must be authenticated by means of one of the following methods:
354
+ bearerAuth
339
355
</aside >
340
356
341
357
## delete__ nls_v1_workflows_ {name}
342
358
343
359
> Code samples
344
360
345
361
``` http
346
- DELETE /apis/nls/v1/workflows/{name} HTTP/1.1
347
-
362
+ DELETE https://api-gw-service-nmn.local /apis/nls/v1/workflows/{name} HTTP/1.1
363
+ Host: api-gw-service-nmn.local
348
364
Accept: application/json
349
365
350
366
```
351
367
352
368
``` shell
353
369
# You can also use wget
354
- curl -X DELETE /apis/nls/v1/workflows/{name} \
355
- -H ' Accept: application/json'
370
+ curl -X DELETE https://api-gw-service-nmn.local/apis/nls/v1/workflows/{name} \
371
+ -H ' Accept: application/json' \
372
+ -H ' Authorization: Bearer {access-token}'
356
373
357
374
```
358
375
359
376
``` python
360
377
import requests
361
378
headers = {
362
- ' Accept' : ' application/json'
379
+ ' Accept' : ' application/json' ,
380
+ ' Authorization' : ' Bearer {access-token}'
363
381
}
364
382
365
- r = requests.delete(' /apis/nls/v1/workflows/{name} ' , headers = headers)
383
+ r = requests.delete(' https://api-gw-service-nmn.local /apis/nls/v1/workflows/{name} ' , headers = headers)
366
384
367
385
print (r.json())
368
386
@@ -380,10 +398,11 @@ func main() {
380
398
381
399
headers := map [string ][]string {
382
400
" Accept" : []string {" application/json" },
401
+ " Authorization" : []string {" Bearer {access-token}" },
383
402
}
384
403
385
404
data := bytes.NewBuffer ([]byte {jsonReq})
386
- req , err := http.NewRequest (" DELETE" , " /apis/nls/v1/workflows/{name}" , data)
405
+ req , err := http.NewRequest (" DELETE" , " https://api-gw-service-nmn.local /apis/nls/v1/workflows/{name}" , data)
387
406
req.Header = headers
388
407
389
408
client := &http.Client {}
@@ -422,35 +441,38 @@ func main() {
422
441
| 404| [ Not Found] ( https://tools.ietf.org/html/rfc7231#section-6.5.4 ) | Not Found| [ ResponseError] ( #schemaresponseerror ) |
423
442
| 500| [ Internal Server Error] ( https://tools.ietf.org/html/rfc7231#section-6.6.1 ) | Internal Server Error| [ ResponseError] ( #schemaresponseerror ) |
424
443
425
- <aside class =" success " >
426
- This operation does not require authentication
444
+ <aside class =" warning " >
445
+ To perform this operation, you must be authenticated by means of one of the following methods:
446
+ bearerAuth
427
447
</aside >
428
448
429
449
## put__ nls_v1_workflows_ {name}_ rerun
430
450
431
451
> Code samples
432
452
433
453
``` http
434
- PUT /apis/nls/v1/workflows/{name}/rerun HTTP/1.1
435
-
454
+ PUT https://api-gw-service-nmn.local /apis/nls/v1/workflows/{name}/rerun HTTP/1.1
455
+ Host: api-gw-service-nmn.local
436
456
Accept: application/json
437
457
438
458
```
439
459
440
460
``` shell
441
461
# You can also use wget
442
- curl -X PUT /apis/nls/v1/workflows/{name}/rerun \
443
- -H ' Accept: application/json'
462
+ curl -X PUT https://api-gw-service-nmn.local/apis/nls/v1/workflows/{name}/rerun \
463
+ -H ' Accept: application/json' \
464
+ -H ' Authorization: Bearer {access-token}'
444
465
445
466
```
446
467
447
468
``` python
448
469
import requests
449
470
headers = {
450
- ' Accept' : ' application/json'
471
+ ' Accept' : ' application/json' ,
472
+ ' Authorization' : ' Bearer {access-token}'
451
473
}
452
474
453
- r = requests.put(' /apis/nls/v1/workflows/{name} /rerun' , headers = headers)
475
+ r = requests.put(' https://api-gw-service-nmn.local /apis/nls/v1/workflows/{name} /rerun' , headers = headers)
454
476
455
477
print (r.json())
456
478
@@ -468,10 +490,11 @@ func main() {
468
490
469
491
headers := map [string ][]string {
470
492
" Accept" : []string {" application/json" },
493
+ " Authorization" : []string {" Bearer {access-token}" },
471
494
}
472
495
473
496
data := bytes.NewBuffer ([]byte {jsonReq})
474
- req , err := http.NewRequest (" PUT" , " /apis/nls/v1/workflows/{name}/rerun" , data)
497
+ req , err := http.NewRequest (" PUT" , " https://api-gw-service-nmn.local /apis/nls/v1/workflows/{name}/rerun" , data)
475
498
req.Header = headers
476
499
477
500
client := &http.Client {}
@@ -510,38 +533,41 @@ func main() {
510
533
| 404| [ Not Found] ( https://tools.ietf.org/html/rfc7231#section-6.5.4 ) | Not Found| [ ResponseError] ( #schemaresponseerror ) |
511
534
| 500| [ Internal Server Error] ( https://tools.ietf.org/html/rfc7231#section-6.6.1 ) | Internal Server Error| [ ResponseError] ( #schemaresponseerror ) |
512
535
513
- <aside class =" success " >
514
- This operation does not require authentication
536
+ <aside class =" warning " >
537
+ To perform this operation, you must be authenticated by means of one of the following methods:
538
+ bearerAuth
515
539
</aside >
516
540
517
541
## put__ nls_v1_workflows_ {name}_ retry
518
542
519
543
> Code samples
520
544
521
545
``` http
522
- PUT /apis/nls/v1/workflows/{name}/retry HTTP/1.1
523
-
546
+ PUT https://api-gw-service-nmn.local /apis/nls/v1/workflows/{name}/retry HTTP/1.1
547
+ Host: api-gw-service-nmn.local
524
548
Content-Type: application/json
525
549
Accept: application/json
526
550
527
551
```
528
552
529
553
``` shell
530
554
# You can also use wget
531
- curl -X PUT /apis/nls/v1/workflows/{name}/retry \
555
+ curl -X PUT https://api-gw-service-nmn.local /apis/nls/v1/workflows/{name}/retry \
532
556
-H ' Content-Type: application/json' \
533
- -H ' Accept: application/json'
557
+ -H ' Accept: application/json' \
558
+ -H ' Authorization: Bearer {access-token}'
534
559
535
560
```
536
561
537
562
``` python
538
563
import requests
539
564
headers = {
540
565
' Content-Type' : ' application/json' ,
541
- ' Accept' : ' application/json'
566
+ ' Accept' : ' application/json' ,
567
+ ' Authorization' : ' Bearer {access-token}'
542
568
}
543
569
544
- r = requests.put(' /apis/nls/v1/workflows/{name} /retry' , headers = headers)
570
+ r = requests.put(' https://api-gw-service-nmn.local /apis/nls/v1/workflows/{name} /retry' , headers = headers)
545
571
546
572
print (r.json())
547
573
@@ -560,10 +586,11 @@ func main() {
560
586
headers := map [string ][]string {
561
587
" Content-Type" : []string {" application/json" },
562
588
" Accept" : []string {" application/json" },
589
+ " Authorization" : []string {" Bearer {access-token}" },
563
590
}
564
591
565
592
data := bytes.NewBuffer ([]byte {jsonReq})
566
- req , err := http.NewRequest (" PUT" , " /apis/nls/v1/workflows/{name}/retry" , data)
593
+ req , err := http.NewRequest (" PUT" , " https://api-gw-service-nmn.local /apis/nls/v1/workflows/{name}/retry" , data)
567
594
req.Header = headers
568
595
569
596
client := &http.Client {}
@@ -612,8 +639,9 @@ func main() {
612
639
| 404| [ Not Found] ( https://tools.ietf.org/html/rfc7231#section-6.5.4 ) | Not Found| [ ResponseError] ( #schemaresponseerror ) |
613
640
| 500| [ Internal Server Error] ( https://tools.ietf.org/html/rfc7231#section-6.6.1 ) | Internal Server Error| [ ResponseError] ( #schemaresponseerror ) |
614
641
615
- <aside class =" success " >
616
- This operation does not require authentication
642
+ <aside class =" warning " >
643
+ To perform this operation, you must be authenticated by means of one of the following methods:
644
+ bearerAuth
617
645
</aside >
618
646
619
647
# Schemas
0 commit comments