pulp_container_client 2.15.1 → 2.16.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.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -4
  3. data/docs/ContainerContainerDistribution.md +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +7 -7
  5. data/docs/ContainerContainerPushRepository.md +7 -7
  6. data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
  7. data/docs/ContentManifestsApi.md +2 -2
  8. data/docs/ContentTagsApi.md +2 -2
  9. data/docs/IndexDynamicApi.md +50 -0
  10. data/docs/IndexStaticApi.md +50 -0
  11. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  12. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  13. data/docs/RepositoriesContainerApi.md +1 -1
  14. data/lib/pulp_container_client/api/content_manifests_api.rb +2 -2
  15. data/lib/pulp_container_client/api/content_tags_api.rb +2 -2
  16. data/lib/pulp_container_client/api/index_dynamic_api.rb +74 -0
  17. data/lib/pulp_container_client/api/index_static_api.rb +74 -0
  18. data/lib/pulp_container_client/api/repositories_container_api.rb +2 -2
  19. data/lib/pulp_container_client/models/container_container_distribution.rb +30 -30
  20. data/lib/pulp_container_client/models/container_container_distribution_response.rb +31 -31
  21. data/lib/pulp_container_client/models/container_container_push_repository.rb +45 -45
  22. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +43 -43
  23. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +30 -30
  24. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +45 -45
  25. data/lib/pulp_container_client/version.rb +1 -1
  26. data/lib/pulp_container_client.rb +2 -0
  27. data/spec/api/content_manifests_api_spec.rb +1 -1
  28. data/spec/api/content_tags_api_spec.rb +1 -1
  29. data/spec/api/index_dynamic_api_spec.rb +45 -0
  30. data/spec/api/index_static_api_spec.rb +45 -0
  31. data/spec/api/repositories_container_api_spec.rb +1 -1
  32. data/spec/models/container_container_distribution_response_spec.rb +8 -8
  33. data/spec/models/container_container_distribution_spec.rb +6 -6
  34. data/spec/models/container_container_push_repository_response_spec.rb +7 -7
  35. data/spec/models/container_container_push_repository_spec.rb +5 -5
  36. data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
  37. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  38. metadata +56 -48
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c7d45b250e249ec85396f07fce4f0a31b0ccda431cb7b4608ee647b1b4d9fbfd
4
- data.tar.gz: 5104dcc2f964866da18b7c214068684ac26f1e3225aad84664a3a1cd112efe6c
3
+ metadata.gz: 9e3de446838db7bcb3a7ae70c52dde970e05f176e3edc339f1deb19ecc6cd512
4
+ data.tar.gz: 290d1789e863a9ba3cc6a54a17d69a66130892fe870bf10794ef3be904c09aeb
5
5
  SHA512:
