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 IDPackageFile- the package file (max 1 GB)
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
WorkspaceId |
form | string | yes | ID of the destination workspace. |
PackageFile |
form | file | yes | The package binary. Filename must be <PackageId>.<Version>.<ext>. |
Errors
| Status | Meaning |
|---|---|
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. |