Npm - Get Package Upstreaming Behavior
Get the upstreaming behavior of the (scoped) package within the context of a feed
GET https://pkgs.dev.azure.com/{organization}/{project}/_apis/packaging/feeds/{feedId}/npm/packages/@{packageScope}/{unscopedPackageName}/upstreaming?api-version=7.1
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
feed
|
path | True |
string |
The name or id of the feed |
organization
|
path | True |
string |
The name of the Azure DevOps organization. |
package
|
path | True |
string |
The scope of the package |
unscoped
|
path | True |
string |
The name of the scoped package |
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. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
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 | Grants the ability to read feeds and packages. Also grants the ability to search packages. |
Definitions
Name | Description |
---|---|
Upstreaming |
Describes upstreaming behavior for a given feed/protocol/package |
Upstream |
Indicates whether external upstream versions should be considered for this package |
UpstreamingBehavior
Describes upstreaming behavior for a given feed/protocol/package
Name | Type | Description |
---|---|---|
versionsFromExternalUpstreams |
Indicates whether external upstream versions should be considered for this package |
UpstreamVersionVisibility
Indicates whether external upstream versions should be considered for this package
Name | Type | Description |
---|---|---|
allowExternalVersions |
string |
|
auto |
string |