pulp_ostree_client 2.4.5 → 2.4.7

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 (175) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +29 -12
  3. data/docs/AsyncOperationResponse.md +8 -7
  4. data/docs/ContentCommitsApi.md +228 -47
  5. data/docs/ContentConfigsApi.md +227 -46
  6. data/docs/ContentContentApi.md +255 -57
  7. data/docs/ContentObjectsApi.md +228 -47
  8. data/docs/ContentRefsApi.md +238 -57
  9. data/docs/ContentSummariesApi.md +227 -46
  10. data/docs/ContentSummaryResponse.md +12 -11
  11. data/docs/DistributionsOstreeApi.md +387 -182
  12. data/docs/MyPermissionsResponse.md +8 -7
  13. data/docs/NestedRole.md +12 -11
  14. data/docs/NestedRoleResponse.md +12 -11
  15. data/docs/ObjectRolesResponse.md +8 -7
  16. data/docs/OstreeImportAll.md +10 -9
  17. data/docs/OstreeImportCommitsToRef.md +12 -11
  18. data/docs/OstreeOstreeCommitResponse.md +26 -23
  19. data/docs/OstreeOstreeConfigResponse.md +20 -17
  20. data/docs/OstreeOstreeContent.md +16 -13
  21. data/docs/OstreeOstreeContentResponse.md +22 -19
  22. data/docs/OstreeOstreeDistribution.md +20 -19
  23. data/docs/OstreeOstreeDistributionResponse.md +32 -31
  24. data/docs/OstreeOstreeObjectResponse.md +24 -21
  25. data/docs/OstreeOstreeRefResponse.md +26 -23
  26. data/docs/OstreeOstreeRemote.md +54 -53
  27. data/docs/OstreeOstreeRemoteResponse.md +54 -53
  28. data/docs/OstreeOstreeRemoteResponseHiddenFieldsInner.md +20 -0
  29. data/docs/OstreeOstreeRepository.md +18 -17
  30. data/docs/OstreeOstreeRepositoryResponse.md +30 -29
  31. data/docs/OstreeOstreeSummaryResponse.md +20 -17
  32. data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
  33. data/docs/PaginatedostreeOstreeCommitResponseList.md +14 -13
  34. data/docs/PaginatedostreeOstreeConfigResponseList.md +14 -13
  35. data/docs/PaginatedostreeOstreeContentResponseList.md +14 -13
  36. data/docs/PaginatedostreeOstreeDistributionResponseList.md +14 -13
  37. data/docs/PaginatedostreeOstreeObjectResponseList.md +14 -13
  38. data/docs/PaginatedostreeOstreeRefResponseList.md +14 -13
  39. data/docs/PaginatedostreeOstreeRemoteResponseList.md +14 -13
  40. data/docs/PaginatedostreeOstreeRepositoryResponseList.md +14 -13
  41. data/docs/PaginatedostreeOstreeSummaryResponseList.md +14 -13
  42. data/docs/PatchedostreeOstreeDistribution.md +20 -19
  43. data/docs/PatchedostreeOstreeRemote.md +54 -53
  44. data/docs/PatchedostreeOstreeRepository.md +18 -17
  45. data/docs/PolicyEnum.md +4 -5
  46. data/docs/RemotesOstreeApi.md +389 -184
  47. data/docs/Repair.md +8 -7
  48. data/docs/RepositoriesOstreeApi.md +502 -231
  49. data/docs/RepositoriesOstreeVersionsApi.md +152 -82
  50. data/docs/RepositoryAddRemoveContent.md +12 -11
  51. data/docs/RepositorySyncURL.md +10 -9
  52. data/docs/RepositoryVersionResponse.md +22 -21
  53. data/docs/SetLabel.md +10 -9
  54. data/docs/SetLabelResponse.md +10 -9
  55. data/docs/UnsetLabel.md +8 -7
  56. data/docs/UnsetLabelResponse.md +10 -9
  57. data/lib/pulp_ostree_client/api/content_commits_api.rb +165 -12
  58. data/lib/pulp_ostree_client/api/content_configs_api.rb +162 -9
  59. data/lib/pulp_ostree_client/api/content_content_api.rb +171 -14
  60. data/lib/pulp_ostree_client/api/content_objects_api.rb +165 -12
  61. data/lib/pulp_ostree_client/api/content_refs_api.rb +165 -12
  62. data/lib/pulp_ostree_client/api/content_summaries_api.rb +162 -9
  63. data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +95 -59
  64. data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +104 -68
  65. data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +125 -76
  66. data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +40 -30
  67. data/lib/pulp_ostree_client/api_client.rb +137 -102
  68. data/lib/pulp_ostree_client/api_error.rb +2 -1
  69. data/lib/pulp_ostree_client/configuration.rb +162 -21
  70. data/lib/pulp_ostree_client/models/async_operation_response.rb +32 -22
  71. data/lib/pulp_ostree_client/models/content_summary_response.rb +36 -22
  72. data/lib/pulp_ostree_client/models/my_permissions_response.rb +32 -22
  73. data/lib/pulp_ostree_client/models/nested_role.rb +32 -22
  74. data/lib/pulp_ostree_client/models/nested_role_response.rb +32 -22
  75. data/lib/pulp_ostree_client/models/object_roles_response.rb +32 -22
  76. data/lib/pulp_ostree_client/models/ostree_import_all.rb +34 -22
  77. data/lib/pulp_ostree_client/models/ostree_import_commits_to_ref.rb +36 -22
  78. data/lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb +53 -25
  79. data/lib/pulp_ostree_client/models/ostree_ostree_config_response.rb +49 -25
  80. data/lib/pulp_ostree_client/models/ostree_ostree_content.rb +49 -23
  81. data/lib/pulp_ostree_client/models/ostree_ostree_content_response.rb +51 -25
  82. data/lib/pulp_ostree_client/models/ostree_ostree_distribution.rb +34 -22
  83. data/lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb +36 -24
  84. data/lib/pulp_ostree_client/models/ostree_ostree_object_response.rb +53 -25
  85. data/lib/pulp_ostree_client/models/ostree_ostree_ref_response.rb +53 -25
  86. data/lib/pulp_ostree_client/models/ostree_ostree_remote.rb +61 -23
  87. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +64 -26
  88. data/lib/pulp_ostree_client/models/{ostree_ostree_remote_response_hidden_fields.rb → ostree_ostree_remote_response_hidden_fields_inner.rb} +37 -25
  89. data/lib/pulp_ostree_client/models/ostree_ostree_repository.rb +32 -22
  90. data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +34 -24
  91. data/lib/pulp_ostree_client/models/ostree_ostree_summary_response.rb +49 -25
  92. data/lib/pulp_ostree_client/models/paginated_repository_version_response_list.rb +34 -22
  93. data/lib/pulp_ostree_client/models/paginatedostree_ostree_commit_response_list.rb +34 -22
  94. data/lib/pulp_ostree_client/models/paginatedostree_ostree_config_response_list.rb +34 -22
  95. data/lib/pulp_ostree_client/models/paginatedostree_ostree_content_response_list.rb +34 -22
  96. data/lib/pulp_ostree_client/models/paginatedostree_ostree_distribution_response_list.rb +34 -22
  97. data/lib/pulp_ostree_client/models/paginatedostree_ostree_object_response_list.rb +34 -22
  98. data/lib/pulp_ostree_client/models/paginatedostree_ostree_ref_response_list.rb +34 -22
  99. data/lib/pulp_ostree_client/models/paginatedostree_ostree_remote_response_list.rb +34 -22
  100. data/lib/pulp_ostree_client/models/paginatedostree_ostree_repository_response_list.rb +34 -22
  101. data/lib/pulp_ostree_client/models/paginatedostree_ostree_summary_response_list.rb +34 -22
  102. data/lib/pulp_ostree_client/models/patchedostree_ostree_distribution.rb +40 -24
  103. data/lib/pulp_ostree_client/models/patchedostree_ostree_remote.rb +67 -25
  104. data/lib/pulp_ostree_client/models/patchedostree_ostree_repository.rb +35 -23
  105. data/lib/pulp_ostree_client/models/policy_enum.rb +8 -4
  106. data/lib/pulp_ostree_client/models/repair.rb +30 -22
  107. data/lib/pulp_ostree_client/models/repository_add_remove_content.rb +30 -22
  108. data/lib/pulp_ostree_client/models/repository_sync_url.rb +30 -22
  109. data/lib/pulp_ostree_client/models/repository_version_response.rb +32 -24
  110. data/lib/pulp_ostree_client/models/set_label.rb +34 -22
  111. data/lib/pulp_ostree_client/models/set_label_response.rb +34 -22
  112. data/lib/pulp_ostree_client/models/unset_label.rb +33 -23
  113. data/lib/pulp_ostree_client/models/unset_label_response.rb +33 -23
  114. data/lib/pulp_ostree_client/version.rb +2 -2
  115. data/lib/pulp_ostree_client.rb +2 -2
  116. data/pulp_ostree_client.gemspec +9 -6
  117. data/spec/api/content_commits_api_spec.rb +31 -4
  118. data/spec/api/content_configs_api_spec.rb +30 -3
  119. data/spec/api/content_content_api_spec.rb +31 -4
  120. data/spec/api/content_objects_api_spec.rb +31 -4
  121. data/spec/api/content_refs_api_spec.rb +31 -4
  122. data/spec/api/content_summaries_api_spec.rb +30 -3
  123. data/spec/api/distributions_ostree_api_spec.rb +15 -14
  124. data/spec/api/remotes_ostree_api_spec.rb +20 -19
  125. data/spec/api/repositories_ostree_api_spec.rb +17 -17
  126. data/spec/api/repositories_ostree_versions_api_spec.rb +12 -11
  127. data/spec/models/async_operation_response_spec.rb +7 -12
  128. data/spec/models/content_summary_response_spec.rb +9 -14
  129. data/spec/models/my_permissions_response_spec.rb +7 -12
  130. data/spec/models/nested_role_response_spec.rb +9 -14
  131. data/spec/models/nested_role_spec.rb +9 -14
  132. data/spec/models/object_roles_response_spec.rb +7 -12
  133. data/spec/models/ostree_import_all_spec.rb +8 -13
  134. data/spec/models/ostree_import_commits_to_ref_spec.rb +9 -14
  135. data/spec/models/ostree_ostree_commit_response_spec.rb +21 -20
  136. data/spec/models/ostree_ostree_config_response_spec.rb +18 -17
  137. data/spec/models/ostree_ostree_content_response_spec.rb +19 -18
  138. data/spec/models/ostree_ostree_content_spec.rb +16 -15
  139. data/spec/models/ostree_ostree_distribution_response_spec.rb +19 -24
  140. data/spec/models/ostree_ostree_distribution_spec.rb +13 -18
  141. data/spec/models/ostree_ostree_object_response_spec.rb +20 -19
  142. data/spec/models/ostree_ostree_ref_response_spec.rb +21 -20
  143. data/spec/models/{ostree_ostree_remote_response_hidden_fields_spec.rb → ostree_ostree_remote_response_hidden_fields_inner_spec.rb} +11 -16
  144. data/spec/models/ostree_ostree_remote_response_spec.rb +30 -35
  145. data/spec/models/ostree_ostree_remote_spec.rb +30 -35
  146. data/spec/models/ostree_ostree_repository_response_spec.rb +18 -23
  147. data/spec/models/ostree_ostree_repository_spec.rb +12 -17
  148. data/spec/models/ostree_ostree_summary_response_spec.rb +18 -17
  149. data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
  150. data/spec/models/paginatedostree_ostree_commit_response_list_spec.rb +10 -15
  151. data/spec/models/paginatedostree_ostree_config_response_list_spec.rb +10 -15
  152. data/spec/models/paginatedostree_ostree_content_response_list_spec.rb +10 -15
  153. data/spec/models/paginatedostree_ostree_distribution_response_list_spec.rb +10 -15
  154. data/spec/models/paginatedostree_ostree_object_response_list_spec.rb +10 -15
  155. data/spec/models/paginatedostree_ostree_ref_response_list_spec.rb +10 -15
  156. data/spec/models/paginatedostree_ostree_remote_response_list_spec.rb +10 -15
  157. data/spec/models/paginatedostree_ostree_repository_response_list_spec.rb +10 -15
  158. data/spec/models/paginatedostree_ostree_summary_response_list_spec.rb +10 -15
  159. data/spec/models/patchedostree_ostree_distribution_spec.rb +13 -18
  160. data/spec/models/patchedostree_ostree_remote_spec.rb +30 -35
  161. data/spec/models/patchedostree_ostree_repository_spec.rb +12 -17
  162. data/spec/models/policy_enum_spec.rb +6 -11
  163. data/spec/models/repair_spec.rb +7 -12
  164. data/spec/models/repository_add_remove_content_spec.rb +9 -14
  165. data/spec/models/repository_sync_url_spec.rb +8 -13
  166. data/spec/models/repository_version_response_spec.rb +14 -19
  167. data/spec/models/set_label_response_spec.rb +8 -13
  168. data/spec/models/set_label_spec.rb +8 -13
  169. data/spec/models/unset_label_response_spec.rb +8 -13
  170. data/spec/models/unset_label_spec.rb +7 -12
  171. data/spec/spec_helper.rb +1 -1
  172. metadata +83 -59
  173. data/docs/OstreeOstreeRemoteResponseHiddenFields.md +0 -19
  174. data/spec/api_client_spec.rb +0 -188
  175. data/spec/configuration_spec.rb +0 -42
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 623811a6d87a994b81fe64e37a38e59be35631e02cc3233423addd86c3d9a194
4
- data.tar.gz: afd71d82b3f385c6b75cd5ba5d0fe7c484e7ac28f8a23dd8db6cff6f3c957387
3
+ metadata.gz: 61a21a7e670b839c67da0b71180c0ec3f7ea72ba1f3f454a967215852b0c1b34
4
+ data.tar.gz: 4280d3a19de553f15ea0e0c9b0a803d1997478d29829c9f6fa72aa43ad12cb52
5
5
  SHA512:
