pulp_npm_client 0.1.0a1.dev01595813316 → 0.1.0a1.dev01596158992

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pulp_npm_client might be problematic. Click here for more details.

Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -11
  3. data/docs/ContentPackagesApi.md +27 -27
  4. data/docs/ContentSummary.md +3 -3
  5. data/docs/ContentSummaryResponse.md +21 -0
  6. data/docs/DistributionsNpmApi.md +104 -56
  7. data/docs/InlineResponse200.md +3 -3
  8. data/docs/InlineResponse2001.md +3 -3
  9. data/docs/InlineResponse2002.md +3 -3
  10. data/docs/InlineResponse2003.md +3 -3
  11. data/docs/InlineResponse2004.md +3 -3
  12. data/docs/NpmNpmDistribution.md +1 -7
  13. data/docs/NpmNpmDistributionResponse.md +31 -0
  14. data/docs/NpmNpmRemote.md +4 -10
  15. data/docs/NpmNpmRemoteResponse.md +43 -0
  16. data/docs/NpmNpmRepository.md +4 -10
  17. data/docs/NpmNpmRepositoryResponse.md +29 -0
  18. data/docs/NpmPackage.md +5 -5
  19. data/docs/NpmPackageResponse.md +27 -0
  20. data/docs/PatchednpmNpmDistribution.md +25 -0
  21. data/docs/PatchednpmNpmRemote.md +37 -0
  22. data/docs/PatchednpmNpmRepository.md +21 -0
  23. data/docs/PolicyEnum.md +16 -0
  24. data/docs/RemotesNpmApi.md +124 -64
  25. data/docs/RepositoriesNpmApi.md +94 -70
  26. data/docs/RepositoriesNpmVersionsApi.md +90 -58
  27. data/docs/RepositoryAddRemoveContent.md +2 -2
  28. data/docs/RepositorySyncURL.md +1 -1
  29. data/docs/RepositoryVersion.md +1 -9
  30. data/docs/RepositoryVersionResponse.md +25 -0
  31. data/lib/pulp_npm_client.rb +12 -2
  32. data/lib/pulp_npm_client/api/content_packages_api.rb +34 -46
  33. data/lib/pulp_npm_client/api/distributions_npm_api.rb +131 -68
  34. data/lib/pulp_npm_client/api/remotes_npm_api.rb +165 -84
  35. data/lib/pulp_npm_client/api/repositories_npm_api.rb +121 -94
  36. data/lib/pulp_npm_client/api/repositories_npm_versions_api.rb +119 -74
  37. data/lib/pulp_npm_client/api_client.rb +2 -2
  38. data/lib/pulp_npm_client/api_error.rb +2 -2
  39. data/lib/pulp_npm_client/configuration.rb +3 -3
  40. data/lib/pulp_npm_client/models/async_operation_response.rb +3 -2
  41. data/lib/pulp_npm_client/models/content_summary.rb +9 -15
  42. data/lib/pulp_npm_client/models/content_summary_response.rb +240 -0
  43. data/lib/pulp_npm_client/models/inline_response200.rb +3 -13
  44. data/lib/pulp_npm_client/models/inline_response2001.rb +3 -13
  45. data/lib/pulp_npm_client/models/inline_response2002.rb +3 -13
  46. data/lib/pulp_npm_client/models/inline_response2003.rb +3 -13
  47. data/lib/pulp_npm_client/models/inline_response2004.rb +3 -13
  48. data/lib/pulp_npm_client/models/npm_npm_distribution.rb +4 -85
  49. data/lib/pulp_npm_client/models/npm_npm_distribution_response.rb +290 -0
  50. data/lib/pulp_npm_client/models/npm_npm_remote.rb +7 -199
  51. data/lib/pulp_npm_client/models/npm_npm_remote_response.rb +368 -0
  52. data/lib/pulp_npm_client/models/npm_npm_repository.rb +18 -78
  53. data/lib/pulp_npm_client/models/npm_npm_repository_response.rb +271 -0
  54. data/lib/pulp_npm_client/models/npm_package.rb +24 -79
  55. data/lib/pulp_npm_client/models/npm_package_response.rb +269 -0
  56. data/lib/pulp_npm_client/models/patchednpm_npm_distribution.rb +251 -0
  57. data/lib/pulp_npm_client/models/patchednpm_npm_remote.rb +329 -0
  58. data/lib/pulp_npm_client/models/patchednpm_npm_repository.rb +229 -0
  59. data/lib/pulp_npm_client/models/policy_enum.rb +37 -0
  60. data/lib/pulp_npm_client/models/repository_add_remove_content.rb +5 -4
  61. data/lib/pulp_npm_client/models/repository_sync_url.rb +3 -8
  62. data/lib/pulp_npm_client/models/repository_version.rb +7 -43
  63. data/lib/pulp_npm_client/models/repository_version_response.rb +246 -0
  64. data/lib/pulp_npm_client/version.rb +3 -3
  65. data/pulp_npm_client.gemspec +4 -4
  66. data/spec/api/content_packages_api_spec.rb +14 -14
  67. data/spec/api/distributions_npm_api_spec.rb +39 -18
  68. data/spec/api/remotes_npm_api_spec.rb +51 -24
  69. data/spec/api/repositories_npm_api_spec.rb +31 -22
  70. data/spec/api/repositories_npm_versions_api_spec.rb +38 -23
  71. data/spec/api_client_spec.rb +2 -2
  72. data/spec/configuration_spec.rb +2 -2
  73. data/spec/models/async_operation_response_spec.rb +2 -2
  74. data/spec/models/content_summary_response_spec.rb +53 -0
  75. data/spec/models/content_summary_spec.rb +2 -2
  76. data/spec/models/inline_response2001_spec.rb +2 -2
  77. data/spec/models/inline_response2002_spec.rb +2 -2
  78. data/spec/models/inline_response2003_spec.rb +2 -2
  79. data/spec/models/inline_response2004_spec.rb +2 -2
  80. data/spec/models/inline_response200_spec.rb +2 -2
  81. data/spec/models/npm_npm_distribution_response_spec.rb +83 -0
  82. data/spec/models/npm_npm_distribution_spec.rb +2 -20
  83. data/spec/models/npm_npm_remote_response_spec.rb +119 -0
  84. data/spec/models/npm_npm_remote_spec.rb +2 -24
  85. data/spec/models/npm_npm_repository_response_spec.rb +77 -0
  86. data/spec/models/npm_npm_repository_spec.rb +5 -23
  87. data/spec/models/npm_package_response_spec.rb +71 -0
  88. data/spec/models/npm_package_spec.rb +6 -6
  89. data/spec/models/patchednpm_npm_distribution_spec.rb +65 -0
  90. data/spec/models/patchednpm_npm_remote_spec.rb +101 -0
  91. data/spec/models/patchednpm_npm_repository_spec.rb +53 -0
  92. data/spec/models/policy_enum_spec.rb +35 -0
  93. data/spec/models/repository_add_remove_content_spec.rb +2 -2
  94. data/spec/models/repository_sync_url_spec.rb +2 -2
  95. data/spec/models/repository_version_response_spec.rb +65 -0
  96. data/spec/models/repository_version_spec.rb +2 -26
  97. data/spec/spec_helper.rb +2 -2
  98. metadata +54 -14
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a84388df2b1f21fe7d2f10c1b4208d7e1d90e978a794c8b26769ccb30feaf790
4
- data.tar.gz: af45a2e0a1e2b4c7ce82f3b3d4dcc5ab812bb21b9349419c1a52c172028f7b85
3
+ metadata.gz: d31decca4bdd39f2b407e21af6adbde9acf7cfe783c72db9589b3bc0af6b7e00
4
+ data.tar.gz: 2163e24eccb4c73d0abda0be3392cd8a3fc346c5c5063a125a25798b31238417
5
5
  SHA512:
