---
title: "Get a list of ChannelResources for the given ProjectResource"
method: GET
path: "/{spaceId}/projects/{projectId}/channels"
tags: ["Channels"]
---

# Get a list of ChannelResources for the given ProjectResource

`GET /{spaceId}/projects/{projectId}/channels`

Lists all the channels for the given project

## Path parameters

- `spaceId` string, required
- `projectId` string, required

## Query parameters

- `partialName` string
- `skip` integer
- `take` integer

## Response `200`

List of all the channels for the given project

- ChannelResourceCollection
  - `Id` string
  - `Items` ChannelResource[]
    - `AutomaticEphemeralEnvironmentDeployments` boolean
    - `CustomFieldDefinitions` ChannelCustomFieldDefinitionResource[]
      - `Description` string
      - `FieldName` string
    - `Description` string
    - `EphemeralEnvironmentNameTemplate` string
    - `GitReferenceRules` string[]
    - `GitResourceRules` ChannelGitResourceRuleResource[]
      - `GitDependencyActions` DeploymentActionGitDependencyResource[]
        - `DeploymentActionSlug` string, required
        - `GitDependencyName` string, required
      - `Id` string
      - `Rules` string[]
    - `Id` string
    - `IsDefault` boolean
    - `LastModifiedBy` string
    - `LastModifiedOn` string, date-time
    - `LifecycleId` string
    - `Links` object
    - `Name` string
    - `ParentEnvironmentId` string — The parent environment for all ephemeral environments created in this channel.
    - `ProjectId` string
    - `Rules` ChannelVersionRuleResource[]
      - `ActionPackages` DeploymentActionPackageResource[]
        - `DeploymentAction` string
        - `PackageReference` string
      - `Id` string
      - `LastModifiedBy` string
      - `LastModifiedOn` string, date-time
      - `Links` object
      - `Tag` string
      - `VersioningStrategy` string
      - `VersionRange` string
      - `VersionTagRegex` string
    - `Slug` string
    - `SpaceId` string
    - `TenantTags` string[]
    - `Type` string
  - `ItemsPerPage` integer
  - `ItemType` string
  - `LastModifiedBy` string
  - `LastModifiedOn` string, date-time
  - `LastPageNumber` integer
  - `Links` object
  - `NumberOfPages` integer
  - `TotalResults` integer

## Other responses

- `304` — Not Modified
- `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)
