Sha256: 0121a1a85853c8975b540dd81dad7cb5deccbeec2dbad876dd914f71d2ebb80a

Contents?: true

Size: 1.64 KB

Versions: 9

Compression:

Stored size: 1.64 KB

Contents

# PulpPythonClient::PypiMetadataApi

All URIs are relative to *https://pulp*

Method | HTTP request | Description
------------- | ------------- | -------------
[**read**](PypiMetadataApi.md#read) | **GET** /pypi/{path}/pypi/{meta}/ | Get package metadata



## read

> PackageMetadataResponse read(meta, path, opts)

Get package metadata

Retrieves the package's core-metadata specified by https://packaging.python.org/specifications/core-metadata/. `meta` must be a path in form of `{package}/json/` or `{package}/{version}/json/`

### Example

```ruby
# load the gem
require 'pulp_python_client'

api_instance = PulpPythonClient::PypiMetadataApi.new
meta = 'meta_example' # String | 
path = 'path_example' # String | 
opts = {
  fields: 'fields_example', # String | A list of fields to include in the response.
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
}

begin
  #Get package metadata
  result = api_instance.read(meta, path, opts)
  p result
rescue PulpPythonClient::ApiError => e
  puts "Exception when calling PypiMetadataApi->read: #{e}"
end
```

### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **meta** | **String**|  | 
 **path** | **String**|  | 
 **fields** | **String**| A list of fields to include in the response. | [optional] 
 **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional] 

### Return type

[**PackageMetadataResponse**](PackageMetadataResponse.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pulp_python_client-3.7.3 docs/PypiMetadataApi.md
pulp_python_client-3.6.1 docs/PypiMetadataApi.md
pulp_python_client-3.7.2 docs/PypiMetadataApi.md
pulp_python_client-3.7.1 docs/PypiMetadataApi.md
pulp_python_client-3.7.0 docs/PypiMetadataApi.md
pulp_python_client-3.6.0 docs/PypiMetadataApi.md
pulp_python_client-3.5.2 docs/PypiMetadataApi.md
pulp_python_client-3.5.1 docs/PypiMetadataApi.md
pulp_python_client-3.5.0 docs/PypiMetadataApi.md