6
- metadata.gz: 722150c6cc4e7be3c80ddfd6974c22c117dd33f0a5ab758e48765ceefdf7d2d85f64fa43108d1c08a25828e55029c0bb4da38a95cfb78e5d178bb11864bddca5
7
- data.tar.gz: 97bd64dc367558590fb9da793369058332017e5e42467eea8f732f5222680c719abf0c762dfe98d7225b4226123bdd2a89f376f9470960530003aa56c053f90f
6
+ metadata.gz: fedc396e7bb9137113e25025d8553981f5e6aacf9c11a0908b9d405a016cd4a6a65623ce14b80174710316588132a653eb2a0760408ca9e2a84cc8e5566991a7
7
+ data.tar.gz: 81d48f592e68a7ef9f2b847a17aaffae2acf85702e64b92291edd8b304edbf6a38f0ba3521c0f1c18671acb96c9e385715865445b69dbf926abc22e2f160b814
data/README.md CHANGED
@@ -2,13 +2,14 @@
2
2
 
3
3
  PulpNpmClient - the Ruby gem for the Pulp 3 API
4
4
 
5
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ Fetch, Upload, Organize, and Distribute Software Packages
6
6
 
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: 0.1.0a1.dev01595813316
10
+ - Package version: 0.1.0a1.dev01596158992
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
+ For more information, please visit [https://pulpproject.org](https://pulpproject.org)
12
13
 
13
14
  ## Installation
14
15
 
@@ -23,16 +24,16 @@ gem build pulp_npm_client.gemspec
23
24
  Then either install the gem locally:
24
25
 
25
26
  ```shell
26
- gem install ./pulp_npm_client-0.1.0a1.dev01595813316.gem
27
+ gem install ./pulp_npm_client-0.1.0a1.dev01596158992.gem
27
28
  ```
28
29
 
29
- (for development, run `gem install --dev ./pulp_npm_client-0.1.0a1.dev01595813316.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_npm_client-0.1.0a1.dev01596158992.gem` to install the development dependencies)
30
31
 
31
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
33
 
33
34
  Finally add this to the Gemfile:
34
35
 
35
- gem 'pulp_npm_client', '~> 0.1.0a1.dev01595813316'
36
+ gem 'pulp_npm_client', '~> 0.1.0a1.dev01596158992'
36
37
 
37
38
  ### Install from Git
38
39
 
@@ -58,7 +59,7 @@ require 'pulp_npm_client'
58
59
 
59
60
  # Setup authorization
60
61
  PulpNpmClient.configure do |config|
61
- # Configure HTTP basic authorization: Basic
62
+ # Configure HTTP basic authorization: basicAuth
62
63
  config.username = 'YOUR_USERNAME'
63
64
  config.password = 'YOUR_PASSWORD'
64
65
  end
@@ -95,25 +96,25 @@ Class | Method | HTTP request | Description
95
96
  *PulpNpmClient::DistributionsNpmApi* | [**create**](docs/DistributionsNpmApi.md#create) | **POST** /pulp/api/v3/distributions/npm/npm/ | Create a npm distribution
96
97
  *PulpNpmClient::DistributionsNpmApi* | [**delete**](docs/DistributionsNpmApi.md#delete) | **DELETE** {npm_distribution_href} | Delete a npm distribution
97
98
  *PulpNpmClient::DistributionsNpmApi* | [**list**](docs/DistributionsNpmApi.md#list) | **GET** /pulp/api/v3/distributions/npm/npm/ | List npm distributions
98
- *PulpNpmClient::DistributionsNpmApi* | [**partial_update**](docs/DistributionsNpmApi.md#partial_update) | **PATCH** {npm_distribution_href} | Partially update a npm distribution
99
+ *PulpNpmClient::DistributionsNpmApi* | [**partial_update**](docs/DistributionsNpmApi.md#partial_update) | **PATCH** {npm_distribution_href} | Update a npm distribution
99
100
  *PulpNpmClient::DistributionsNpmApi* | [**read**](docs/DistributionsNpmApi.md#read) | **GET** {npm_distribution_href} | Inspect a npm distribution
100
101
  *PulpNpmClient::DistributionsNpmApi* | [**update**](docs/DistributionsNpmApi.md#update) | **PUT** {npm_distribution_href} | Update a npm distribution
101
102
  *PulpNpmClient::RemotesNpmApi* | [**create**](docs/RemotesNpmApi.md#create) | **POST** /pulp/api/v3/remotes/npm/npm/ | Create a npm remote
102
103
  *PulpNpmClient::RemotesNpmApi* | [**delete**](docs/RemotesNpmApi.md#delete) | **DELETE** {npm_remote_href} | Delete a npm remote
103
104
  *PulpNpmClient::RemotesNpmApi* | [**list**](docs/RemotesNpmApi.md#list) | **GET** /pulp/api/v3/remotes/npm/npm/ | List npm remotes
104
- *PulpNpmClient::RemotesNpmApi* | [**partial_update**](docs/RemotesNpmApi.md#partial_update) | **PATCH** {npm_remote_href} | Partially update a npm remote
105
+ *PulpNpmClient::RemotesNpmApi* | [**partial_update**](docs/RemotesNpmApi.md#partial_update) | **PATCH** {npm_remote_href} | Update a npm remote
105
106
  *PulpNpmClient::RemotesNpmApi* | [**read**](docs/RemotesNpmApi.md#read) | **GET** {npm_remote_href} | Inspect a npm remote
106
107
  *PulpNpmClient::RemotesNpmApi* | [**update**](docs/RemotesNpmApi.md#update) | **PUT** {npm_remote_href} | Update a npm remote
107
108
  *PulpNpmClient::RepositoriesNpmApi* | [**create**](docs/RepositoriesNpmApi.md#create) | **POST** /pulp/api/v3/repositories/npm/npm/ | Create a npm repository
108
109
  *PulpNpmClient::RepositoriesNpmApi* | [**delete**](docs/RepositoriesNpmApi.md#delete) | **DELETE** {npm_repository_href} | Delete a npm repository
109
110
  *PulpNpmClient::RepositoriesNpmApi* | [**list**](docs/RepositoriesNpmApi.md#list) | **GET** /pulp/api/v3/repositories/npm/npm/ | List npm repositorys
110
111
  *PulpNpmClient::RepositoriesNpmApi* | [**modify**](docs/RepositoriesNpmApi.md#modify) | **POST** {npm_repository_href}modify/ | Modify Repository Content
111
- *PulpNpmClient::RepositoriesNpmApi* | [**partial_update**](docs/RepositoriesNpmApi.md#partial_update) | **PATCH** {npm_repository_href} | Partially update a npm repository
112
+ *PulpNpmClient::RepositoriesNpmApi* | [**partial_update**](docs/RepositoriesNpmApi.md#partial_update) | **PATCH** {npm_repository_href} | Update a npm repository
112
113
  *PulpNpmClient::RepositoriesNpmApi* | [**read**](docs/RepositoriesNpmApi.md#read) | **GET** {npm_repository_href} | Inspect a npm repository
113
114
  *PulpNpmClient::RepositoriesNpmApi* | [**sync**](docs/RepositoriesNpmApi.md#sync) | **POST** {npm_repository_href}sync/ | Sync from remote
114
115
  *PulpNpmClient::RepositoriesNpmApi* | [**update**](docs/RepositoriesNpmApi.md#update) | **PUT** {npm_repository_href} | Update a npm repository
115
116
  *PulpNpmClient::RepositoriesNpmVersionsApi* | [**delete**](docs/RepositoriesNpmVersionsApi.md#delete) | **DELETE** {npm_repository_version_href} | Delete a repository version
116
- *PulpNpmClient::RepositoriesNpmVersionsApi* | [**list**](docs/RepositoriesNpmVersionsApi.md#list) | **GET** {npm_repository_href}versions/ | List repository versions
117
+ *PulpNpmClient::RepositoriesNpmVersionsApi* | [**list**](docs/RepositoriesNpmVersionsApi.md#list) | **GET** {npm_repository_version_href}versions/ | List repository versions
117
118
  *PulpNpmClient::RepositoriesNpmVersionsApi* | [**read**](docs/RepositoriesNpmVersionsApi.md#read) | **GET** {npm_repository_version_href} | Inspect a repository version
118
119
  *PulpNpmClient::RepositoriesNpmVersionsApi* | [**repair**](docs/RepositoriesNpmVersionsApi.md#repair) | **POST** {npm_repository_version_href}repair/ |
119
120
 
@@ -122,24 +123,34 @@ Class | Method | HTTP request | Description
122
123
 
123
124
  - [PulpNpmClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
124
125
  - [PulpNpmClient::ContentSummary](docs/ContentSummary.md)
126
+ - [PulpNpmClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
125
127
  - [PulpNpmClient::InlineResponse200](docs/InlineResponse200.md)
126
128
  - [PulpNpmClient::InlineResponse2001](docs/InlineResponse2001.md)
127
129
  - [PulpNpmClient::InlineResponse2002](docs/InlineResponse2002.md)
128
130
  - [PulpNpmClient::InlineResponse2003](docs/InlineResponse2003.md)
129
131
  - [PulpNpmClient::InlineResponse2004](docs/InlineResponse2004.md)
130
132
  - [PulpNpmClient::NpmNpmDistribution](docs/NpmNpmDistribution.md)
133
+ - [PulpNpmClient::NpmNpmDistributionResponse](docs/NpmNpmDistributionResponse.md)
131
134
  - [PulpNpmClient::NpmNpmRemote](docs/NpmNpmRemote.md)
135
+ - [PulpNpmClient::NpmNpmRemoteResponse](docs/NpmNpmRemoteResponse.md)
132
136
  - [PulpNpmClient::NpmNpmRepository](docs/NpmNpmRepository.md)
137
+ - [PulpNpmClient::NpmNpmRepositoryResponse](docs/NpmNpmRepositoryResponse.md)
133
138
  - [PulpNpmClient::NpmPackage](docs/NpmPackage.md)
139
+ - [PulpNpmClient::NpmPackageResponse](docs/NpmPackageResponse.md)
140
+ - [PulpNpmClient::PatchednpmNpmDistribution](docs/PatchednpmNpmDistribution.md)
141
+ - [PulpNpmClient::PatchednpmNpmRemote](docs/PatchednpmNpmRemote.md)
142
+ - [PulpNpmClient::PatchednpmNpmRepository](docs/PatchednpmNpmRepository.md)
143
+ - [PulpNpmClient::PolicyEnum](docs/PolicyEnum.md)
134
144
  - [PulpNpmClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
135
145
  - [PulpNpmClient::RepositorySyncURL](docs/RepositorySyncURL.md)
136
146
  - [PulpNpmClient::RepositoryVersion](docs/RepositoryVersion.md)
147
+ - [PulpNpmClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
137
148
 
138
149
 
139
150
  ## Documentation for Authorization
140
151
 
141
152
 
142
- ### Basic
153
+ ### basicAuth
143
154
 
144
155
  - **Type**: HTTP basic authentication
145
156
 
@@ -12,11 +12,11 @@ Method | HTTP request | Description
12
12
 
13
13
  ## create
14
14
 
15
- > NpmPackage create(relative_path, name, version, opts)
15
+ > NpmPackageResponse create(relative_path, name, version, opts)
16
16
 
17
17
  Create a package
18
18
 
19
- \"Artifacts\" need to be popped off and saved indpendently, as they are not actually part of the Content model.
19
+ Perform bookkeeping when saving Content. \"Artifacts\" need to be popped off and saved indpendently, as they are not actually part of the Content model.
20
20
 
21
21
  ### Example
22
22
 
@@ -25,7 +25,7 @@ Create a package
25
25
  require 'pulp_npm_client'
26
26
  # setup authorization
27
27
  PulpNpmClient.configure do |config|
28
- # Configure HTTP basic authorization: Basic
28
+ # Configure HTTP basic authorization: basicAuth
29
29
  config.username = 'YOUR USERNAME'
30
30
  config.password = 'YOUR PASSWORD'
31
31
  end
@@ -63,11 +63,11 @@ Name | Type | Description | Notes
63
63
 
64
64
  ### Return type
65
65
 
66
- [**NpmPackage**](NpmPackage.md)
66
+ [**NpmPackageResponse**](NpmPackageResponse.md)
67
67
 
68
68
  ### Authorization
69
69
 
70
- [Basic](../README.md#Basic)
70
+ [basicAuth](../README.md#basicAuth)
71
71
 
72
72
  ### HTTP request headers
73
73
 
@@ -81,7 +81,7 @@ Name | Type | Description | Notes
81
81
 
82
82
  List packages
83
83
 
84
- Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
84
+ A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
85
85
 
86
86
  ### Example
87
87
 
@@ -90,21 +90,21 @@ Define endpoint name which will appear in the API endpoint for this content type
90
90
  require 'pulp_npm_client'
91
91
  # setup authorization
92
92
  PulpNpmClient.configure do |config|
93
- # Configure HTTP basic authorization: Basic
93
+ # Configure HTTP basic authorization: basicAuth
94
94
  config.username = 'YOUR USERNAME'
95
95
  config.password = 'YOUR PASSWORD'
96
96
  end
97
97
 
98
98
  api_instance = PulpNpmClient::ContentPackagesApi.new
99
99
  opts = {
100
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
101
- name: 'name_example', # String | Filter results where name matches value
102
- name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
103
- repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
104
- repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
105
- repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
106
100
  limit: 56, # Integer | Number of results to return per page.
101
+ name: 'name_example', # String | name
102
+ name__in: 'name__in_example', # String | name__in
107
103
  offset: 56, # Integer | The initial index from which to return the results.
104
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
105
+ repository_version: 'repository_version_example', # String | repository_version
106
+ repository_version_added: 'repository_version_added_example', # String | repository_version_added
107
+ repository_version_removed: 'repository_version_removed_example', # String | repository_version_removed
108
108
  fields: 'fields_example', # String | A list of fields to include in the response.
109
109
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
110
110
  }
@@ -123,14 +123,14 @@ end
123
123
 
124
124
  Name | Type | Description | Notes
125
125
  ------------- | ------------- | ------------- | -------------
126
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
127
- **name** | **String**| Filter results where name matches value | [optional]
128
- **name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
129
- **repository_version** | **String**| Repository Version referenced by HREF | [optional]
130
- **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
131
- **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
132
126
  **limit** | **Integer**| Number of results to return per page. | [optional]
127
+ **name** | **String**| name | [optional]
128
+ **name__in** | **String**| name__in | [optional]
133
129
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
130
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
131
+ **repository_version** | **String**| repository_version | [optional]
132
+ **repository_version_added** | **String**| repository_version_added | [optional]
133
+ **repository_version_removed** | **String**| repository_version_removed | [optional]
134
134
  **fields** | **String**| A list of fields to include in the response. | [optional]
135
135
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
136
136
 
@@ -140,7 +140,7 @@ Name | Type | Description | Notes
140
140
 
141
141
  ### Authorization
142
142
 
143
- [Basic](../README.md#Basic)
143
+ [basicAuth](../README.md#basicAuth)
144
144
 
145
145
  ### HTTP request headers
146
146
 
@@ -150,11 +150,11 @@ Name | Type | Description | Notes
150
150
 
151
151
  ## read
152
152
 
153
- > NpmPackage read(package_href, opts)
153
+ > NpmPackageResponse read(package_href, opts)
154
154
 
155
155
  Inspect a package
156
156
 
157
- Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
157
+ A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/npm/units/ Also specify queryset and serializer for Package.
158
158
 
159
159
  ### Example
160
160
 
@@ -163,13 +163,13 @@ Define endpoint name which will appear in the API endpoint for this content type
163
163
  require 'pulp_npm_client'
164
164
  # setup authorization
165
165
  PulpNpmClient.configure do |config|
166
- # Configure HTTP basic authorization: Basic
166
+ # Configure HTTP basic authorization: basicAuth
167
167
  config.username = 'YOUR USERNAME'
168
168
  config.password = 'YOUR PASSWORD'
169
169
  end
170
170
 
171
171
  api_instance = PulpNpmClient::ContentPackagesApi.new
172
- package_href = 'package_href_example' # String | URI of Package. e.g.: /pulp/api/v3/content/npm/packages/1/
172
+ package_href = 'package_href_example' # String |
173
173
  opts = {
174
174
  fields: 'fields_example', # String | A list of fields to include in the response.
175
175
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -189,17 +189,17 @@ end
189
189
 
190
190
  Name | Type | Description | Notes
191
191
  ------------- | ------------- | ------------- | -------------
192
- **package_href** | **String**| URI of Package. e.g.: /pulp/api/v3/content/npm/packages/1/ |
192
+ **package_href** | **String**| |
193
193
  **fields** | **String**| A list of fields to include in the response. | [optional]
194
194
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
195
195
 
196
196
  ### Return type
197
197
 
198
- [**NpmPackage**](NpmPackage.md)
198
+ [**NpmPackageResponse**](NpmPackageResponse.md)
199
199
 
200
200
  ### Authorization
201
201
 
202
- [Basic](../README.md#Basic)
202
+ [basicAuth](../README.md#basicAuth)
203
203
 
204
204
  ### HTTP request headers
205
205
 
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **added** | **Hash<String, Hash<String, String>>** | |
8
- **removed** | **Hash<String, Hash<String, String>>** | |
9
- **present** | **Hash<String, Hash<String, String>>** | |
7
+ **added** | [**Object**](.md) | |
8
+ **removed** | [**Object**](.md) | |
9
+ **present** | [**Object**](.md) | |
10
10
 
11
11
  ## Code Sample
12
12
 
@@ -0,0 +1,21 @@
1
+ # PulpNpmClient::ContentSummaryResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **added** | [**Object**](.md) | |
8
+ **removed** | [**Object**](.md) | |
9
+ **present** | [**Object**](.md) | |
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpNpmClient'
15
+
16
+ instance = PulpNpmClient::ContentSummaryResponse.new(added: null,
17
+ removed: null,
18
+ present: null)
19
+ ```
20
+
21
+
@@ -7,7 +7,7 @@ Method | HTTP request | Description
7
7
  [**create**](DistributionsNpmApi.md#create) | **POST** /pulp/api/v3/distributions/npm/npm/ | Create a npm distribution
8
8
  [**delete**](DistributionsNpmApi.md#delete) | **DELETE** {npm_distribution_href} | Delete a npm distribution
9
9
  [**list**](DistributionsNpmApi.md#list) | **GET** /pulp/api/v3/distributions/npm/npm/ | List npm distributions
10
- [**partial_update**](DistributionsNpmApi.md#partial_update) | **PATCH** {npm_distribution_href} | Partially update a npm distribution
10
+ [**partial_update**](DistributionsNpmApi.md#partial_update) | **PATCH** {npm_distribution_href} | Update a npm distribution
11
11
  [**read**](DistributionsNpmApi.md#read) | **GET** {npm_distribution_href} | Inspect a npm distribution
12
12
  [**update**](DistributionsNpmApi.md#update) | **PUT** {npm_distribution_href} | Update a npm distribution
13
13
 
@@ -15,7 +15,7 @@ Method | HTTP request | Description
15
15
 
16
16
  ## create
17
17
 
18
- > AsyncOperationResponse create(data)
18
+ > AsyncOperationResponse create(npm_npm_distribution)
19
19
 
20
20
  Create a npm distribution
21
21
 
@@ -28,17 +28,17 @@ Trigger an asynchronous create task
28
28
  require 'pulp_npm_client'
29
29
  # setup authorization
30
30
  PulpNpmClient.configure do |config|
31
- # Configure HTTP basic authorization: Basic
31
+ # Configure HTTP basic authorization: basicAuth
32
32
  config.username = 'YOUR USERNAME'
33
33
  config.password = 'YOUR PASSWORD'
34
34
  end
35
35
 
36
36
  api_instance = PulpNpmClient::DistributionsNpmApi.new
37
- data = PulpNpmClient::NpmNpmDistribution.new # NpmNpmDistribution |
37
+ npm_npm_distribution = PulpNpmClient::NpmNpmDistribution.new # NpmNpmDistribution |
38
38
 
39
39
  begin
40
40
  #Create a npm distribution
41
- result = api_instance.create(data)
41
+ result = api_instance.create(npm_npm_distribution)
42
42
  p result
43
43
  rescue PulpNpmClient::ApiError => e
44
44
  puts "Exception when calling DistributionsNpmApi->create: #{e}"
@@ -50,7 +50,7 @@ end
50
50
 
51
51
  Name | Type | Description | Notes
52
52
  ------------- | ------------- | ------------- | -------------
53
- **data** | [**NpmNpmDistribution**](NpmNpmDistribution.md)| |
53
+ **npm_npm_distribution** | [**NpmNpmDistribution**](NpmNpmDistribution.md)| |
54
54
 
55
55
  ### Return type
56
56
 
@@ -58,17 +58,17 @@ Name | Type | Description | Notes
58
58
 
59
59
  ### Authorization
60
60
 
61
- [Basic](../README.md#Basic)
61
+ [basicAuth](../README.md#basicAuth)
62
62
 
63
63
  ### HTTP request headers
64
64
 
65
- - **Content-Type**: application/json
65
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
66
66
  - **Accept**: application/json
67
67
 
68
68
 
69
69
  ## delete
70
70
 
71
- > AsyncOperationResponse delete(npm_distribution_href)
71
+ > AsyncOperationResponse delete(npm_distribution_href, opts)
72
72
 
73
73
  Delete a npm distribution
74
74
 
@@ -81,17 +81,26 @@ Trigger an asynchronous delete task
81
81
  require 'pulp_npm_client'
82
82
  # setup authorization
83
83
  PulpNpmClient.configure do |config|
84
- # Configure HTTP basic authorization: Basic
84
+ # Configure HTTP basic authorization: basicAuth
85
85
  config.username = 'YOUR USERNAME'
86
86
  config.password = 'YOUR PASSWORD'
87
87
  end
88
88
 
89
89
  api_instance = PulpNpmClient::DistributionsNpmApi.new
90
- npm_distribution_href = 'npm_distribution_href_example' # String | URI of Npm Distribution. e.g.: /pulp/api/v3/distributions/npm/npm/1/
90
+ npm_distribution_href = 'npm_distribution_href_example' # String |
91
+ opts = {
92
+ base_path: 'base_path_example', # String | base_path
93
+ base_path__contains: 'base_path__contains_example', # String | base_path__contains
94
+ base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
95
+ base_path__in: 'base_path__in_example', # String | base_path__in
96
+ name: 'name_example', # String | name
97
+ name__in: 'name__in_example', # String | name__in
98
+ ordering: 'ordering_example' # String | Which field to use when ordering the results.
99
+ }
91
100
 
92
101
  begin
93
102
  #Delete a npm distribution
94
- result = api_instance.delete(npm_distribution_href)
103
+ result = api_instance.delete(npm_distribution_href, opts)
95
104
  p result
96
105
  rescue PulpNpmClient::ApiError => e
97
106
  puts "Exception when calling DistributionsNpmApi->delete: #{e}"
@@ -103,7 +112,14 @@ end
103
112
 
104
113
  Name | Type | Description | Notes
105
114
  ------------- | ------------- | ------------- | -------------
106
- **npm_distribution_href** | **String**| URI of Npm Distribution. e.g.: /pulp/api/v3/distributions/npm/npm/1/ |
115
+ **npm_distribution_href** | **String**| |
116
+ **base_path** | **String**| base_path | [optional]
117
+ **base_path__contains** | **String**| base_path__contains | [optional]
118
+ **base_path__icontains** | **String**| base_path__icontains | [optional]
119
+ **base_path__in** | **String**| base_path__in | [optional]
120
+ **name** | **String**| name | [optional]
121
+ **name__in** | **String**| name__in | [optional]
122
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
107
123
 
108
124
  ### Return type
109
125
 
@@ -111,7 +127,7 @@ Name | Type | Description | Notes
111
127
 
112
128
  ### Authorization
113
129
 
114
- [Basic](../README.md#Basic)
130
+ [basicAuth](../README.md#basicAuth)
115
131
 
116
132
  ### HTTP request headers
117
133
 
@@ -134,22 +150,22 @@ ViewSet for NPM Distributions.
134
150
  require 'pulp_npm_client'
135
151
  # setup authorization
136
152
  PulpNpmClient.configure do |config|
137
- # Configure HTTP basic authorization: Basic
153
+ # Configure HTTP basic authorization: basicAuth
138
154
  config.username = 'YOUR USERNAME'
139
155
  config.password = 'YOUR PASSWORD'
140
156
  end
141
157
 
142
158
  api_instance = PulpNpmClient::DistributionsNpmApi.new
143
159
  opts = {
144
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
145
- name: 'name_example', # String |
146
- name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
147
- base_path: 'base_path_example', # String |
148
- base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
149
- base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
150
- base_path__in: 'base_path__in_example', # String | Filter results where base_path is in a comma-separated list of values
160
+ base_path: 'base_path_example', # String | base_path
161
+ base_path__contains: 'base_path__contains_example', # String | base_path__contains
162
+ base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
163
+ base_path__in: 'base_path__in_example', # String | base_path__in
151
164
  limit: 56, # Integer | Number of results to return per page.
165
+ name: 'name_example', # String | name
166
+ name__in: 'name__in_example', # String | name__in
152
167
  offset: 56, # Integer | The initial index from which to return the results.
168
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
153
169
  fields: 'fields_example', # String | A list of fields to include in the response.
154
170
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
155
171
  }
@@ -168,15 +184,15 @@ end
168
184
 
169
185
  Name | Type | Description | Notes
170
186
  ------------- | ------------- | ------------- | -------------
171
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
172
- **name** | **String**| | [optional]
173
- **name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
174
- **base_path** | **String**| | [optional]
175
- **base_path__contains** | **String**| Filter results where base_path contains value | [optional]
176
- **base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
177
- **base_path__in** | **String**| Filter results where base_path is in a comma-separated list of values | [optional]
187
+ **base_path** | **String**| base_path | [optional]
188
+ **base_path__contains** | **String**| base_path__contains | [optional]
189
+ **base_path__icontains** | **String**| base_path__icontains | [optional]
190
+ **base_path__in** | **String**| base_path__in | [optional]
178
191
  **limit** | **Integer**| Number of results to return per page. | [optional]
192
+ **name** | **String**| name | [optional]
193
+ **name__in** | **String**| name__in | [optional]
179
194
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
195
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
180
196
  **fields** | **String**| A list of fields to include in the response. | [optional]
181
197
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
182
198
 
@@ -186,7 +202,7 @@ Name | Type | Description | Notes
186
202
 
187
203
  ### Authorization
188
204
 
189
- [Basic](../README.md#Basic)
205
+ [basicAuth](../README.md#basicAuth)
190
206
 
191
207
  ### HTTP request headers
192
208
 
@@ -196,9 +212,9 @@ Name | Type | Description | Notes
196
212
 
197
213
  ## partial_update
198
214
 
199
- > AsyncOperationResponse partial_update(npm_distribution_href, data)
215
+ > AsyncOperationResponse partial_update(npm_distribution_href, patchednpm_npm_distribution, opts)
200
216
 
201
- Partially update a npm distribution
217
+ Update a npm distribution
202
218
 
203
219
  Trigger an asynchronous partial update task
204
220
 
@@ -209,18 +225,27 @@ Trigger an asynchronous partial update task
209
225
  require 'pulp_npm_client'
210
226
  # setup authorization
211
227
  PulpNpmClient.configure do |config|
212
- # Configure HTTP basic authorization: Basic
228
+ # Configure HTTP basic authorization: basicAuth
213
229
  config.username = 'YOUR USERNAME'
214
230
  config.password = 'YOUR PASSWORD'
215
231
  end
216
232
 
217
233
  api_instance = PulpNpmClient::DistributionsNpmApi.new
218
- npm_distribution_href = 'npm_distribution_href_example' # String | URI of Npm Distribution. e.g.: /pulp/api/v3/distributions/npm/npm/1/
219
- data = PulpNpmClient::NpmNpmDistribution.new # NpmNpmDistribution |
234
+ npm_distribution_href = 'npm_distribution_href_example' # String |
235
+ patchednpm_npm_distribution = PulpNpmClient::PatchednpmNpmDistribution.new # PatchednpmNpmDistribution |
236
+ opts = {
237
+ base_path: 'base_path_example', # String | base_path
238
+ base_path__contains: 'base_path__contains_example', # String | base_path__contains
239
+ base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
240
+ base_path__in: 'base_path__in_example', # String | base_path__in
241
+ name: 'name_example', # String | name
242
+ name__in: 'name__in_example', # String | name__in
243
+ ordering: 'ordering_example' # String | Which field to use when ordering the results.
244
+ }
220
245
 
221
246
  begin
222
- #Partially update a npm distribution
223
- result = api_instance.partial_update(npm_distribution_href, data)
247
+ #Update a npm distribution
248
+ result = api_instance.partial_update(npm_distribution_href, patchednpm_npm_distribution, opts)
224
249
  p result
225
250
  rescue PulpNpmClient::ApiError => e
226
251
  puts "Exception when calling DistributionsNpmApi->partial_update: #{e}"
@@ -232,8 +257,15 @@ end
232
257
 
233
258
  Name | Type | Description | Notes
234
259
  ------------- | ------------- | ------------- | -------------
235
- **npm_distribution_href** | **String**| URI of Npm Distribution. e.g.: /pulp/api/v3/distributions/npm/npm/1/ |
236
- **data** | [**NpmNpmDistribution**](NpmNpmDistribution.md)| |
260
+ **npm_distribution_href** | **String**| |
261
+ **patchednpm_npm_distribution** | [**PatchednpmNpmDistribution**](PatchednpmNpmDistribution.md)| |
262
+ **base_path** | **String**| base_path | [optional]
263
+ **base_path__contains** | **String**| base_path__contains | [optional]
264
+ **base_path__icontains** | **String**| base_path__icontains | [optional]
265
+ **base_path__in** | **String**| base_path__in | [optional]
266
+ **name** | **String**| name | [optional]
267
+ **name__in** | **String**| name__in | [optional]
268
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
237
269
 
238
270
  ### Return type
239
271
 
@@ -241,17 +273,17 @@ Name | Type | Description | Notes
241
273
 
242
274
  ### Authorization
243
275
 
244
- [Basic](../README.md#Basic)
276
+ [basicAuth](../README.md#basicAuth)
245
277
 
246
278
  ### HTTP request headers
247
279
 
248
- - **Content-Type**: application/json
280
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
249
281
  - **Accept**: application/json
250
282
 
251
283
 
252
284
  ## read
253
285
 
254
- > NpmNpmDistribution read(npm_distribution_href, opts)
286
+ > NpmNpmDistributionResponse read(npm_distribution_href, opts)
255
287
 
256
288
  Inspect a npm distribution
257
289
 
@@ -264,13 +296,13 @@ ViewSet for NPM Distributions.
264
296
  require 'pulp_npm_client'
265
297
  # setup authorization
266
298
  PulpNpmClient.configure do |config|
267
- # Configure HTTP basic authorization: Basic
299
+ # Configure HTTP basic authorization: basicAuth
268
300
  config.username = 'YOUR USERNAME'
269
301
  config.password = 'YOUR PASSWORD'
270
302
  end
271
303
 
272
304
  api_instance = PulpNpmClient::DistributionsNpmApi.new
273
- npm_distribution_href = 'npm_distribution_href_example' # String | URI of Npm Distribution. e.g.: /pulp/api/v3/distributions/npm/npm/1/
305
+ npm_distribution_href = 'npm_distribution_href_example' # String |
274
306
  opts = {
275
307
  fields: 'fields_example', # String | A list of fields to include in the response.
276
308
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -290,17 +322,17 @@ end
290
322
 
291
323
  Name | Type | Description | Notes
292
324
  ------------- | ------------- | ------------- | -------------
293
- **npm_distribution_href** | **String**| URI of Npm Distribution. e.g.: /pulp/api/v3/distributions/npm/npm/1/ |
325
+ **npm_distribution_href** | **String**| |
294
326
  **fields** | **String**| A list of fields to include in the response. | [optional]
295
327
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
296
328
 
297
329
  ### Return type
298
330
 
299
- [**NpmNpmDistribution**](NpmNpmDistribution.md)
331
+ [**NpmNpmDistributionResponse**](NpmNpmDistributionResponse.md)
300
332
 
301
333
  ### Authorization
302
334
 
303
- [Basic](../README.md#Basic)
335
+ [basicAuth](../README.md#basicAuth)
304
336
 
305
337
  ### HTTP request headers
306
338
 
@@ -310,7 +342,7 @@ Name | Type | Description | Notes
310
342
 
311
343
  ## update
312
344
 
313
- > AsyncOperationResponse update(npm_distribution_href, data)
345
+ > AsyncOperationResponse update(npm_distribution_href, npm_npm_distribution, opts)
314
346
 
315
347
  Update a npm distribution
316
348
 
@@ -323,18 +355,27 @@ Trigger an asynchronous update task
323
355
  require 'pulp_npm_client'
324
356
  # setup authorization
325
357
  PulpNpmClient.configure do |config|
326
- # Configure HTTP basic authorization: Basic
358
+ # Configure HTTP basic authorization: basicAuth
327
359
  config.username = 'YOUR USERNAME'
328
360
  config.password = 'YOUR PASSWORD'
329
361
  end
330
362
 
331
363
  api_instance = PulpNpmClient::DistributionsNpmApi.new
332
- npm_distribution_href = 'npm_distribution_href_example' # String | URI of Npm Distribution. e.g.: /pulp/api/v3/distributions/npm/npm/1/
333
- data = PulpNpmClient::NpmNpmDistribution.new # NpmNpmDistribution |
364
+ npm_distribution_href = 'npm_distribution_href_example' # String |
365
+ npm_npm_distribution = PulpNpmClient::NpmNpmDistribution.new # NpmNpmDistribution |
366
+ opts = {
367
+ base_path: 'base_path_example', # String | base_path
368
+ base_path__contains: 'base_path__contains_example', # String | base_path__contains
369
+ base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
370
+ base_path__in: 'base_path__in_example', # String | base_path__in
371
+ name: 'name_example', # String | name
372
+ name__in: 'name__in_example', # String | name__in
373
+ ordering: 'ordering_example' # String | Which field to use when ordering the results.
374
+ }
334
375
 
335
376
  begin
336
377
  #Update a npm distribution
337
- result = api_instance.update(npm_distribution_href, data)
378
+ result = api_instance.update(npm_distribution_href, npm_npm_distribution, opts)
338
379
  p result
339
380
  rescue PulpNpmClient::ApiError => e
340
381
  puts "Exception when calling DistributionsNpmApi->update: #{e}"
@@ -346,8 +387,15 @@ end
346
387
 
347
388
  Name | Type | Description | Notes
348
389
  ------------- | ------------- | ------------- | -------------
349
- **npm_distribution_href** | **String**| URI of Npm Distribution. e.g.: /pulp/api/v3/distributions/npm/npm/1/ |
350
- **data** | [**NpmNpmDistribution**](NpmNpmDistribution.md)| |
390
+ **npm_distribution_href** | **String**| |
391
+ **npm_npm_distribution** | [**NpmNpmDistribution**](NpmNpmDistribution.md)| |
392
+ **base_path** | **String**| base_path | [optional]
393
+ **base_path__contains** | **String**| base_path__contains | [optional]
394
+ **base_path__icontains** | **String**| base_path__icontains | [optional]
395
+ **base_path__in** | **String**| base_path__in | [optional]
396
+ **name** | **String**| name | [optional]
397
+ **name__in** | **String**| name__in | [optional]
398
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
351
399
 
352
400
  ### Return type
353
401
 
@@ -355,10 +403,10 @@ Name | Type | Description | Notes
355
403
 
356
404
  ### Authorization
357
405
 
358
- [Basic](../README.md#Basic)
406
+ [basicAuth](../README.md#basicAuth)
359
407
 
360
408
  ### HTTP request headers
361
409
 
362
- - **Content-Type**: application/json
410
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
363
411
  - **Accept**: application/json
364
412