Skip to content

Commit

Permalink
api: Add Downloadendpoint field in the library item file struct
Browse files Browse the repository at this point in the history
Closes: #3386
  • Loading branch information
jitinkumar94 authored and dougm committed Mar 27, 2024
1 parent cc533e4 commit f9e1a48
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions vapi/library/library_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@ type Checksum struct {

// File provides methods to get information on library item files.
type File struct {
Cached *bool `json:"cached,omitempty"`
Checksum *Checksum `json:"checksum_info,omitempty"`
Name string `json:"name,omitempty"`
Size *int64 `json:"size,omitempty"`
Version string `json:"version,omitempty"`
Cached *bool `json:"cached,omitempty"`
Checksum *Checksum `json:"checksum_info,omitempty"`
Name string `json:"name,omitempty"`
Size *int64 `json:"size,omitempty"`
Version string `json:"version,omitempty"`
DownloadEndpoint string `json:"file_download_endpoint,omitempty"`
}

// ListLibraryItemFiles returns a list of all the files for a library item.
Expand Down

0 comments on commit f9e1a48

Please sign in to comment.