Packages

Validate a package intended for the built in package feed, but does not write the package.

post/spaces/{spaceIdentifier}/packages/raw/validate

Request

  • Base URL
    https://demo.octopus.app/api
  • URL
    https://demo.octopus.app/api/spaces/{spaceIdentifier}/packages/raw/validate
  • Auth
    • API key in header X-Octopus-ApiKey
    • or API key in query parameter ApiKey
    • or API key in header X-NuGet-ApiKey

Path parameters

spaceIdentifierstring required

Identifier (ID or slug) of the space

Response

The validation issue detected for a package, or null if the package passes all validation checks.

Issue'CorruptedNugetPackage' | 'CouldNotValidate' | 'EmptyFile' | 'FileNameTooLong' | 'InvalidCharactersInFileName' | 'InvalidPackageId' | 'PackageAlreadyExists' | 'UnsupportedFileExtension'

Changes

No recorded changes to this operation across all 13 revisions of this API.