// Package Store

Upload a package

Push a build artifact into the workspace feed.

POST/api/packagestore/package

Description

Uploads a package (nupkg / zip / tar / tar.gz) into the workspace's built-in feed. The package ID and version are parsed from the filename - see the package types page.

The request is multipart/form-data with two fields:

  • WorkspaceId - target workspace ID
  • PackageFile - the package file (max 1 GB)

Parameters

NameInTypeRequiredDescription
WorkspaceId form string yes ID of the destination workspace.
PackageFile form file yes The package binary. Filename must be <PackageId>.<Version>.<ext>.

Errors

StatusMeaning
400 Invalid WorkspaceId, missing PackageFile, or filename that doesn't match the <PackageId>.<Version>.<ext> pattern.
401 Missing or invalid Basic auth credentials, or the service account lacks the required role.