6
- metadata.gz: 72e25708ca2038436a0025d3fa98e049db1696e9adae46894a3f342bff91d295ccbc7e19396adf2900380c9ca24581f1c260d33cc7bc220385a400db8a234286
7
- data.tar.gz: 892857eeb3287eeb690e033791731088afd5b6f374c06c3fba930c74834e61784750aa084f909cc25be332ce370945dd40be7a048e199269649eec831682ac32
6
+ metadata.gz: 7e792cc50af60bb8dfcd0b3e7454a235a401bd1b16a04bb0f2a80e5ccdeb9e595023beeda339950e16c5467765fd5c1bf1d97636fc0b32756d9d58210c342919
7
+ data.tar.gz: c96ba46822d2823a0357b2866bc48d336f5b27bf979c92a2d1da6be084b5f8da02db631682bebe65792e8e4979e4a6844171982f7c1713d9a9add04efa51dea2
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: 2.15.1
10
+ - Package version: 2.16.0
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_container_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_container_client-2.15.1.gem
27
+ gem install ./pulp_container_client-2.16.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_container_client-2.15.1.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_container_client-2.16.0.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_container_client', '~> 2.15.1'
36
+ gem 'pulp_container_client', '~> 2.16.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -114,6 +114,8 @@ Class | Method | HTTP request | Description
114
114
  *PulpContainerClient::DistributionsContainerApi* | [**read**](docs/DistributionsContainerApi.md#read) | **GET** {container_container_distribution_href} | Inspect a container distribution
115
115
  *PulpContainerClient::DistributionsContainerApi* | [**remove_role**](docs/DistributionsContainerApi.md#remove_role) | **POST** {container_container_distribution_href}remove_role/ |
116
116
  *PulpContainerClient::DistributionsContainerApi* | [**update**](docs/DistributionsContainerApi.md#update) | **PUT** {container_container_distribution_href} | Update a container distribution
117
+ *PulpContainerClient::IndexDynamicApi* | [**get**](docs/IndexDynamicApi.md#get) | **GET** /index/dynamic |
118
+ *PulpContainerClient::IndexStaticApi* | [**get**](docs/IndexStaticApi.md#get) | **GET** /index/static |
117
119
  *PulpContainerClient::PulpContainerNamespacesApi* | [**add_role**](docs/PulpContainerNamespacesApi.md#add_role) | **POST** {container_container_namespace_href}add_role/ |
118
120
  *PulpContainerClient::PulpContainerNamespacesApi* | [**create**](docs/PulpContainerNamespacesApi.md#create) | **POST** /pulp/api/v3/pulp_container/namespaces/ | Create a container namespace
119
121
  *PulpContainerClient::PulpContainerNamespacesApi* | [**delete**](docs/PulpContainerNamespacesApi.md#delete) | **DELETE** {container_container_namespace_href} | Delete a container namespace
@@ -4,12 +4,12 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
8
- **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
9
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
10
7
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
11
8
  **pulp_labels** | **Hash<String, String>** | | [optional]
9
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
12
10
  **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
11
+ **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
12
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
13
13
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
14
14
  **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
15
15
  **description** | **String** | An optional description. | [optional]
@@ -19,12 +19,12 @@ Name | Type | Description | Notes
19
19
  ```ruby
20
20
  require 'PulpContainerClient'
21
21
 
22
- instance = PulpContainerClient::ContainerContainerDistribution.new(repository: null,
23
- base_path: null,
24
- name: null,
25
- hidden: null,
22
+ instance = PulpContainerClient::ContainerContainerDistribution.new(hidden: null,
26
23
  pulp_labels: null,
24
+ repository: null,
27
25
  content_guard: null,
26
+ base_path: null,
27
+ name: null,
28
28
  repository_version: null,
29
29
  private: null,
30
30
  description: null)
@@ -4,14 +4,14 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
8
- **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
9
7
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
11
8
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
12
9
  **pulp_labels** | **Hash<String, String>** | | [optional]
10
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
13
11
  **pulp_href** | **String** | | [optional] [readonly]
14
12
  **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
13
+ **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
14
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
15
15
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
16
16
  **registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
17
17
  **namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
@@ -23,14 +23,14 @@ Name | Type | Description | Notes
23
23
  ```ruby
24
24
  require 'PulpContainerClient'
25
25
 
26
- instance = PulpContainerClient::ContainerContainerDistributionResponse.new(repository: null,
27
- base_path: null,
28
- pulp_created: null,
29
- name: null,
26
+ instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_created: null,
30
27
  hidden: null,
31
28
  pulp_labels: null,
29
+ repository: null,
32
30
  pulp_href: null,
33
31
  content_guard: null,
32
+ base_path: null,
33
+ name: null,
34
34
  repository_version: null,
35
35
  registry_path: null,
36
36
  namespace: null,
@@ -4,22 +4,22 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
8
- **name** | **String** | A unique name for this repository. |
9
- **description** | **String** | An optional description. | [optional]
10
7
  **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
11
8
  **pulp_labels** | **Hash<String, String>** | | [optional]
9
+ **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
10
+ **description** | **String** | An optional description. | [optional]
11
+ **name** | **String** | A unique name for this repository. |
12
12
 
13
13
  ## Code Sample
14
14
 
15
15
  ```ruby
16
16
  require 'PulpContainerClient'
17
17
 
18
- instance = PulpContainerClient::ContainerContainerPushRepository.new(retain_repo_versions: null,
19
- name: null,
18
+ instance = PulpContainerClient::ContainerContainerPushRepository.new(manifest_signing_service: null,
19
+ pulp_labels: null,
20
+ retain_repo_versions: null,
20
21
  description: null,
21
- manifest_signing_service: null,
22
- pulp_labels: null)
22
+ name: null)
23
23
  ```
24
24
 
25
25
 
@@ -4,30 +4,30 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
8
7
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
- **name** | **String** | A unique name for this repository. |
10
- **description** | **String** | An optional description. | [optional]
11
8
  **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
12
- **latest_version_href** | **String** | | [optional] [readonly]
13
9
  **pulp_labels** | **Hash<String, String>** | | [optional]
14
- **pulp_href** | **String** | | [optional] [readonly]
10
+ **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
11
+ **description** | **String** | An optional description. | [optional]
12
+ **latest_version_href** | **String** | | [optional] [readonly]
15
13
  **versions_href** | **String** | | [optional] [readonly]
14
+ **pulp_href** | **String** | | [optional] [readonly]
15
+ **name** | **String** | A unique name for this repository. |
16
16
 
17
17
  ## Code Sample
18
18
 
19
19
  ```ruby
20
20
  require 'PulpContainerClient'
21
21
 
22
- instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(retain_repo_versions: null,
23
- pulp_created: null,
24
- name: null,
25
- description: null,
22
+ instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(pulp_created: null,
26
23
  manifest_signing_service: null,
27
- latest_version_href: null,
28
24
  pulp_labels: null,
25
+ retain_repo_versions: null,
26
+ description: null,
27
+ latest_version_href: null,
28
+ versions_href: null,
29
29
  pulp_href: null,
30
- versions_href: null)
30
+ name: null)
31
31
  ```
32
32
 
33
33
 
@@ -34,7 +34,7 @@ opts = {
34
34
  digest: 'digest_example', # String | Filter results where digest matches value
35
35
  digest__in: ['digest__in_example'], # Array<String> | Filter results where digest is in a comma-separated list of values
36
36
  limit: 56, # Integer | Number of results to return per page.
37
- media_type: ['media_type_example'], # Array<String> | * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json
37
+ media_type: ['media_type_example'], # Array<String> | * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json
38
38
  offset: 56, # Integer | The initial index from which to return the results.
39
39
  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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `digest` - Digest * `-digest` - Digest (descending) * `schema_version` - Schema version * `-schema_version` - Schema version (descending) * `media_type` - Media type * `-media_type` - Media type (descending) * `pk` - Pk * `-pk` - Pk (descending)
40
40
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
@@ -63,7 +63,7 @@ Name | Type | Description | Notes
63
63
  **digest** | **String**| Filter results where digest matches value | [optional]
64
64
  **digest__in** | [**Array&lt;String&gt;**](String.md)| Filter results where digest is in a comma-separated list of values | [optional]
65
65
  **limit** | **Integer**| Number of results to return per page. | [optional]
66
- **media_type** | [**Array&lt;String&gt;**](String.md)| * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json | [optional]
66
+ **media_type** | [**Array&lt;String&gt;**](String.md)| * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json | [optional]
67
67
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
68
68
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;schema_version&#x60; - Schema version * &#x60;-schema_version&#x60; - Schema version (descending) * &#x60;media_type&#x60; - Media type * &#x60;-media_type&#x60; - Media type (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
69
69
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
@@ -33,7 +33,7 @@ api_instance = PulpContainerClient::ContentTagsApi.new
33
33
  opts = {
34
34
  digest: ['digest_example'], # Array<String> | Multiple values may be separated by commas.
35
35
  limit: 56, # Integer | Number of results to return per page.
36
- media_type: ['media_type_example'], # Array<String> | * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json
36
+ media_type: ['media_type_example'], # Array<String> | * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json
37
37
  name: 'name_example', # String | Filter results where name matches value
38
38
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
39
39
  offset: 56, # Integer | The initial index from which to return the results.
@@ -63,7 +63,7 @@ Name | Type | Description | Notes
63
63
  ------------- | ------------- | ------------- | -------------
64
64
  **digest** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
65
65
  **limit** | **Integer**| Number of results to return per page. | [optional]
66
- **media_type** | [**Array&lt;String&gt;**](String.md)| * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json | [optional]
66
+ **media_type** | [**Array&lt;String&gt;**](String.md)| * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json | [optional]
67
67
  **name** | **String**| Filter results where name matches value | [optional]
68
68
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
69
69
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
@@ -0,0 +1,50 @@
1
+ # PulpContainerClient::IndexDynamicApi
2
+
3
+ All URIs are relative to *https://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**get**](IndexDynamicApi.md#get) | **GET** /index/dynamic |
8
+
9
+
10
+
11
+ ## get
12
+
13
+ > get
14
+
15
+
16
+
17
+ Handles requests to the /index/dynamic endpoint
18
+
19
+ ### Example
20
+
21
+ ```ruby
22
+ # load the gem
23
+ require 'pulp_container_client'
24
+
25
+ api_instance = PulpContainerClient::IndexDynamicApi.new
26
+
27
+ begin
28
+ api_instance.get
29
+ rescue PulpContainerClient::ApiError => e
30
+ puts "Exception when calling IndexDynamicApi->get: #{e}"
31
+ end
32
+ ```
33
+
34
+ ### Parameters
35
+
36
+ This endpoint does not need any parameter.
37
+
38
+ ### Return type
39
+
40
+ nil (empty response body)
41
+
42
+ ### Authorization
43
+
44
+ No authorization required
45
+
46
+ ### HTTP request headers
47
+
48
+ - **Content-Type**: Not defined
49
+ - **Accept**: Not defined
50
+
@@ -0,0 +1,50 @@
1
+ # PulpContainerClient::IndexStaticApi
2
+
3
+ All URIs are relative to *https://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**get**](IndexStaticApi.md#get) | **GET** /index/static |
8
+
9
+
10
+
11
+ ## get
12
+
13
+ > get
14
+
15
+
16
+
17
+ Handles requests to the /index/static endpoint
18
+
19
+ ### Example
20
+
21
+ ```ruby
22
+ # load the gem
23
+ require 'pulp_container_client'
24
+
25
+ api_instance = PulpContainerClient::IndexStaticApi.new
26
+
27
+ begin
28
+ api_instance.get
29
+ rescue PulpContainerClient::ApiError => e
30
+ puts "Exception when calling IndexStaticApi->get: #{e}"
31
+ end
32
+ ```
33
+
34
+ ### Parameters
35
+
36
+ This endpoint does not need any parameter.
37
+
38
+ ### Return type
39
+
40
+ nil (empty response body)
41
+
42
+ ### Authorization
43
+
44
+ No authorization required
45
+
46
+ ### HTTP request headers
47
+
48
+ - **Content-Type**: Not defined
49
+ - **Accept**: Not defined
50
+
@@ -4,12 +4,12 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
8
- **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) | [optional]
9
- **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. | [optional]
10
7
  **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
11
8
  **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional]
9
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
12
10
  **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
11
+ **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) | [optional]
12
+ **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. | [optional]
13
13
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
14
14
  **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
15
15
  **description** | **String** | An optional description. | [optional]
@@ -19,12 +19,12 @@ Name | Type | Description | Notes
19
19
  ```ruby
20
20
  require 'PulpContainerClient'
21
21
 
22
- instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(repository: null,
23
- base_path: null,
24
- name: null,
25
- hidden: null,
22
+ instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(hidden: null,
26
23
  pulp_labels: null,
24
+ repository: null,
27
25
  content_guard: null,
26
+ base_path: null,
27
+ name: null,
28
28
  repository_version: null,
29
29
  private: null,
30
30
  description: null)
@@ -4,22 +4,22 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
8
- **name** | **String** | A unique name for this repository. | [optional]
9
- **description** | **String** | An optional description. | [optional]
10
7
  **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
11
8
  **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional]
9
+ **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
10
+ **description** | **String** | An optional description. | [optional]
11
+ **name** | **String** | A unique name for this repository. | [optional]
12
12
 
13
13
  ## Code Sample
14
14
 
15
15
  ```ruby
16
16
  require 'PulpContainerClient'
17
17
 
18
- instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(retain_repo_versions: null,
19
- name: null,
18
+ instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(manifest_signing_service: null,
19
+ pulp_labels: null,
20
+ retain_repo_versions: null,
20
21
  description: null,
21
- manifest_signing_service: null,
22
- pulp_labels: null)
22
+ name: null)
23
23
  ```
24
24
 
25
25
 
@@ -141,7 +141,7 @@ Name | Type | Description | Notes
141
141
 
142
142
  Build an Image
143
143
 
144
- Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is tech preview in Pulp Container 1.1. Backwards compatibility when upgrading is not guaranteed.
144
+ Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is in tech preview. Backwards compatibility when upgrading is not guaranteed.
145
145
 
146
146
  ### Example
147
147
 
@@ -25,7 +25,7 @@ module PulpContainerClient
25
25
  # @option opts [String] :digest Filter results where digest matches value
26
26
  # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
27
27
  # @option opts [Integer] :limit Number of results to return per page.
28
- # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
28
+ # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
29
29
  # @option opts [Integer] :offset The initial index from which to return the results.
30
30
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;schema_version&#x60; - Schema version * &#x60;-schema_version&#x60; - Schema version (descending) * &#x60;media_type&#x60; - Media type * &#x60;-media_type&#x60; - Media type (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
31
31
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
@@ -47,7 +47,7 @@ module PulpContainerClient
47
47
  # @option opts [String] :digest Filter results where digest matches value
48
48
  # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
49
49
  # @option opts [Integer] :limit Number of results to return per page.
50
- # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
50
+ # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
51
51
  # @option opts [Integer] :offset The initial index from which to return the results.
52
52
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;schema_version&#x60; - Schema version * &#x60;-schema_version&#x60; - Schema version (descending) * &#x60;media_type&#x60; - Media type * &#x60;-media_type&#x60; - Media type (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
53
53
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
@@ -24,7 +24,7 @@ module PulpContainerClient
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [Array<String>] :digest Multiple values may be separated by commas.
26
26
  # @option opts [Integer] :limit Number of results to return per page.
27
- # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
27
+ # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
28
28
  # @option opts [String] :name Filter results where name matches value
29
29
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
30
30
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -47,7 +47,7 @@ module PulpContainerClient
47
47
  # @param [Hash] opts the optional parameters
48
48
  # @option opts [Array<String>] :digest Multiple values may be separated by commas.
49
49
  # @option opts [Integer] :limit Number of results to return per page.
50
- # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
50
+ # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
51
51
  # @option opts [String] :name Filter results where name matches value
52
52
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
53
53
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -0,0 +1,74 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module PulpContainerClient
16
+ class IndexDynamicApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Handles requests to the /index/dynamic endpoint
23
+ # @param [Hash] opts the optional parameters
24
+ # @return [nil]
25
+ def get(opts = {})
26
+ get_with_http_info(opts)
27
+ nil
28
+ end
29
+
30
+ # Handles requests to the /index/dynamic endpoint
31
+ # @param [Hash] opts the optional parameters
32
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
33
+ def get_with_http_info(opts = {})
34
+ if @api_client.config.debugging
35
+ @api_client.config.logger.debug 'Calling API: IndexDynamicApi.get ...'
36
+ end
37
+ # resource path
38
+ local_var_path = '/index/dynamic'
39
+
40
+ # query parameters
41
+ query_params = opts[:query_params] || {}
42
+
43
+ # header parameters
44
+ header_params = opts[:header_params] || {}
45
+
46
+ # form parameters
47
+ form_params = opts[:form_params] || {}
48
+
49
+ # http body (model)
50
+ post_body = opts[:body]
51
+
52
+ # return_type
53
+ return_type = opts[:return_type]
54
+
55
+ # auth_names
56
+ auth_names = opts[:auth_names] || []
57
+
58
+ new_options = opts.merge(
59
+ :header_params => header_params,
60
+ :query_params => query_params,
61
+ :form_params => form_params,
62
+ :body => post_body,
63
+ :auth_names => auth_names,
64
+ :return_type => return_type
65
+ )
66
+
67
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
68
+ if @api_client.config.debugging
69
+ @api_client.config.logger.debug "API called: IndexDynamicApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
70
+ end
71
+ return data, status_code, headers
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,74 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module PulpContainerClient
16
+ class IndexStaticApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Handles requests to the /index/static endpoint
23
+ # @param [Hash] opts the optional parameters
24
+ # @return [nil]
25
+ def get(opts = {})
26
+ get_with_http_info(opts)
27
+ nil
28
+ end
29
+
30
+ # Handles requests to the /index/static endpoint
31
+ # @param [Hash] opts the optional parameters
32
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
33
+ def get_with_http_info(opts = {})
34
+ if @api_client.config.debugging
35
+ @api_client.config.logger.debug 'Calling API: IndexStaticApi.get ...'
36
+ end
37
+ # resource path
38
+ local_var_path = '/index/static'
39
+
40
+ # query parameters
41
+ query_params = opts[:query_params] || {}
42
+
43
+ # header parameters
44
+ header_params = opts[:header_params] || {}
45
+
46
+ # form parameters
47
+ form_params = opts[:form_params] || {}
48
+
49
+ # http body (model)
50
+ post_body = opts[:body]
51
+
52
+ # return_type
53
+ return_type = opts[:return_type]
54
+
55
+ # auth_names
56
+ auth_names = opts[:auth_names] || []
57
+
58
+ new_options = opts.merge(
59
+ :header_params => header_params,
60
+ :query_params => query_params,
61
+ :form_params => form_params,
62
+ :body => post_body,
63
+ :auth_names => auth_names,
64
+ :return_type => return_type
65
+ )
66
+
67
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
68
+ if @api_client.config.debugging
69
+ @api_client.config.logger.debug "API called: IndexStaticApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
70
+ end
71
+ return data, status_code, headers
72
+ end
73
+ end
74
+ end