Skip to content

Commit

Permalink
Add CreatorID to stream and asset (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
leszko committed Mar 6, 2024
1 parent bc1a412 commit 3d67e2f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions api.go
Expand Up @@ -208,7 +208,8 @@ type (
RecordingURL string `json:"recordingUrl,omitempty"`
Mp4Url string `json:"mp4Url,omitempty"`

Pull *StreamPull `json:"pull,omitempty"`
Pull *StreamPull `json:"pull,omitempty"`
CreatorID *CreatorID `json:"creatorID,omitempty"`
}

StreamPull struct {
Expand Down Expand Up @@ -424,6 +425,11 @@ type (
Task Task `json:"task"`
}

CreatorID struct {
Type string `json:"type,omitempty"`
Value string `json:"value,omitempty"`
}

Asset struct {
ID string `json:"id"`
Deleted bool `json:"deleted,omitempty"`
Expand All @@ -438,7 +444,8 @@ type (
Source AssetSource `json:"source"`
Status AssetStatus `json:"status"`
AssetSpec
SourcePlaybackReady bool `json:"sourcePlaybackReady"`
SourcePlaybackReady bool `json:"sourcePlaybackReady"`
CreatorID *CreatorID `json:"creatorId,omitempty"`
}

AssetSource struct {
Expand Down

0 comments on commit 3d67e2f

Please sign in to comment.