pulp_container_client 2.15.2 → 2.16.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +38 -25
  3. data/docs/ContainerContainerDistribution.md +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +9 -9
  5. data/docs/ContainerContainerPushRepository.md +2 -2
  6. data/docs/ContainerContainerPushRepositoryResponse.md +9 -9
  7. data/docs/ContentBlobsApi.md +3 -1
  8. data/docs/ContentManifestsApi.md +3 -1
  9. data/docs/ContentSignaturesApi.md +7 -1
  10. data/docs/ContentTagsApi.md +3 -1
  11. data/docs/DistributionsContainerApi.md +132 -10
  12. data/docs/IndexDynamicApi.md +50 -0
  13. data/docs/IndexStaticApi.md +50 -0
  14. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  15. data/docs/PatchedcontainerContainerPushRepository.md +2 -2
  16. data/docs/PulpContainerNamespacesApi.md +19 -9
  17. data/docs/RemotesContainerApi.md +131 -9
  18. data/docs/RepositoriesContainerApi.md +133 -11
  19. data/docs/RepositoriesContainerPushApi.md +20 -10
  20. data/docs/RepositoriesContainerPushVersionsApi.md +3 -1
  21. data/docs/RepositoriesContainerVersionsApi.md +3 -1
  22. data/docs/SetLabel.md +19 -0
  23. data/docs/SetLabelResponse.md +19 -0
  24. data/docs/TokenApi.md +1 -1
  25. data/docs/UnsetLabel.md +17 -0
  26. data/docs/UnsetLabelResponse.md +19 -0
  27. data/lib/pulp_container_client/api/content_blobs_api.rb +3 -0
  28. data/lib/pulp_container_client/api/content_manifests_api.rb +3 -0
  29. data/lib/pulp_container_client/api/content_signatures_api.rb +9 -0
  30. data/lib/pulp_container_client/api/content_tags_api.rb +3 -0
  31. data/lib/pulp_container_client/api/distributions_container_api.rb +157 -0
  32. data/lib/pulp_container_client/api/index_dynamic_api.rb +74 -0
  33. data/lib/pulp_container_client/api/index_static_api.rb +74 -0
  34. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +17 -0
  35. data/lib/pulp_container_client/api/remotes_container_api.rb +157 -0
  36. data/lib/pulp_container_client/api/repositories_container_api.rb +159 -2
  37. data/lib/pulp_container_client/api/repositories_container_push_api.rb +17 -0
  38. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +3 -0
  39. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +3 -0
  40. data/lib/pulp_container_client/configuration.rb +2 -2
  41. data/lib/pulp_container_client/models/container_container_distribution.rb +55 -55
  42. data/lib/pulp_container_client/models/container_container_distribution_response.rb +48 -48
  43. data/lib/pulp_container_client/models/container_container_push_repository.rb +11 -11
  44. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +35 -35
  45. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +46 -46
  46. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +11 -11
  47. data/lib/pulp_container_client/models/set_label.rb +252 -0
  48. data/lib/pulp_container_client/models/set_label_response.rb +243 -0
  49. data/lib/pulp_container_client/models/unset_label.rb +242 -0
  50. data/lib/pulp_container_client/models/unset_label_response.rb +242 -0
  51. data/lib/pulp_container_client/version.rb +1 -1
  52. data/lib/pulp_container_client.rb +6 -0
  53. data/spec/api/content_blobs_api_spec.rb +1 -0
  54. data/spec/api/content_manifests_api_spec.rb +1 -0
  55. data/spec/api/content_signatures_api_spec.rb +3 -0
  56. data/spec/api/content_tags_api_spec.rb +1 -0
  57. data/spec/api/distributions_container_api_spec.rb +33 -0
  58. data/spec/api/index_dynamic_api_spec.rb +45 -0
  59. data/spec/api/index_static_api_spec.rb +45 -0
  60. data/spec/api/pulp_container_namespaces_api_spec.rb +7 -0
  61. data/spec/api/remotes_container_api_spec.rb +33 -0
  62. data/spec/api/repositories_container_api_spec.rb +34 -1
  63. data/spec/api/repositories_container_push_api_spec.rb +7 -0
  64. data/spec/api/repositories_container_push_versions_api_spec.rb +1 -0
  65. data/spec/api/repositories_container_versions_api_spec.rb +1 -0
  66. data/spec/configuration_spec.rb +3 -3
  67. data/spec/models/container_container_distribution_response_spec.rb +8 -8
  68. data/spec/models/container_container_distribution_spec.rb +5 -5
  69. data/spec/models/container_container_push_repository_response_spec.rb +7 -7
  70. data/spec/models/container_container_push_repository_spec.rb +2 -2
  71. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  72. data/spec/models/patchedcontainer_container_push_repository_spec.rb +2 -2
  73. data/spec/models/set_label_response_spec.rb +47 -0
  74. data/spec/models/set_label_spec.rb +47 -0
  75. data/spec/models/unset_label_response_spec.rb +47 -0
  76. data/spec/models/unset_label_spec.rb +41 -0
  77. metadata +67 -43
