forked from External/greenlight
Allow recordings to be 'unlisted'
Unlisted is a state between published and unpublished. They are still published in the server, but will not appear to anyone other than the user that created the recording. It is done using a metadata attribute and required several changes in how the application handles publishing and unpublishing.
This commit is contained in:
@ -24,6 +24,7 @@ json.recordings do
|
||||
json.end_time recording[:endTime]
|
||||
json.published recording[:published]
|
||||
json.length recording[:length]
|
||||
json.listed recording[:listed]
|
||||
json.previews do
|
||||
json.array!(recording[:previews]) do |preview|
|
||||
json.partial! 'preview', preview: preview
|
||||
|
Reference in New Issue
Block a user