6
- metadata.gz: 8c271e40e036e7ccc9415c021a1a92f25269c90dfa1d5151e108880ba94a3fa478aeba402604f7cad84f3f86796211b9c131f5a7523127e151588e6ef2e630db
7
- data.tar.gz: 1768861afe899cb0058dc4385b42e3c4c638c4bbb31cec16977fd85ef631094fb7b11a8115480f810086ee5090393e682cca4fe1b1e08fba91a4fcf9255fda35
6
+ metadata.gz: d9b85f62ab57dc20e6cef2a33e3b53e057977b39b33fed396a80e8503777ff92f29abff443a267755513ab261e7203820a95f05e8b6ad2df1b954fd319614ff5
7
+ data.tar.gz: '089d864590a70ca7c08502acbcd73e795dc8f98d7f298d4934ba133cd31d20be29186e1940db2995a0e201d878f69edfb8b8ad2325750b5f9157a5ef5b7a888c'
data/README.md CHANGED
@@ -7,7 +7,8 @@ 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.4.5
10
+ - Package version: 2.4.7
11
+ - Generator version: 7.10.0
11
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
14
 
@@ -24,16 +25,16 @@ gem build pulp_ostree_client.gemspec
24
25
  Then either install the gem locally:
25
26
 
26
27
  ```shell
27
- gem install ./pulp_ostree_client-2.4.5.gem
28
+ gem install ./pulp_ostree_client-2.4.7.gem
28
29
  ```
