Skip to content

Commit

Permalink
Add source to asset API (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
leszko committed May 5, 2023
1 parent cdbcb61 commit 4eb9387
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,10 +381,15 @@ type (
DownloadURL string `json:"downloadUrl"`
PlaybackURL string `json:"playbackUrl"`
StaticMp4 bool `json:"staticMp4,omitempty"`
Source AssetSource `json:"source"`
Status AssetStatus `json:"status"`
AssetSpec
}

AssetSource struct {
Type string `json:"type,omitempty"`
}

AssetStatus struct {
Phase string `json:"phase"`
UpdatedAt int64 `json:"updatedAt,omitempty"`
Expand Down

0 comments on commit 4eb9387

Please sign in to comment.