pulp_deb_client 3.3.1 → 3.5.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 +28 -4
- data/docs/ContentGenericContentsApi.md +10 -8
- data/docs/ContentInstallerFileIndicesApi.md +10 -8
- data/docs/ContentInstallerPackagesApi.md +10 -8
- data/docs/ContentPackageIndicesApi.md +10 -8
- data/docs/ContentPackageReleaseComponentsApi.md +10 -8
- data/docs/ContentPackagesApi.md +10 -8
- data/docs/ContentReleaseArchitecturesApi.md +10 -8
- data/docs/ContentReleaseComponentsApi.md +10 -8
- data/docs/ContentReleaseFilesApi.md +10 -8
- data/docs/ContentReleasesApi.md +10 -8
- data/docs/ContentSourceIndicesApi.md +10 -8
- data/docs/ContentSourcePackagesApi.md +10 -8
- data/docs/ContentSourceReleaseComponentsApi.md +10 -8
- data/docs/DebAptDistributionResponse.md +4 -0
- data/docs/DebAptPublicationResponse.md +2 -0
- data/docs/DebAptRemoteResponse.md +2 -0
- data/docs/DebAptRepositoryResponse.md +2 -0
- data/docs/DebGenericContentResponse.md +2 -0
- data/docs/DebInstallerFileIndexResponse.md +2 -0
- data/docs/DebInstallerPackageResponse.md +2 -0
- data/docs/DebPackageIndexResponse.md +2 -0
- data/docs/DebPackageReleaseComponentResponse.md +2 -0
- data/docs/DebPackageResponse.md +2 -0
- data/docs/DebReleaseArchitectureResponse.md +2 -0
- data/docs/DebReleaseComponentResponse.md +5 -1
- data/docs/DebReleaseFileResponse.md +2 -0
- data/docs/DebReleaseResponse.md +2 -0
- data/docs/DebSourceIndexResponse.md +2 -0
- data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
- data/docs/DebSourcePackageResponse.md +4 -0
- data/docs/DebVerbatimPublicationResponse.md +2 -0
- data/docs/DistributionsAptApi.md +236 -2
- data/docs/MyPermissionsResponse.md +17 -0
- data/docs/NestedRole.md +21 -0
- data/docs/NestedRoleResponse.md +21 -0
- data/docs/ObjectRolesResponse.md +17 -0
- data/docs/PublicationsAptApi.md +244 -10
- data/docs/PublicationsVerbatimApi.md +244 -10
- data/docs/RemotesAptApi.md +236 -2
- data/docs/RepositoriesAptApi.md +240 -6
- data/docs/RepositoriesAptVersionsApi.md +8 -6
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_packages_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_release_components_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_release_files_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_releases_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +11 -8
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +11 -8
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +281 -2
- data/lib/pulp_deb_client/api/publications_apt_api.rb +290 -11
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +290 -11
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +281 -2
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +285 -6
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +10 -7
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +21 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +20 -20
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +31 -21
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +24 -4
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +21 -1
- data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +11 -1
- data/lib/pulp_deb_client/models/my_permissions_response.rb +213 -0
- data/lib/pulp_deb_client/models/nested_role.rb +253 -0
- data/lib/pulp_deb_client/models/nested_role_response.rb +234 -0
- data/lib/pulp_deb_client/models/object_roles_response.rb +213 -0
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +20 -20
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_deb_client/models/repository_version_response.rb +12 -2
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +4 -0
- data/spec/api/content_generic_contents_api_spec.rb +5 -4
- data/spec/api/content_installer_file_indices_api_spec.rb +5 -4
- data/spec/api/content_installer_packages_api_spec.rb +5 -4
- data/spec/api/content_package_indices_api_spec.rb +5 -4
- data/spec/api/content_package_release_components_api_spec.rb +5 -4
- data/spec/api/content_packages_api_spec.rb +5 -4
- data/spec/api/content_release_architectures_api_spec.rb +5 -4
- data/spec/api/content_release_components_api_spec.rb +5 -4
- data/spec/api/content_release_files_api_spec.rb +5 -4
- data/spec/api/content_releases_api_spec.rb +5 -4
- data/spec/api/content_source_indices_api_spec.rb +5 -4
- data/spec/api/content_source_packages_api_spec.rb +5 -4
- data/spec/api/content_source_release_components_api_spec.rb +5 -4
- data/spec/api/distributions_apt_api_spec.rb +56 -1
- data/spec/api/publications_apt_api_spec.rb +60 -5
- data/spec/api/publications_verbatim_api_spec.rb +60 -5
- data/spec/api/remotes_apt_api_spec.rb +56 -1
- data/spec/api/repositories_apt_api_spec.rb +58 -3
- data/spec/api/repositories_apt_versions_api_spec.rb +4 -3
- data/spec/models/deb_apt_distribution_response_spec.rb +12 -0
- data/spec/models/deb_apt_publication_response_spec.rb +6 -0
- data/spec/models/deb_apt_remote_response_spec.rb +6 -0
- data/spec/models/deb_apt_repository_response_spec.rb +6 -0
- data/spec/models/deb_generic_content_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
- data/spec/models/deb_installer_package_response_spec.rb +6 -0
- data/spec/models/deb_package_index_response_spec.rb +6 -0
- data/spec/models/deb_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_package_response_spec.rb +6 -0
- data/spec/models/deb_release_architecture_response_spec.rb +6 -0
- data/spec/models/deb_release_component_response_spec.rb +12 -0
- data/spec/models/deb_release_file_response_spec.rb +6 -0
- data/spec/models/deb_release_response_spec.rb +6 -0
- data/spec/models/deb_source_index_response_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_source_package_response_spec.rb +12 -0
- data/spec/models/deb_verbatim_publication_response_spec.rb +6 -0
- data/spec/models/my_permissions_response_spec.rb +41 -0
- data/spec/models/nested_role_response_spec.rb +53 -0
- data/spec/models/nested_role_spec.rb +53 -0
- data/spec/models/object_roles_response_spec.rb +41 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +91 -75
|
@@ -4,13 +4,72 @@ All URIs are relative to *http://localhost:24817*
|
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
+
[**add_role**](PublicationsVerbatimApi.md#add_role) | **POST** {deb_verbatim_publication_href}add_role/ | Add a role
|
|
7
8
|
[**create**](PublicationsVerbatimApi.md#create) | **POST** /pulp/api/v3/publications/deb/verbatim/ | Create a verbatim publication
|
|
8
9
|
[**delete**](PublicationsVerbatimApi.md#delete) | **DELETE** {deb_verbatim_publication_href} | Delete a verbatim publication
|
|
9
10
|
[**list**](PublicationsVerbatimApi.md#list) | **GET** /pulp/api/v3/publications/deb/verbatim/ | List verbatim publications
|
|
11
|
+
[**list_roles**](PublicationsVerbatimApi.md#list_roles) | **GET** {deb_verbatim_publication_href}list_roles/ | List roles
|
|
12
|
+
[**my_permissions**](PublicationsVerbatimApi.md#my_permissions) | **GET** {deb_verbatim_publication_href}my_permissions/ | List user permissions
|
|
10
13
|
[**read**](PublicationsVerbatimApi.md#read) | **GET** {deb_verbatim_publication_href} | Inspect a verbatim publication
|
|
14
|
+
[**remove_role**](PublicationsVerbatimApi.md#remove_role) | **POST** {deb_verbatim_publication_href}remove_role/ | Remove a role
|
|
11
15
|
|
|
12
16
|
|
|
13
17
|
|
|
18
|
+
## add_role
|
|
19
|
+
|
|
20
|
+
> NestedRoleResponse add_role(deb_verbatim_publication_href, nested_role)
|
|
21
|
+
|
|
22
|
+
Add a role
|
|
23
|
+
|
|
24
|
+
Add a role for this object to users/groups.
|
|
25
|
+
|
|
26
|
+
### Example
|
|
27
|
+
|
|
28
|
+
```ruby
|
|
29
|
+
# load the gem
|
|
30
|
+
require 'pulp_deb_client'
|
|
31
|
+
# setup authorization
|
|
32
|
+
PulpDebClient.configure do |config|
|
|
33
|
+
# Configure HTTP basic authorization: basicAuth
|
|
34
|
+
config.username = 'YOUR USERNAME'
|
|
35
|
+
config.password = 'YOUR PASSWORD'
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
api_instance = PulpDebClient::PublicationsVerbatimApi.new
|
|
39
|
+
deb_verbatim_publication_href = 'deb_verbatim_publication_href_example' # String |
|
|
40
|
+
nested_role = PulpDebClient::NestedRole.new # NestedRole |
|
|
41
|
+
|
|
42
|
+
begin
|
|
43
|
+
#Add a role
|
|
44
|
+
result = api_instance.add_role(deb_verbatim_publication_href, nested_role)
|
|
45
|
+
p result
|
|
46
|
+
rescue PulpDebClient::ApiError => e
|
|
47
|
+
puts "Exception when calling PublicationsVerbatimApi->add_role: #{e}"
|
|
48
|
+
end
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Parameters
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
Name | Type | Description | Notes
|
|
55
|
+
------------- | ------------- | ------------- | -------------
|
|
56
|
+
**deb_verbatim_publication_href** | **String**| |
|
|
57
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
58
|
+
|
|
59
|
+
### Return type
|
|
60
|
+
|
|
61
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
|
62
|
+
|
|
63
|
+
### Authorization
|
|
64
|
+
|
|
65
|
+
[basicAuth](../README.md#basicAuth)
|
|
66
|
+
|
|
67
|
+
### HTTP request headers
|
|
68
|
+
|
|
69
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
70
|
+
- **Accept**: application/json
|
|
71
|
+
|
|
72
|
+
|
|
14
73
|
## create
|
|
15
74
|
|
|
16
75
|
> AsyncOperationResponse create(deb_verbatim_publication)
|
|
@@ -138,11 +197,12 @@ end
|
|
|
138
197
|
|
|
139
198
|
api_instance = PulpDebClient::PublicationsVerbatimApi.new
|
|
140
199
|
opts = {
|
|
141
|
-
content: 'content_example', # String | Content Unit referenced by HREF
|
|
142
|
-
content__in: 'content__in_example', # String |
|
|
200
|
+
content: 'content_example', # String | Content Unit referenced by HREF/PRN
|
|
201
|
+
content__in: ['content__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
143
202
|
limit: 56, # Integer | Number of results to return per page.
|
|
144
203
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
145
204
|
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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
205
|
+
prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
146
206
|
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created matches value
|
|
147
207
|
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
|
148
208
|
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
|
@@ -151,9 +211,9 @@ opts = {
|
|
|
151
211
|
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
|
152
212
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
153
213
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
154
|
-
q: 'q_example', # String |
|
|
155
|
-
repository: 'repository_example', # String | Repository referenced by HREF
|
|
156
|
-
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
|
214
|
+
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
215
|
+
repository: 'repository_example', # String | Repository referenced by HREF/PRN
|
|
216
|
+
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
|
157
217
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
158
218
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
159
219
|
}
|
|
@@ -172,11 +232,12 @@ end
|
|
|
172
232
|
|
|
173
233
|
Name | Type | Description | Notes
|
|
174
234
|
------------- | ------------- | ------------- | -------------
|
|
175
|
-
**content** | **String**| Content Unit referenced by HREF | [optional]
|
|
176
|
-
**content__in** | **String
|
|
235
|
+
**content** | **String**| Content Unit referenced by HREF/PRN | [optional]
|
|
236
|
+
**content__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
177
237
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
178
238
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
179
239
|
**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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
|
240
|
+
**prn__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
180
241
|
**pulp_created** | **DateTime**| Filter results where pulp_created matches value | [optional]
|
|
181
242
|
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
|
182
243
|
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
|
@@ -185,9 +246,9 @@ Name | Type | Description | Notes
|
|
|
185
246
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
|
186
247
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
187
248
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
188
|
-
**q** | **String**|
|
|
189
|
-
**repository** | **String**| Repository referenced by HREF | [optional]
|
|
190
|
-
**repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
|
|
249
|
+
**q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
|
|
250
|
+
**repository** | **String**| Repository referenced by HREF/PRN | [optional]
|
|
251
|
+
**repository_version** | [**String**](.md)| Repository Version referenced by HREF/PRN | [optional]
|
|
191
252
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
192
253
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
193
254
|
|
|
@@ -205,6 +266,124 @@ Name | Type | Description | Notes
|
|
|
205
266
|
- **Accept**: application/json
|
|
206
267
|
|
|
207
268
|
|
|
269
|
+
## list_roles
|
|
270
|
+
|
|
271
|
+
> ObjectRolesResponse list_roles(deb_verbatim_publication_href, opts)
|
|
272
|
+
|
|
273
|
+
List roles
|
|
274
|
+
|
|
275
|
+
List roles assigned to this object.
|
|
276
|
+
|
|
277
|
+
### Example
|
|
278
|
+
|
|
279
|
+
```ruby
|
|
280
|
+
# load the gem
|
|
281
|
+
require 'pulp_deb_client'
|
|
282
|
+
# setup authorization
|
|
283
|
+
PulpDebClient.configure do |config|
|
|
284
|
+
# Configure HTTP basic authorization: basicAuth
|
|
285
|
+
config.username = 'YOUR USERNAME'
|
|
286
|
+
config.password = 'YOUR PASSWORD'
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
api_instance = PulpDebClient::PublicationsVerbatimApi.new
|
|
290
|
+
deb_verbatim_publication_href = 'deb_verbatim_publication_href_example' # String |
|
|
291
|
+
opts = {
|
|
292
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
293
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
begin
|
|
297
|
+
#List roles
|
|
298
|
+
result = api_instance.list_roles(deb_verbatim_publication_href, opts)
|
|
299
|
+
p result
|
|
300
|
+
rescue PulpDebClient::ApiError => e
|
|
301
|
+
puts "Exception when calling PublicationsVerbatimApi->list_roles: #{e}"
|
|
302
|
+
end
|
|
303
|
+
```
|
|
304
|
+
|
|
305
|
+
### Parameters
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
Name | Type | Description | Notes
|
|
309
|
+
------------- | ------------- | ------------- | -------------
|
|
310
|
+
**deb_verbatim_publication_href** | **String**| |
|
|
311
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
312
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
313
|
+
|
|
314
|
+
### Return type
|
|
315
|
+
|
|
316
|
+
[**ObjectRolesResponse**](ObjectRolesResponse.md)
|
|
317
|
+
|
|
318
|
+
### Authorization
|
|
319
|
+
|
|
320
|
+
[basicAuth](../README.md#basicAuth)
|
|
321
|
+
|
|
322
|
+
### HTTP request headers
|
|
323
|
+
|
|
324
|
+
- **Content-Type**: Not defined
|
|
325
|
+
- **Accept**: application/json
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
## my_permissions
|
|
329
|
+
|
|
330
|
+
> MyPermissionsResponse my_permissions(deb_verbatim_publication_href, opts)
|
|
331
|
+
|
|
332
|
+
List user permissions
|
|
333
|
+
|
|
334
|
+
List permissions available to the current user on this object.
|
|
335
|
+
|
|
336
|
+
### Example
|
|
337
|
+
|
|
338
|
+
```ruby
|
|
339
|
+
# load the gem
|
|
340
|
+
require 'pulp_deb_client'
|
|
341
|
+
# setup authorization
|
|
342
|
+
PulpDebClient.configure do |config|
|
|
343
|
+
# Configure HTTP basic authorization: basicAuth
|
|
344
|
+
config.username = 'YOUR USERNAME'
|
|
345
|
+
config.password = 'YOUR PASSWORD'
|
|
346
|
+
end
|
|
347
|
+
|
|
348
|
+
api_instance = PulpDebClient::PublicationsVerbatimApi.new
|
|
349
|
+
deb_verbatim_publication_href = 'deb_verbatim_publication_href_example' # String |
|
|
350
|
+
opts = {
|
|
351
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
352
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
begin
|
|
356
|
+
#List user permissions
|
|
357
|
+
result = api_instance.my_permissions(deb_verbatim_publication_href, opts)
|
|
358
|
+
p result
|
|
359
|
+
rescue PulpDebClient::ApiError => e
|
|
360
|
+
puts "Exception when calling PublicationsVerbatimApi->my_permissions: #{e}"
|
|
361
|
+
end
|
|
362
|
+
```
|
|
363
|
+
|
|
364
|
+
### Parameters
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
Name | Type | Description | Notes
|
|
368
|
+
------------- | ------------- | ------------- | -------------
|
|
369
|
+
**deb_verbatim_publication_href** | **String**| |
|
|
370
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
371
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
372
|
+
|
|
373
|
+
### Return type
|
|
374
|
+
|
|
375
|
+
[**MyPermissionsResponse**](MyPermissionsResponse.md)
|
|
376
|
+
|
|
377
|
+
### Authorization
|
|
378
|
+
|
|
379
|
+
[basicAuth](../README.md#basicAuth)
|
|
380
|
+
|
|
381
|
+
### HTTP request headers
|
|
382
|
+
|
|
383
|
+
- **Content-Type**: Not defined
|
|
384
|
+
- **Accept**: application/json
|
|
385
|
+
|
|
386
|
+
|
|
208
387
|
## read
|
|
209
388
|
|
|
210
389
|
> DebVerbatimPublicationResponse read(deb_verbatim_publication_href, opts)
|
|
@@ -263,3 +442,58 @@ Name | Type | Description | Notes
|
|
|
263
442
|
- **Content-Type**: Not defined
|
|
264
443
|
- **Accept**: application/json
|
|
265
444
|
|
|
445
|
+
|
|
446
|
+
## remove_role
|
|
447
|
+
|
|
448
|
+
> NestedRoleResponse remove_role(deb_verbatim_publication_href, nested_role)
|
|
449
|
+
|
|
450
|
+
Remove a role
|
|
451
|
+
|
|
452
|
+
Remove a role for this object from users/groups.
|
|
453
|
+
|
|
454
|
+
### Example
|
|
455
|
+
|
|
456
|
+
```ruby
|
|
457
|
+
# load the gem
|
|
458
|
+
require 'pulp_deb_client'
|
|
459
|
+
# setup authorization
|
|
460
|
+
PulpDebClient.configure do |config|
|
|
461
|
+
# Configure HTTP basic authorization: basicAuth
|
|
462
|
+
config.username = 'YOUR USERNAME'
|
|
463
|
+
config.password = 'YOUR PASSWORD'
|
|
464
|
+
end
|
|
465
|
+
|
|
466
|
+
api_instance = PulpDebClient::PublicationsVerbatimApi.new
|
|
467
|
+
deb_verbatim_publication_href = 'deb_verbatim_publication_href_example' # String |
|
|
468
|
+
nested_role = PulpDebClient::NestedRole.new # NestedRole |
|
|
469
|
+
|
|
470
|
+
begin
|
|
471
|
+
#Remove a role
|
|
472
|
+
result = api_instance.remove_role(deb_verbatim_publication_href, nested_role)
|
|
473
|
+
p result
|
|
474
|
+
rescue PulpDebClient::ApiError => e
|
|
475
|
+
puts "Exception when calling PublicationsVerbatimApi->remove_role: #{e}"
|
|
476
|
+
end
|
|
477
|
+
```
|
|
478
|
+
|
|
479
|
+
### Parameters
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
Name | Type | Description | Notes
|
|
483
|
+
------------- | ------------- | ------------- | -------------
|
|
484
|
+
**deb_verbatim_publication_href** | **String**| |
|
|
485
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
486
|
+
|
|
487
|
+
### Return type
|
|
488
|
+
|
|
489
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
|
490
|
+
|
|
491
|
+
### Authorization
|
|
492
|
+
|
|
493
|
+
[basicAuth](../README.md#basicAuth)
|
|
494
|
+
|
|
495
|
+
### HTTP request headers
|
|
496
|
+
|
|
497
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
498
|
+
- **Accept**: application/json
|
|
499
|
+
|
data/docs/RemotesAptApi.md
CHANGED
|
@@ -4,17 +4,76 @@ All URIs are relative to *http://localhost:24817*
|
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
+
[**add_role**](RemotesAptApi.md#add_role) | **POST** {deb_apt_remote_href}add_role/ | Add a role
|
|
7
8
|
[**create**](RemotesAptApi.md#create) | **POST** /pulp/api/v3/remotes/deb/apt/ | Create an apt remote
|
|
8
9
|
[**delete**](RemotesAptApi.md#delete) | **DELETE** {deb_apt_remote_href} | Delete an apt remote
|
|
9
10
|
[**list**](RemotesAptApi.md#list) | **GET** /pulp/api/v3/remotes/deb/apt/ | List apt remotes
|
|
11
|
+
[**list_roles**](RemotesAptApi.md#list_roles) | **GET** {deb_apt_remote_href}list_roles/ | List roles
|
|
12
|
+
[**my_permissions**](RemotesAptApi.md#my_permissions) | **GET** {deb_apt_remote_href}my_permissions/ | List user permissions
|
|
10
13
|
[**partial_update**](RemotesAptApi.md#partial_update) | **PATCH** {deb_apt_remote_href} | Update an apt remote
|
|
11
14
|
[**read**](RemotesAptApi.md#read) | **GET** {deb_apt_remote_href} | Inspect an apt remote
|
|
15
|
+
[**remove_role**](RemotesAptApi.md#remove_role) | **POST** {deb_apt_remote_href}remove_role/ | Remove a role
|
|
12
16
|
[**set_label**](RemotesAptApi.md#set_label) | **POST** {deb_apt_remote_href}set_label/ | Set a label
|
|
13
17
|
[**unset_label**](RemotesAptApi.md#unset_label) | **POST** {deb_apt_remote_href}unset_label/ | Unset a label
|
|
14
18
|
[**update**](RemotesAptApi.md#update) | **PUT** {deb_apt_remote_href} | Update an apt remote
|
|
15
19
|
|
|
16
20
|
|
|
17
21
|
|
|
22
|
+
## add_role
|
|
23
|
+
|
|
24
|
+
> NestedRoleResponse add_role(deb_apt_remote_href, nested_role)
|
|
25
|
+
|
|
26
|
+
Add a role
|
|
27
|
+
|
|
28
|
+
Add a role for this object to users/groups.
|
|
29
|
+
|
|
30
|
+
### Example
|
|
31
|
+
|
|
32
|
+
```ruby
|
|
33
|
+
# load the gem
|
|
34
|
+
require 'pulp_deb_client'
|
|
35
|
+
# setup authorization
|
|
36
|
+
PulpDebClient.configure do |config|
|
|
37
|
+
# Configure HTTP basic authorization: basicAuth
|
|
38
|
+
config.username = 'YOUR USERNAME'
|
|
39
|
+
config.password = 'YOUR PASSWORD'
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
api_instance = PulpDebClient::RemotesAptApi.new
|
|
43
|
+
deb_apt_remote_href = 'deb_apt_remote_href_example' # String |
|
|
44
|
+
nested_role = PulpDebClient::NestedRole.new # NestedRole |
|
|
45
|
+
|
|
46
|
+
begin
|
|
47
|
+
#Add a role
|
|
48
|
+
result = api_instance.add_role(deb_apt_remote_href, nested_role)
|
|
49
|
+
p result
|
|
50
|
+
rescue PulpDebClient::ApiError => e
|
|
51
|
+
puts "Exception when calling RemotesAptApi->add_role: #{e}"
|
|
52
|
+
end
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Parameters
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
Name | Type | Description | Notes
|
|
59
|
+
------------- | ------------- | ------------- | -------------
|
|
60
|
+
**deb_apt_remote_href** | **String**| |
|
|
61
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
62
|
+
|
|
63
|
+
### Return type
|
|
64
|
+
|
|
65
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
|
66
|
+
|
|
67
|
+
### Authorization
|
|
68
|
+
|
|
69
|
+
[basicAuth](../README.md#basicAuth)
|
|
70
|
+
|
|
71
|
+
### HTTP request headers
|
|
72
|
+
|
|
73
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
74
|
+
- **Accept**: application/json
|
|
75
|
+
|
|
76
|
+
|
|
18
77
|
## create
|
|
19
78
|
|
|
20
79
|
> DebAptRemoteResponse create(deb_apt_remote)
|
|
@@ -155,6 +214,7 @@ opts = {
|
|
|
155
214
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
156
215
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
157
216
|
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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
217
|
+
prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
158
218
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
159
219
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
|
160
220
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
@@ -164,7 +224,7 @@ opts = {
|
|
|
164
224
|
pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
|
|
165
225
|
pulp_last_updated__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than or equal to value
|
|
166
226
|
pulp_last_updated__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_last_updated is between two comma separated values
|
|
167
|
-
q: 'q_example', # String |
|
|
227
|
+
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
168
228
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
169
229
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
170
230
|
}
|
|
@@ -195,6 +255,7 @@ Name | Type | Description | Notes
|
|
|
195
255
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
|
196
256
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
197
257
|
**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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
|
258
|
+
**prn__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
198
259
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
199
260
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
|
200
261
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
|
@@ -204,7 +265,7 @@ Name | Type | Description | Notes
|
|
|
204
265
|
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
|
205
266
|
**pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
|
206
267
|
**pulp_last_updated__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
|
207
|
-
**q** | **String**|
|
|
268
|
+
**q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
|
|
208
269
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
209
270
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
210
271
|
|
|
@@ -222,6 +283,124 @@ Name | Type | Description | Notes
|
|
|
222
283
|
- **Accept**: application/json
|
|
223
284
|
|
|
224
285
|
|
|
286
|
+
## list_roles
|
|
287
|
+
|
|
288
|
+
> ObjectRolesResponse list_roles(deb_apt_remote_href, opts)
|
|
289
|
+
|
|
290
|
+
List roles
|
|
291
|
+
|
|
292
|
+
List roles assigned to this object.
|
|
293
|
+
|
|
294
|
+
### Example
|
|
295
|
+
|
|
296
|
+
```ruby
|
|
297
|
+
# load the gem
|
|
298
|
+
require 'pulp_deb_client'
|
|
299
|
+
# setup authorization
|
|
300
|
+
PulpDebClient.configure do |config|
|
|
301
|
+
# Configure HTTP basic authorization: basicAuth
|
|
302
|
+
config.username = 'YOUR USERNAME'
|
|
303
|
+
config.password = 'YOUR PASSWORD'
|
|
304
|
+
end
|
|
305
|
+
|
|
306
|
+
api_instance = PulpDebClient::RemotesAptApi.new
|
|
307
|
+
deb_apt_remote_href = 'deb_apt_remote_href_example' # String |
|
|
308
|
+
opts = {
|
|
309
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
310
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
begin
|
|
314
|
+
#List roles
|
|
315
|
+
result = api_instance.list_roles(deb_apt_remote_href, opts)
|
|
316
|
+
p result
|
|
317
|
+
rescue PulpDebClient::ApiError => e
|
|
318
|
+
puts "Exception when calling RemotesAptApi->list_roles: #{e}"
|
|
319
|
+
end
|
|
320
|
+
```
|
|
321
|
+
|
|
322
|
+
### Parameters
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
Name | Type | Description | Notes
|
|
326
|
+
------------- | ------------- | ------------- | -------------
|
|
327
|
+
**deb_apt_remote_href** | **String**| |
|
|
328
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
329
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
330
|
+
|
|
331
|
+
### Return type
|
|
332
|
+
|
|
333
|
+
[**ObjectRolesResponse**](ObjectRolesResponse.md)
|
|
334
|
+
|
|
335
|
+
### Authorization
|
|
336
|
+
|
|
337
|
+
[basicAuth](../README.md#basicAuth)
|
|
338
|
+
|
|
339
|
+
### HTTP request headers
|
|
340
|
+
|
|
341
|
+
- **Content-Type**: Not defined
|
|
342
|
+
- **Accept**: application/json
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
## my_permissions
|
|
346
|
+
|
|
347
|
+
> MyPermissionsResponse my_permissions(deb_apt_remote_href, opts)
|
|
348
|
+
|
|
349
|
+
List user permissions
|
|
350
|
+
|
|
351
|
+
List permissions available to the current user on this object.
|
|
352
|
+
|
|
353
|
+
### Example
|
|
354
|
+
|
|
355
|
+
```ruby
|
|
356
|
+
# load the gem
|
|
357
|
+
require 'pulp_deb_client'
|
|
358
|
+
# setup authorization
|
|
359
|
+
PulpDebClient.configure do |config|
|
|
360
|
+
# Configure HTTP basic authorization: basicAuth
|
|
361
|
+
config.username = 'YOUR USERNAME'
|
|
362
|
+
config.password = 'YOUR PASSWORD'
|
|
363
|
+
end
|
|
364
|
+
|
|
365
|
+
api_instance = PulpDebClient::RemotesAptApi.new
|
|
366
|
+
deb_apt_remote_href = 'deb_apt_remote_href_example' # String |
|
|
367
|
+
opts = {
|
|
368
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
369
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
begin
|
|
373
|
+
#List user permissions
|
|
374
|
+
result = api_instance.my_permissions(deb_apt_remote_href, opts)
|
|
375
|
+
p result
|
|
376
|
+
rescue PulpDebClient::ApiError => e
|
|
377
|
+
puts "Exception when calling RemotesAptApi->my_permissions: #{e}"
|
|
378
|
+
end
|
|
379
|
+
```
|
|
380
|
+
|
|
381
|
+
### Parameters
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
Name | Type | Description | Notes
|
|
385
|
+
------------- | ------------- | ------------- | -------------
|
|
386
|
+
**deb_apt_remote_href** | **String**| |
|
|
387
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
388
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
389
|
+
|
|
390
|
+
### Return type
|
|
391
|
+
|
|
392
|
+
[**MyPermissionsResponse**](MyPermissionsResponse.md)
|
|
393
|
+
|
|
394
|
+
### Authorization
|
|
395
|
+
|
|
396
|
+
[basicAuth](../README.md#basicAuth)
|
|
397
|
+
|
|
398
|
+
### HTTP request headers
|
|
399
|
+
|
|
400
|
+
- **Content-Type**: Not defined
|
|
401
|
+
- **Accept**: application/json
|
|
402
|
+
|
|
403
|
+
|
|
225
404
|
## partial_update
|
|
226
405
|
|
|
227
406
|
> AsyncOperationResponse partial_update(deb_apt_remote_href, patcheddeb_apt_remote)
|
|
@@ -336,6 +515,61 @@ Name | Type | Description | Notes
|
|
|
336
515
|
- **Accept**: application/json
|
|
337
516
|
|
|
338
517
|
|
|
518
|
+
## remove_role
|
|
519
|
+
|
|
520
|
+
> NestedRoleResponse remove_role(deb_apt_remote_href, nested_role)
|
|
521
|
+
|
|
522
|
+
Remove a role
|
|
523
|
+
|
|
524
|
+
Remove a role for this object from users/groups.
|
|
525
|
+
|
|
526
|
+
### Example
|
|
527
|
+
|
|
528
|
+
```ruby
|
|
529
|
+
# load the gem
|
|
530
|
+
require 'pulp_deb_client'
|
|
531
|
+
# setup authorization
|
|
532
|
+
PulpDebClient.configure do |config|
|
|
533
|
+
# Configure HTTP basic authorization: basicAuth
|
|
534
|
+
config.username = 'YOUR USERNAME'
|
|
535
|
+
config.password = 'YOUR PASSWORD'
|
|
536
|
+
end
|
|
537
|
+
|
|
538
|
+
api_instance = PulpDebClient::RemotesAptApi.new
|
|
539
|
+
deb_apt_remote_href = 'deb_apt_remote_href_example' # String |
|
|
540
|
+
nested_role = PulpDebClient::NestedRole.new # NestedRole |
|
|
541
|
+
|
|
542
|
+
begin
|
|
543
|
+
#Remove a role
|
|
544
|
+
result = api_instance.remove_role(deb_apt_remote_href, nested_role)
|
|
545
|
+
p result
|
|
546
|
+
rescue PulpDebClient::ApiError => e
|
|
547
|
+
puts "Exception when calling RemotesAptApi->remove_role: #{e}"
|
|
548
|
+
end
|
|
549
|
+
```
|
|
550
|
+
|
|
551
|
+
### Parameters
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
Name | Type | Description | Notes
|
|
555
|
+
------------- | ------------- | ------------- | -------------
|
|
556
|
+
**deb_apt_remote_href** | **String**| |
|
|
557
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
558
|
+
|
|
559
|
+
### Return type
|
|
560
|
+
|
|
561
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
|
562
|
+
|
|
563
|
+
### Authorization
|
|
564
|
+
|
|
565
|
+
[basicAuth](../README.md#basicAuth)
|
|
566
|
+
|
|
567
|
+
### HTTP request headers
|
|
568
|
+
|
|
569
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
570
|
+
- **Accept**: application/json
|
|
571
|
+
|
|
572
|
+
|
|
339
573
|
## set_label
|
|
340
574
|
|
|
341
575
|
> SetLabelResponse set_label(deb_apt_remote_href, set_label)
|