pulp_npm_client 0.3.3 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/ContentPackagesApi.md +22 -8
- data/docs/DistributionsNpmApi.md +52 -24
- data/docs/NpmNpmRemoteResponse.md +1 -1
- data/docs/NpmPackageResponse.md +2 -0
- data/docs/RemotesNpmApi.md +52 -24
- data/docs/RepositoriesNpmApi.md +68 -32
- data/docs/RepositoriesNpmVersionsApi.md +22 -10
- data/docs/RepositoryVersionResponse.md +3 -1
- data/lib/pulp_npm_client/api/content_packages_api.rb +15 -0
- data/lib/pulp_npm_client/api/distributions_npm_api.rb +24 -0
- data/lib/pulp_npm_client/api/remotes_npm_api.rb +24 -0
- data/lib/pulp_npm_client/api/repositories_npm_api.rb +30 -0
- data/lib/pulp_npm_client/api/repositories_npm_versions_api.rb +15 -3
- data/lib/pulp_npm_client/models/npm_npm_remote.rb +0 -15
- data/lib/pulp_npm_client/models/npm_npm_remote_response.rb +0 -15
- data/lib/pulp_npm_client/models/npm_npm_repository.rb +0 -15
- data/lib/pulp_npm_client/models/npm_npm_repository_response.rb +0 -15
- data/lib/pulp_npm_client/models/npm_package_response.rb +10 -1
- data/lib/pulp_npm_client/models/paginated_repository_version_response_list.rb +0 -2
- data/lib/pulp_npm_client/models/paginatednpm_npm_distribution_response_list.rb +0 -2
- data/lib/pulp_npm_client/models/paginatednpm_npm_remote_response_list.rb +0 -2
- data/lib/pulp_npm_client/models/paginatednpm_npm_repository_response_list.rb +0 -2
- data/lib/pulp_npm_client/models/paginatednpm_package_response_list.rb +0 -2
- data/lib/pulp_npm_client/models/patchednpm_npm_remote.rb +0 -15
- data/lib/pulp_npm_client/models/patchednpm_npm_repository.rb +0 -15
- data/lib/pulp_npm_client/models/repository_version_response.rb +13 -4
- data/lib/pulp_npm_client/version.rb +1 -1
- data/pulp_npm_client.gemspec +0 -1
- data/spec/api/content_packages_api_spec.rb +5 -0
- data/spec/api/distributions_npm_api_spec.rb +8 -0
- data/spec/api/remotes_npm_api_spec.rb +8 -0
- data/spec/api/repositories_npm_api_spec.rb +10 -0
- data/spec/api/repositories_npm_versions_api_spec.rb +5 -1
- data/spec/models/npm_package_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +24 -44
data/docs/RepositoriesNpmApi.md
CHANGED
@@ -18,7 +18,7 @@ All URIs are relative to *http://localhost:24817*
|
|
18
18
|
|
19
19
|
## create
|
20
20
|
|
21
|
-
> <NpmNpmRepositoryResponse> create(npm_npm_repository)
|
21
|
+
> <NpmNpmRepositoryResponse> create(npm_npm_repository, opts)
|
22
22
|
|
23
23
|
Create a npm repository
|
24
24
|
|
@@ -38,10 +38,13 @@ end
|
|
38
38
|
|
39
39
|
api_instance = PulpNpmClient::RepositoriesNpmApi.new
|
40
40
|
npm_npm_repository = PulpNpmClient::NpmNpmRepository.new({name: 'name_example'}) # NpmNpmRepository |
|
41
|
+
opts = {
|
42
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
43
|
+
}
|
41
44
|
|
42
45
|
begin
|
43
46
|
# Create a npm repository
|
44
|
-
result = api_instance.create(npm_npm_repository)
|
47
|
+
result = api_instance.create(npm_npm_repository, opts)
|
45
48
|
p result
|
46
49
|
rescue PulpNpmClient::ApiError => e
|
47
50
|
puts "Error when calling RepositoriesNpmApi->create: #{e}"
|
@@ -52,12 +55,12 @@ end
|
|
52
55
|
|
53
56
|
This returns an Array which contains the response data, status code and headers.
|
54
57
|
|
55
|
-
> <Array(<NpmNpmRepositoryResponse>, Integer, Hash)> create_with_http_info(npm_npm_repository)
|
58
|
+
> <Array(<NpmNpmRepositoryResponse>, Integer, Hash)> create_with_http_info(npm_npm_repository, opts)
|
56
59
|
|
57
60
|
```ruby
|
58
61
|
begin
|
59
62
|
# Create a npm repository
|
60
|
-
data, status_code, headers = api_instance.create_with_http_info(npm_npm_repository)
|
63
|
+
data, status_code, headers = api_instance.create_with_http_info(npm_npm_repository, opts)
|
61
64
|
p status_code # => 2xx
|
62
65
|
p headers # => { ... }
|
63
66
|
p data # => <NpmNpmRepositoryResponse>
|
@@ -71,6 +74,7 @@ end
|
|
71
74
|
| Name | Type | Description | Notes |
|
72
75
|
| ---- | ---- | ----------- | ----- |
|
73
76
|
| **npm_npm_repository** | [**NpmNpmRepository**](NpmNpmRepository.md) | | |
|
77
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
74
78
|
|
75
79
|
### Return type
|
76
80
|
|
@@ -88,7 +92,7 @@ end
|
|
88
92
|
|
89
93
|
## delete
|
90
94
|
|
91
|
-
> <AsyncOperationResponse> delete(npm_npm_repository_href)
|
95
|
+
> <AsyncOperationResponse> delete(npm_npm_repository_href, opts)
|
92
96
|
|
93
97
|
Delete a npm repository
|
94
98
|
|
@@ -108,10 +112,13 @@ end
|
|
108
112
|
|
109
113
|
api_instance = PulpNpmClient::RepositoriesNpmApi.new
|
110
114
|
npm_npm_repository_href = 'npm_npm_repository_href_example' # String |
|
115
|
+
opts = {
|
116
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
117
|
+
}
|
111
118
|
|
112
119
|
begin
|
113
120
|
# Delete a npm repository
|
114
|
-
result = api_instance.delete(npm_npm_repository_href)
|
121
|
+
result = api_instance.delete(npm_npm_repository_href, opts)
|
115
122
|
p result
|
116
123
|
rescue PulpNpmClient::ApiError => e
|
117
124
|
puts "Error when calling RepositoriesNpmApi->delete: #{e}"
|
@@ -122,12 +129,12 @@ end
|
|
122
129
|
|
123
130
|
This returns an Array which contains the response data, status code and headers.
|
124
131
|
|
125
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(npm_npm_repository_href)
|
132
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(npm_npm_repository_href, opts)
|
126
133
|
|
127
134
|
```ruby
|
128
135
|
begin
|
129
136
|
# Delete a npm repository
|
130
|
-
data, status_code, headers = api_instance.delete_with_http_info(npm_npm_repository_href)
|
137
|
+
data, status_code, headers = api_instance.delete_with_http_info(npm_npm_repository_href, opts)
|
131
138
|
p status_code # => 2xx
|
132
139
|
p headers # => { ... }
|
133
140
|
p data # => <AsyncOperationResponse>
|
@@ -141,6 +148,7 @@ end
|
|
141
148
|
| Name | Type | Description | Notes |
|
142
149
|
| ---- | ---- | ----------- | ----- |
|
143
150
|
| **npm_npm_repository_href** | **String** | | |
|
151
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
144
152
|
|
145
153
|
### Return type
|
146
154
|
|
@@ -178,6 +186,7 @@ end
|
|
178
186
|
|
179
187
|
api_instance = PulpNpmClient::RepositoriesNpmApi.new
|
180
188
|
opts = {
|
189
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
181
190
|
latest_with_content: 'latest_with_content_example', # String | Content Unit referenced by HREF/PRN
|
182
191
|
limit: 56, # Integer | Number of results to return per page.
|
183
192
|
name: 'name_example', # String | Filter results where name matches value
|
@@ -241,6 +250,7 @@ end
|
|
241
250
|
|
242
251
|
| Name | Type | Description | Notes |
|
243
252
|
| ---- | ---- | ----------- | ----- |
|
253
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
244
254
|
| **latest_with_content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
245
255
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
246
256
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
@@ -288,7 +298,7 @@ end
|
|
288
298
|
|
289
299
|
## modify
|
290
300
|
|
291
|
-
> <AsyncOperationResponse> modify(npm_npm_repository_href, repository_add_remove_content)
|
301
|
+
> <AsyncOperationResponse> modify(npm_npm_repository_href, repository_add_remove_content, opts)
|
292
302
|
|
293
303
|
Modify Repository Content
|
294
304
|
|
@@ -309,10 +319,13 @@ end
|
|
309
319
|
api_instance = PulpNpmClient::RepositoriesNpmApi.new
|
310
320
|
npm_npm_repository_href = 'npm_npm_repository_href_example' # String |
|
311
321
|
repository_add_remove_content = PulpNpmClient::RepositoryAddRemoveContent.new # RepositoryAddRemoveContent |
|
322
|
+
opts = {
|
323
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
324
|
+
}
|
312
325
|
|
313
326
|
begin
|
314
327
|
# Modify Repository Content
|
315
|
-
result = api_instance.modify(npm_npm_repository_href, repository_add_remove_content)
|
328
|
+
result = api_instance.modify(npm_npm_repository_href, repository_add_remove_content, opts)
|
316
329
|
p result
|
317
330
|
rescue PulpNpmClient::ApiError => e
|
318
331
|
puts "Error when calling RepositoriesNpmApi->modify: #{e}"
|
@@ -323,12 +336,12 @@ end
|
|
323
336
|
|
324
337
|
This returns an Array which contains the response data, status code and headers.
|
325
338
|
|
326
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> modify_with_http_info(npm_npm_repository_href, repository_add_remove_content)
|
339
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> modify_with_http_info(npm_npm_repository_href, repository_add_remove_content, opts)
|
327
340
|
|
328
341
|
```ruby
|
329
342
|
begin
|
330
343
|
# Modify Repository Content
|
331
|
-
data, status_code, headers = api_instance.modify_with_http_info(npm_npm_repository_href, repository_add_remove_content)
|
344
|
+
data, status_code, headers = api_instance.modify_with_http_info(npm_npm_repository_href, repository_add_remove_content, opts)
|
332
345
|
p status_code # => 2xx
|
333
346
|
p headers # => { ... }
|
334
347
|
p data # => <AsyncOperationResponse>
|
@@ -343,6 +356,7 @@ end
|
|
343
356
|
| ---- | ---- | ----------- | ----- |
|
344
357
|
| **npm_npm_repository_href** | **String** | | |
|
345
358
|
| **repository_add_remove_content** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md) | | |
|
359
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
346
360
|
|
347
361
|
### Return type
|
348
362
|
|
@@ -360,7 +374,7 @@ end
|
|
360
374
|
|
361
375
|
## partial_update
|
362
376
|
|
363
|
-
> <AsyncOperationResponse> partial_update(npm_npm_repository_href, patchednpm_npm_repository)
|
377
|
+
> <AsyncOperationResponse> partial_update(npm_npm_repository_href, patchednpm_npm_repository, opts)
|
364
378
|
|
365
379
|
Update a npm repository
|
366
380
|
|
@@ -381,10 +395,13 @@ end
|
|
381
395
|
api_instance = PulpNpmClient::RepositoriesNpmApi.new
|
382
396
|
npm_npm_repository_href = 'npm_npm_repository_href_example' # String |
|
383
397
|
patchednpm_npm_repository = PulpNpmClient::PatchednpmNpmRepository.new # PatchednpmNpmRepository |
|
398
|
+
opts = {
|
399
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
400
|
+
}
|
384
401
|
|
385
402
|
begin
|
386
403
|
# Update a npm repository
|
387
|
-
result = api_instance.partial_update(npm_npm_repository_href, patchednpm_npm_repository)
|
404
|
+
result = api_instance.partial_update(npm_npm_repository_href, patchednpm_npm_repository, opts)
|
388
405
|
p result
|
389
406
|
rescue PulpNpmClient::ApiError => e
|
390
407
|
puts "Error when calling RepositoriesNpmApi->partial_update: #{e}"
|
@@ -395,12 +412,12 @@ end
|
|
395
412
|
|
396
413
|
This returns an Array which contains the response data, status code and headers.
|
397
414
|
|
398
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(npm_npm_repository_href, patchednpm_npm_repository)
|
415
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(npm_npm_repository_href, patchednpm_npm_repository, opts)
|
399
416
|
|
400
417
|
```ruby
|
401
418
|
begin
|
402
419
|
# Update a npm repository
|
403
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(npm_npm_repository_href, patchednpm_npm_repository)
|
420
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(npm_npm_repository_href, patchednpm_npm_repository, opts)
|
404
421
|
p status_code # => 2xx
|
405
422
|
p headers # => { ... }
|
406
423
|
p data # => <AsyncOperationResponse>
|
@@ -415,6 +432,7 @@ end
|
|
415
432
|
| ---- | ---- | ----------- | ----- |
|
416
433
|
| **npm_npm_repository_href** | **String** | | |
|
417
434
|
| **patchednpm_npm_repository** | [**PatchednpmNpmRepository**](PatchednpmNpmRepository.md) | | |
|
435
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
418
436
|
|
419
437
|
### Return type
|
420
438
|
|
@@ -453,6 +471,7 @@ end
|
|
453
471
|
api_instance = PulpNpmClient::RepositoriesNpmApi.new
|
454
472
|
npm_npm_repository_href = 'npm_npm_repository_href_example' # String |
|
455
473
|
opts = {
|
474
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
456
475
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
457
476
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
458
477
|
}
|
@@ -489,6 +508,7 @@ end
|
|
489
508
|
| Name | Type | Description | Notes |
|
490
509
|
| ---- | ---- | ----------- | ----- |
|
491
510
|
| **npm_npm_repository_href** | **String** | | |
|
511
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
492
512
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
493
513
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
494
514
|
|
@@ -508,7 +528,7 @@ end
|
|
508
528
|
|
509
529
|
## set_label
|
510
530
|
|
511
|
-
> <SetLabelResponse> set_label(npm_npm_repository_href, set_label)
|
531
|
+
> <SetLabelResponse> set_label(npm_npm_repository_href, set_label, opts)
|
512
532
|
|
513
533
|
Set a label
|
514
534
|
|
@@ -529,10 +549,13 @@ end
|
|
529
549
|
api_instance = PulpNpmClient::RepositoriesNpmApi.new
|
530
550
|
npm_npm_repository_href = 'npm_npm_repository_href_example' # String |
|
531
551
|
set_label = PulpNpmClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
552
|
+
opts = {
|
553
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
554
|
+
}
|
532
555
|
|
533
556
|
begin
|
534
557
|
# Set a label
|
535
|
-
result = api_instance.set_label(npm_npm_repository_href, set_label)
|
558
|
+
result = api_instance.set_label(npm_npm_repository_href, set_label, opts)
|
536
559
|
p result
|
537
560
|
rescue PulpNpmClient::ApiError => e
|
538
561
|
puts "Error when calling RepositoriesNpmApi->set_label: #{e}"
|
@@ -543,12 +566,12 @@ end
|
|
543
566
|
|
544
567
|
This returns an Array which contains the response data, status code and headers.
|
545
568
|
|
546
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(npm_npm_repository_href, set_label)
|
569
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(npm_npm_repository_href, set_label, opts)
|
547
570
|
|
548
571
|
```ruby
|
549
572
|
begin
|
550
573
|
# Set a label
|
551
|
-
data, status_code, headers = api_instance.set_label_with_http_info(npm_npm_repository_href, set_label)
|
574
|
+
data, status_code, headers = api_instance.set_label_with_http_info(npm_npm_repository_href, set_label, opts)
|
552
575
|
p status_code # => 2xx
|
553
576
|
p headers # => { ... }
|
554
577
|
p data # => <SetLabelResponse>
|
@@ -563,6 +586,7 @@ end
|
|
563
586
|
| ---- | ---- | ----------- | ----- |
|
564
587
|
| **npm_npm_repository_href** | **String** | | |
|
565
588
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
589
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
566
590
|
|
567
591
|
### Return type
|
568
592
|
|
@@ -580,7 +604,7 @@ end
|
|
580
604
|
|
581
605
|
## sync
|
582
606
|
|
583
|
-
> <AsyncOperationResponse> sync(npm_npm_repository_href, repository_sync_url)
|
607
|
+
> <AsyncOperationResponse> sync(npm_npm_repository_href, repository_sync_url, opts)
|
584
608
|
|
585
609
|
Sync from remote
|
586
610
|
|
@@ -601,10 +625,13 @@ end
|
|
601
625
|
api_instance = PulpNpmClient::RepositoriesNpmApi.new
|
602
626
|
npm_npm_repository_href = 'npm_npm_repository_href_example' # String |
|
603
627
|
repository_sync_url = PulpNpmClient::RepositorySyncURL.new # RepositorySyncURL |
|
628
|
+
opts = {
|
629
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
630
|
+
}
|
604
631
|
|
605
632
|
begin
|
606
633
|
# Sync from remote
|
607
|
-
result = api_instance.sync(npm_npm_repository_href, repository_sync_url)
|
634
|
+
result = api_instance.sync(npm_npm_repository_href, repository_sync_url, opts)
|
608
635
|
p result
|
609
636
|
rescue PulpNpmClient::ApiError => e
|
610
637
|
puts "Error when calling RepositoriesNpmApi->sync: #{e}"
|
@@ -615,12 +642,12 @@ end
|
|
615
642
|
|
616
643
|
This returns an Array which contains the response data, status code and headers.
|
617
644
|
|
618
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> sync_with_http_info(npm_npm_repository_href, repository_sync_url)
|
645
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> sync_with_http_info(npm_npm_repository_href, repository_sync_url, opts)
|
619
646
|
|
620
647
|
```ruby
|
621
648
|
begin
|
622
649
|
# Sync from remote
|
623
|
-
data, status_code, headers = api_instance.sync_with_http_info(npm_npm_repository_href, repository_sync_url)
|
650
|
+
data, status_code, headers = api_instance.sync_with_http_info(npm_npm_repository_href, repository_sync_url, opts)
|
624
651
|
p status_code # => 2xx
|
625
652
|
p headers # => { ... }
|
626
653
|
p data # => <AsyncOperationResponse>
|
@@ -635,6 +662,7 @@ end
|
|
635
662
|
| ---- | ---- | ----------- | ----- |
|
636
663
|
| **npm_npm_repository_href** | **String** | | |
|
637
664
|
| **repository_sync_url** | [**RepositorySyncURL**](RepositorySyncURL.md) | | |
|
665
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
638
666
|
|
639
667
|
### Return type
|
640
668
|
|
@@ -652,7 +680,7 @@ end
|
|
652
680
|
|
653
681
|
## unset_label
|
654
682
|
|
655
|
-
> <UnsetLabelResponse> unset_label(npm_npm_repository_href, unset_label)
|
683
|
+
> <UnsetLabelResponse> unset_label(npm_npm_repository_href, unset_label, opts)
|
656
684
|
|
657
685
|
Unset a label
|
658
686
|
|
@@ -673,10 +701,13 @@ end
|
|
673
701
|
api_instance = PulpNpmClient::RepositoriesNpmApi.new
|
674
702
|
npm_npm_repository_href = 'npm_npm_repository_href_example' # String |
|
675
703
|
unset_label = PulpNpmClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
704
|
+
opts = {
|
705
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
706
|
+
}
|
676
707
|
|
677
708
|
begin
|
678
709
|
# Unset a label
|
679
|
-
result = api_instance.unset_label(npm_npm_repository_href, unset_label)
|
710
|
+
result = api_instance.unset_label(npm_npm_repository_href, unset_label, opts)
|
680
711
|
p result
|
681
712
|
rescue PulpNpmClient::ApiError => e
|
682
713
|
puts "Error when calling RepositoriesNpmApi->unset_label: #{e}"
|
@@ -687,12 +718,12 @@ end
|
|
687
718
|
|
688
719
|
This returns an Array which contains the response data, status code and headers.
|
689
720
|
|
690
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(npm_npm_repository_href, unset_label)
|
721
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(npm_npm_repository_href, unset_label, opts)
|
691
722
|
|
692
723
|
```ruby
|
693
724
|
begin
|
694
725
|
# Unset a label
|
695
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(npm_npm_repository_href, unset_label)
|
726
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(npm_npm_repository_href, unset_label, opts)
|
696
727
|
p status_code # => 2xx
|
697
728
|
p headers # => { ... }
|
698
729
|
p data # => <UnsetLabelResponse>
|
@@ -707,6 +738,7 @@ end
|
|
707
738
|
| ---- | ---- | ----------- | ----- |
|
708
739
|
| **npm_npm_repository_href** | **String** | | |
|
709
740
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
741
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
710
742
|
|
711
743
|
### Return type
|
712
744
|
|
@@ -724,7 +756,7 @@ end
|
|
724
756
|
|
725
757
|
## update
|
726
758
|
|
727
|
-
> <AsyncOperationResponse> update(npm_npm_repository_href, npm_npm_repository)
|
759
|
+
> <AsyncOperationResponse> update(npm_npm_repository_href, npm_npm_repository, opts)
|
728
760
|
|
729
761
|
Update a npm repository
|
730
762
|
|
@@ -745,10 +777,13 @@ end
|
|
745
777
|
api_instance = PulpNpmClient::RepositoriesNpmApi.new
|
746
778
|
npm_npm_repository_href = 'npm_npm_repository_href_example' # String |
|
747
779
|
npm_npm_repository = PulpNpmClient::NpmNpmRepository.new({name: 'name_example'}) # NpmNpmRepository |
|
780
|
+
opts = {
|
781
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
782
|
+
}
|
748
783
|
|
749
784
|
begin
|
750
785
|
# Update a npm repository
|
751
|
-
result = api_instance.update(npm_npm_repository_href, npm_npm_repository)
|
786
|
+
result = api_instance.update(npm_npm_repository_href, npm_npm_repository, opts)
|
752
787
|
p result
|
753
788
|
rescue PulpNpmClient::ApiError => e
|
754
789
|
puts "Error when calling RepositoriesNpmApi->update: #{e}"
|
@@ -759,12 +794,12 @@ end
|
|
759
794
|
|
760
795
|
This returns an Array which contains the response data, status code and headers.
|
761
796
|
|
762
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(npm_npm_repository_href, npm_npm_repository)
|
797
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(npm_npm_repository_href, npm_npm_repository, opts)
|
763
798
|
|
764
799
|
```ruby
|
765
800
|
begin
|
766
801
|
# Update a npm repository
|
767
|
-
data, status_code, headers = api_instance.update_with_http_info(npm_npm_repository_href, npm_npm_repository)
|
802
|
+
data, status_code, headers = api_instance.update_with_http_info(npm_npm_repository_href, npm_npm_repository, opts)
|
768
803
|
p status_code # => 2xx
|
769
804
|
p headers # => { ... }
|
770
805
|
p data # => <AsyncOperationResponse>
|
@@ -779,6 +814,7 @@ end
|
|
779
814
|
| ---- | ---- | ----------- | ----- |
|
780
815
|
| **npm_npm_repository_href** | **String** | | |
|
781
816
|
| **npm_npm_repository** | [**NpmNpmRepository**](NpmNpmRepository.md) | | |
|
817
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
782
818
|
|
783
819
|
### Return type
|
784
820
|
|
@@ -12,7 +12,7 @@ All URIs are relative to *http://localhost:24817*
|
|
12
12
|
|
13
13
|
## delete
|
14
14
|
|
15
|
-
> <AsyncOperationResponse> delete(npm_npm_repository_version_href)
|
15
|
+
> <AsyncOperationResponse> delete(npm_npm_repository_version_href, opts)
|
16
16
|
|
17
17
|
Delete a repository version
|
18
18
|
|
@@ -32,10 +32,13 @@ end
|
|
32
32
|
|
33
33
|
api_instance = PulpNpmClient::RepositoriesNpmVersionsApi.new
|
34
34
|
npm_npm_repository_version_href = 'npm_npm_repository_version_href_example' # String |
|
35
|
+
opts = {
|
36
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
37
|
+
}
|
35
38
|
|
36
39
|
begin
|
37
40
|
# Delete a repository version
|
38
|
-
result = api_instance.delete(npm_npm_repository_version_href)
|
41
|
+
result = api_instance.delete(npm_npm_repository_version_href, opts)
|
39
42
|
p result
|
40
43
|
rescue PulpNpmClient::ApiError => e
|
41
44
|
puts "Error when calling RepositoriesNpmVersionsApi->delete: #{e}"
|
@@ -46,12 +49,12 @@ end
|
|
46
49
|
|
47
50
|
This returns an Array which contains the response data, status code and headers.
|
48
51
|
|
49
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(npm_npm_repository_version_href)
|
52
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(npm_npm_repository_version_href, opts)
|
50
53
|
|
51
54
|
```ruby
|
52
55
|
begin
|
53
56
|
# Delete a repository version
|
54
|
-
data, status_code, headers = api_instance.delete_with_http_info(npm_npm_repository_version_href)
|
57
|
+
data, status_code, headers = api_instance.delete_with_http_info(npm_npm_repository_version_href, opts)
|
55
58
|
p status_code # => 2xx
|
56
59
|
p headers # => { ... }
|
57
60
|
p data # => <AsyncOperationResponse>
|
@@ -65,6 +68,7 @@ end
|
|
65
68
|
| Name | Type | Description | Notes |
|
66
69
|
| ---- | ---- | ----------- | ----- |
|
67
70
|
| **npm_npm_repository_version_href** | **String** | | |
|
71
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
68
72
|
|
69
73
|
### Return type
|
70
74
|
|
@@ -103,6 +107,7 @@ end
|
|
103
107
|
api_instance = PulpNpmClient::RepositoriesNpmVersionsApi.new
|
104
108
|
npm_npm_repository_href = 'npm_npm_repository_href_example' # String |
|
105
109
|
opts = {
|
110
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
106
111
|
content: 'content_example', # String | Content Unit referenced by HREF/PRN
|
107
112
|
content__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
108
113
|
limit: 56, # Integer | Number of results to return per page.
|
@@ -113,7 +118,7 @@ opts = {
|
|
113
118
|
number__lte: 56, # Integer | Filter results where number is less than or equal to value
|
114
119
|
number__range: [37], # Array<Integer> | Filter results where number is between two comma separated values
|
115
120
|
offset: 56, # Integer | The initial index from which to return the results.
|
116
|
-
ordering: ['-complete'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
121
|
+
ordering: ['-complete'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
117
122
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
118
123
|
pulp_created: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created matches value
|
119
124
|
pulp_created__gt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is greater than value
|
@@ -160,6 +165,7 @@ end
|
|
160
165
|
| Name | Type | Description | Notes |
|
161
166
|
| ---- | ---- | ----------- | ----- |
|
162
167
|
| **npm_npm_repository_href** | **String** | | |
|
168
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
163
169
|
| **content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
164
170
|
| **content__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
165
171
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
@@ -170,7 +176,7 @@ end
|
|
170
176
|
| **number__lte** | **Integer** | Filter results where number is less than or equal to value | [optional] |
|
171
177
|
| **number__range** | [**Array<Integer>**](Integer.md) | Filter results where number is between two comma separated values | [optional] |
|
172
178
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
173
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
179
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
174
180
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
175
181
|
| **pulp_created** | **Time** | Filter results where pulp_created matches value | [optional] |
|
176
182
|
| **pulp_created__gt** | **Time** | Filter results where pulp_created is greater than value | [optional] |
|
@@ -221,6 +227,7 @@ end
|
|
221
227
|
api_instance = PulpNpmClient::RepositoriesNpmVersionsApi.new
|
222
228
|
npm_npm_repository_version_href = 'npm_npm_repository_version_href_example' # String |
|
223
229
|
opts = {
|
230
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
224
231
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
225
232
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
226
233
|
}
|
@@ -257,6 +264,7 @@ end
|
|
257
264
|
| Name | Type | Description | Notes |
|
258
265
|
| ---- | ---- | ----------- | ----- |
|
259
266
|
| **npm_npm_repository_version_href** | **String** | | |
|
267
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
260
268
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
261
269
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
262
270
|
|
@@ -276,7 +284,7 @@ end
|
|
276
284
|
|
277
285
|
## repair
|
278
286
|
|
279
|
-
> <AsyncOperationResponse> repair(npm_npm_repository_version_href, repair)
|
287
|
+
> <AsyncOperationResponse> repair(npm_npm_repository_version_href, repair, opts)
|
280
288
|
|
281
289
|
|
282
290
|
|
@@ -297,10 +305,13 @@ end
|
|
297
305
|
api_instance = PulpNpmClient::RepositoriesNpmVersionsApi.new
|
298
306
|
npm_npm_repository_version_href = 'npm_npm_repository_version_href_example' # String |
|
299
307
|
repair = PulpNpmClient::Repair.new # Repair |
|
308
|
+
opts = {
|
309
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
310
|
+
}
|
300
311
|
|
301
312
|
begin
|
302
313
|
|
303
|
-
result = api_instance.repair(npm_npm_repository_version_href, repair)
|
314
|
+
result = api_instance.repair(npm_npm_repository_version_href, repair, opts)
|
304
315
|
p result
|
305
316
|
rescue PulpNpmClient::ApiError => e
|
306
317
|
puts "Error when calling RepositoriesNpmVersionsApi->repair: #{e}"
|
@@ -311,12 +322,12 @@ end
|
|
311
322
|
|
312
323
|
This returns an Array which contains the response data, status code and headers.
|
313
324
|
|
314
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> repair_with_http_info(npm_npm_repository_version_href, repair)
|
325
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> repair_with_http_info(npm_npm_repository_version_href, repair, opts)
|
315
326
|
|
316
327
|
```ruby
|
317
328
|
begin
|
318
329
|
|
319
|
-
data, status_code, headers = api_instance.repair_with_http_info(npm_npm_repository_version_href, repair)
|
330
|
+
data, status_code, headers = api_instance.repair_with_http_info(npm_npm_repository_version_href, repair, opts)
|
320
331
|
p status_code # => 2xx
|
321
332
|
p headers # => { ... }
|
322
333
|
p data # => <AsyncOperationResponse>
|
@@ -331,6 +342,7 @@ end
|
|
331
342
|
| ---- | ---- | ----------- | ----- |
|
332
343
|
| **npm_npm_repository_version_href** | **String** | | |
|
333
344
|
| **repair** | [**Repair**](Repair.md) | | |
|
345
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
334
346
|
|
335
347
|
### Return type
|
336
348
|
|
@@ -12,6 +12,7 @@
|
|
12
12
|
| **repository** | **String** | | [optional][readonly] |
|
13
13
|
| **base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional] |
|
14
14
|
| **content_summary** | [**ContentSummaryResponse**](ContentSummaryResponse.md) | Various count summaries of the content in the version and the HREF to view them. | [optional][readonly] |
|
15
|
+
| **vuln_report** | **String** | | [optional][readonly] |
|
15
16
|
|
16
17
|
## Example
|
17
18
|
|
@@ -26,7 +27,8 @@ instance = PulpNpmClient::RepositoryVersionResponse.new(
|
|
26
27
|
number: null,
|
27
28
|
repository: null,
|
28
29
|
base_version: null,
|
29
|
-
content_summary: null
|
30
|
+
content_summary: null,
|
31
|
+
vuln_report: null
|
30
32
|
)
|
31
33
|
```
|
32
34
|
|
@@ -25,6 +25,7 @@ module PulpNpmClient
|
|
25
25
|
# @param name [String]
|
26
26
|
# @param version [String]
|
27
27
|
# @param [Hash] opts the optional parameters
|
28
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
28
29
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
29
30
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
30
31
|
# @option opts [String] :artifact Artifact file representing the physical content
|
@@ -43,6 +44,7 @@ module PulpNpmClient
|
|
43
44
|
# @param name [String]
|
44
45
|
# @param version [String]
|
45
46
|
# @param [Hash] opts the optional parameters
|
47
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
46
48
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
47
49
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
48
50
|
# @option opts [String] :artifact Artifact file representing the physical content
|
@@ -97,6 +99,7 @@ module PulpNpmClient
|
|
97
99
|
if !content_type.nil?
|
98
100
|
header_params['Content-Type'] = content_type
|
99
101
|
end
|
102
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
100
103
|
|
101
104
|
# form parameters
|
102
105
|
form_params = opts[:form_params] || {}
|
@@ -139,6 +142,7 @@ module PulpNpmClient
|
|
139
142
|
# List packages
|
140
143
|
# A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
|
141
144
|
# @param [Hash] opts the optional parameters
|
145
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
142
146
|
# @option opts [Integer] :limit Number of results to return per page.
|
143
147
|
# @option opts [String] :name Filter results where name matches value
|
144
148
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -164,6 +168,7 @@ module PulpNpmClient
|
|
164
168
|
# List packages
|
165
169
|
# A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
|
166
170
|
# @param [Hash] opts the optional parameters
|
171
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
167
172
|
# @option opts [Integer] :limit Number of results to return per page.
|
168
173
|
# @option opts [String] :name Filter results where name matches value
|
169
174
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -215,6 +220,7 @@ module PulpNpmClient
|
|
215
220
|
header_params = opts[:header_params] || {}
|
216
221
|
# HTTP header 'Accept' (if needed)
|
217
222
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
223
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
218
224
|
|
219
225
|
# form parameters
|
220
226
|
form_params = opts[:form_params] || {}
|
@@ -249,6 +255,7 @@ module PulpNpmClient
|
|
249
255
|
# A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
|
250
256
|
# @param npm_package_href [String]
|
251
257
|
# @param [Hash] opts the optional parameters
|
258
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
252
259
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
253
260
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
254
261
|
# @return [NpmPackageResponse]
|
@@ -261,6 +268,7 @@ module PulpNpmClient
|
|
261
268
|
# A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
|
262
269
|
# @param npm_package_href [String]
|
263
270
|
# @param [Hash] opts the optional parameters
|
271
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
264
272
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
265
273
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
266
274
|
# @return [Array<(NpmPackageResponse, Integer, Hash)>] NpmPackageResponse data, response status code and response headers
|
@@ -284,6 +292,7 @@ module PulpNpmClient
|
|
284
292
|
header_params = opts[:header_params] || {}
|
285
293
|
# HTTP header 'Accept' (if needed)
|
286
294
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
295
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
287
296
|
|
288
297
|
# form parameters
|
289
298
|
form_params = opts[:form_params] || {}
|
@@ -319,6 +328,7 @@ module PulpNpmClient
|
|
319
328
|
# @param npm_package_href [String]
|
320
329
|
# @param set_label [SetLabel]
|
321
330
|
# @param [Hash] opts the optional parameters
|
331
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
322
332
|
# @return [SetLabelResponse]
|
323
333
|
def set_label(npm_package_href, set_label, opts = {})
|
324
334
|
data, _status_code, _headers = set_label_with_http_info(npm_package_href, set_label, opts)
|
@@ -330,6 +340,7 @@ module PulpNpmClient
|
|
330
340
|
# @param npm_package_href [String]
|
331
341
|
# @param set_label [SetLabel]
|
332
342
|
# @param [Hash] opts the optional parameters
|
343
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
333
344
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
334
345
|
def set_label_with_http_info(npm_package_href, set_label, opts = {})
|
335
346
|
if @api_client.config.debugging
|
@@ -358,6 +369,7 @@ module PulpNpmClient
|
|
358
369
|
if !content_type.nil?
|
359
370
|
header_params['Content-Type'] = content_type
|
360
371
|
end
|
372
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
361
373
|
|
362
374
|
# form parameters
|
363
375
|
form_params = opts[:form_params] || {}
|
@@ -393,6 +405,7 @@ module PulpNpmClient
|
|
393
405
|
# @param npm_package_href [String]
|
394
406
|
# @param unset_label [UnsetLabel]
|
395
407
|
# @param [Hash] opts the optional parameters
|
408
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
396
409
|
# @return [UnsetLabelResponse]
|
397
410
|
def unset_label(npm_package_href, unset_label, opts = {})
|
398
411
|
data, _status_code, _headers = unset_label_with_http_info(npm_package_href, unset_label, opts)
|
@@ -404,6 +417,7 @@ module PulpNpmClient
|
|
404
417
|
# @param npm_package_href [String]
|
405
418
|
# @param unset_label [UnsetLabel]
|
406
419
|
# @param [Hash] opts the optional parameters
|
420
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
407
421
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
408
422
|
def unset_label_with_http_info(npm_package_href, unset_label, opts = {})
|
409
423
|
if @api_client.config.debugging
|
@@ -432,6 +446,7 @@ module PulpNpmClient
|
|
432
446
|
if !content_type.nil?
|
433
447
|
header_params['Content-Type'] = content_type
|
434
448
|
end
|
449
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
435
450
|
|
436
451
|
# form parameters
|
437
452
|
form_params = opts[:form_params] || {}
|