29
30
 
30
- (for development, run `gem install --dev ./pulp_ostree_client-2.4.5.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_ostree_client-2.4.7.gem` to install the development dependencies)
31
32
 
32
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
34
 
34
35
  Finally add this to the Gemfile:
35
36
 
36
- gem 'pulp_ostree_client', '~> 2.4.5'
37
+ gem 'pulp_ostree_client', '~> 2.4.7'
37
38
 
38
39
  ### Install from Git
39
40
 
@@ -62,6 +63,8 @@ PulpOstreeClient.configure do |config|
62
63
  # Configure HTTP basic authorization: basicAuth
63
64
  config.username = 'YOUR_USERNAME'
64
65
  config.password = 'YOUR_PASSWORD'
66
+ # Configure faraday connection
67
+ config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
65
68
  end
66
69
 
67
70
  api_instance = PulpOstreeClient::ContentCommitsApi.new
@@ -69,17 +72,18 @@ opts = {
69
72
  checksum: 'checksum_example', # String | Filter results where checksum matches value
70
73
  limit: 56, # Integer | Number of results to return per page.
71
74
  offset: 56, # Integer | The initial index from which to return the results.
72
- 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) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
73
- orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
74
- prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
75
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
76
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
75
+ ordering: ['-checksum'], # 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) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
76
+ orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
77
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
78
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
79
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
80
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
77
81
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
78
82
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
79
83
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
80
84
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
81
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
82
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
85
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
86
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
83
87
  }
