Share via


Feed Management - Create Feed View

Create a new view on the referenced feed.

The project parameter must be supplied if the feed was created in a project.

POST https://feeds.dev.azure.com/{organization}/{project}/_apis/packaging/Feeds/{feedId}/views?api-version=7.1

URI Parameters

Name In Required Type Description
feedId
path True

string

Name or Id of the feed.

organization
path True

string

The name of the Azure DevOps organization.

project
path

string

Project ID or project name

api-version
query True

string

Version of the API to use. This should be set to '7.1' to use this version of the api.

Request Body

Name Type Description
_links

ReferenceLinks

Related REST links.

id

string (uuid)

Id of the view.

name

string

Name of the view.

type

FeedViewType

Type of view.

url

string

Url of the view.

visibility

FeedVisibility

Visibility status of the view.

Responses

Name Type Description
200 OK

FeedView

successful operation

Security

oauth2

Type: oauth2
Flow: accessCode
Authorization URL: https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
Token URL: https://app.vssps.visualstudio.com/oauth2/token?client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer

Scopes

Name Description
vso.packaging_write Grants the ability to create and read feeds and packages.

Definitions

Name Description
FeedView

A view on top of a feed.

FeedViewType

Type of view.

FeedVisibility

Visibility status of the view.

ReferenceLinks

The class to represent a collection of REST reference links.

FeedView

A view on top of a feed.

Name Type Description
_links

ReferenceLinks

Related REST links.

id

string (uuid)

Id of the view.

name

string

Name of the view.

type

FeedViewType

Type of view.

url

string

Url of the view.

visibility

FeedVisibility

Visibility status of the view.

FeedViewType

Type of view.

Value Description
implicit

Internal view type that is automatically created and managed by the system.

none

Default, unspecified view type.

release

View used as a promotion destination to classify released artifacts.

FeedVisibility

Visibility status of the view.

Value Description
aadTenant

Feed is accessible by all the valid users present in the Azure Active Directory tenant.

collection

Feed is accessible by all the valid users present in the organization where the feed resides (for example across organization 'myorg' at 'dev.azure.com/myorg')

organization

Feed is accessible by all the valid users present in the enterprise where the feed resides. Note that legacy naming and back compat leaves the name of this value out of sync with its new meaning.

private

Only accessible by the permissions explicitly set by the feed administrator.

The class to represent a collection of REST reference links.

Name Type Description
links

object

The readonly view of the links. Because Reference links are readonly, we only want to expose them as read only.