@@ -1,18 +1,20 @@
1
1
  # PulpContainerClient::DistributionsContainerApi
2
2
 
3
- All URIs are relative to *https://pulp*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**add_role**](DistributionsContainerApi.md#add_role) | **POST** {container_container_distribution_href}add_role/ |
7
+ [**add_role**](DistributionsContainerApi.md#add_role) | **POST** {container_container_distribution_href}add_role/ | Add a role
8
8
  [**create**](DistributionsContainerApi.md#create) | **POST** /pulp/api/v3/distributions/container/container/ | Create a container distribution
9
9
  [**delete**](DistributionsContainerApi.md#delete) | **DELETE** {container_container_distribution_href} | Delete a container distribution
10
10
  [**list**](DistributionsContainerApi.md#list) | **GET** /pulp/api/v3/distributions/container/container/ | List container distributions
11
- [**list_roles**](DistributionsContainerApi.md#list_roles) | **GET** {container_container_distribution_href}list_roles/ |
12
- [**my_permissions**](DistributionsContainerApi.md#my_permissions) | **GET** {container_container_distribution_href}my_permissions/ |
11
+ [**list_roles**](DistributionsContainerApi.md#list_roles) | **GET** {container_container_distribution_href}list_roles/ | List roles
12
+ [**my_permissions**](DistributionsContainerApi.md#my_permissions) | **GET** {container_container_distribution_href}my_permissions/ | List user permissions
13
13
  [**partial_update**](DistributionsContainerApi.md#partial_update) | **PATCH** {container_container_distribution_href} | Update a container distribution
14
14
  [**read**](DistributionsContainerApi.md#read) | **GET** {container_container_distribution_href} | Inspect a container distribution
15
- [**remove_role**](DistributionsContainerApi.md#remove_role) | **POST** {container_container_distribution_href}remove_role/ |
15
+ [**remove_role**](DistributionsContainerApi.md#remove_role) | **POST** {container_container_distribution_href}remove_role/ | Remove a role
16
+ [**set_label**](DistributionsContainerApi.md#set_label) | **POST** {container_container_distribution_href}set_label/ | Set a label
17
+ [**unset_label**](DistributionsContainerApi.md#unset_label) | **POST** {container_container_distribution_href}unset_label/ | Unset a label
16
18
  [**update**](DistributionsContainerApi.md#update) | **PUT** {container_container_distribution_href} | Update a container distribution
17
19
 
18
20
 
@@ -21,7 +23,7 @@ Method | HTTP request | Description
21
23
 
22
24
  > NestedRoleResponse add_role(container_container_distribution_href, nested_role)
23
25
 
24
-
26
+ Add a role
25
27
 
26
28
  Add a role for this object to users/groups.
27
29
 
@@ -42,6 +44,7 @@ container_container_distribution_href = 'container_container_distribution_href_e
42
44
  nested_role = PulpContainerClient::NestedRole.new # NestedRole |
43
45
 
44
46
  begin
47
+ #Add a role
45
48
  result = api_instance.add_role(container_container_distribution_href, nested_role)
46
49
  p result
47
50
  rescue PulpContainerClient::ApiError => e
@@ -207,7 +210,9 @@ opts = {
207
210
  name: 'name_example', # String | Filter results where name matches value
208
211
  name__contains: 'name__contains_example', # String | Filter results where name contains value
209
212
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
213
+ name__iexact: 'name__iexact_example', # String | Filter results where name matches value
210
214
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
215
+ name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
211
216
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
212
217
  namespace__name: 'namespace__name_example', # String |
213
218
  offset: 56, # Integer | The initial index from which to return the results.
@@ -215,6 +220,7 @@ opts = {
215
220
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
216
221
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
217
222
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
223
+ q: 'q_example', # String |
218
224
  repository: 'repository_example', # String | Filter results where repository matches value
219
225
  repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
220
226
  with_content: 'with_content_example', # String | Filter distributions based on the content served by them
@@ -244,7 +250,9 @@ Name | Type | Description | Notes
244
250
  **name** | **String**| Filter results where name matches value | [optional]
245
251
  **name__contains** | **String**| Filter results where name contains value | [optional]
246
252
  **name__icontains** | **String**| Filter results where name contains value | [optional]
253
+ **name__iexact** | **String**| Filter results where name matches value | [optional]
247
254
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
255
+ **name__istartswith** | **String**| Filter results where name starts with value | [optional]
248
256
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
249
257
  **namespace__name** | **String**| | [optional]
250
258
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
@@ -252,7 +260,8 @@ Name | Type | Description | Notes
252
260
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
253
261
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
254
262
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
255
- **repository** | **String**| Filter results where repository matches value | [optional]
263
+ **q** | **String**| | [optional]
264
+ **repository** | [**String**](.md)| Filter results where repository matches value | [optional]
256
265
  **repository__in** | [**Array&lt;String&gt;**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
257
266
  **with_content** | **String**| Filter distributions based on the content served by them | [optional]
258
267
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
@@ -276,7 +285,7 @@ Name | Type | Description | Notes
276
285
 
277
286
  > ObjectRolesResponse list_roles(container_container_distribution_href, opts)
278
287
 
279
-
288
+ List roles
280
289
 
281
290
  List roles assigned to this object.
282
291
 
@@ -300,6 +309,7 @@ opts = {
300
309
  }
301
310
 
302
311
  begin
312
+ #List roles
303
313
  result = api_instance.list_roles(container_container_distribution_href, opts)
304
314
  p result
305
315
  rescue PulpContainerClient::ApiError => e
@@ -334,7 +344,7 @@ Name | Type | Description | Notes
334
344
 
335
345
  > MyPermissionsResponse my_permissions(container_container_distribution_href, opts)
336
346
 
337
-
347
+ List user permissions
338
348
 
339
349
  List permissions available to the current user on this object.
340
350
 
@@ -358,6 +368,7 @@ opts = {
358
368
  }
359
369
 
360
370
  begin
371
+ #List user permissions
361
372
  result = api_instance.my_permissions(container_container_distribution_href, opts)
362
373
  p result
363
374
  rescue PulpContainerClient::ApiError => e
@@ -506,7 +517,7 @@ Name | Type | Description | Notes
506
517
 
507
518
  > NestedRoleResponse remove_role(container_container_distribution_href, nested_role)
508
519
 
509
-
520
+ Remove a role
510
521
 
511
522
  Remove a role for this object from users/groups.
512
523
 
@@ -527,6 +538,7 @@ container_container_distribution_href = 'container_container_distribution_href_e
527
538
  nested_role = PulpContainerClient::NestedRole.new # NestedRole |
528
539
 
529
540
  begin
541
+ #Remove a role
530
542
  result = api_instance.remove_role(container_container_distribution_href, nested_role)
531
543
  p result
532
544
  rescue PulpContainerClient::ApiError => e
@@ -556,6 +568,116 @@ Name | Type | Description | Notes
556
568
  - **Accept**: application/json
557
569
 
558
570
 
571
+ ## set_label
572
+
573
+ > SetLabelResponse set_label(container_container_distribution_href, set_label)
574
+
575
+ Set a label
576
+
577
+ Set a single pulp_label on the object to a specific value or null.
578
+
579
+ ### Example
580
+
581
+ ```ruby
582
+ # load the gem
583
+ require 'pulp_container_client'
584
+ # setup authorization
585
+ PulpContainerClient.configure do |config|
586
+ # Configure HTTP basic authorization: basicAuth
587
+ config.username = 'YOUR USERNAME'
588
+ config.password = 'YOUR PASSWORD'
589
+ end
590
+
591
+ api_instance = PulpContainerClient::DistributionsContainerApi.new
592
+ container_container_distribution_href = 'container_container_distribution_href_example' # String |
593
+ set_label = PulpContainerClient::SetLabel.new # SetLabel |
594
+
595
+ begin
596
+ #Set a label
597
+ result = api_instance.set_label(container_container_distribution_href, set_label)
598
+ p result
599
+ rescue PulpContainerClient::ApiError => e
600
+ puts "Exception when calling DistributionsContainerApi->set_label: #{e}"
601
+ end
602
+ ```
603
+
604
+ ### Parameters
605
+
606
+
607
+ Name | Type | Description | Notes
608
+ ------------- | ------------- | ------------- | -------------
609
+ **container_container_distribution_href** | **String**| |
610
+ **set_label** | [**SetLabel**](SetLabel.md)| |
611
+
612
+ ### Return type
613
+
614
+ [**SetLabelResponse**](SetLabelResponse.md)
615
+
616
+ ### Authorization
617
+
618
+ [basicAuth](../README.md#basicAuth)
619
+
620
+ ### HTTP request headers
621
+
622
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
623
+ - **Accept**: application/json
624
+
625
+
626
+ ## unset_label
627
+
628
+ > UnsetLabelResponse unset_label(container_container_distribution_href, unset_label)
629
+
630
+ Unset a label
631
+
632
+ Unset a single pulp_label on the object.
633
+
634
+ ### Example
635
+
636
+ ```ruby
637
+ # load the gem
638
+ require 'pulp_container_client'
639
+ # setup authorization
640
+ PulpContainerClient.configure do |config|
641
+ # Configure HTTP basic authorization: basicAuth
642
+ config.username = 'YOUR USERNAME'
643
+ config.password = 'YOUR PASSWORD'
644
+ end
645
+
646
+ api_instance = PulpContainerClient::DistributionsContainerApi.new
647
+ container_container_distribution_href = 'container_container_distribution_href_example' # String |
648
+ unset_label = PulpContainerClient::UnsetLabel.new # UnsetLabel |
649
+
650
+ begin
651
+ #Unset a label
652
+ result = api_instance.unset_label(container_container_distribution_href, unset_label)
653
+ p result
654
+ rescue PulpContainerClient::ApiError => e
655
+ puts "Exception when calling DistributionsContainerApi->unset_label: #{e}"
656
+ end
657
+ ```
658
+
659
+ ### Parameters
660
+
661
+
662
+ Name | Type | Description | Notes
663
+ ------------- | ------------- | ------------- | -------------
664
+ **container_container_distribution_href** | **String**| |
665
+ **unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
666
+
667
+ ### Return type
668
+
669
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
670
+
671
+ ### Authorization
672
+
673
+ [basicAuth](../README.md#basicAuth)
674
+
675
+ ### HTTP request headers
676
+
677
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
678
+ - **Accept**: application/json
679
+
680
+
559
681
  ## update
560
682
 
561
683
  > AsyncOperationResponse update(container_container_distribution_href, container_container_distribution)
@@ -0,0 +1,50 @@
1
+ # PulpContainerClient::IndexDynamicApi
2
+
3
+ All URIs are relative to *http://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**get**](IndexDynamicApi.md#get) | **GET** /index/dynamic |
8
+
9
+
10
+
11
+ ## get
12
+
13
+ > get
14
+
15
+
16
+
17
+ Handles requests to the /index/dynamic endpoint
18
+
19
+ ### Example
20
+
21
+ ```ruby
22
+ # load the gem
23
+ require 'pulp_container_client'
24
+
25
+ api_instance = PulpContainerClient::IndexDynamicApi.new
26
+
27
+ begin
28
+ api_instance.get
29
+ rescue PulpContainerClient::ApiError => e
30
+ puts "Exception when calling IndexDynamicApi->get: #{e}"
31
+ end
32
+ ```
33
+
34
+ ### Parameters
35
+
36
+ This endpoint does not need any parameter.
37
+
38
+ ### Return type
39
+
40
+ nil (empty response body)
41
+
42
+ ### Authorization
43
+
44
+ No authorization required
45
+
46
+ ### HTTP request headers
47
+
48
+ - **Content-Type**: Not defined
49
+ - **Accept**: Not defined
50
+
@@ -0,0 +1,50 @@
1
+ # PulpContainerClient::IndexStaticApi
2
+
3
+ All URIs are relative to *http://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**get**](IndexStaticApi.md#get) | **GET** /index/static |
8
+
9
+
10
+
11
+ ## get
12
+
13
+ > get
14
+
15
+
16
+
17
+ Handles requests to the /index/static endpoint
18
+
19
+ ### Example
20
+
21
+ ```ruby
22
+ # load the gem
23
+ require 'pulp_container_client'
24
+
25
+ api_instance = PulpContainerClient::IndexStaticApi.new
26
+
27
+ begin
28
+ api_instance.get
29
+ rescue PulpContainerClient::ApiError => e
30
+ puts "Exception when calling IndexStaticApi->get: #{e}"
31
+ end
32
+ ```
33
+
34
+ ### Parameters
35
+
36
+ This endpoint does not need any parameter.
37
+
38
+ ### Return type
39
+
40
+ nil (empty response body)
41
+
42
+ ### Authorization
43
+
44
+ No authorization required
45
+
46
+ ### HTTP request headers
47
+
48
+ - **Content-Type**: Not defined
49
+ - **Accept**: Not defined
50
+
@@ -4,12 +4,12 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
7
8
  **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional]
9
+ **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) | [optional]
10
+ **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. | [optional]
8
11
  **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
9
12
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
10
- **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. | [optional]
11
- **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
12
- **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) | [optional]
13
13
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
14
14
  **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
15
15
  **description** | **String** | An optional description. | [optional]
@@ -19,12 +19,12 @@ Name | Type | Description | Notes
19
19
  ```ruby
20
20
  require 'PulpContainerClient'
21
21
 
22
- instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(pulp_labels: null,
22
+ instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(hidden: null,
23
+ pulp_labels: null,
24
+ base_path: null,
25
+ name: null,
23
26
  content_guard: null,
24
27
  repository: null,
25
- name: null,
26
- hidden: null,
27
- base_path: null,
28
28
  repository_version: null,
29
29
  private: null,
30
30
  description: null)
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
8
8
  **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional]
9
- **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
10
9
  **name** | **String** | A unique name for this repository. | [optional]
10
+ **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
11
11
  **description** | **String** | An optional description. | [optional]
12
12
 
13
13
  ## Code Sample
@@ -17,8 +17,8 @@ require 'PulpContainerClient'
17
17
 
18
18
  instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(retain_repo_versions: null,
19
19
  pulp_labels: null,
20
- manifest_signing_service: null,
21
20
  name: null,
21
+ manifest_signing_service: null,
22
22
  description: null)
23
23
  ```
24
24
 
@@ -1,17 +1,17 @@
1
1
  # PulpContainerClient::PulpContainerNamespacesApi
2
2
 
3
- All URIs are relative to *https://pulp*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**add_role**](PulpContainerNamespacesApi.md#add_role) | **POST** {container_container_namespace_href}add_role/ |
7
+ [**add_role**](PulpContainerNamespacesApi.md#add_role) | **POST** {container_container_namespace_href}add_role/ | Add a role
8
8
  [**create**](PulpContainerNamespacesApi.md#create) | **POST** /pulp/api/v3/pulp_container/namespaces/ | Create a container namespace
9
9
  [**delete**](PulpContainerNamespacesApi.md#delete) | **DELETE** {container_container_namespace_href} | Delete a container namespace
10
10
  [**list**](PulpContainerNamespacesApi.md#list) | **GET** /pulp/api/v3/pulp_container/namespaces/ | List container namespaces
11
- [**list_roles**](PulpContainerNamespacesApi.md#list_roles) | **GET** {container_container_namespace_href}list_roles/ |
12
- [**my_permissions**](PulpContainerNamespacesApi.md#my_permissions) | **GET** {container_container_namespace_href}my_permissions/ |
11
+ [**list_roles**](PulpContainerNamespacesApi.md#list_roles) | **GET** {container_container_namespace_href}list_roles/ | List roles
12
+ [**my_permissions**](PulpContainerNamespacesApi.md#my_permissions) | **GET** {container_container_namespace_href}my_permissions/ | List user permissions
13
13
  [**read**](PulpContainerNamespacesApi.md#read) | **GET** {container_container_namespace_href} | Inspect a container namespace
14
- [**remove_role**](PulpContainerNamespacesApi.md#remove_role) | **POST** {container_container_namespace_href}remove_role/ |
14
+ [**remove_role**](PulpContainerNamespacesApi.md#remove_role) | **POST** {container_container_namespace_href}remove_role/ | Remove a role
15
15
 
16
16
 
17
17
 
@@ -19,7 +19,7 @@ Method | HTTP request | Description
19
19
 
20
20
  > NestedRoleResponse add_role(container_container_namespace_href, nested_role)
21
21
 
22
-
22
+ Add a role
23
23
 
24
24
  Add a role for this object to users/groups.
25
25
 
@@ -40,6 +40,7 @@ container_container_namespace_href = 'container_container_namespace_href_example
40
40
  nested_role = PulpContainerClient::NestedRole.new # NestedRole |
41
41
 
42
42
  begin
43
+ #Add a role
43
44
  result = api_instance.add_role(container_container_namespace_href, nested_role)
44
45
  p result
45
46
  rescue PulpContainerClient::ApiError => e
@@ -201,12 +202,15 @@ opts = {
201
202
  name: 'name_example', # String | Filter results where name matches value
202
203
  name__contains: 'name__contains_example', # String | Filter results where name contains value
203
204
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
205
+ name__iexact: 'name__iexact_example', # String | Filter results where name matches value
204
206
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
207
+ name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
205
208
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
206
209
  offset: 56, # Integer | The initial index from which to return the results.
207
210
  ordering: ['ordering_example'], # 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) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
208
211
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
209
212
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
213
+ q: 'q_example', # String |
210
214
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
211
215
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
212
216
  }
@@ -229,12 +233,15 @@ Name | Type | Description | Notes
229
233
  **name** | **String**| Filter results where name matches value | [optional]
230
234
  **name__contains** | **String**| Filter results where name contains value | [optional]
231
235
  **name__icontains** | **String**| Filter results where name contains value | [optional]
236
+ **name__iexact** | **String**| Filter results where name matches value | [optional]
232
237
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
238
+ **name__istartswith** | **String**| Filter results where name starts with value | [optional]
233
239
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
234
240
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
235
241
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
236
242
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
237
243
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
244
+ **q** | **String**| | [optional]
238
245
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
239
246
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
240
247
 
@@ -256,7 +263,7 @@ Name | Type | Description | Notes
256
263
 
257
264
  > ObjectRolesResponse list_roles(container_container_namespace_href, opts)
258
265
 
259
-
266
+ List roles
260
267
 
261
268
  List roles assigned to this object.
262
269
 
@@ -280,6 +287,7 @@ opts = {
280
287
  }
281
288
 
282
289
  begin
290
+ #List roles
283
291
  result = api_instance.list_roles(container_container_namespace_href, opts)
284
292
  p result
285
293
  rescue PulpContainerClient::ApiError => e
@@ -314,7 +322,7 @@ Name | Type | Description | Notes
314
322
 
315
323
  > MyPermissionsResponse my_permissions(container_container_namespace_href, opts)
316
324
 
317
-
325
+ List user permissions
318
326
 
319
327
  List permissions available to the current user on this object.
320
328
 
@@ -338,6 +346,7 @@ opts = {
338
346
  }
339
347
 
340
348
  begin
349
+ #List user permissions
341
350
  result = api_instance.my_permissions(container_container_namespace_href, opts)
342
351
  p result
343
352
  rescue PulpContainerClient::ApiError => e
@@ -431,7 +440,7 @@ Name | Type | Description | Notes
431
440
 
432
441
  > NestedRoleResponse remove_role(container_container_namespace_href, nested_role)
433
442
 
434
-
443
+ Remove a role
435
444
 
436
445
  Remove a role for this object from users/groups.
437
446
 
@@ -452,6 +461,7 @@ container_container_namespace_href = 'container_container_namespace_href_example
452
461
  nested_role = PulpContainerClient::NestedRole.new # NestedRole |
453
462
 
454
463
  begin
464
+ #Remove a role
455
465
  result = api_instance.remove_role(container_container_namespace_href, nested_role)
456
466
  p result
457
467
  rescue PulpContainerClient::ApiError => e