The official guidance is to create Project level feeds, unless you know what you're doing. And to discourage users, you need to create a new feed using the REST API instead.
Exactly how, the issue doesn't explain. So let me show you how I did it.
Navigate to the Artifacts Hub and hit the + Create Feed button. Enter a bogus name for the feed. Don't hit create yet!
Then open the Developer Tools in Chrome or Edge. Go to the Network tab and hit Create to create the feed:
From the Network tab, find the POST call to the
_api/Packaging/Feeds endpoint and copy it as PowerShell (or the kind of scripting language you're familiar with).
Change the following elements:
- Remove the Project GUID from the POST URL ant the Path header:
- Remove the Project element from the payload
- Change the
temporary-bogus-nameto the desired value
-UseBasicParsingif, like me, you don't have Internet Explorer installed
Don't copy my values verbatim. The Identity Descriptors are specific to you account and you need a valid Bearer Token.
Now run the code and: there's your feed!
Note: this example doesn't change the authentication headers, the Bearer Token will expire, breaking the code. You can replace then Bearer Token with a base64 encoded PAT string.
Posted on by:
Any questions about software architecture? Let us know for the chance to be featured on a DEV podcast!
Gracie Gregory (she/her) -
Projects with Great Documentation
Nick Taylor (he/him) -
How I got perfect Google Lighthouse score with Gatsby
Jessica Valencia -
I need three people before I start another side-project