ProGet SDK Reference
Version:

CompleteUploadAsync(string uploadId, DockerDigest digest) Method

Notifies the package store that an upload has been completed and should either be deleted or moved to blob storage with the specified digest.

Syntax

public abstract Task<long> CompleteUploadAsync(string uploadId, DockerDigest digest)

Parameters

uploadId
Type: string

The unique ID for the upload.

digest
Type: DockerDigest

Content digest of the blob if validation succeeded. If null (Nothing in Visual Basic), the upload data is deleted.

Returns

Length of the completed blob.