84
88
 
85
89
  begin
@@ -100,17 +104,29 @@ Class | Method | HTTP request | Description
100
104
  ------------ | ------------- | ------------- | -------------
101
105
  *PulpOstreeClient::ContentCommitsApi* | [**list**](docs/ContentCommitsApi.md#list) | **GET** /pulp/api/v3/content/ostree/commits/ | List ostree commits
102
106
  *PulpOstreeClient::ContentCommitsApi* | [**read**](docs/ContentCommitsApi.md#read) | **GET** {ostree_ostree_commit_href} | Inspect an ostree commit
107
+ *PulpOstreeClient::ContentCommitsApi* | [**set_label**](docs/ContentCommitsApi.md#set_label) | **POST** {ostree_ostree_commit_href}set_label/ | Set a label
108
+ *PulpOstreeClient::ContentCommitsApi* | [**unset_label**](docs/ContentCommitsApi.md#unset_label) | **POST** {ostree_ostree_commit_href}unset_label/ | Unset a label
103
109
  *PulpOstreeClient::ContentConfigsApi* | [**list**](docs/ContentConfigsApi.md#list) | **GET** /pulp/api/v3/content/ostree/configs/ | List ostree configs
104
110
  *PulpOstreeClient::ContentConfigsApi* | [**read**](docs/ContentConfigsApi.md#read) | **GET** {ostree_ostree_config_href} | Inspect an ostree config
111
+ *PulpOstreeClient::ContentConfigsApi* | [**set_label**](docs/ContentConfigsApi.md#set_label) | **POST** {ostree_ostree_config_href}set_label/ | Set a label
112
+ *PulpOstreeClient::ContentConfigsApi* | [**unset_label**](docs/ContentConfigsApi.md#unset_label) | **POST** {ostree_ostree_config_href}unset_label/ | Unset a label
105
113
  *PulpOstreeClient::ContentContentApi* | [**create**](docs/ContentContentApi.md#create) | **POST** /pulp/api/v3/content/ostree/content/ | Create an ostree content
106
114
  *PulpOstreeClient::ContentContentApi* | [**list**](docs/ContentContentApi.md#list) | **GET** /pulp/api/v3/content/ostree/content/ | List ostree contents
107
115
  *PulpOstreeClient::ContentContentApi* | [**read**](docs/ContentContentApi.md#read) | **GET** {ostree_ostree_content_href} | Inspect an ostree content
116
+ *PulpOstreeClient::ContentContentApi* | [**set_label**](docs/ContentContentApi.md#set_label) | **POST** {ostree_ostree_content_href}set_label/ | Set a label
117
+ *PulpOstreeClient::ContentContentApi* | [**unset_label**](docs/ContentContentApi.md#unset_label) | **POST** {ostree_ostree_content_href}unset_label/ | Unset a label
108
118
  *PulpOstreeClient::ContentObjectsApi* | [**list**](docs/ContentObjectsApi.md#list) | **GET** /pulp/api/v3/content/ostree/objects/ | List ostree objects
109
119
  *PulpOstreeClient::ContentObjectsApi* | [**read**](docs/ContentObjectsApi.md#read) | **GET** {ostree_ostree_object_href} | Inspect an ostree object
120
+ *PulpOstreeClient::ContentObjectsApi* | [**set_label**](docs/ContentObjectsApi.md#set_label) | **POST** {ostree_ostree_object_href}set_label/ | Set a label
121
+ *PulpOstreeClient::ContentObjectsApi* | [**unset_label**](docs/ContentObjectsApi.md#unset_label) | **POST** {ostree_ostree_object_href}unset_label/ | Unset a label
110
122
  *PulpOstreeClient::ContentRefsApi* | [**list**](docs/ContentRefsApi.md#list) | **GET** /pulp/api/v3/content/ostree/refs/ | List ostree refs
111
123
  *PulpOstreeClient::ContentRefsApi* | [**read**](docs/ContentRefsApi.md#read) | **GET** {ostree_ostree_ref_href} | Inspect an ostree ref
124
+ *PulpOstreeClient::ContentRefsApi* | [**set_label**](docs/ContentRefsApi.md#set_label) | **POST** {ostree_ostree_ref_href}set_label/ | Set a label
125
+ *PulpOstreeClient::ContentRefsApi* | [**unset_label**](docs/ContentRefsApi.md#unset_label) | **POST** {ostree_ostree_ref_href}unset_label/ | Unset a label
112
126
  *PulpOstreeClient::ContentSummariesApi* | [**list**](docs/ContentSummariesApi.md#list) | **GET** /pulp/api/v3/content/ostree/summaries/ | List ostree summarys
113
127
  *PulpOstreeClient::ContentSummariesApi* | [**read**](docs/ContentSummariesApi.md#read) | **GET** {ostree_ostree_summary_href} | Inspect an ostree summary
128
+ *PulpOstreeClient::ContentSummariesApi* | [**set_label**](docs/ContentSummariesApi.md#set_label) | **POST** {ostree_ostree_summary_href}set_label/ | Set a label
129
+ *PulpOstreeClient::ContentSummariesApi* | [**unset_label**](docs/ContentSummariesApi.md#unset_label) | **POST** {ostree_ostree_summary_href}unset_label/ | Unset a label
114
130
  *PulpOstreeClient::DistributionsOstreeApi* | [**add_role**](docs/DistributionsOstreeApi.md#add_role) | **POST** {ostree_ostree_distribution_href}add_role/ | Add a role
115
131
  *PulpOstreeClient::DistributionsOstreeApi* | [**create**](docs/DistributionsOstreeApi.md#create) | **POST** /pulp/api/v3/distributions/ostree/ostree/ | Create an ostree distribution
116
132
  *PulpOstreeClient::DistributionsOstreeApi* | [**delete**](docs/DistributionsOstreeApi.md#delete) | **DELETE** {ostree_ostree_distribution_href} | Delete an ostree distribution
@@ -177,7 +193,7 @@ Class | Method | HTTP request | Description
177
193
  - [PulpOstreeClient::OstreeOstreeRefResponse](docs/OstreeOstreeRefResponse.md)
178
194
  - [PulpOstreeClient::OstreeOstreeRemote](docs/OstreeOstreeRemote.md)
179
195
  - [PulpOstreeClient::OstreeOstreeRemoteResponse](docs/OstreeOstreeRemoteResponse.md)
180
- - [PulpOstreeClient::OstreeOstreeRemoteResponseHiddenFields](docs/OstreeOstreeRemoteResponseHiddenFields.md)
196
+ - [PulpOstreeClient::OstreeOstreeRemoteResponseHiddenFieldsInner](docs/OstreeOstreeRemoteResponseHiddenFieldsInner.md)
181
197
  - [PulpOstreeClient::OstreeOstreeRepository](docs/OstreeOstreeRepository.md)
182
198
  - [PulpOstreeClient::OstreeOstreeRepositoryResponse](docs/OstreeOstreeRepositoryResponse.md)
183
199
  - [PulpOstreeClient::OstreeOstreeSummaryResponse](docs/OstreeOstreeSummaryResponse.md)
@@ -208,6 +224,7 @@ Class | Method | HTTP request | Description
208
224
  ## Documentation for Authorization
209
225
 
210
226
 
227
+ Authentication schemes defined for the API:
211
228
  ### basicAuth
212
229
 
213
230
  - **Type**: HTTP basic authentication
@@ -2,16 +2,17 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **task** | **String** | The href of the task. |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **task** | **String** | The href of the task. | |
8
8
 
9
- ## Code Sample
9
+ ## Example
10
10
 
11
11
  ```ruby
12
- require 'PulpOstreeClient'
12
+ require 'pulp_ostree_client'
13
13
 
14
- instance = PulpOstreeClient::AsyncOperationResponse.new(task: null)
14
+ instance = PulpOstreeClient::AsyncOperationResponse.new(
15
+ task: null
16
+ )
15
17
  ```
16
18
 
17
-
@@ -2,25 +2,26 @@
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**list**](ContentCommitsApi.md#list) | **GET** /pulp/api/v3/content/ostree/commits/ | List ostree commits
8
- [**read**](ContentCommitsApi.md#read) | **GET** {ostree_ostree_commit_href} | Inspect an ostree commit
9
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**list**](ContentCommitsApi.md#list) | **GET** /pulp/api/v3/content/ostree/commits/ | List ostree commits |
8
+ | [**read**](ContentCommitsApi.md#read) | **GET** {ostree_ostree_commit_href} | Inspect an ostree commit |
9
+ | [**set_label**](ContentCommitsApi.md#set_label) | **POST** {ostree_ostree_commit_href}set_label/ | Set a label |
10
+ | [**unset_label**](ContentCommitsApi.md#unset_label) | **POST** {ostree_ostree_commit_href}unset_label/ | Unset a label |
10
11
 
11
12
 
12
13
  ## list
13
14
 
14
- > PaginatedostreeOstreeCommitResponseList list(opts)
15
+ > <PaginatedostreeOstreeCommitResponseList> list(opts)
15
16
 
16
17
  List ostree commits
17
18
 
18
19
  A ViewSet class for OSTree commits.
19
20
 
20
- ### Example
21
+ ### Examples
21
22
 
22
23
  ```ruby
23
- # load the gem
24
+ require 'time'
24
25
  require 'pulp_ostree_client'
25
26
  # setup authorization
26
27
  PulpOstreeClient.configure do |config|
@@ -34,47 +35,66 @@ opts = {
34
35
  checksum: 'checksum_example', # String | Filter results where checksum matches value
35
36
  limit: 56, # Integer | Number of results to return per page.
36
37
  offset: 56, # Integer | The initial index from which to return the results.
37
- 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) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
38
- orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
39
- prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
40
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
41
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
38
+ ordering: ['-checksum'], # 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) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
39
+ orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
40
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
41
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
42
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
43
+ pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
42
44
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
43
45
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
44
46
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
45
47
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
46
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
47
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
48
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
49
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
48
50
  }
49
51
 
50
52
  begin
51
- #List ostree commits
53
+ # List ostree commits
52
54
  result = api_instance.list(opts)
53
55
  p result
54
56
  rescue PulpOstreeClient::ApiError => e
55
- puts "Exception when calling ContentCommitsApi->list: #{e}"
57
+ puts "Error when calling ContentCommitsApi->list: #{e}"
56
58
  end
57
59
  ```
58
60
 
59
- ### Parameters
61
+ #### Using the list_with_http_info variant
60
62
 
63
+ This returns an Array which contains the response data, status code and headers.
61
64
 
62
- Name | Type | Description | Notes
63
- ------------- | ------------- | ------------- | -------------
64
- **checksum** | **String**| Filter results where checksum matches value | [optional]
65
- **limit** | **Integer**| Number of results to return per page. | [optional]
66
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
67
- **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;checksum&#x60; - Checksum * &#x60;-checksum&#x60; - Checksum (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
68
- **orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
69
- **prn__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
70
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
71
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
72
- **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
73
- **repository_version** | **String**| Repository Version referenced by HREF/PRN | [optional]
74
- **repository_version_added** | **String**| Repository Version referenced by HREF/PRN | [optional]
75
- **repository_version_removed** | **String**| Repository Version referenced by HREF/PRN | [optional]
76
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
77
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
65
+ > <Array(<PaginatedostreeOstreeCommitResponseList>, Integer, Hash)> list_with_http_info(opts)
66
+
67
+ ```ruby
68
+ begin
69
+ # List ostree commits
70
+ data, status_code, headers = api_instance.list_with_http_info(opts)
71
+ p status_code # => 2xx
72
+ p headers # => { ... }
73
+ p data # => <PaginatedostreeOstreeCommitResponseList>
74
+ rescue PulpOstreeClient::ApiError => e
75
+ puts "Error when calling ContentCommitsApi->list_with_http_info: #{e}"
76
+ end
77
+ ```
78
+
79
+ ### Parameters
80
+
81
+ | Name | Type | Description | Notes |
82
+ | ---- | ---- | ----------- | ----- |
83
+ | **checksum** | **String** | Filter results where checksum matches value | [optional] |
84
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
85
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
86
+ | **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;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;checksum&#x60; - Checksum * &#x60;-checksum&#x60; - Checksum (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
87
+ | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
88
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
89
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
90
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
91
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
92
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
93
+ | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
94
+ | **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
95
+ | **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
96
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
97
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
78
98
 
79
99
  ### Return type
80
100
 
@@ -92,16 +112,16 @@ Name | Type | Description | Notes
92
112
 
93
113
  ## read
94
114
 
95
- > OstreeOstreeCommitResponse read(ostree_ostree_commit_href, opts)
115
+ > <OstreeOstreeCommitResponse> read(ostree_ostree_commit_href, opts)
96
116
 
97
117
  Inspect an ostree commit
98
118
 
99
119
  A ViewSet class for OSTree commits.
100
120
 
101
- ### Example
121
+ ### Examples
102
122
 
103
123
  ```ruby
104
- # load the gem
124
+ require 'time'
105
125
  require 'pulp_ostree_client'
106
126
  # setup authorization
107
127
  PulpOstreeClient.configure do |config|
@@ -113,27 +133,44 @@ end
113
133
  api_instance = PulpOstreeClient::ContentCommitsApi.new
114
134
  ostree_ostree_commit_href = 'ostree_ostree_commit_href_example' # String |
115
135
  opts = {
116
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
117
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
136
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
137
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
118
138
  }
119
139
 
120
140
  begin
121
- #Inspect an ostree commit
141
+ # Inspect an ostree commit
122
142
  result = api_instance.read(ostree_ostree_commit_href, opts)
123
143
  p result
124
144
  rescue PulpOstreeClient::ApiError => e
125
- puts "Exception when calling ContentCommitsApi->read: #{e}"
145
+ puts "Error when calling ContentCommitsApi->read: #{e}"
126
146
  end
127
147
  ```
128
148
 
129
- ### Parameters
149
+ #### Using the read_with_http_info variant
130
150
 
151
+ This returns an Array which contains the response data, status code and headers.
131
152
 
132
- Name | Type | Description | Notes
133
- ------------- | ------------- | ------------- | -------------
134
- **ostree_ostree_commit_href** | **String**| |
135
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
136
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
153
+ > <Array(<OstreeOstreeCommitResponse>, Integer, Hash)> read_with_http_info(ostree_ostree_commit_href, opts)
154
+
155
+ ```ruby
156
+ begin
157
+ # Inspect an ostree commit
158
+ data, status_code, headers = api_instance.read_with_http_info(ostree_ostree_commit_href, opts)
159
+ p status_code # => 2xx
160
+ p headers # => { ... }
161
+ p data # => <OstreeOstreeCommitResponse>
162
+ rescue PulpOstreeClient::ApiError => e
163
+ puts "Error when calling ContentCommitsApi->read_with_http_info: #{e}"
164
+ end
165
+ ```
166
+
167
+ ### Parameters
168
+
169
+ | Name | Type | Description | Notes |
170
+ | ---- | ---- | ----------- | ----- |
171
+ | **ostree_ostree_commit_href** | **String** | | |
172
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
173
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
137
174
 
138
175
  ### Return type
139
176
 
@@ -148,3 +185,147 @@ Name | Type | Description | Notes
148
185
  - **Content-Type**: Not defined
149
186
  - **Accept**: application/json
150
187
 
188
+
189
+ ## set_label
190
+
191
+ > <SetLabelResponse> set_label(ostree_ostree_commit_href, set_label)
192
+
193
+ Set a label
194
+
195
+ Set a single pulp_label on the object to a specific value or null.
196
+
197
+ ### Examples
198
+
199
+ ```ruby
200
+ require 'time'
201
+ require 'pulp_ostree_client'
202
+ # setup authorization
203
+ PulpOstreeClient.configure do |config|
204
+ # Configure HTTP basic authorization: basicAuth
205
+ config.username = 'YOUR USERNAME'
206
+ config.password = 'YOUR PASSWORD'
207
+ end
208
+
209
+ api_instance = PulpOstreeClient::ContentCommitsApi.new
210
+ ostree_ostree_commit_href = 'ostree_ostree_commit_href_example' # String |
211
+ set_label = PulpOstreeClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
212
+
213
+ begin
214
+ # Set a label
215
+ result = api_instance.set_label(ostree_ostree_commit_href, set_label)
216
+ p result
217
+ rescue PulpOstreeClient::ApiError => e
218
+ puts "Error when calling ContentCommitsApi->set_label: #{e}"
219
+ end
220
+ ```
221
+
222
+ #### Using the set_label_with_http_info variant
223
+
224
+ This returns an Array which contains the response data, status code and headers.
225
+
226
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ostree_ostree_commit_href, set_label)
227
+
228
+ ```ruby
229
+ begin
230
+ # Set a label
231
+ data, status_code, headers = api_instance.set_label_with_http_info(ostree_ostree_commit_href, set_label)
232
+ p status_code # => 2xx
233
+ p headers # => { ... }
234
+ p data # => <SetLabelResponse>
235
+ rescue PulpOstreeClient::ApiError => e
236
+ puts "Error when calling ContentCommitsApi->set_label_with_http_info: #{e}"
237
+ end
238
+ ```
239
+
240
+ ### Parameters
241
+
242
+ | Name | Type | Description | Notes |
243
+ | ---- | ---- | ----------- | ----- |
244
+ | **ostree_ostree_commit_href** | **String** | | |
245
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
246
+
247
+ ### Return type
248
+
249
+ [**SetLabelResponse**](SetLabelResponse.md)
250
+
251
+ ### Authorization
252
+
253
+ [basicAuth](../README.md#basicAuth)
254
+
255
+ ### HTTP request headers
256
+
257
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
258
+ - **Accept**: application/json
259
+
260
+
261
+ ## unset_label
262
+
263
+ > <UnsetLabelResponse> unset_label(ostree_ostree_commit_href, unset_label)
264
+
265
+ Unset a label
266
+
267
+ Unset a single pulp_label on the object.
268
+
269
+ ### Examples
270
+
271
+ ```ruby
272
+ require 'time'
273
+ require 'pulp_ostree_client'
274
+ # setup authorization
275
+ PulpOstreeClient.configure do |config|
276
+ # Configure HTTP basic authorization: basicAuth
277
+ config.username = 'YOUR USERNAME'
278
+ config.password = 'YOUR PASSWORD'
279
+ end
280
+
281
+ api_instance = PulpOstreeClient::ContentCommitsApi.new
282
+ ostree_ostree_commit_href = 'ostree_ostree_commit_href_example' # String |
283
+ unset_label = PulpOstreeClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
284
+
285
+ begin
286
+ # Unset a label
287
+ result = api_instance.unset_label(ostree_ostree_commit_href, unset_label)
288
+ p result
289
+ rescue PulpOstreeClient::ApiError => e
290
+ puts "Error when calling ContentCommitsApi->unset_label: #{e}"
291
+ end
292
+ ```
293
+
294
+ #### Using the unset_label_with_http_info variant
295
+
296
+ This returns an Array which contains the response data, status code and headers.
297
+
298
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ostree_ostree_commit_href, unset_label)
299
+
300
+ ```ruby
301
+ begin
302
+ # Unset a label
303
+ data, status_code, headers = api_instance.unset_label_with_http_info(ostree_ostree_commit_href, unset_label)
304
+ p status_code # => 2xx
305
+ p headers # => { ... }
306
+ p data # => <UnsetLabelResponse>
307
+ rescue PulpOstreeClient::ApiError => e
308
+ puts "Error when calling ContentCommitsApi->unset_label_with_http_info: #{e}"
309
+ end
310
+ ```
311
+
312
+ ### Parameters
313
+
314
+ | Name | Type | Description | Notes |
315
+ | ---- | ---- | ----------- | ----- |
316
+ | **ostree_ostree_commit_href** | **String** | | |
317
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
318
+
319
+ ### Return type
320
+
321
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
322
+
323
+ ### Authorization
324
+
325
+ [basicAuth](../README.md#basicAuth)
326
+
327
+ ### HTTP request headers
328
+
329
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
330
+ - **Accept**: application/json
331
+