---
title: "Lists available package versions for the specified platform hub feed and package."
method: GET
path: "/platformhub/feeds/{id}/packages/versions"
tags: ["PlatformHub"]
---

# Lists available package versions for the specified platform hub feed and package.

`GET /platformhub/feeds/{id}/packages/versions`

## Path parameters

- `id` string, required

## Query parameters

- `filter` string
- `includePreRelease` boolean
- `includeReleaseNotes` boolean
- `packageId` string, required
- `preReleaseTag` string
- `skip` integer
- `take` integer
- `versionRange` string

## Response `200`

Contains a paginated collection of package versions returned from a search

- PlatformHubPackageVersionResourcePaginatedCollection
  - `Items` PlatformHubPackageVersionResource[]
    - `FeedId` string, required
    - `Id` string, required
    - `PackageId` string, required
    - `Published` string, date-time
    - `ReleaseNotes` string
    - `SizeBytes` integer
    - `Title` string
    - `Version` string, required
  - `ItemsPerPage` integer
  - `ItemType` string
  - `LastPageNumber` integer
  - `NumberOfPages` integer
  - `TotalResults` integer

## Other responses

- `400` — Bad request. Either the payload was not structurally valid or business rules did not permit the operation.
- `404` — Not found. One or more of the entities involved in the operation was not found.

---

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