pulpcore_client 3.5.0 → 3.6.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 +88 -44
- data/docs/AccessPoliciesApi.md +244 -0
- data/docs/AccessPolicy.md +21 -0
- data/docs/AccessPolicyResponse.md +25 -0
- data/docs/Artifact.md +2 -6
- data/docs/ArtifactResponse.md +35 -0
- data/docs/ArtifactsApi.md +40 -34
- data/docs/{ContentAppStatus.md → ContentAppStatusResponse.md} +2 -2
- data/docs/{DatabaseConnection.md → DatabaseConnectionResponse.md} +2 -2
- data/docs/ExportersCoreExportsApi.md +33 -33
- data/docs/ExportersPulpApi.md +51 -51
- data/docs/Group.md +17 -0
- data/docs/{GroupProgressReport.md → GroupProgressReportResponse.md} +2 -2
- data/docs/GroupResponse.md +21 -0
- data/docs/GroupUser.md +17 -0
- data/docs/GroupUserResponse.md +19 -0
- data/docs/GroupsApi.md +351 -0
- data/docs/GroupsModelPermissionsApi.md +128 -0
- data/docs/GroupsObjectPermissionsApi.md +247 -0
- data/docs/GroupsUsersApi.md +183 -0
- data/docs/{Import.md → ImportResponse.md} +2 -2
- data/docs/ImportersCoreImportsApi.md +33 -33
- data/docs/ImportersPulpApi.md +51 -51
- data/docs/InlineResponse200.md +3 -3
- data/docs/InlineResponse2001.md +3 -3
- data/docs/InlineResponse20010.md +23 -0
- data/docs/InlineResponse20011.md +23 -0
- data/docs/InlineResponse20012.md +23 -0
- data/docs/InlineResponse20013.md +23 -0
- data/docs/InlineResponse20014.md +23 -0
- data/docs/InlineResponse2002.md +3 -3
- data/docs/InlineResponse2003.md +3 -3
- data/docs/InlineResponse2004.md +3 -3
- data/docs/InlineResponse2005.md +3 -3
- data/docs/InlineResponse2006.md +3 -3
- data/docs/InlineResponse2007.md +3 -3
- data/docs/InlineResponse2008.md +3 -3
- data/docs/InlineResponse2009.md +3 -3
- data/docs/OrphansApi.md +2 -2
- data/docs/PatchedAccessPolicy.md +21 -0
- data/docs/PatchedGroup.md +17 -0
- data/docs/PatchedPulpExporter.md +23 -0
- data/docs/PatchedPulpImporter.md +19 -0
- data/docs/{TaskCancel.md → PatchedTaskCancel.md} +3 -3
- data/docs/PermissionResponse.md +23 -0
- data/docs/{ProgressReport.md → ProgressReportResponse.md} +2 -2
- data/docs/PulpExport.md +11 -11
- data/docs/PulpExportResponse.md +27 -0
- data/docs/PulpExporter.md +1 -5
- data/docs/PulpExporterResponse.md +27 -0
- data/docs/PulpImport.md +4 -2
- data/docs/PulpImporter.md +2 -6
- data/docs/PulpImporterResponse.md +23 -0
- data/docs/{RedisConnection.md → RedisConnectionResponse.md} +2 -2
- data/docs/{SigningService.md → SigningServiceResponse.md} +2 -2
- data/docs/SigningServicesApi.md +14 -14
- data/docs/StatusApi.md +8 -22
- data/docs/StatusResponse.md +27 -0
- data/docs/{Storage.md → StorageResponse.md} +2 -2
- data/docs/{TaskGroup.md → TaskGroupResponse.md} +3 -3
- data/docs/TaskGroupsApi.md +16 -12
- data/docs/{Task.md → TaskResponse.md} +5 -7
- data/docs/TasksApi.md +144 -88
- data/docs/Upload.md +1 -7
- data/docs/UploadChunk.md +2 -6
- data/docs/UploadChunkResponse.md +19 -0
- data/docs/{UploadDetail.md → UploadDetailResponse.md} +3 -3
- data/docs/UploadResponse.md +23 -0
- data/docs/UploadsApi.md +42 -40
- data/docs/UserGroupResponse.md +19 -0
- data/docs/UserResponse.md +35 -0
- data/docs/UsersApi.md +191 -0
- data/docs/{Version.md → VersionResponse.md} +2 -2
- data/docs/{Worker.md → WorkerResponse.md} +2 -2
- data/docs/WorkersApi.md +36 -32
- data/lib/pulpcore_client/api/access_policies_api.rb +301 -0
- data/lib/pulpcore_client/api/artifacts_api.rb +47 -65
- data/lib/pulpcore_client/api/exporters_core_exports_api.rb +51 -51
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +71 -71
- data/lib/pulpcore_client/api/groups_api.rb +425 -0
- data/lib/pulpcore_client/api/groups_model_permissions_api.rb +161 -0
- data/lib/pulpcore_client/api/groups_object_permissions_api.rb +295 -0
- data/lib/pulpcore_client/api/groups_users_api.rb +229 -0
- data/lib/pulpcore_client/api/importers_core_imports_api.rb +51 -51
- data/lib/pulpcore_client/api/importers_pulp_api.rb +71 -71
- data/lib/pulpcore_client/api/orphans_api.rb +3 -3
- data/lib/pulpcore_client/api/signing_services_api.rb +18 -18
- data/lib/pulpcore_client/api/status_api.rb +11 -17
- data/lib/pulpcore_client/api/task_groups_api.rb +19 -15
- data/lib/pulpcore_client/api/tasks_api.rb +203 -125
- data/lib/pulpcore_client/api/uploads_api.rb +60 -66
- data/lib/pulpcore_client/api/users_api.rb +227 -0
- data/lib/pulpcore_client/api/workers_api.rb +46 -42
- data/lib/pulpcore_client/api_client.rb +2 -2
- data/lib/pulpcore_client/api_error.rb +2 -2
- data/lib/pulpcore_client/configuration.rb +3 -3
- data/lib/pulpcore_client/models/access_policy.rb +247 -0
- data/lib/pulpcore_client/models/access_policy_response.rb +266 -0
- data/lib/pulpcore_client/models/artifact.rb +8 -111
- data/lib/pulpcore_client/models/artifact_response.rb +308 -0
- data/lib/pulpcore_client/models/async_operation_response.rb +3 -2
- data/lib/pulpcore_client/models/{content_app_status.rb → content_app_status_response.rb} +6 -21
- data/lib/pulpcore_client/models/{database_connection.rb → database_connection_response.rb} +6 -6
- data/lib/pulpcore_client/models/group.rb +232 -0
- data/lib/pulpcore_client/models/{group_progress_report.rb → group_progress_report_response.rb} +6 -50
- data/lib/pulpcore_client/models/group_response.rb +250 -0
- data/lib/pulpcore_client/models/group_user.rb +232 -0
- data/lib/pulpcore_client/models/group_user_response.rb +241 -0
- data/lib/pulpcore_client/models/{import.rb → import_response.rb} +6 -5
- data/lib/pulpcore_client/models/inline_response200.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2001.rb +3 -13
- data/lib/pulpcore_client/models/inline_response20010.rb +237 -0
- data/lib/pulpcore_client/models/inline_response20011.rb +237 -0
- data/lib/pulpcore_client/models/inline_response20012.rb +237 -0
- data/lib/pulpcore_client/models/inline_response20013.rb +237 -0
- data/lib/pulpcore_client/models/inline_response20014.rb +237 -0
- data/lib/pulpcore_client/models/inline_response2002.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2003.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2004.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2005.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2006.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2007.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2008.rb +3 -13
- data/lib/pulpcore_client/models/inline_response2009.rb +3 -13
- data/lib/pulpcore_client/models/patched_access_policy.rb +232 -0
- data/lib/pulpcore_client/models/patched_group.rb +223 -0
- data/lib/pulpcore_client/models/patched_pulp_exporter.rb +240 -0
- data/lib/pulpcore_client/models/patched_pulp_importer.rb +218 -0
- data/lib/pulpcore_client/models/{task_cancel.rb → patched_task_cancel.rb} +6 -29
- data/lib/pulpcore_client/models/permission_response.rb +235 -0
- data/lib/pulpcore_client/models/{progress_report.rb → progress_report_response.rb} +6 -65
- data/lib/pulpcore_client/models/pulp_export.rb +50 -42
- data/lib/pulpcore_client/models/pulp_export_response.rb +260 -0
- data/lib/pulpcore_client/models/pulp_exporter.rb +4 -60
- data/lib/pulpcore_client/models/pulp_exporter_response.rb +274 -0
- data/lib/pulpcore_client/models/pulp_import.rb +17 -30
- data/lib/pulpcore_client/models/pulp_importer.rb +6 -45
- data/lib/pulpcore_client/models/pulp_importer_response.rb +242 -0
- data/lib/pulpcore_client/models/{redis_connection.rb → redis_connection_response.rb} +6 -6
- data/lib/pulpcore_client/models/{signing_service.rb → signing_service_response.rb} +6 -43
- data/lib/pulpcore_client/models/{status.rb → status_response.rb} +15 -11
- data/lib/pulpcore_client/models/{storage.rb → storage_response.rb} +6 -6
- data/lib/pulpcore_client/models/{task_group.rb → task_group_response.rb} +7 -25
- data/lib/pulpcore_client/models/{task.rb → task_response.rb} +13 -59
- data/lib/pulpcore_client/models/upload.rb +7 -35
- data/lib/pulpcore_client/models/upload_chunk.rb +11 -39
- data/lib/pulpcore_client/models/upload_chunk_response.rb +215 -0
- data/lib/pulpcore_client/models/upload_commit.rb +2 -21
- data/lib/pulpcore_client/models/{upload_detail.rb → upload_detail_response.rb} +7 -6
- data/lib/pulpcore_client/models/upload_response.rb +242 -0
- data/lib/pulpcore_client/models/user_group_response.rb +241 -0
- data/lib/pulpcore_client/models/user_response.rb +378 -0
- data/lib/pulpcore_client/models/{version.rb → version_response.rb} +6 -44
- data/lib/pulpcore_client/models/{worker.rb → worker_response.rb} +6 -21
- data/lib/pulpcore_client/version.rb +3 -3
- data/lib/pulpcore_client.rb +47 -17
- data/pulpcore_client.gemspec +4 -4
- data/spec/api/access_policies_api_spec.rb +91 -0
- data/spec/api/artifacts_api_spec.rb +18 -15
- data/spec/api/exporters_core_exports_api_spec.rb +10 -10
- data/spec/api/exporters_pulp_api_spec.rb +18 -18
- data/spec/api/groups_api_spec.rb +115 -0
- data/spec/api/groups_model_permissions_api_spec.rb +64 -0
- data/spec/api/groups_object_permissions_api_spec.rb +92 -0
- data/spec/api/groups_users_api_spec.rb +77 -0
- data/spec/api/importers_core_imports_api_spec.rb +10 -10
- data/spec/api/importers_pulp_api_spec.rb +18 -18
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/signing_services_api_spec.rb +7 -7
- data/spec/api/status_api_spec.rb +5 -7
- data/spec/api/task_groups_api_spec.rb +8 -6
- data/spec/api/tasks_api_spec.rb +69 -42
- data/spec/api/uploads_api_spec.rb +14 -13
- data/spec/api/users_api_spec.rb +78 -0
- data/spec/api/workers_api_spec.rb +18 -16
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/access_policy_response_spec.rb +65 -0
- data/spec/models/access_policy_spec.rb +53 -0
- data/spec/models/artifact_response_spec.rb +95 -0
- data/spec/models/artifact_spec.rb +2 -14
- data/spec/models/async_operation_response_spec.rb +2 -2
- data/spec/models/{content_app_status_spec.rb → content_app_status_response_spec.rb} +8 -8
- data/spec/models/{database_connection_spec.rb → database_connection_response_spec.rb} +8 -8
- data/spec/models/{group_progress_report_spec.rb → group_progress_report_response_spec.rb} +8 -8
- data/spec/models/group_response_spec.rb +53 -0
- data/spec/models/group_spec.rb +41 -0
- data/spec/models/group_user_response_spec.rb +47 -0
- data/spec/models/group_user_spec.rb +41 -0
- data/spec/models/{import_spec.rb → import_response_spec.rb} +8 -8
- data/spec/models/inline_response20010_spec.rb +59 -0
- data/spec/models/inline_response20011_spec.rb +59 -0
- data/spec/models/inline_response20012_spec.rb +59 -0
- data/spec/models/inline_response20013_spec.rb +59 -0
- data/spec/models/inline_response20014_spec.rb +59 -0
- data/spec/models/inline_response2001_spec.rb +2 -2
- data/spec/models/inline_response2002_spec.rb +2 -2
- data/spec/models/inline_response2003_spec.rb +2 -2
- data/spec/models/inline_response2004_spec.rb +2 -2
- data/spec/models/inline_response2005_spec.rb +2 -2
- data/spec/models/inline_response2006_spec.rb +2 -2
- data/spec/models/inline_response2007_spec.rb +2 -2
- data/spec/models/inline_response2008_spec.rb +2 -2
- data/spec/models/inline_response2009_spec.rb +2 -2
- data/spec/models/inline_response200_spec.rb +2 -2
- data/spec/models/patched_access_policy_spec.rb +53 -0
- data/spec/models/patched_group_spec.rb +41 -0
- data/spec/models/patched_pulp_exporter_spec.rb +59 -0
- data/spec/models/patched_pulp_importer_spec.rb +47 -0
- data/spec/models/{task_cancel_spec.rb → patched_task_cancel_spec.rb} +8 -8
- data/spec/models/permission_response_spec.rb +59 -0
- data/spec/models/{progress_report_spec.rb → progress_report_response_spec.rb} +8 -8
- data/spec/models/pulp_export_response_spec.rb +71 -0
- data/spec/models/pulp_export_spec.rb +8 -8
- data/spec/models/pulp_exporter_response_spec.rb +71 -0
- data/spec/models/pulp_exporter_spec.rb +2 -14
- data/spec/models/pulp_import_spec.rb +8 -2
- data/spec/models/pulp_importer_response_spec.rb +59 -0
- data/spec/models/pulp_importer_spec.rb +2 -14
- data/spec/models/{redis_connection_spec.rb → redis_connection_response_spec.rb} +8 -8
- data/spec/models/{signing_service_spec.rb → signing_service_response_spec.rb} +8 -8
- data/spec/models/{status_spec.rb → status_response_spec.rb} +8 -8
- data/spec/models/{storage_spec.rb → storage_response_spec.rb} +8 -8
- data/spec/models/{task_group_spec.rb → task_group_response_spec.rb} +8 -8
- data/spec/models/{task_spec.rb → task_response_spec.rb} +8 -14
- data/spec/models/upload_chunk_response_spec.rb +47 -0
- data/spec/models/upload_chunk_spec.rb +2 -14
- data/spec/models/upload_commit_spec.rb +2 -2
- data/spec/models/{upload_detail_spec.rb → upload_detail_response_spec.rb} +8 -8
- data/spec/models/upload_response_spec.rb +59 -0
- data/spec/models/upload_spec.rb +2 -20
- data/spec/models/user_group_response_spec.rb +47 -0
- data/spec/models/user_response_spec.rb +95 -0
- data/spec/models/{version_spec.rb → version_response_spec.rb} +8 -8
- data/spec/models/{worker_spec.rb → worker_response_spec.rb} +8 -8
- data/spec/spec_helper.rb +2 -2
- metadata +204 -84
- data/docs/Status.md +0 -27
data/docs/GroupsApi.md
ADDED
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
# PulpcoreClient::GroupsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://pulp*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**create**](GroupsApi.md#create) | **POST** /pulp/api/v3/groups/ | Create a group
|
|
8
|
+
[**delete**](GroupsApi.md#delete) | **DELETE** {auth_group_href} | Delete a group
|
|
9
|
+
[**list**](GroupsApi.md#list) | **GET** /pulp/api/v3/groups/ | List groups
|
|
10
|
+
[**partial_update**](GroupsApi.md#partial_update) | **PATCH** {auth_group_href} | Update a group
|
|
11
|
+
[**read**](GroupsApi.md#read) | **GET** {auth_group_href} | Inspect a group
|
|
12
|
+
[**update**](GroupsApi.md#update) | **PUT** {auth_group_href} | Update a group
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## create
|
|
17
|
+
|
|
18
|
+
> GroupResponse create(group)
|
|
19
|
+
|
|
20
|
+
Create a group
|
|
21
|
+
|
|
22
|
+
ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
23
|
+
|
|
24
|
+
### Example
|
|
25
|
+
|
|
26
|
+
```ruby
|
|
27
|
+
# load the gem
|
|
28
|
+
require 'pulpcore_client'
|
|
29
|
+
# setup authorization
|
|
30
|
+
PulpcoreClient.configure do |config|
|
|
31
|
+
# Configure HTTP basic authorization: basicAuth
|
|
32
|
+
config.username = 'YOUR USERNAME'
|
|
33
|
+
config.password = 'YOUR PASSWORD'
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
api_instance = PulpcoreClient::GroupsApi.new
|
|
37
|
+
group = PulpcoreClient::Group.new # Group |
|
|
38
|
+
|
|
39
|
+
begin
|
|
40
|
+
#Create a group
|
|
41
|
+
result = api_instance.create(group)
|
|
42
|
+
p result
|
|
43
|
+
rescue PulpcoreClient::ApiError => e
|
|
44
|
+
puts "Exception when calling GroupsApi->create: #{e}"
|
|
45
|
+
end
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Parameters
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
Name | Type | Description | Notes
|
|
52
|
+
------------- | ------------- | ------------- | -------------
|
|
53
|
+
**group** | [**Group**](Group.md)| |
|
|
54
|
+
|
|
55
|
+
### Return type
|
|
56
|
+
|
|
57
|
+
[**GroupResponse**](GroupResponse.md)
|
|
58
|
+
|
|
59
|
+
### Authorization
|
|
60
|
+
|
|
61
|
+
[basicAuth](../README.md#basicAuth)
|
|
62
|
+
|
|
63
|
+
### HTTP request headers
|
|
64
|
+
|
|
65
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
66
|
+
- **Accept**: application/json
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
## delete
|
|
70
|
+
|
|
71
|
+
> delete(auth_group_href)
|
|
72
|
+
|
|
73
|
+
Delete a group
|
|
74
|
+
|
|
75
|
+
ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
76
|
+
|
|
77
|
+
### Example
|
|
78
|
+
|
|
79
|
+
```ruby
|
|
80
|
+
# load the gem
|
|
81
|
+
require 'pulpcore_client'
|
|
82
|
+
# setup authorization
|
|
83
|
+
PulpcoreClient.configure do |config|
|
|
84
|
+
# Configure HTTP basic authorization: basicAuth
|
|
85
|
+
config.username = 'YOUR USERNAME'
|
|
86
|
+
config.password = 'YOUR PASSWORD'
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
api_instance = PulpcoreClient::GroupsApi.new
|
|
90
|
+
auth_group_href = 'auth_group_href_example' # String |
|
|
91
|
+
|
|
92
|
+
begin
|
|
93
|
+
#Delete a group
|
|
94
|
+
api_instance.delete(auth_group_href)
|
|
95
|
+
rescue PulpcoreClient::ApiError => e
|
|
96
|
+
puts "Exception when calling GroupsApi->delete: #{e}"
|
|
97
|
+
end
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Parameters
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
Name | Type | Description | Notes
|
|
104
|
+
------------- | ------------- | ------------- | -------------
|
|
105
|
+
**auth_group_href** | **String**| |
|
|
106
|
+
|
|
107
|
+
### Return type
|
|
108
|
+
|
|
109
|
+
nil (empty response body)
|
|
110
|
+
|
|
111
|
+
### Authorization
|
|
112
|
+
|
|
113
|
+
[basicAuth](../README.md#basicAuth)
|
|
114
|
+
|
|
115
|
+
### HTTP request headers
|
|
116
|
+
|
|
117
|
+
- **Content-Type**: Not defined
|
|
118
|
+
- **Accept**: Not defined
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
## list
|
|
122
|
+
|
|
123
|
+
> InlineResponse2004 list(opts)
|
|
124
|
+
|
|
125
|
+
List groups
|
|
126
|
+
|
|
127
|
+
ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
128
|
+
|
|
129
|
+
### Example
|
|
130
|
+
|
|
131
|
+
```ruby
|
|
132
|
+
# load the gem
|
|
133
|
+
require 'pulpcore_client'
|
|
134
|
+
# setup authorization
|
|
135
|
+
PulpcoreClient.configure do |config|
|
|
136
|
+
# Configure HTTP basic authorization: basicAuth
|
|
137
|
+
config.username = 'YOUR USERNAME'
|
|
138
|
+
config.password = 'YOUR PASSWORD'
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
api_instance = PulpcoreClient::GroupsApi.new
|
|
142
|
+
opts = {
|
|
143
|
+
limit: 56, # Integer | Number of results to return per page.
|
|
144
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
|
145
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
146
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
147
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
begin
|
|
151
|
+
#List groups
|
|
152
|
+
result = api_instance.list(opts)
|
|
153
|
+
p result
|
|
154
|
+
rescue PulpcoreClient::ApiError => e
|
|
155
|
+
puts "Exception when calling GroupsApi->list: #{e}"
|
|
156
|
+
end
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
### Parameters
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
Name | Type | Description | Notes
|
|
163
|
+
------------- | ------------- | ------------- | -------------
|
|
164
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
165
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
166
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
167
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
168
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
169
|
+
|
|
170
|
+
### Return type
|
|
171
|
+
|
|
172
|
+
[**InlineResponse2004**](InlineResponse2004.md)
|
|
173
|
+
|
|
174
|
+
### Authorization
|
|
175
|
+
|
|
176
|
+
[basicAuth](../README.md#basicAuth)
|
|
177
|
+
|
|
178
|
+
### HTTP request headers
|
|
179
|
+
|
|
180
|
+
- **Content-Type**: Not defined
|
|
181
|
+
- **Accept**: application/json
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
## partial_update
|
|
185
|
+
|
|
186
|
+
> GroupResponse partial_update(auth_group_href, patched_group)
|
|
187
|
+
|
|
188
|
+
Update a group
|
|
189
|
+
|
|
190
|
+
ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
191
|
+
|
|
192
|
+
### Example
|
|
193
|
+
|
|
194
|
+
```ruby
|
|
195
|
+
# load the gem
|
|
196
|
+
require 'pulpcore_client'
|
|
197
|
+
# setup authorization
|
|
198
|
+
PulpcoreClient.configure do |config|
|
|
199
|
+
# Configure HTTP basic authorization: basicAuth
|
|
200
|
+
config.username = 'YOUR USERNAME'
|
|
201
|
+
config.password = 'YOUR PASSWORD'
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
api_instance = PulpcoreClient::GroupsApi.new
|
|
205
|
+
auth_group_href = 'auth_group_href_example' # String |
|
|
206
|
+
patched_group = PulpcoreClient::PatchedGroup.new # PatchedGroup |
|
|
207
|
+
|
|
208
|
+
begin
|
|
209
|
+
#Update a group
|
|
210
|
+
result = api_instance.partial_update(auth_group_href, patched_group)
|
|
211
|
+
p result
|
|
212
|
+
rescue PulpcoreClient::ApiError => e
|
|
213
|
+
puts "Exception when calling GroupsApi->partial_update: #{e}"
|
|
214
|
+
end
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
### Parameters
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
Name | Type | Description | Notes
|
|
221
|
+
------------- | ------------- | ------------- | -------------
|
|
222
|
+
**auth_group_href** | **String**| |
|
|
223
|
+
**patched_group** | [**PatchedGroup**](PatchedGroup.md)| |
|
|
224
|
+
|
|
225
|
+
### Return type
|
|
226
|
+
|
|
227
|
+
[**GroupResponse**](GroupResponse.md)
|
|
228
|
+
|
|
229
|
+
### Authorization
|
|
230
|
+
|
|
231
|
+
[basicAuth](../README.md#basicAuth)
|
|
232
|
+
|
|
233
|
+
### HTTP request headers
|
|
234
|
+
|
|
235
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
236
|
+
- **Accept**: application/json
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
## read
|
|
240
|
+
|
|
241
|
+
> GroupResponse read(auth_group_href, opts)
|
|
242
|
+
|
|
243
|
+
Inspect a group
|
|
244
|
+
|
|
245
|
+
ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
246
|
+
|
|
247
|
+
### Example
|
|
248
|
+
|
|
249
|
+
```ruby
|
|
250
|
+
# load the gem
|
|
251
|
+
require 'pulpcore_client'
|
|
252
|
+
# setup authorization
|
|
253
|
+
PulpcoreClient.configure do |config|
|
|
254
|
+
# Configure HTTP basic authorization: basicAuth
|
|
255
|
+
config.username = 'YOUR USERNAME'
|
|
256
|
+
config.password = 'YOUR PASSWORD'
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
api_instance = PulpcoreClient::GroupsApi.new
|
|
260
|
+
auth_group_href = 'auth_group_href_example' # String |
|
|
261
|
+
opts = {
|
|
262
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
263
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
begin
|
|
267
|
+
#Inspect a group
|
|
268
|
+
result = api_instance.read(auth_group_href, opts)
|
|
269
|
+
p result
|
|
270
|
+
rescue PulpcoreClient::ApiError => e
|
|
271
|
+
puts "Exception when calling GroupsApi->read: #{e}"
|
|
272
|
+
end
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
### Parameters
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
Name | Type | Description | Notes
|
|
279
|
+
------------- | ------------- | ------------- | -------------
|
|
280
|
+
**auth_group_href** | **String**| |
|
|
281
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
282
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
283
|
+
|
|
284
|
+
### Return type
|
|
285
|
+
|
|
286
|
+
[**GroupResponse**](GroupResponse.md)
|
|
287
|
+
|
|
288
|
+
### Authorization
|
|
289
|
+
|
|
290
|
+
[basicAuth](../README.md#basicAuth)
|
|
291
|
+
|
|
292
|
+
### HTTP request headers
|
|
293
|
+
|
|
294
|
+
- **Content-Type**: Not defined
|
|
295
|
+
- **Accept**: application/json
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
## update
|
|
299
|
+
|
|
300
|
+
> GroupResponse update(auth_group_href, group)
|
|
301
|
+
|
|
302
|
+
Update a group
|
|
303
|
+
|
|
304
|
+
ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
|
305
|
+
|
|
306
|
+
### Example
|
|
307
|
+
|
|
308
|
+
```ruby
|
|
309
|
+
# load the gem
|
|
310
|
+
require 'pulpcore_client'
|
|
311
|
+
# setup authorization
|
|
312
|
+
PulpcoreClient.configure do |config|
|
|
313
|
+
# Configure HTTP basic authorization: basicAuth
|
|
314
|
+
config.username = 'YOUR USERNAME'
|
|
315
|
+
config.password = 'YOUR PASSWORD'
|
|
316
|
+
end
|
|
317
|
+
|
|
318
|
+
api_instance = PulpcoreClient::GroupsApi.new
|
|
319
|
+
auth_group_href = 'auth_group_href_example' # String |
|
|
320
|
+
group = PulpcoreClient::Group.new # Group |
|
|
321
|
+
|
|
322
|
+
begin
|
|
323
|
+
#Update a group
|
|
324
|
+
result = api_instance.update(auth_group_href, group)
|
|
325
|
+
p result
|
|
326
|
+
rescue PulpcoreClient::ApiError => e
|
|
327
|
+
puts "Exception when calling GroupsApi->update: #{e}"
|
|
328
|
+
end
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
### Parameters
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
Name | Type | Description | Notes
|
|
335
|
+
------------- | ------------- | ------------- | -------------
|
|
336
|
+
**auth_group_href** | **String**| |
|
|
337
|
+
**group** | [**Group**](Group.md)| |
|
|
338
|
+
|
|
339
|
+
### Return type
|
|
340
|
+
|
|
341
|
+
[**GroupResponse**](GroupResponse.md)
|
|
342
|
+
|
|
343
|
+
### Authorization
|
|
344
|
+
|
|
345
|
+
[basicAuth](../README.md#basicAuth)
|
|
346
|
+
|
|
347
|
+
### HTTP request headers
|
|
348
|
+
|
|
349
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
350
|
+
- **Accept**: application/json
|
|
351
|
+
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# PulpcoreClient::GroupsModelPermissionsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://pulp*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**create**](GroupsModelPermissionsApi.md#create) | **POST** {auth_auth_groups_permission_href}model_permissions/ | Create a permission
|
|
8
|
+
[**list**](GroupsModelPermissionsApi.md#list) | **GET** {auth_group_href}model_permissions/ | List permissions
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## create
|
|
13
|
+
|
|
14
|
+
> PermissionResponse create(auth_auth_groups_permission_href)
|
|
15
|
+
|
|
16
|
+
Create a permission
|
|
17
|
+
|
|
18
|
+
Add a model permission to a group.
|
|
19
|
+
|
|
20
|
+
### Example
|
|
21
|
+
|
|
22
|
+
```ruby
|
|
23
|
+
# load the gem
|
|
24
|
+
require 'pulpcore_client'
|
|
25
|
+
# setup authorization
|
|
26
|
+
PulpcoreClient.configure do |config|
|
|
27
|
+
# Configure HTTP basic authorization: basicAuth
|
|
28
|
+
config.username = 'YOUR USERNAME'
|
|
29
|
+
config.password = 'YOUR PASSWORD'
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
api_instance = PulpcoreClient::GroupsModelPermissionsApi.new
|
|
33
|
+
auth_auth_groups_permission_href = 'auth_auth_groups_permission_href_example' # String |
|
|
34
|
+
|
|
35
|
+
begin
|
|
36
|
+
#Create a permission
|
|
37
|
+
result = api_instance.create(auth_auth_groups_permission_href)
|
|
38
|
+
p result
|
|
39
|
+
rescue PulpcoreClient::ApiError => e
|
|
40
|
+
puts "Exception when calling GroupsModelPermissionsApi->create: #{e}"
|
|
41
|
+
end
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Parameters
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
Name | Type | Description | Notes
|
|
48
|
+
------------- | ------------- | ------------- | -------------
|
|
49
|
+
**auth_auth_groups_permission_href** | **String**| |
|
|
50
|
+
|
|
51
|
+
### Return type
|
|
52
|
+
|
|
53
|
+
[**PermissionResponse**](PermissionResponse.md)
|
|
54
|
+
|
|
55
|
+
### Authorization
|
|
56
|
+
|
|
57
|
+
[basicAuth](../README.md#basicAuth)
|
|
58
|
+
|
|
59
|
+
### HTTP request headers
|
|
60
|
+
|
|
61
|
+
- **Content-Type**: Not defined
|
|
62
|
+
- **Accept**: application/json
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
## list
|
|
66
|
+
|
|
67
|
+
> InlineResponse2005 list(auth_group_href, opts)
|
|
68
|
+
|
|
69
|
+
List permissions
|
|
70
|
+
|
|
71
|
+
List group permissions.
|
|
72
|
+
|
|
73
|
+
### Example
|
|
74
|
+
|
|
75
|
+
```ruby
|
|
76
|
+
# load the gem
|
|
77
|
+
require 'pulpcore_client'
|
|
78
|
+
# setup authorization
|
|
79
|
+
PulpcoreClient.configure do |config|
|
|
80
|
+
# Configure HTTP basic authorization: basicAuth
|
|
81
|
+
config.username = 'YOUR USERNAME'
|
|
82
|
+
config.password = 'YOUR PASSWORD'
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
api_instance = PulpcoreClient::GroupsModelPermissionsApi.new
|
|
86
|
+
auth_group_href = 'auth_group_href_example' # String |
|
|
87
|
+
opts = {
|
|
88
|
+
limit: 56, # Integer | Number of results to return per page.
|
|
89
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
|
90
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
91
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
92
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
begin
|
|
96
|
+
#List permissions
|
|
97
|
+
result = api_instance.list(auth_group_href, opts)
|
|
98
|
+
p result
|
|
99
|
+
rescue PulpcoreClient::ApiError => e
|
|
100
|
+
puts "Exception when calling GroupsModelPermissionsApi->list: #{e}"
|
|
101
|
+
end
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### Parameters
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
Name | Type | Description | Notes
|
|
108
|
+
------------- | ------------- | ------------- | -------------
|
|
109
|
+
**auth_group_href** | **String**| |
|
|
110
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
111
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
112
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
113
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
114
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
115
|
+
|
|
116
|
+
### Return type
|
|
117
|
+
|
|
118
|
+
[**InlineResponse2005**](InlineResponse2005.md)
|
|
119
|
+
|
|
120
|
+
### Authorization
|
|
121
|
+
|
|
122
|
+
[basicAuth](../README.md#basicAuth)
|
|
123
|
+
|
|
124
|
+
### HTTP request headers
|
|
125
|
+
|
|
126
|
+
- **Content-Type**: Not defined
|
|
127
|
+
- **Accept**: application/json
|
|
128
|
+
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
# PulpcoreClient::GroupsObjectPermissionsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://pulp*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**create**](GroupsObjectPermissionsApi.md#create) | **POST** {auth_auth_groups_permission_href}object_permissions/ | Create a permission
|
|
8
|
+
[**delete**](GroupsObjectPermissionsApi.md#delete) | **DELETE** {auth_auth_groups_permission_href} | Delete a permission
|
|
9
|
+
[**list**](GroupsObjectPermissionsApi.md#list) | **GET** {auth_group_href}object_permissions/ | List permissions
|
|
10
|
+
[**read**](GroupsObjectPermissionsApi.md#read) | **GET** {auth_auth_groups_permission_href} | Inspect a permission
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## create
|
|
15
|
+
|
|
16
|
+
> PermissionResponse create(auth_auth_groups_permission_href)
|
|
17
|
+
|
|
18
|
+
Create a permission
|
|
19
|
+
|
|
20
|
+
Add an object permission to a group.
|
|
21
|
+
|
|
22
|
+
### Example
|
|
23
|
+
|
|
24
|
+
```ruby
|
|
25
|
+
# load the gem
|
|
26
|
+
require 'pulpcore_client'
|
|
27
|
+
# setup authorization
|
|
28
|
+
PulpcoreClient.configure do |config|
|
|
29
|
+
# Configure HTTP basic authorization: basicAuth
|
|
30
|
+
config.username = 'YOUR USERNAME'
|
|
31
|
+
config.password = 'YOUR PASSWORD'
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
api_instance = PulpcoreClient::GroupsObjectPermissionsApi.new
|
|
35
|
+
auth_auth_groups_permission_href = 'auth_auth_groups_permission_href_example' # String |
|
|
36
|
+
|
|
37
|
+
begin
|
|
38
|
+
#Create a permission
|
|
39
|
+
result = api_instance.create(auth_auth_groups_permission_href)
|
|
40
|
+
p result
|
|
41
|
+
rescue PulpcoreClient::ApiError => e
|
|
42
|
+
puts "Exception when calling GroupsObjectPermissionsApi->create: #{e}"
|
|
43
|
+
end
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Parameters
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
Name | Type | Description | Notes
|
|
50
|
+
------------- | ------------- | ------------- | -------------
|
|
51
|
+
**auth_auth_groups_permission_href** | **String**| |
|
|
52
|
+
|
|
53
|
+
### Return type
|
|
54
|
+
|
|
55
|
+
[**PermissionResponse**](PermissionResponse.md)
|
|
56
|
+
|
|
57
|
+
### Authorization
|
|
58
|
+
|
|
59
|
+
[basicAuth](../README.md#basicAuth)
|
|
60
|
+
|
|
61
|
+
### HTTP request headers
|
|
62
|
+
|
|
63
|
+
- **Content-Type**: Not defined
|
|
64
|
+
- **Accept**: application/json
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
## delete
|
|
68
|
+
|
|
69
|
+
> delete(auth_auth_groups_permission_href, opts)
|
|
70
|
+
|
|
71
|
+
Delete a permission
|
|
72
|
+
|
|
73
|
+
Remove an object permission from a group.
|
|
74
|
+
|
|
75
|
+
### Example
|
|
76
|
+
|
|
77
|
+
```ruby
|
|
78
|
+
# load the gem
|
|
79
|
+
require 'pulpcore_client'
|
|
80
|
+
# setup authorization
|
|
81
|
+
PulpcoreClient.configure do |config|
|
|
82
|
+
# Configure HTTP basic authorization: basicAuth
|
|
83
|
+
config.username = 'YOUR USERNAME'
|
|
84
|
+
config.password = 'YOUR PASSWORD'
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
api_instance = PulpcoreClient::GroupsObjectPermissionsApi.new
|
|
88
|
+
auth_auth_groups_permission_href = 'auth_auth_groups_permission_href_example' # String |
|
|
89
|
+
opts = {
|
|
90
|
+
ordering: 'ordering_example' # String | Which field to use when ordering the results.
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
begin
|
|
94
|
+
#Delete a permission
|
|
95
|
+
api_instance.delete(auth_auth_groups_permission_href, opts)
|
|
96
|
+
rescue PulpcoreClient::ApiError => e
|
|
97
|
+
puts "Exception when calling GroupsObjectPermissionsApi->delete: #{e}"
|
|
98
|
+
end
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### Parameters
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
Name | Type | Description | Notes
|
|
105
|
+
------------- | ------------- | ------------- | -------------
|
|
106
|
+
**auth_auth_groups_permission_href** | **String**| |
|
|
107
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
108
|
+
|
|
109
|
+
### Return type
|
|
110
|
+
|
|
111
|
+
nil (empty response body)
|
|
112
|
+
|
|
113
|
+
### Authorization
|
|
114
|
+
|
|
115
|
+
[basicAuth](../README.md#basicAuth)
|
|
116
|
+
|
|
117
|
+
### HTTP request headers
|
|
118
|
+
|
|
119
|
+
- **Content-Type**: Not defined
|
|
120
|
+
- **Accept**: Not defined
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
## list
|
|
124
|
+
|
|
125
|
+
> InlineResponse2005 list(auth_group_href, opts)
|
|
126
|
+
|
|
127
|
+
List permissions
|
|
128
|
+
|
|
129
|
+
List group object permissions.
|
|
130
|
+
|
|
131
|
+
### Example
|
|
132
|
+
|
|
133
|
+
```ruby
|
|
134
|
+
# load the gem
|
|
135
|
+
require 'pulpcore_client'
|
|
136
|
+
# setup authorization
|
|
137
|
+
PulpcoreClient.configure do |config|
|
|
138
|
+
# Configure HTTP basic authorization: basicAuth
|
|
139
|
+
config.username = 'YOUR USERNAME'
|
|
140
|
+
config.password = 'YOUR PASSWORD'
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
api_instance = PulpcoreClient::GroupsObjectPermissionsApi.new
|
|
144
|
+
auth_group_href = 'auth_group_href_example' # String |
|
|
145
|
+
opts = {
|
|
146
|
+
limit: 56, # Integer | Number of results to return per page.
|
|
147
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
|
148
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
149
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
150
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
begin
|
|
154
|
+
#List permissions
|
|
155
|
+
result = api_instance.list(auth_group_href, opts)
|
|
156
|
+
p result
|
|
157
|
+
rescue PulpcoreClient::ApiError => e
|
|
158
|
+
puts "Exception when calling GroupsObjectPermissionsApi->list: #{e}"
|
|
159
|
+
end
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
### Parameters
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
Name | Type | Description | Notes
|
|
166
|
+
------------- | ------------- | ------------- | -------------
|
|
167
|
+
**auth_group_href** | **String**| |
|
|
168
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
169
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
170
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
171
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
172
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
173
|
+
|
|
174
|
+
### Return type
|
|
175
|
+
|
|
176
|
+
[**InlineResponse2005**](InlineResponse2005.md)
|
|
177
|
+
|
|
178
|
+
### Authorization
|
|
179
|
+
|
|
180
|
+
[basicAuth](../README.md#basicAuth)
|
|
181
|
+
|
|
182
|
+
### HTTP request headers
|
|
183
|
+
|
|
184
|
+
- **Content-Type**: Not defined
|
|
185
|
+
- **Accept**: application/json
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
## read
|
|
189
|
+
|
|
190
|
+
> PermissionResponse read(auth_auth_groups_permission_href, opts)
|
|
191
|
+
|
|
192
|
+
Inspect a permission
|
|
193
|
+
|
|
194
|
+
Retrieve a model permission from a group.
|
|
195
|
+
|
|
196
|
+
### Example
|
|
197
|
+
|
|
198
|
+
```ruby
|
|
199
|
+
# load the gem
|
|
200
|
+
require 'pulpcore_client'
|
|
201
|
+
# setup authorization
|
|
202
|
+
PulpcoreClient.configure do |config|
|
|
203
|
+
# Configure HTTP basic authorization: basicAuth
|
|
204
|
+
config.username = 'YOUR USERNAME'
|
|
205
|
+
config.password = 'YOUR PASSWORD'
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
api_instance = PulpcoreClient::GroupsObjectPermissionsApi.new
|
|
209
|
+
auth_auth_groups_permission_href = 'auth_auth_groups_permission_href_example' # String |
|
|
210
|
+
opts = {
|
|
211
|
+
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
212
|
+
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
213
|
+
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
begin
|
|
217
|
+
#Inspect a permission
|
|
218
|
+
result = api_instance.read(auth_auth_groups_permission_href, opts)
|
|
219
|
+
p result
|
|
220
|
+
rescue PulpcoreClient::ApiError => e
|
|
221
|
+
puts "Exception when calling GroupsObjectPermissionsApi->read: #{e}"
|
|
222
|
+
end
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
### Parameters
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
Name | Type | Description | Notes
|
|
229
|
+
------------- | ------------- | ------------- | -------------
|
|
230
|
+
**auth_auth_groups_permission_href** | **String**| |
|
|
231
|
+
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
232
|
+
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
233
|
+
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
234
|
+
|
|
235
|
+
### Return type
|
|
236
|
+
|
|
237
|
+
[**PermissionResponse**](PermissionResponse.md)
|
|
238
|
+
|
|
239
|
+
### Authorization
|
|
240
|
+
|
|
241
|
+
[basicAuth](../README.md#basicAuth)
|
|
242
|
+
|
|
243
|
+
### HTTP request headers
|
|
244
|
+
|
|
245
|
+
- **Content-Type**: Not defined
|
|
246
|
+
- **Accept**: application/json
|
|
247
|
+
|