pulp_file_client 3.111.0 → 3.112.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 +4 -4
- data/docs/ContentFilesApi.md +20 -2
- data/lib/pulp_file_client/api/content_files_api.rb +31 -4
- data/lib/pulp_file_client/version.rb +1 -1
- data/spec/api/content_files_api_spec.rb +9 -0
- metadata +41 -41
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6e807ad9c47b1f0f9840e15f12afe356949769e9e8e7c87e83a44f1f1b40dcdd
|
|
4
|
+
data.tar.gz: 5d0d3fc746bbd9b530e044aacf3a83b7658912da1363f1c46895c55f2e30070f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 72171628cabe72bd107cdad3dd0eede78924f6c0d414a84f9eb776a8101f3cbb9fc40fdad3730bd37b46bb0e671d6c8f566c986c3676ce1adc6bf7598d56b62b
|
|
7
|
+
data.tar.gz: ccadc34213ec25fa90fc73194c157f56b278b444fd453fc47485212de080109a231763e3f4552e41062d1365a6d03492c07060c29696efcd846dc1a6d212e288
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: v3
|
|
10
|
-
- Package version: 3.
|
|
10
|
+
- Package version: 3.112.0
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulp_file_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_file_client-3.
|
|
28
|
+
gem install ./pulp_file_client-3.112.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_file_client-3.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_file_client-3.112.0.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulp_file_client', '~> 3.
|
|
37
|
+
gem 'pulp_file_client', '~> 3.112.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
data/docs/ContentFilesApi.md
CHANGED
|
@@ -80,7 +80,7 @@ end
|
|
|
80
80
|
| **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | |
|
|
81
81
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
82
82
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
83
|
-
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional]
|
|
83
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
84
84
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
85
85
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
86
86
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
@@ -125,6 +125,7 @@ end
|
|
|
125
125
|
api_instance = PulpFileClient::ContentFilesApi.new
|
|
126
126
|
opts = {
|
|
127
127
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
128
|
+
digest: 'digest_example', # String | Filter results where digest matches value
|
|
128
129
|
limit: 56, # Integer | Number of results to return per page.
|
|
129
130
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
130
131
|
ordering: ['-digest'], # 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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -135,6 +136,14 @@ opts = {
|
|
|
135
136
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
136
137
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
137
138
|
relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
|
|
139
|
+
relative_path__contains: 'relative_path__contains_example', # String | Filter results where relative_path contains value
|
|
140
|
+
relative_path__icontains: 'relative_path__icontains_example', # String | Filter results where relative_path contains value
|
|
141
|
+
relative_path__iexact: 'relative_path__iexact_example', # String | Filter results where relative_path matches value
|
|
142
|
+
relative_path__in: ['inner_example'], # Array<String> | Filter results where relative_path is in a comma-separated list of values
|
|
143
|
+
relative_path__iregex: 'relative_path__iregex_example', # String | Filter results where relative_path matches regex value
|
|
144
|
+
relative_path__istartswith: 'relative_path__istartswith_example', # String | Filter results where relative_path starts with value
|
|
145
|
+
relative_path__regex: 'relative_path__regex_example', # String | Filter results where relative_path matches regex value
|
|
146
|
+
relative_path__startswith: 'relative_path__startswith_example', # String | Filter results where relative_path starts with value
|
|
138
147
|
repository_version: 'repository_version_example', # String |
|
|
139
148
|
repository_version_added: 'repository_version_added_example', # String |
|
|
140
149
|
repository_version_removed: 'repository_version_removed_example', # String |
|
|
@@ -175,6 +184,7 @@ end
|
|
|
175
184
|
| Name | Type | Description | Notes |
|
|
176
185
|
| ---- | ---- | ----------- | ----- |
|
|
177
186
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
187
|
+
| **digest** | **String** | Filter results where digest matches value | [optional] |
|
|
178
188
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
|
179
189
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
180
190
|
| **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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
@@ -185,6 +195,14 @@ end
|
|
|
185
195
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
186
196
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
187
197
|
| **relative_path** | **String** | Filter results where relative_path matches value | [optional] |
|
|
198
|
+
| **relative_path__contains** | **String** | Filter results where relative_path contains value | [optional] |
|
|
199
|
+
| **relative_path__icontains** | **String** | Filter results where relative_path contains value | [optional] |
|
|
200
|
+
| **relative_path__iexact** | **String** | Filter results where relative_path matches value | [optional] |
|
|
201
|
+
| **relative_path__in** | [**Array<String>**](String.md) | Filter results where relative_path is in a comma-separated list of values | [optional] |
|
|
202
|
+
| **relative_path__iregex** | **String** | Filter results where relative_path matches regex value | [optional] |
|
|
203
|
+
| **relative_path__istartswith** | **String** | Filter results where relative_path starts with value | [optional] |
|
|
204
|
+
| **relative_path__regex** | **String** | Filter results where relative_path matches regex value | [optional] |
|
|
205
|
+
| **relative_path__startswith** | **String** | Filter results where relative_path starts with value | [optional] |
|
|
188
206
|
| **repository_version** | **String** | | [optional] |
|
|
189
207
|
| **repository_version_added** | **String** | | [optional] |
|
|
190
208
|
| **repository_version_removed** | **String** | | [optional] |
|
|
@@ -502,7 +520,7 @@ end
|
|
|
502
520
|
| ---- | ---- | ----------- | ----- |
|
|
503
521
|
| **relative_path** | **String** | Path where the artifact is located relative to distributions base_path | |
|
|
504
522
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
505
|
-
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional]
|
|
523
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
506
524
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
507
525
|
| **artifact** | **String** | Artifact file representing the physical content | [optional] |
|
|
508
526
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
|
@@ -25,7 +25,7 @@ module PulpFileClient
|
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
26
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
27
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
28
|
-
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
28
|
+
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
29
29
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
30
30
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
31
31
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
@@ -44,7 +44,7 @@ module PulpFileClient
|
|
|
44
44
|
# @param [Hash] opts the optional parameters
|
|
45
45
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
46
46
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
47
|
-
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
47
|
+
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
48
48
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
49
49
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
50
50
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
@@ -127,6 +127,7 @@ module PulpFileClient
|
|
|
127
127
|
# FileContent represents a single file and its metadata, which can be added and removed from repositories.
|
|
128
128
|
# @param [Hash] opts the optional parameters
|
|
129
129
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
130
|
+
# @option opts [String] :digest Filter results where digest matches value
|
|
130
131
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
131
132
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
132
133
|
# @option opts [Array<String>] :ordering 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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -137,6 +138,14 @@ module PulpFileClient
|
|
|
137
138
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
138
139
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
139
140
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
|
141
|
+
# @option opts [String] :relative_path__contains Filter results where relative_path contains value
|
|
142
|
+
# @option opts [String] :relative_path__icontains Filter results where relative_path contains value
|
|
143
|
+
# @option opts [String] :relative_path__iexact Filter results where relative_path matches value
|
|
144
|
+
# @option opts [Array<String>] :relative_path__in Filter results where relative_path is in a comma-separated list of values
|
|
145
|
+
# @option opts [String] :relative_path__iregex Filter results where relative_path matches regex value
|
|
146
|
+
# @option opts [String] :relative_path__istartswith Filter results where relative_path starts with value
|
|
147
|
+
# @option opts [String] :relative_path__regex Filter results where relative_path matches regex value
|
|
148
|
+
# @option opts [String] :relative_path__startswith Filter results where relative_path starts with value
|
|
140
149
|
# @option opts [String] :repository_version
|
|
141
150
|
# @option opts [String] :repository_version_added
|
|
142
151
|
# @option opts [String] :repository_version_removed
|
|
@@ -153,6 +162,7 @@ module PulpFileClient
|
|
|
153
162
|
# FileContent represents a single file and its metadata, which can be added and removed from repositories.
|
|
154
163
|
# @param [Hash] opts the optional parameters
|
|
155
164
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
165
|
+
# @option opts [String] :digest Filter results where digest matches value
|
|
156
166
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
157
167
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
158
168
|
# @option opts [Array<String>] :ordering 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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -163,6 +173,14 @@ module PulpFileClient
|
|
|
163
173
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
164
174
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
165
175
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
|
176
|
+
# @option opts [String] :relative_path__contains Filter results where relative_path contains value
|
|
177
|
+
# @option opts [String] :relative_path__icontains Filter results where relative_path contains value
|
|
178
|
+
# @option opts [String] :relative_path__iexact Filter results where relative_path matches value
|
|
179
|
+
# @option opts [Array<String>] :relative_path__in Filter results where relative_path is in a comma-separated list of values
|
|
180
|
+
# @option opts [String] :relative_path__iregex Filter results where relative_path matches regex value
|
|
181
|
+
# @option opts [String] :relative_path__istartswith Filter results where relative_path starts with value
|
|
182
|
+
# @option opts [String] :relative_path__regex Filter results where relative_path matches regex value
|
|
183
|
+
# @option opts [String] :relative_path__startswith Filter results where relative_path starts with value
|
|
166
184
|
# @option opts [String] :repository_version
|
|
167
185
|
# @option opts [String] :repository_version_added
|
|
168
186
|
# @option opts [String] :repository_version_removed
|
|
@@ -183,6 +201,7 @@ module PulpFileClient
|
|
|
183
201
|
|
|
184
202
|
# query parameters
|
|
185
203
|
query_params = opts[:query_params] || {}
|
|
204
|
+
query_params[:'digest'] = opts[:'digest'] if !opts[:'digest'].nil?
|
|
186
205
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
187
206
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
188
207
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
@@ -193,6 +212,14 @@ module PulpFileClient
|
|
|
193
212
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
194
213
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
195
214
|
query_params[:'relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
|
|
215
|
+
query_params[:'relative_path__contains'] = opts[:'relative_path__contains'] if !opts[:'relative_path__contains'].nil?
|
|
216
|
+
query_params[:'relative_path__icontains'] = opts[:'relative_path__icontains'] if !opts[:'relative_path__icontains'].nil?
|
|
217
|
+
query_params[:'relative_path__iexact'] = opts[:'relative_path__iexact'] if !opts[:'relative_path__iexact'].nil?
|
|
218
|
+
query_params[:'relative_path__in'] = @api_client.build_collection_param(opts[:'relative_path__in'], :csv) if !opts[:'relative_path__in'].nil?
|
|
219
|
+
query_params[:'relative_path__iregex'] = opts[:'relative_path__iregex'] if !opts[:'relative_path__iregex'].nil?
|
|
220
|
+
query_params[:'relative_path__istartswith'] = opts[:'relative_path__istartswith'] if !opts[:'relative_path__istartswith'].nil?
|
|
221
|
+
query_params[:'relative_path__regex'] = opts[:'relative_path__regex'] if !opts[:'relative_path__regex'].nil?
|
|
222
|
+
query_params[:'relative_path__startswith'] = opts[:'relative_path__startswith'] if !opts[:'relative_path__startswith'].nil?
|
|
196
223
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
197
224
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
198
225
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
@@ -466,7 +493,7 @@ module PulpFileClient
|
|
|
466
493
|
# @param relative_path [String] Path where the artifact is located relative to distributions base_path
|
|
467
494
|
# @param [Hash] opts the optional parameters
|
|
468
495
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
469
|
-
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
496
|
+
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
470
497
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
471
498
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
472
499
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
@@ -484,7 +511,7 @@ module PulpFileClient
|
|
|
484
511
|
# @param relative_path [String] Path where the artifact is located relative to distributions base_path
|
|
485
512
|
# @param [Hash] opts the optional parameters
|
|
486
513
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
487
|
-
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
514
|
+
# @option opts [Boolean] :overwrite When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
488
515
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
489
516
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
490
517
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
@@ -58,6 +58,7 @@ describe 'ContentFilesApi' do
|
|
|
58
58
|
# FileContent represents a single file and its metadata, which can be added and removed from repositories.
|
|
59
59
|
# @param [Hash] opts the optional parameters
|
|
60
60
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
61
|
+
# @option opts [String] :digest Filter results where digest matches value
|
|
61
62
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
62
63
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
63
64
|
# @option opts [Array<String>] :ordering 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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
@@ -68,6 +69,14 @@ describe 'ContentFilesApi' do
|
|
|
68
69
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
69
70
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
70
71
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
|
72
|
+
# @option opts [String] :relative_path__contains Filter results where relative_path contains value
|
|
73
|
+
# @option opts [String] :relative_path__icontains Filter results where relative_path contains value
|
|
74
|
+
# @option opts [String] :relative_path__iexact Filter results where relative_path matches value
|
|
75
|
+
# @option opts [Array<String>] :relative_path__in Filter results where relative_path is in a comma-separated list of values
|
|
76
|
+
# @option opts [String] :relative_path__iregex Filter results where relative_path matches regex value
|
|
77
|
+
# @option opts [String] :relative_path__istartswith Filter results where relative_path starts with value
|
|
78
|
+
# @option opts [String] :relative_path__regex Filter results where relative_path matches regex value
|
|
79
|
+
# @option opts [String] :relative_path__startswith Filter results where relative_path starts with value
|
|
71
80
|
# @option opts [String] :repository_version
|
|
72
81
|
# @option opts [String] :repository_version_added
|
|
73
82
|
# @option opts [String] :repository_version_removed
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulp_file_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.112.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-05-
|
|
11
|
+
date: 2026-05-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -281,58 +281,58 @@ signing_key:
|
|
|
281
281
|
specification_version: 4
|
|
282
282
|
summary: Pulp 3 API Ruby Gem
|
|
283
283
|
test_files:
|
|
284
|
-
- spec/api/repositories_file_api_spec.rb
|
|
285
284
|
- spec/api/distributions_file_api_spec.rb
|
|
286
|
-
- spec/api/
|
|
287
|
-
- spec/api/
|
|
285
|
+
- spec/api/acs_file_api_spec.rb
|
|
286
|
+
- spec/api/repositories_file_api_spec.rb
|
|
288
287
|
- spec/api/remotes_file_api_spec.rb
|
|
289
288
|
- spec/api/publications_file_api_spec.rb
|
|
290
289
|
- spec/api/content_files_api_spec.rb
|
|
291
|
-
- spec/api/
|
|
292
|
-
- spec/
|
|
290
|
+
- spec/api/remotes_git_api_spec.rb
|
|
291
|
+
- spec/api/repositories_file_versions_api_spec.rb
|
|
292
|
+
- spec/models/paginatedfile_file_repository_response_list_spec.rb
|
|
293
293
|
- spec/models/nested_role_spec.rb
|
|
294
|
-
- spec/models/
|
|
295
|
-
- spec/models/
|
|
296
|
-
- spec/models/
|
|
297
|
-
- spec/models/
|
|
298
|
-
- spec/models/
|
|
299
|
-
- spec/models/
|
|
300
|
-
- spec/models/
|
|
294
|
+
- spec/models/task_group_operation_response_spec.rb
|
|
295
|
+
- spec/models/my_permissions_response_spec.rb
|
|
296
|
+
- spec/models/file_file_repository_spec.rb
|
|
297
|
+
- spec/models/unset_label_spec.rb
|
|
298
|
+
- spec/models/file_file_git_remote_response_hidden_fields_inner_spec.rb
|
|
299
|
+
- spec/models/set_label_response_spec.rb
|
|
300
|
+
- spec/models/patchedfile_file_repository_spec.rb
|
|
301
301
|
- spec/models/async_operation_response_spec.rb
|
|
302
|
-
- spec/models/
|
|
303
|
-
- spec/models/file_file_git_remote_spec.rb
|
|
304
|
-
- spec/models/policy_enum_spec.rb
|
|
302
|
+
- spec/models/file_file_git_remote_response_spec.rb
|
|
305
303
|
- spec/models/repository_sync_url_spec.rb
|
|
306
|
-
- spec/models/remote_network_config_spec.rb
|
|
307
|
-
- spec/models/paginatedfile_file_repository_response_list_spec.rb
|
|
308
|
-
- spec/models/task_group_operation_response_spec.rb
|
|
309
|
-
- spec/models/file_file_alternate_content_source_spec.rb
|
|
310
304
|
- spec/models/file_content_upload_response_spec.rb
|
|
305
|
+
- spec/models/file_file_publication_response_spec.rb
|
|
306
|
+
- spec/models/file_file_remote_spec.rb
|
|
307
|
+
- spec/models/repository_add_remove_content_spec.rb
|
|
308
|
+
- spec/models/set_label_spec.rb
|
|
309
|
+
- spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb
|
|
310
|
+
- spec/models/patchedfile_file_distribution_spec.rb
|
|
311
311
|
- spec/models/file_file_remote_response_spec.rb
|
|
312
|
-
- spec/models/
|
|
313
|
-
- spec/models/
|
|
314
|
-
- spec/models/
|
|
312
|
+
- spec/models/policy_enum_spec.rb
|
|
313
|
+
- spec/models/repository_version_response_spec.rb
|
|
314
|
+
- spec/models/patchedfile_file_alternate_content_source_spec.rb
|
|
315
|
+
- spec/models/paginatedfile_file_content_response_list_spec.rb
|
|
316
|
+
- spec/models/file_file_distribution_response_spec.rb
|
|
315
317
|
- spec/models/remote_network_config_response_spec.rb
|
|
318
|
+
- spec/models/nested_role_response_spec.rb
|
|
319
|
+
- spec/models/file_file_alternate_content_source_response_spec.rb
|
|
320
|
+
- spec/models/patchedfile_file_remote_spec.rb
|
|
321
|
+
- spec/models/object_roles_response_spec.rb
|
|
322
|
+
- spec/models/paginatedfile_file_publication_response_list_spec.rb
|
|
323
|
+
- spec/models/file_file_repository_response_spec.rb
|
|
316
324
|
- spec/models/file_file_content_response_spec.rb
|
|
317
|
-
- spec/models/
|
|
318
|
-
- spec/models/unset_label_spec.rb
|
|
319
|
-
- spec/models/content_summary_response_spec.rb
|
|
320
|
-
- spec/models/file_file_publication_response_spec.rb
|
|
321
|
-
- spec/models/repository_version_response_spec.rb
|
|
325
|
+
- spec/models/file_file_git_remote_spec.rb
|
|
322
326
|
- spec/models/patchedfile_file_git_remote_spec.rb
|
|
323
|
-
- spec/models/
|
|
324
|
-
- spec/models/
|
|
325
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
327
|
+
- spec/models/file_file_distribution_spec.rb
|
|
328
|
+
- spec/models/remote_network_config_spec.rb
|
|
326
329
|
- spec/models/paginatedfile_file_remote_response_list_spec.rb
|
|
327
|
-
- spec/models/
|
|
328
|
-
- spec/models/patchedfile_file_remote_spec.rb
|
|
329
|
-
- spec/models/patchedfile_file_distribution_spec.rb
|
|
330
|
-
- spec/models/my_permissions_response_spec.rb
|
|
330
|
+
- spec/models/file_file_publication_spec.rb
|
|
331
331
|
- spec/models/repair_spec.rb
|
|
332
|
+
- spec/models/file_file_alternate_content_source_spec.rb
|
|
333
|
+
- spec/models/unset_label_response_spec.rb
|
|
334
|
+
- spec/models/content_summary_response_spec.rb
|
|
332
335
|
- spec/models/paginatedfile_file_distribution_response_list_spec.rb
|
|
333
|
-
- spec/models/
|
|
334
|
-
- spec/models/
|
|
335
|
-
- spec/models/file_file_git_remote_response_spec.rb
|
|
336
|
-
- spec/models/paginatedfile_file_publication_response_list_spec.rb
|
|
337
|
-
- spec/models/patchedfile_file_repository_spec.rb
|
|
336
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
337
|
+
- spec/models/paginatedfile_file_git_remote_response_list_spec.rb
|
|
338
338
|
- spec/spec_helper.rb
|