Meta data for a file attached to an artifact.

interface Attachment {
    _links?: any;
    author?: IdentityRef;
    contentHash?: string;
    createdDate?: Date;
    description?: string;
    displayName?: string;
    id?: number;
    properties?: any;
    url?: string;
}

Properties

_links?: any

Links to other related objects.

author?: IdentityRef

The person that uploaded this attachment.

contentHash?: string

Content hash of on-disk representation of file content. Its calculated by the server by using SHA1 hash function.

createdDate?: Date

The time the attachment was uploaded.

description?: string

The description of the attachment.

displayName?: string

The display name of the attachment. Can't be null or empty.

id?: number

Id of the attachment.

properties?: any

Extended properties.

url?: string

The url to download the content of the attachment.