# Get the contents of a published package

`GET /v1/registry/packages/{orgName}/{packageName}/contents`

Returns the manifest, README, and GitHub facts of a published package, read from its public repository. Needs no authentication. The org and name match without regard to case. A part that GitHub cannot return is null, and the manifest then carries an error.

## Path parameters

- `orgName` (string, required)
- `packageName` (string, required)

## Example request

```bash
curl "https://api.spice.ai/v1/registry/packages/<orgName>/<packageName>/contents"
```

```http
GET /v1/registry/packages/<orgName>/<packageName>/contents HTTP/1.1
Host: api.spice.ai
```

## Responses

**200 OK**

The package contents

Content type: `application/json`

- `manifest` (object, required)
  - `yaml` (string | null, required): The raw spicepod.yaml
  - `path` (string | null, required): Repository-relative path of the manifest
  - `error` (string | null, required): Why the manifest is missing
- `readme` (string | null, required): The README as Markdown
- `repository` (object | null, required)
  - `html_url` (string, required)
  - `description` (string | null, required)
  - `homepage` (string | null, required)
  - `stars` (integer, required)
  - `forks` (integer, required)
  - `open_issues` (integer, required)
  - `topics` (array of string, required)
  - `license` (object | null, required)
    - `key` (string, required)
    - `name` (string, required)
    - `url` (string | null, required)
  - `default_branch` (string, required)
  - `pushed_at` (string (date-time) | null, required)
  - `updated_at` (string (date-time) | null, required)

**404 Not Found**

No published package has this org and name.

**503 Service Unavailable**

The registry could not be loaded. Try again later.

OpenAPI: [api.spice.ai/openapi.json](https://api.spice.ai/openapi.json)
