docs/ContentModulemdsApi.md in pulp_rpm_client-3.11.0 vs docs/ContentModulemdsApi.md in pulp_rpm_client-3.11.1

- old
+ new

@@ -10,11 +10,11 @@ ## create -> AsyncOperationResponse create(relative_path, name, stream, version, static_context, context, arch, artifacts, dependencies, opts) +> AsyncOperationResponse create(relative_path, name, stream, version, context, arch, artifacts, dependencies, opts) Create a modulemd Trigger an asynchronous task to create content,optionally create new repository version. @@ -33,25 +33,25 @@ api_instance = PulpRpmClient::ContentModulemdsApi.new relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path name = 'name_example' # String | Modulemd name. stream = 'stream_example' # String | Stream name. version = 'version_example' # String | Modulemd version. -static_context = true # Boolean | Modulemd static-context flag. context = 'context_example' # String | Modulemd context. arch = 'arch_example' # String | Modulemd architecture. artifacts = nil # Object | Modulemd artifacts. dependencies = nil # Object | Modulemd dependencies. opts = { artifact: 'artifact_example', # String | Artifact file representing the physical content file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit. repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with. + static_context: true, # Boolean | Modulemd static-context flag. packages: 'packages_example' # Array<String> | Modulemd artifacts' packages. } begin #Create a modulemd - result = api_instance.create(relative_path, name, stream, version, static_context, context, arch, artifacts, dependencies, opts) + result = api_instance.create(relative_path, name, stream, version, context, arch, artifacts, dependencies, opts) p result rescue PulpRpmClient::ApiError => e puts "Exception when calling ContentModulemdsApi->create: #{e}" end ``` @@ -63,17 +63,17 @@ ------------- | ------------- | ------------- | ------------- **relative_path** | **String**| Path where the artifact is located relative to distributions base_path | **name** | **String**| Modulemd name. | **stream** | **String**| Stream name. | **version** | **String**| Modulemd version. | - **static_context** | **Boolean**| Modulemd static-context flag. | **context** | **String**| Modulemd context. | **arch** | **String**| Modulemd architecture. | **artifacts** | [**Object**](Object.md)| Modulemd artifacts. | **dependencies** | [**Object**](Object.md)| Modulemd dependencies. | **artifact** | **String**| Artifact file representing the physical content | [optional] **file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional] **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional] + **static_context** | **Boolean**| Modulemd static-context flag. | [optional] **packages** | [**Array&lt;String&gt;**](String.md)| Modulemd artifacts&#39; packages. | [optional] ### Return type [**AsyncOperationResponse**](AsyncOperationResponse.md)