---
title: "all"
method: GET
path: "/api/v1/repos/{user_id}/{repo}/packages.json"
tags: ["packages"]
---

# all

`GET /api/v1/repos/{user_id}/{repo}/packages.json`

List All Packages (not grouped by package version)

**Example request:**

```
curl "https://packagecloud.io/api/v1/repos/test_user/test_repo/packages.json"
```

## Path parameters

- `user_id` string, required
- `repo` string, required

## Query parameters

- `page` integer
- `per_page` integer

## Response `200`

[PackageFragment](#object_PackageFragment) A JSON array of PackageFragment objects.

- PackageFragment[]
  - `name` string, required — The name of the package.
  - `created_at` string, required — When the package was uploaded.
  - `distro_version` string, required — The distro\_version for the package.
  - `version` string, required — The version of the package.
  - `release` string, nullable — The release of the package (if available).
  - `architecture` string, nullable — The architecture of the package (if available).
  - `epoch` integer, nullable — The epoch of the package (if available).
  - `scope` string, nullable — The scope of the package (if available).
  - `private` boolean, required — Whether or not the package is in a private repository.
  - `type` string, required — The type of package ("deb", "gem", or "rpm").
  - `filename` string, required — The filename of the package.
  - `uploader_name` string, required — The name of the uploader for the package.
  - `indexed` boolean, required — Whether or not this package has been indexed.
  - `repository_html_url` string, required — The HTML url of the repository.
  - `package_url` string, required — The API url for this package.
  - `package_html_url` string, required — The HTML url for this package.
  - `downloads_detail_url` string, required — The url to get access log details for package downloads.
  - `downloads_series_url` string, required — The url to get time series data for package downloads.
  - `downloads_count_url` string, required — The url to get the total number of package downloads.
  - `promote_url` string, required — The url for promoting this to another repository.
  - `destroy_url` string, required — The url for the HTTP DELETE request to destroy this package.
  - `download_url` string, required — The direct download URL for this package (includes a read token).
  - `sha256sum` string, nullable — The SHA-256 checksum of the package file.

---

[API](https://skmtc.net/cstrahan/apis/packagecloud-api.md) · [All operations](https://skmtc.net/cstrahan/apis/packagecloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cstrahan/packagecloud-api/versions/9744ac4cffc2/schema)
