---
title: "Create a feed."
method: POST
path: "/feeds"
tags: ["Feeds"]
---

# Create a feed.

`POST /feeds`

## Headers

- `user-Agent` string

## Request body

- CreateFeedCommand
  - `ClientVersion` SemanticVersion
    - `Format` 'Semver' | 'Maven' | 'Docker' | 'Octopus' | 'Lexicographic'
    - `HasMetadata` boolean
    - `IsLegacyVersion` boolean
    - `IsPrerelease` boolean
    - `IsSemVer2` boolean
    - `Major` integer
    - `Metadata` string
    - `Minor` integer
    - `OriginalString` string
    - `Patch` integer
    - `Release` string
    - `ReleaseLabels` string[]
    - `Revision` integer
    - `Version` string
  - `FeedType` 'None' | 'NuGet' | 'Docker' | 'Maven' | 'OctopusProject' | 'GitHub' | 'Helm' | 'OciRegistry' | 'AwsElasticContainerRegistry' | 'BuiltIn' | 'S3' | 'AzureContainerRegistry' | 'GoogleContainerRegistry' | 'ArtifactoryGeneric' | 'Npm' | 'GcsStorage' | 'PyPi', required
  - `Name` string, required
  - `PackageAcquisitionLocationOptions` string[]
  - `Slug` string
  - `SpaceId` string, required

## Response `201`

Created

- FeedResource
  - `FeedType` 'None' | 'NuGet' | 'Docker' | 'Maven' | 'OctopusProject' | 'GitHub' | 'Helm' | 'OciRegistry' | 'AwsElasticContainerRegistry' | 'BuiltIn' | 'S3' | 'AzureContainerRegistry' | 'GoogleContainerRegistry' | 'ArtifactoryGeneric' | 'Npm' | 'GcsStorage' | 'PyPi'
  - `Id` string
  - `LastModifiedBy` string
  - `LastModifiedOn` string, date-time
  - `Links` object
  - `Name` string
  - `PackageAcquisitionLocationOptions` string[]
  - `Slug` string
  - `SpaceId` string

## 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)
