mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
* `plex-api.butler.startTask()`: * `request` **Changed** **Breaking** ⚠️ * `error` **Changed** **Breaking** ⚠️ * `plex-api.butler.stopTask()`: * `request` **Changed** **Breaking** ⚠️ * `error` **Changed** **Breaking** ⚠️ * `plex-api.updater.applyUpdates()`: * `request` **Changed** **Breaking** ⚠️ * `error` **Changed** **Breaking** ⚠️ * `plex-api.general.getServerInfo()`: **Added** * `plex-api.general.getIdentity()`: **Added** * `plex-api.general.getSourceConnectionInformation()`: **Added** * `plex-api.general.getTransientToken()`: **Added** * `plex-api.events.getNotifications()`: **Added** * `plex-api.events.connectWebSocket()`: **Added** * `plex-api.preferences.getAllPreferences()`: **Added** * `plex-api.preferences.setPreferences()`: **Added** * `plex-api.preferences.getPreference()`: **Added** * `plex-api.rate.setRating()`: **Added** * `plex-api.timeline.markPlayed()`: **Added** * `plex-api.timeline.report()`: **Added** * `plex-api.timeline.unscrobble()`: **Added** * `plex-api.activities.listActivities()`: **Added** * `plex-api.activities.cancelActivity()`: **Added** * `plex-api.butler.stopTasks()`: **Added** * `plex-api.butler.getTasks()`: **Added** * `plex-api.butler.startTasks()`: **Added** * `plex-api.downloadQueue.createDownloadQueue()`: **Added** * `plex-api.downloadQueue.getDownloadQueue()`: **Added** * `plex-api.downloadQueue.addDownloadQueueItems()`: **Added** * `plex-api.downloadQueue.listDownloadQueueItems()`: **Added** * `plex-api.downloadQueue.getItemDecision()`: **Added** * `plex-api.downloadQueue.getDownloadQueueMedia()`: **Added** * `plex-api.downloadQueue.removeDownloadQueueItems()`: **Added** * `plex-api.downloadQueue.getDownloadQueueItems()`: **Added** * `plex-api.downloadQueue.restartProcessingDownloadQueueItems()`: **Added** * `plex-api.hubs.getAllHubs()`: **Added** * `plex-api.hubs.getContinueWatching()`: **Added** * `plex-api.hubs.getHubItems()`: **Added** * `plex-api.hubs.getPromotedHubs()`: **Added** * `plex-api.hubs.getMetadataHubs()`: **Added** * `plex-api.hubs.getPostplayHubs()`: **Added** * `plex-api.hubs.getRelatedHubs()`: **Added** * `plex-api.hubs.getSectionHubs()`: **Added** * `plex-api.hubs.resetSectionDefaults()`: **Added** * `plex-api.hubs.listHubs()`: **Added** * `plex-api.hubs.createCustomHub()`: **Added** * `plex-api.hubs.moveHub()`: **Added** * `plex-api.hubs.deleteCustomHub()`: **Added** * `plex-api.hubs.updateHubVisibility()`: **Added** * `plex-api.search.searchHubs()`: **Added** * `plex-api.search.voiceSearchHubs()`: **Added** * `plex-api.library.getLibraryItems()`: **Added** * `plex-api.library.deleteCaches()`: **Added** * `plex-api.library.cleanBundles()`: **Added** * `plex-api.library.ingestTransientItem()`: **Added** * `plex-api.library.getLibraryMatches()`: **Added** * `plex-api.library.optimizeDatabase()`: **Added** * `plex-api.library.getRandomArtwork()`: **Added** * `plex-api.library.getSections()`: **Added** * `plex-api.library.addSection()`: **Added** * `plex-api.library.stopAllRefreshes()`: **Added** * `plex-api.library.getSectionsPrefs()`: **Added** * `plex-api.library.refreshSectionsMetadata()`: **Added** * `plex-api.library.getTags()`: **Added** * `plex-api.library.deleteMetadataItem()`: **Added** * `plex-api.library.editMetadataItem()`: **Added** * `plex-api.library.detectAds()`: **Added** * `plex-api.library.getAllItemLeaves()`: **Added** * `plex-api.library.analyzeMetadata()`: **Added** * `plex-api.library.generateThumbs()`: **Added** * `plex-api.library.detectCredits()`: **Added** * `plex-api.library.getExtras()`: **Added** * `plex-api.library.addExtras()`: **Added** * `plex-api.library.getFile()`: **Added** * `plex-api.library.startBifGeneration()`: **Added** * `plex-api.library.detectIntros()`: **Added** * `plex-api.library.createMarker()`: **Added** * `plex-api.library.matchItem()`: **Added** * `plex-api.library.listMatches()`: **Added** * `plex-api.library.mergeItems()`: **Added** * `plex-api.library.listSonicallySimilar()`: **Added** * `plex-api.library.setItemPreferences()`: **Added** * `plex-api.library.refreshItemsMetadata()`: **Added** * `plex-api.library.getRelatedItems()`: **Added** * `plex-api.library.listSimilar()`: **Added** * `plex-api.library.splitItem()`: **Added** * `plex-api.library.addSubtitles()`: **Added** * `plex-api.library.getItemTree()`: **Added** * `plex-api.library.unmatch()`: **Added** * `plex-api.library.listTopUsers()`: **Added** * `plex-api.library.detectVoiceActivity()`: **Added** * `plex-api.library.getAugmentationStatus()`: **Added** * `plex-api.library.setStreamSelection()`: **Added** * `plex-api.library.getPerson()`: **Added** * `plex-api.library.listPersonMedia()`: **Added** * `plex-api.library.deleteLibrarySection()`: **Added** * `plex-api.library.getLibraryDetails()`: **Added** * `plex-api.library.editSection()`: **Added** * `plex-api.library.updateItems()`: **Added** * `plex-api.library.startAnalysis()`: **Added** * `plex-api.library.autocomplete()`: **Added** * `plex-api.library.getCollections()`: **Added** * `plex-api.library.getCommon()`: **Added** * `plex-api.library.emptyTrash()`: **Added** * `plex-api.library.getSectionFilters()`: **Added** * `plex-api.library.getFirstCharacters()`: **Added** * `plex-api.library.deleteIndexes()`: **Added** * `plex-api.library.deleteIntros()`: **Added** * `plex-api.library.getSectionPreferences()`: **Added** * `plex-api.library.setSectionPreferences()`: **Added** * `plex-api.library.cancelRefresh()`: **Added** * `plex-api.library.refreshSection()`: **Added** * `plex-api.library.getAvailableSorts()`: **Added** * `plex-api.library.getStreamLevels()`: **Added** * `plex-api.library.getStreamLoudness()`: **Added** * `plex-api.library.getChapterImage()`: **Added** * `plex-api.library.setItemArtwork()`: **Added** * `plex-api.library.updateItemArtwork()`: **Added** * `plex-api.library.deleteMarker()`: **Added** * `plex-api.library.editMarker()`: **Added** * `plex-api.library.deleteMediaItem()`: **Added** * `plex-api.library.getPartIndex()`: **Added** * `plex-api.library.deleteCollection()`: **Added** * `plex-api.library.getSectionImage()`: **Added** * `plex-api.library.deleteStream()`: **Added** * `plex-api.library.getStream()`: **Added** * `plex-api.library.setStreamOffset()`: **Added** * `plex-api.library.getItemArtwork()`: **Added** * `plex-api.library.getMediaPart()`: **Added** * `plex-api.library.getImageFromBif()`: **Added** * `plex-api.collections.createCollection()`: **Added** * `plex-api.dvRs.listDvRs()`: **Added** * `plex-api.dvRs.createDvr()`: **Added** * `plex-api.dvRs.deleteDvr()`: **Added** * `plex-api.dvRs.getDvr()`: **Added** * `plex-api.dvRs.deleteLineup()`: **Added** * `plex-api.dvRs.addLineup()`: **Added** * `plex-api.dvRs.setDvrPreferences()`: **Added** * `plex-api.dvRs.stopDvrReload()`: **Added** * `plex-api.dvRs.reloadGuide()`: **Added** * `plex-api.dvRs.tuneChannel()`: **Added** * `plex-api.dvRs.removeDeviceFromDvr()`: **Added** * `plex-api.dvRs.addDeviceToDvr()`: **Added** * `plex-api.epg.computeChannelMap()`: **Added** * `plex-api.epg.getChannels()`: **Added** * `plex-api.epg.getCountries()`: **Added** * `plex-api.epg.getAllLanguages()`: **Added** * `plex-api.epg.getLineup()`: **Added** * `plex-api.epg.getLineupChannels()`: **Added** * `plex-api.epg.getCountriesLineups()`: **Added** * `plex-api.epg.getCountryRegions()`: **Added** * `plex-api.epg.listLineups()`: **Added** * `plex-api.liveTv.getSessions()`: **Added** * `plex-api.liveTv.getLiveTvSession()`: **Added** * `plex-api.liveTv.getSessionPlaylistIndex()`: **Added** * `plex-api.liveTv.getSessionSegment()`: **Added** * `plex-api.log.writeLog()`: **Added** * `plex-api.log.writeMessage()`: **Added** * `plex-api.log.enablePapertrail()`: **Added** * `plex-api.devices.getAvailableGrabbers()`: **Added** * `plex-api.devices.listDevices()`: **Added** * `plex-api.devices.addDevice()`: **Added** * `plex-api.devices.discoverDevices()`: **Added** * `plex-api.devices.removeDevice()`: **Added** * `plex-api.devices.getDeviceDetails()`: **Added** * `plex-api.devices.modifyDevice()`: **Added** * `plex-api.devices.setChannelmap()`: **Added** * `plex-api.devices.getDevicesChannels()`: **Added** * `plex-api.devices.setDevicePreferences()`: **Added** * `plex-api.devices.stopScan()`: **Added** * `plex-api.devices.scan()`: **Added** * `plex-api.devices.getThumb()`: **Added** * `plex-api.provider.listProviders()`: **Added** * `plex-api.provider.addProvider()`: **Added** * `plex-api.provider.refreshProviders()`: **Added** * `plex-api.provider.deleteMediaProvider()`: **Added** * `plex-api.subscriptions.getAllSubscriptions()`: **Added** * `plex-api.subscriptions.createSubscription()`: **Added** * `plex-api.subscriptions.processSubscriptions()`: **Added** * `plex-api.subscriptions.getScheduledRecordings()`: **Added** * `plex-api.subscriptions.getTemplate()`: **Added** * `plex-api.subscriptions.cancelGrab()`: **Added** * `plex-api.subscriptions.deleteSubscription()`: **Added** * `plex-api.subscriptions.getSubscription()`: **Added** * `plex-api.subscriptions.editSubscriptionPreferences()`: **Added** * `plex-api.subscriptions.reorderSubscription()`: **Added** * `plex-api.transcoder.transcodeImage()`: **Added** * `plex-api.transcoder.makeDecision()`: **Added** * `plex-api.transcoder.triggerFallback()`: **Added** * `plex-api.transcoder.transcodeSubtitles()`: **Added** * `plex-api.transcoder.startTranscodeSession()`: **Added** * `plex-api.playlist.listPlaylists()`: **Added** * `plex-api.playlist.getPlaylist()`: **Added** * `plex-api.playlist.getPlaylistItems()`: **Added** * `plex-api.libraryPlaylists.createPlaylist()`: **Added** * `plex-api.libraryPlaylists.uploadPlaylist()`: **Added** * `plex-api.libraryPlaylists.deletePlaylist()`: **Added** * `plex-api.libraryPlaylists.updatePlaylist()`: **Added** * `plex-api.libraryPlaylists.getPlaylistGenerators()`: **Added** * `plex-api.libraryPlaylists.clearPlaylistItems()`: **Added** * `plex-api.libraryPlaylists.addPlaylistItems()`: **Added** * `plex-api.libraryPlaylists.deletePlaylistItem()`: **Added** * `plex-api.libraryPlaylists.getPlaylistGenerator()`: **Added** * `plex-api.libraryPlaylists.modifyPlaylistGenerator()`: **Added** * `plex-api.libraryPlaylists.getPlaylistGeneratorItems()`: **Added** * `plex-api.libraryPlaylists.movePlaylistItem()`: **Added** * `plex-api.libraryPlaylists.refreshPlaylist()`: **Added** * `plex-api.playQueue.createPlayQueue()`: **Added** * `plex-api.playQueue.getPlayQueue()`: **Added** * `plex-api.playQueue.addToPlayQueue()`: **Added** * `plex-api.playQueue.clearPlayQueue()`: **Added** * `plex-api.playQueue.resetPlayQueue()`: **Added** * `plex-api.playQueue.shuffle()`: **Added** * `plex-api.playQueue.unshuffle()`: **Added** * `plex-api.playQueue.deletePlayQueueItem()`: **Added** * `plex-api.playQueue.movePlayQueueItem()`: **Added** * `plex-api.ultraBlur.getColors()`: **Added** * `plex-api.ultraBlur.getImage()`: **Added** * `plex-api.status.listSessions()`: **Added** * `plex-api.status.getBackgroundTasks()`: **Added** * `plex-api.status.listPlaybackHistory()`: **Added** * `plex-api.status.terminateSession()`: **Added** * `plex-api.status.deleteHistory()`: **Added** * `plex-api.status.getHistoryItem()`: **Added** * `plex-api.updater.checkUpdates()`: **Added** * `plex-api.updater.getUpdatesStatus()`: **Added** * `plex-api.content.getCollectionItems()`: **Added** * `plex-api.content.getMetadataItem()`: **Added** * `plex-api.content.getAlbums()`: **Added** * `plex-api.content.listContent()`: **Added** * `plex-api.content.getAllLeaves()`: **Added** * `plex-api.content.getArts()`: **Added** * `plex-api.content.getCategories()`: **Added** * `plex-api.content.getCluster()`: **Added** * `plex-api.content.getSonicPath()`: **Added** * `plex-api.content.getFolders()`: **Added** * `plex-api.content.listMoments()`: **Added** * `plex-api.content.getSonicallySimilar()`: **Added** * `plex-api.content.getCollectionImage()`: **Added** * `plex-api.libraryCollections.addCollectionItems()`: **Added** * `plex-api.libraryCollections.deleteCollectionItem()`: **Added** * `plex-api.libraryCollections.moveCollectionItem()`: **Added** * `plex-api.server.getServerCapabilities()`: **Deleted** **Breaking** ⚠️ * `plex-api.server.getServerPreferences()`: **Deleted** **Breaking** ⚠️ * `plex-api.server.getAvailableClients()`: **Deleted** **Breaking** ⚠️ * `plex-api.server.getDevices()`: **Deleted** **Breaking** ⚠️ * `plex-api.server.getServerIdentity()`: **Deleted** **Breaking** ⚠️ * `plex-api.server.getMyPlexAccount()`: **Deleted** **Breaking** ⚠️ * `plex-api.server.getResizedPhoto()`: **Deleted** **Breaking** ⚠️ * `plex-api.server.getMediaProviders()`: **Deleted** **Breaking** ⚠️ * `plex-api.server.getServerList()`: **Deleted** **Breaking** ⚠️ * `plex-api.media.markPlayed()`: **Deleted** **Breaking** ⚠️ * `plex-api.media.markUnplayed()`: **Deleted** **Breaking** ⚠️ * `plex-api.media.updatePlayProgress()`: **Deleted** **Breaking** ⚠️ * `plex-api.media.getBannerImage()`: **Deleted** **Breaking** ⚠️ * `plex-api.media.getThumbImage()`: **Deleted** **Breaking** ⚠️ * `plex-api.video.getTimeline()`: **Deleted** **Breaking** ⚠️ * `plex-api.video.startUniversalTranscode()`: **Deleted** **Breaking** ⚠️ * `plex-api.activities.getServerActivities()`: **Deleted** **Breaking** ⚠️ * `plex-api.activities.cancelServerActivities()`: **Deleted** **Breaking** ⚠️ * `plex-api.butler.getButlerTasks()`: **Deleted** **Breaking** ⚠️ * `plex-api.butler.startAllTasks()`: **Deleted** **Breaking** ⚠️ * `plex-api.butler.stopAllTasks()`: **Deleted** **Breaking** ⚠️ * `plex-api.plex.getCompanionsData()`: **Deleted** **Breaking** ⚠️ * `plex-api.plex.getUserFriends()`: **Deleted** **Breaking** ⚠️ * `plex-api.plex.getGeoData()`: **Deleted** **Breaking** ⚠️ * `plex-api.plex.getHomeData()`: **Deleted** **Breaking** ⚠️ * `plex-api.plex.getServerResources()`: **Deleted** **Breaking** ⚠️ * `plex-api.plex.getPin()`: **Deleted** **Breaking** ⚠️ * `plex-api.plex.getTokenByPinId()`: **Deleted** **Breaking** ⚠️ * `plex-api.hubs.getGlobalHubs()`: **Deleted** **Breaking** ⚠️ * `plex-api.hubs.getRecentlyAdded()`: **Deleted** **Breaking** ⚠️ * `plex-api.hubs.getLibraryHubs()`: **Deleted** **Breaking** ⚠️ * `plex-api.search.performSearch()`: **Deleted** **Breaking** ⚠️ * `plex-api.search.performVoiceSearch()`: **Deleted** **Breaking** ⚠️ * `plex-api.search.getSearchResults()`: **Deleted** **Breaking** ⚠️ * `plex-api.library.getFileHash()`: **Deleted** **Breaking** ⚠️ * `plex-api.library.getRecentlyAddedLibrary()`: **Deleted** **Breaking** ⚠️ * `plex-api.library.getAllLibraries()`: **Deleted** **Breaking** ⚠️ * `plex-api.library.getLibraryDetails()`: **Deleted** **Breaking** ⚠️ * `plex-api.library.deleteLibrary()`: **Deleted** **Breaking** ⚠️ * `plex-api.library.getLibraryItems()`: **Deleted** **Breaking** ⚠️ * `plex-api.library.getLibrarySectionsAll()`: **Deleted** **Breaking** ⚠️ * `plex-api.library.getRefreshLibraryMetadata()`: **Deleted** **Breaking** ⚠️ * `plex-api.library.getSearchLibrary()`: **Deleted** **Breaking** ⚠️ * `plex-api.library.getGenresLibrary()`: **Deleted** **Breaking** ⚠️ * `plex-api.library.getCountriesLibrary()`: **Deleted** **Breaking** ⚠️ * `plex-api.library.getActorsLibrary()`: **Deleted** **Breaking** ⚠️ * `plex-api.library.getSearchAllLibraries()`: **Deleted** **Breaking** ⚠️ * `plex-api.library.getMediaMetaData()`: **Deleted** **Breaking** ⚠️ * `plex-api.library.getMediaArts()`: **Deleted** **Breaking** ⚠️ * `plex-api.library.postMediaArts()`: **Deleted** **Breaking** ⚠️ * `plex-api.library.getMediaPosters()`: **Deleted** **Breaking** ⚠️ * `plex-api.library.postMediaPoster()`: **Deleted** **Breaking** ⚠️ * `plex-api.library.getMetadataChildren()`: **Deleted** **Breaking** ⚠️ * `plex-api.library.getTopWatchedContent()`: **Deleted** **Breaking** ⚠️ * `plex-api.watchlist.getWatchList()`: **Deleted** **Breaking** ⚠️ * `plex-api.log.logLine()`: **Deleted** **Breaking** ⚠️ * `plex-api.log.logMultiLine()`: **Deleted** **Breaking** ⚠️ * `plex-api.log.enablePaperTrail()`: **Deleted** **Breaking** ⚠️ * `plex-api.playlists.createPlaylist()`: **Deleted** **Breaking** ⚠️ * `plex-api.playlists.getPlaylists()`: **Deleted** **Breaking** ⚠️ * `plex-api.playlists.getPlaylist()`: **Deleted** **Breaking** ⚠️ * `plex-api.playlists.deletePlaylist()`: **Deleted** **Breaking** ⚠️ * `plex-api.playlists.updatePlaylist()`: **Deleted** **Breaking** ⚠️ * `plex-api.playlists.getPlaylistContents()`: **Deleted** **Breaking** ⚠️ * `plex-api.playlists.clearPlaylistContents()`: **Deleted** **Breaking** ⚠️ * `plex-api.playlists.addPlaylistContents()`: **Deleted** **Breaking** ⚠️ * `plex-api.playlists.uploadPlaylist()`: **Deleted** **Breaking** ⚠️ * `plex-api.authentication.getTransientToken()`: **Deleted** **Breaking** ⚠️ * `plex-api.authentication.getSourceConnectionInformation()`: **Deleted** **Breaking** ⚠️ * `plex-api.authentication.getTokenDetails()`: **Deleted** **Breaking** ⚠️ * `plex-api.authentication.postUsersSignInData()`: **Deleted** **Breaking** ⚠️ * `plex-api.statistics.getStatistics()`: **Deleted** **Breaking** ⚠️ * `plex-api.statistics.getResourcesStatistics()`: **Deleted** **Breaking** ⚠️ * `plex-api.statistics.getBandwidthStatistics()`: **Deleted** **Breaking** ⚠️ * `plex-api.sessions.getSessions()`: **Deleted** **Breaking** ⚠️ * `plex-api.sessions.getSessionHistory()`: **Deleted** **Breaking** ⚠️ * `plex-api.sessions.getTranscodeSessions()`: **Deleted** **Breaking** ⚠️ * `plex-api.sessions.stopTranscodeSession()`: **Deleted** **Breaking** ⚠️ * `plex-api.updater.getUpdateStatus()`: **Deleted** **Breaking** ⚠️ * `plex-api.updater.checkForUpdates()`: **Deleted** **Breaking** ⚠️ * `plex-api.users.getUsers()`: **Deleted** **Breaking** ⚠️
17213 lines
672 KiB
YAML
17213 lines
672 KiB
YAML
arazzo: 1.0.1
|
|
info:
|
|
title: Test Suite
|
|
summary: Created from /github/workspace/repo/.speakeasy/temp/registry_8ba0f1.yaml
|
|
version: 0.0.1
|
|
sourceDescriptions:
|
|
- name: /github/workspace/repo/.speakeasy/temp/registry_8ba0f1.yaml
|
|
url: https://TBD.com
|
|
type: openapi
|
|
workflows:
|
|
- workflowId: getServerInfo
|
|
steps:
|
|
- stepId: test
|
|
operationId: getServerInfo
|
|
parameters:
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: General
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getIdentity
|
|
steps:
|
|
- stepId: test
|
|
operationId: getIdentity
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: General
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getSourceConnectionInformation
|
|
steps:
|
|
- stepId: test
|
|
operationId: getSourceConnectionInformation
|
|
parameters:
|
|
- name: source
|
|
in: query
|
|
value: server://client-identifier
|
|
- name: refresh
|
|
in: query
|
|
value: 1
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: General
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getTransientToken
|
|
steps:
|
|
- stepId: test
|
|
operationId: getTransientToken
|
|
parameters:
|
|
- name: type
|
|
in: query
|
|
value: delegation
|
|
- name: scope
|
|
in: query
|
|
value: all
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: General
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getNotifications
|
|
steps:
|
|
- stepId: test
|
|
operationId: getNotifications
|
|
parameters:
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/octet-stream
|
|
- context: $response.body
|
|
condition: |
|
|
"x-file: example.file"
|
|
type: simple
|
|
x-speakeasy-test-group: Events
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: connectWebSocket
|
|
steps:
|
|
- stepId: test
|
|
operationId: connectWebSocket
|
|
parameters:
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/octet-stream
|
|
- context: $response.body
|
|
condition: |
|
|
"x-file: example.file"
|
|
type: simple
|
|
x-speakeasy-test-group: Events
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getAllPreferences
|
|
steps:
|
|
- stepId: test
|
|
operationId: getAllPreferences
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Preferences
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getPreference
|
|
steps:
|
|
- stepId: test
|
|
operationId: getPreference
|
|
parameters:
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Preferences
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: report
|
|
steps:
|
|
- stepId: test
|
|
operationId: report
|
|
parameters:
|
|
- name: key
|
|
in: query
|
|
value: /foo
|
|
- name: ratingKey
|
|
in: query
|
|
value: xyz
|
|
- name: state
|
|
in: query
|
|
value: playing
|
|
- name: playQueueItemID
|
|
in: query
|
|
value: "123"
|
|
- name: time
|
|
in: query
|
|
value: 0
|
|
- name: duration
|
|
in: query
|
|
value: 10000
|
|
- name: continuing
|
|
in: query
|
|
value: 1
|
|
- name: updated
|
|
in: query
|
|
value: 14200000
|
|
- name: offline
|
|
in: query
|
|
value: 1
|
|
- name: timeToFirstFrame
|
|
in: query
|
|
value: 1000
|
|
- name: timeStalled
|
|
in: query
|
|
value: 1000
|
|
- name: bandwidth
|
|
in: query
|
|
value: 100
|
|
- name: bufferedTime
|
|
in: query
|
|
value: 100
|
|
- name: bufferedSize
|
|
in: query
|
|
value: 1024
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"livetv": 7,
|
|
"machineIdentifier": "0123456789abcdef0123456789abcdef012345678",
|
|
"musicAnalysis": 2,
|
|
"myPlexMappingState": "mapped",
|
|
"myPlexSigninState": "ok",
|
|
"offlineTranscode": 1
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Timeline
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: listActivities
|
|
steps:
|
|
- stepId: test
|
|
operationId: listActivities
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Activities
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getTasks
|
|
steps:
|
|
- stepId: test
|
|
operationId: getTasks
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Butler
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: stopTask
|
|
steps:
|
|
- stepId: test
|
|
operationId: stopTask
|
|
parameters:
|
|
- name: task
|
|
in: path
|
|
value: CleanOldBundles
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
x-speakeasy-test-group: Butler
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: startTask
|
|
steps:
|
|
- stepId: test
|
|
operationId: startTask
|
|
parameters:
|
|
- name: task
|
|
in: path
|
|
value: RefreshLocalMedia
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
x-speakeasy-test-group: Butler
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: createDownloadQueue
|
|
steps:
|
|
- stepId: test
|
|
operationId: createDownloadQueue
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Download Queue
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getDownloadQueue
|
|
steps:
|
|
- stepId: test
|
|
operationId: getDownloadQueue
|
|
parameters:
|
|
- name: queueId
|
|
in: path
|
|
value: 922802
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Download Queue
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: addDownloadQueueItems
|
|
steps:
|
|
- stepId: test
|
|
operationId: addDownloadQueueItems
|
|
parameters:
|
|
- name: queueId
|
|
in: path
|
|
value: 984925
|
|
- name: keys
|
|
in: query
|
|
value:
|
|
- /library/metadata/3
|
|
- /library/metadata/6
|
|
- name: advancedSubtitles
|
|
in: query
|
|
value: burn
|
|
- name: audioBoost
|
|
in: query
|
|
value: 50
|
|
- name: audioChannelCount
|
|
in: query
|
|
value: 5
|
|
- name: autoAdjustQuality
|
|
in: query
|
|
value: 1
|
|
- name: autoAdjustSubtitle
|
|
in: query
|
|
value: 1
|
|
- name: directPlay
|
|
in: query
|
|
value: 1
|
|
- name: directStream
|
|
in: query
|
|
value: 1
|
|
- name: directStreamAudio
|
|
in: query
|
|
value: 1
|
|
- name: disableResolutionRotation
|
|
in: query
|
|
value: 1
|
|
- name: hasMDE
|
|
in: query
|
|
value: 1
|
|
- name: location
|
|
in: query
|
|
value: wan
|
|
- name: mediaBufferSize
|
|
in: query
|
|
value: 102400
|
|
- name: mediaIndex
|
|
in: query
|
|
value: 0
|
|
- name: musicBitrate
|
|
in: query
|
|
value: 5000
|
|
- name: offset
|
|
in: query
|
|
value: 90.5
|
|
- name: partIndex
|
|
in: query
|
|
value: 0
|
|
- name: path
|
|
in: query
|
|
value: /library/metadata/151671
|
|
- name: peakBitrate
|
|
in: query
|
|
value: 12000
|
|
- name: photoResolution
|
|
in: query
|
|
value: 1080x1080
|
|
- name: protocol
|
|
in: query
|
|
value: dash
|
|
- name: secondsPerSegment
|
|
in: query
|
|
value: 5
|
|
- name: subtitleSize
|
|
in: query
|
|
value: 50
|
|
- name: subtitles
|
|
in: query
|
|
value: segmented
|
|
- name: videoBitrate
|
|
in: query
|
|
value: 12000
|
|
- name: videoQuality
|
|
in: query
|
|
value: 50
|
|
- name: videoResolution
|
|
in: query
|
|
value: 1080x1080
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Download Queue
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: listDownloadQueueItems
|
|
steps:
|
|
- stepId: test
|
|
operationId: listDownloadQueueItems
|
|
parameters:
|
|
- name: queueId
|
|
in: path
|
|
value: 524138
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Download Queue
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getItemDecision
|
|
steps:
|
|
- stepId: test
|
|
operationId: getItemDecision
|
|
parameters:
|
|
- name: queueId
|
|
in: path
|
|
value: 231605
|
|
- name: itemId
|
|
in: path
|
|
value: 32
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Download Queue
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getDownloadQueueItems
|
|
steps:
|
|
- stepId: test
|
|
operationId: getDownloadQueueItems
|
|
parameters:
|
|
- name: queueId
|
|
in: path
|
|
value: 809886
|
|
- name: itemId
|
|
in: path
|
|
value:
|
|
- 32
|
|
- 345
|
|
- 23
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Download Queue
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getAllHubs
|
|
steps:
|
|
- stepId: test
|
|
operationId: getAllHubs
|
|
parameters:
|
|
- name: onlyTransient
|
|
in: query
|
|
value: 1
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Hub": [
|
|
{
|
|
"type": "track",
|
|
"context": "hub.home.onDeck",
|
|
"hubIdentifier": "home.onDeck",
|
|
"key": "/hubs/sections/home/onDeck",
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"size": 1,
|
|
"subtype": "podcast",
|
|
"totalSize": 8
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Hubs
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getContinueWatching
|
|
steps:
|
|
- stepId: test
|
|
operationId: getContinueWatching
|
|
parameters:
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Hub": [
|
|
{
|
|
"type": "track",
|
|
"context": "hub.home.onDeck",
|
|
"hubIdentifier": "home.onDeck",
|
|
"key": "/hubs/sections/home/onDeck",
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"size": 1,
|
|
"subtype": "podcast",
|
|
"totalSize": 8
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Hubs
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getHubItems
|
|
steps:
|
|
- stepId: test
|
|
operationId: getHubItems
|
|
parameters:
|
|
- name: identifier
|
|
in: query
|
|
value:
|
|
- <value 1>
|
|
- <value 2>
|
|
- <value 3>
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Hubs
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getPromotedHubs
|
|
steps:
|
|
- stepId: test
|
|
operationId: getPromotedHubs
|
|
parameters:
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Hub": [
|
|
{
|
|
"type": "track",
|
|
"context": "hub.home.onDeck",
|
|
"hubIdentifier": "home.onDeck",
|
|
"key": "/hubs/sections/home/onDeck",
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"size": 1,
|
|
"subtype": "podcast",
|
|
"totalSize": 8
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Hubs
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getMetadataHubs
|
|
steps:
|
|
- stepId: test
|
|
operationId: getMetadataHubs
|
|
parameters:
|
|
- name: metadataId
|
|
in: path
|
|
value: 605482
|
|
- name: onlyTransient
|
|
in: query
|
|
value: 1
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Hub": [
|
|
{
|
|
"type": "track",
|
|
"context": "hub.home.onDeck",
|
|
"hubIdentifier": "home.onDeck",
|
|
"key": "/hubs/sections/home/onDeck",
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"size": 1,
|
|
"subtype": "podcast",
|
|
"totalSize": 8
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Hubs
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getPostplayHubs
|
|
steps:
|
|
- stepId: test
|
|
operationId: getPostplayHubs
|
|
parameters:
|
|
- name: metadataId
|
|
in: path
|
|
value: 441419
|
|
- name: onlyTransient
|
|
in: query
|
|
value: 1
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Hub": [
|
|
{
|
|
"type": "track",
|
|
"context": "hub.home.onDeck",
|
|
"hubIdentifier": "home.onDeck",
|
|
"key": "/hubs/sections/home/onDeck",
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"size": 1,
|
|
"subtype": "podcast",
|
|
"totalSize": 8
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Hubs
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getRelatedHubs
|
|
steps:
|
|
- stepId: test
|
|
operationId: getRelatedHubs
|
|
parameters:
|
|
- name: metadataId
|
|
in: path
|
|
value: 8858
|
|
- name: onlyTransient
|
|
in: query
|
|
value: 1
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Hub": [
|
|
{
|
|
"type": "track",
|
|
"context": "hub.home.onDeck",
|
|
"hubIdentifier": "home.onDeck",
|
|
"key": "/hubs/sections/home/onDeck",
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"size": 1,
|
|
"subtype": "podcast",
|
|
"totalSize": 8
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Hubs
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getSectionHubs
|
|
steps:
|
|
- stepId: test
|
|
operationId: getSectionHubs
|
|
parameters:
|
|
- name: sectionId
|
|
in: path
|
|
value: 336924
|
|
- name: onlyTransient
|
|
in: query
|
|
value: 1
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Hub": [
|
|
{
|
|
"type": "track",
|
|
"context": "hub.home.onDeck",
|
|
"hubIdentifier": "home.onDeck",
|
|
"key": "/hubs/sections/home/onDeck",
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"size": 1,
|
|
"subtype": "podcast",
|
|
"totalSize": 8
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Hubs
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: listHubs
|
|
steps:
|
|
- stepId: test
|
|
operationId: listHubs
|
|
parameters:
|
|
- name: sectionId
|
|
in: path
|
|
value: 442546
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Hubs
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: moveHub
|
|
steps:
|
|
- stepId: test
|
|
operationId: moveHub
|
|
parameters:
|
|
- name: sectionId
|
|
in: path
|
|
value: 755710
|
|
- name: identifier
|
|
in: query
|
|
value: <value>
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Hubs
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: searchHubs
|
|
steps:
|
|
- stepId: test
|
|
operationId: searchHubs
|
|
parameters:
|
|
- name: query
|
|
in: query
|
|
value: <value>
|
|
- name: sectionId
|
|
in: query
|
|
value: 1
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Hub": [
|
|
{
|
|
"type": "track",
|
|
"context": "hub.home.onDeck",
|
|
"hubIdentifier": "home.onDeck",
|
|
"key": "/hubs/sections/home/onDeck",
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"size": 1,
|
|
"subtype": "podcast",
|
|
"totalSize": 8
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Search
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: voiceSearchHubs
|
|
steps:
|
|
- stepId: test
|
|
operationId: voiceSearchHubs
|
|
parameters:
|
|
- name: query
|
|
in: query
|
|
value: <value>
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Hub": [
|
|
{
|
|
"type": "track",
|
|
"context": "hub.home.onDeck",
|
|
"hubIdentifier": "home.onDeck",
|
|
"key": "/hubs/sections/home/onDeck",
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"size": 1,
|
|
"subtype": "podcast",
|
|
"totalSize": 8
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Search
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getLibraryItems
|
|
steps:
|
|
- stepId: test
|
|
operationId: getLibraryItems
|
|
parameters:
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: ingestTransientItem
|
|
steps:
|
|
- stepId: test
|
|
operationId: ingestTransientItem
|
|
parameters:
|
|
- name: url
|
|
in: query
|
|
value: file:///storage%2Femulated%2F0%2FArcher-S01E01.mkv
|
|
- name: virtualFilePath
|
|
in: query
|
|
value: /Avatar.mkv
|
|
- name: computeHashes
|
|
in: query
|
|
value: 1
|
|
- name: ingestNonMatches
|
|
in: query
|
|
value: 1
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getLibraryMatches
|
|
steps:
|
|
- stepId: test
|
|
operationId: getLibraryMatches
|
|
parameters:
|
|
- name: includeFullMetadata
|
|
in: query
|
|
value: 1
|
|
- name: includeAncestorMetadata
|
|
in: query
|
|
value: 1
|
|
- name: includeAlternateMetadataSources
|
|
in: query
|
|
value: 1
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getRandomArtwork
|
|
steps:
|
|
- stepId: test
|
|
operationId: getRandomArtwork
|
|
parameters:
|
|
- name: sections
|
|
in: query
|
|
value:
|
|
- 5
|
|
- 6
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getSections
|
|
steps:
|
|
- stepId: test
|
|
operationId: getSections
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: addSection
|
|
steps:
|
|
- stepId: test
|
|
operationId: addSection
|
|
parameters:
|
|
- name: name
|
|
in: query
|
|
value: <value>
|
|
- name: type
|
|
in: query
|
|
value: 39544
|
|
- name: agent
|
|
in: query
|
|
value: <value>
|
|
- name: language
|
|
in: query
|
|
value: <value>
|
|
- name: locations
|
|
in: query
|
|
value:
|
|
- O:\fatboy\Media\Ripped\Music
|
|
- O:\fatboy\Media\My Music
|
|
- name: prefs
|
|
in: query
|
|
value: {}
|
|
- name: relative
|
|
in: query
|
|
value: 1
|
|
- name: importFromiTunes
|
|
in: query
|
|
value: 1
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Directory": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: stopAllRefreshes
|
|
steps:
|
|
- stepId: test
|
|
operationId: stopAllRefreshes
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"livetv": 7,
|
|
"machineIdentifier": "0123456789abcdef0123456789abcdef012345678",
|
|
"musicAnalysis": 2,
|
|
"myPlexMappingState": "mapped",
|
|
"myPlexSigninState": "ok",
|
|
"offlineTranscode": 1
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getSectionsPrefs
|
|
steps:
|
|
- stepId: test
|
|
operationId: getSectionsPrefs
|
|
parameters:
|
|
- name: type
|
|
in: query
|
|
value: 460221
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"livetv": 7,
|
|
"machineIdentifier": "0123456789abcdef0123456789abcdef012345678",
|
|
"musicAnalysis": 2,
|
|
"myPlexMappingState": "mapped",
|
|
"myPlexSigninState": "ok",
|
|
"offlineTranscode": 1
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getTags
|
|
steps:
|
|
- stepId: test
|
|
operationId: getTags
|
|
parameters:
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getAllItemLeaves
|
|
steps:
|
|
- stepId: test
|
|
operationId: getAllItemLeaves
|
|
parameters:
|
|
- name: ids
|
|
in: path
|
|
value: <value>
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getExtras
|
|
steps:
|
|
- stepId: test
|
|
operationId: getExtras
|
|
parameters:
|
|
- name: ids
|
|
in: path
|
|
value: <value>
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getFile
|
|
steps:
|
|
- stepId: test
|
|
operationId: getFile
|
|
parameters:
|
|
- name: ids
|
|
in: path
|
|
value: <value>
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == audio/mpeg3
|
|
- context: $response.body
|
|
condition: |
|
|
"x-file: example.file"
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: createMarker
|
|
steps:
|
|
- stepId: test
|
|
operationId: createMarker
|
|
parameters:
|
|
- name: ids
|
|
in: path
|
|
value: <value>
|
|
- name: type
|
|
in: query
|
|
value: 248391
|
|
- name: startTimeOffset
|
|
in: query
|
|
value: 535191
|
|
- name: attributes
|
|
in: query
|
|
value: {}
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: listMatches
|
|
steps:
|
|
- stepId: test
|
|
operationId: listMatches
|
|
parameters:
|
|
- name: ids
|
|
in: path
|
|
value: <value>
|
|
- name: manual
|
|
in: query
|
|
value: 1
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: listSonicallySimilar
|
|
steps:
|
|
- stepId: test
|
|
operationId: listSonicallySimilar
|
|
parameters:
|
|
- name: ids
|
|
in: path
|
|
value: <value>
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getRelatedItems
|
|
steps:
|
|
- stepId: test
|
|
operationId: getRelatedItems
|
|
parameters:
|
|
- name: ids
|
|
in: path
|
|
value: <value>
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Hub": [
|
|
{
|
|
"type": "track",
|
|
"context": "hub.home.onDeck",
|
|
"hubIdentifier": "home.onDeck",
|
|
"key": "/hubs/sections/home/onDeck",
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"size": 1,
|
|
"subtype": "podcast",
|
|
"totalSize": 8
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: listSimilar
|
|
steps:
|
|
- stepId: test
|
|
operationId: listSimilar
|
|
parameters:
|
|
- name: ids
|
|
in: path
|
|
value: <value>
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getItemTree
|
|
steps:
|
|
- stepId: test
|
|
operationId: getItemTree
|
|
parameters:
|
|
- name: ids
|
|
in: path
|
|
value: <value>
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"MetadataItem": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"MetadataItem": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: listTopUsers
|
|
steps:
|
|
- stepId: test
|
|
operationId: listTopUsers
|
|
parameters:
|
|
- name: ids
|
|
in: path
|
|
value: <value>
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getPerson
|
|
steps:
|
|
- stepId: test
|
|
operationId: getPerson
|
|
parameters:
|
|
- name: personId
|
|
in: path
|
|
value: <id>
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Directory": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: listPersonMedia
|
|
steps:
|
|
- stepId: test
|
|
operationId: listPersonMedia
|
|
parameters:
|
|
- name: personId
|
|
in: path
|
|
value: <id>
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getLibraryDetails
|
|
steps:
|
|
- stepId: test
|
|
operationId: getLibraryDetails
|
|
parameters:
|
|
- name: sectionId
|
|
in: path
|
|
value: <id>
|
|
- name: includeDetails
|
|
in: query
|
|
value: 1
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Directory": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: autocomplete
|
|
steps:
|
|
- stepId: test
|
|
operationId: autocomplete
|
|
parameters:
|
|
- name: sectionId
|
|
in: path
|
|
value: 942007
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getCollections
|
|
steps:
|
|
- stepId: test
|
|
operationId: getCollections
|
|
parameters:
|
|
- name: sectionId
|
|
in: path
|
|
value: 348838
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getCommon
|
|
steps:
|
|
- stepId: test
|
|
operationId: getCommon
|
|
parameters:
|
|
- name: sectionId
|
|
in: path
|
|
value: 298154
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getSectionFilters
|
|
steps:
|
|
- stepId: test
|
|
operationId: getSectionFilters
|
|
parameters:
|
|
- name: sectionId
|
|
in: path
|
|
value: 380557
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getFirstCharacters
|
|
steps:
|
|
- stepId: test
|
|
operationId: getFirstCharacters
|
|
parameters:
|
|
- name: sectionId
|
|
in: path
|
|
value: 3947
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getSectionPreferences
|
|
steps:
|
|
- stepId: test
|
|
operationId: getSectionPreferences
|
|
parameters:
|
|
- name: sectionId
|
|
in: path
|
|
value: 754869
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getAvailableSorts
|
|
steps:
|
|
- stepId: test
|
|
operationId: getAvailableSorts
|
|
parameters:
|
|
- name: sectionId
|
|
in: path
|
|
value: 212498
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getStreamLevels
|
|
steps:
|
|
- stepId: test
|
|
operationId: getStreamLevels
|
|
parameters:
|
|
- name: streamId
|
|
in: path
|
|
value: 447611
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getStreamLoudness
|
|
steps:
|
|
- stepId: test
|
|
operationId: getStreamLoudness
|
|
parameters:
|
|
- name: streamId
|
|
in: path
|
|
value: 277271
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == text/plain
|
|
- context: $response.body
|
|
condition: |
|
|
"\u003cvalue\u003e"
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getChapterImage
|
|
steps:
|
|
- stepId: test
|
|
operationId: getChapterImage
|
|
parameters:
|
|
- name: mediaId
|
|
in: path
|
|
value: 892563
|
|
- name: chapter
|
|
in: path
|
|
value: 48348
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == image/jpeg
|
|
- context: $response.body
|
|
condition: |
|
|
"x-file: example.file"
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: editMarker
|
|
steps:
|
|
- stepId: test
|
|
operationId: editMarker
|
|
parameters:
|
|
- name: ids
|
|
in: path
|
|
value: <value>
|
|
- name: marker
|
|
in: path
|
|
value: <value>
|
|
- name: type
|
|
in: query
|
|
value: 884347
|
|
- name: startTimeOffset
|
|
in: query
|
|
value: 517251
|
|
- name: attributes
|
|
in: query
|
|
value: {}
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getPartIndex
|
|
steps:
|
|
- stepId: test
|
|
operationId: getPartIndex
|
|
parameters:
|
|
- name: partId
|
|
in: path
|
|
value: 724750
|
|
- name: index
|
|
in: path
|
|
value: sd
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/octet-stream
|
|
- context: $response.body
|
|
condition: |
|
|
"x-file: example.file"
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getItemArtwork
|
|
steps:
|
|
- stepId: test
|
|
operationId: getItemArtwork
|
|
parameters:
|
|
- name: ids
|
|
in: path
|
|
value: <value>
|
|
- name: element
|
|
in: path
|
|
value: poster
|
|
- name: timestamp
|
|
in: path
|
|
value: 999555
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == audio/mpeg3
|
|
- context: $response.body
|
|
condition: |
|
|
"x-file: example.file"
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getImageFromBif
|
|
steps:
|
|
- stepId: test
|
|
operationId: getImageFromBif
|
|
parameters:
|
|
- name: partId
|
|
in: path
|
|
value: 304273
|
|
- name: index
|
|
in: path
|
|
value: sd
|
|
- name: offset
|
|
in: path
|
|
value: 939569
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == image/jpeg
|
|
- context: $response.body
|
|
condition: |
|
|
"x-file: example.file"
|
|
type: simple
|
|
x-speakeasy-test-group: Library
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: createCollection
|
|
steps:
|
|
- stepId: test
|
|
operationId: createCollection
|
|
parameters:
|
|
- name: sectionId
|
|
in: query
|
|
value: <id>
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Collections
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: listDVRs
|
|
steps:
|
|
- stepId: test
|
|
operationId: listDVRs
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: DVRs
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: createDVR
|
|
steps:
|
|
- stepId: test
|
|
operationId: createDVR
|
|
parameters:
|
|
- name: lineup
|
|
in: query
|
|
value: lineup://tv.plex.providers.epg.onconnect/USA-HI51418-DEFAULT
|
|
- name: device
|
|
in: query
|
|
value:
|
|
- device[]=device://tv.plex.grabbers.hdhomerun/1053C0CA
|
|
- name: language
|
|
in: query
|
|
value: eng
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: DVRs
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getDVR
|
|
steps:
|
|
- stepId: test
|
|
operationId: getDVR
|
|
parameters:
|
|
- name: dvrId
|
|
in: path
|
|
value: 973518
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: DVRs
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: deleteLineup
|
|
steps:
|
|
- stepId: test
|
|
operationId: deleteLineup
|
|
parameters:
|
|
- name: dvrId
|
|
in: path
|
|
value: 454470
|
|
- name: lineup
|
|
in: query
|
|
value: <value>
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: DVRs
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: addLineup
|
|
steps:
|
|
- stepId: test
|
|
operationId: addLineup
|
|
parameters:
|
|
- name: dvrId
|
|
in: path
|
|
value: 945235
|
|
- name: lineup
|
|
in: query
|
|
value: <value>
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: DVRs
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: setDVRPreferences
|
|
steps:
|
|
- stepId: test
|
|
operationId: setDVRPreferences
|
|
parameters:
|
|
- name: dvrId
|
|
in: path
|
|
value: 116357
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: DVRs
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: tuneChannel
|
|
steps:
|
|
- stepId: test
|
|
operationId: tuneChannel
|
|
parameters:
|
|
- name: dvrId
|
|
in: path
|
|
value: 834281
|
|
- name: channel
|
|
in: path
|
|
value: "2.1"
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: DVRs
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: removeDeviceFromDVR
|
|
steps:
|
|
- stepId: test
|
|
operationId: removeDeviceFromDVR
|
|
parameters:
|
|
- name: dvrId
|
|
in: path
|
|
value: 945416
|
|
- name: deviceId
|
|
in: path
|
|
value: 260761
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: DVRs
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: addDeviceToDVR
|
|
steps:
|
|
- stepId: test
|
|
operationId: addDeviceToDVR
|
|
parameters:
|
|
- name: dvrId
|
|
in: path
|
|
value: 334755
|
|
- name: deviceId
|
|
in: path
|
|
value: 852930
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: DVRs
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: computeChannelMap
|
|
steps:
|
|
- stepId: test
|
|
operationId: computeChannelMap
|
|
parameters:
|
|
- name: device
|
|
in: query
|
|
value: Mobile
|
|
- name: lineup
|
|
in: query
|
|
value: <value>
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: EPG
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getChannels
|
|
steps:
|
|
- stepId: test
|
|
operationId: getChannels
|
|
parameters:
|
|
- name: lineup
|
|
in: query
|
|
value: <value>
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: EPG
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getCountries
|
|
steps:
|
|
- stepId: test
|
|
operationId: getCountries
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: EPG
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getAllLanguages
|
|
steps:
|
|
- stepId: test
|
|
operationId: getAllLanguages
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: EPG
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getLineupChannels
|
|
steps:
|
|
- stepId: test
|
|
operationId: getLineupChannels
|
|
parameters:
|
|
- name: lineup
|
|
in: query
|
|
value:
|
|
- <value 1>
|
|
- <value 2>
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: EPG
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getCountriesLineups
|
|
steps:
|
|
- stepId: test
|
|
operationId: getCountriesLineups
|
|
parameters:
|
|
- name: country
|
|
in: path
|
|
value: Malawi
|
|
- name: epgId
|
|
in: path
|
|
value: <id>
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: EPG
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getCountryRegions
|
|
steps:
|
|
- stepId: test
|
|
operationId: getCountryRegions
|
|
parameters:
|
|
- name: country
|
|
in: path
|
|
value: Morocco
|
|
- name: epgId
|
|
in: path
|
|
value: <id>
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: EPG
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: listLineups
|
|
steps:
|
|
- stepId: test
|
|
operationId: listLineups
|
|
parameters:
|
|
- name: country
|
|
in: path
|
|
value: Vanuatu
|
|
- name: epgId
|
|
in: path
|
|
value: <id>
|
|
- name: region
|
|
in: path
|
|
value: <value>
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: EPG
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getSessions
|
|
steps:
|
|
- stepId: test
|
|
operationId: getSessions
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"title": "The American Dream Is Killing Me",
|
|
"type": "track",
|
|
"addedAt": 1705543312,
|
|
"art": "/library/metadata/39904/art/1705310687",
|
|
"duration": 186240,
|
|
"grandparentArt": "/library/metadata/39904/art/1705310687",
|
|
"grandparentKey": "/library/metadata/39904",
|
|
"grandparentRatingKey": "39904",
|
|
"grandparentThumb": "/library/metadata/39904/thumb/1705310687",
|
|
"grandparentTitle": "Green Day",
|
|
"index": 1,
|
|
"key": "/library/metadata/67085",
|
|
"Media": [
|
|
{
|
|
"audioChannels": 2,
|
|
"audioCodec": "flac",
|
|
"bitrate": 1014,
|
|
"container": "flac",
|
|
"duration": 186240,
|
|
"id": 130355,
|
|
"Part": [
|
|
{
|
|
"container": "flac",
|
|
"duration": 186240,
|
|
"file": "/music/Green Day/Saviors (2024)/Green Day - Saviors - 01 - The American Dream Is Killing Me.flac",
|
|
"id": 130625,
|
|
"key": "/library/parts/130625/1705543268/file.flac",
|
|
"size": 23644000,
|
|
"Stream": [
|
|
{
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 16,
|
|
"bitrate": 1014,
|
|
"codec": "flac",
|
|
"displayTitle": "FLAC (Stereo)",
|
|
"id": 352487,
|
|
"index": 0,
|
|
"samplingRate": 44100,
|
|
"selected": true,
|
|
"streamType": 2,
|
|
"albumGain": "-12.94",
|
|
"albumPeak": "1.000000",
|
|
"albumRange": "4.751014",
|
|
"channels": 2,
|
|
"extendedDisplayTitle": "FLAC (Stereo)",
|
|
"gain": "-12.94",
|
|
"loudness": "-5.94",
|
|
"lra": "1.74",
|
|
"peak": "1.000000",
|
|
"location": "direct"
|
|
}
|
|
],
|
|
"hasThumbnail": "1",
|
|
"decision": "directplay",
|
|
"selected": true
|
|
}
|
|
],
|
|
"selected": true
|
|
}
|
|
],
|
|
"originalTitle": "The American Dream Is Killing Me",
|
|
"parentIndex": 1,
|
|
"parentKey": "/library/metadata/67084",
|
|
"parentRatingKey": "67084",
|
|
"parentThumb": "/library/metadata/67084/thumb/1705543314",
|
|
"parentTitle": "Saviors",
|
|
"ratingCount": 45885,
|
|
"ratingKey": "67085",
|
|
"thumb": "/library/metadata/67084/thumb/1705543314",
|
|
"titleSort": "American Dream Is Killing Me",
|
|
"updatedAt": 1705543314,
|
|
"viewOffset": 1000,
|
|
"grandparentGuid": "plex://artist/5d07bbfd403c6402904a6480",
|
|
"guid": "plex://track/6535834f71f22f36f71a8e8f",
|
|
"librarySectionID": "3",
|
|
"librarySectionKey": "/library/sections/3",
|
|
"librarySectionTitle": "Music",
|
|
"musicAnalysisVersion": "1",
|
|
"parentGuid": "plex://album/65394d6d472b8ab03ef47f12",
|
|
"parentStudio": "Reprise Records",
|
|
"parentYear": 2024,
|
|
"sessionKey": "203",
|
|
"User": {
|
|
"id": "1",
|
|
"thumb": "https://plex.tv/users/844780fc6f8a26b5/avatar?c=1705853661",
|
|
"title": "Blindkitty38"
|
|
},
|
|
"Player": {
|
|
"address": "10.10.10.171",
|
|
"machineIdentifier": "3tsdzir85m2onc3qyr255aq1",
|
|
"model": "standalone",
|
|
"platform": "windows",
|
|
"platformVersion": "10.0.22621",
|
|
"product": "Plex for Windows",
|
|
"profile": "Plex Desktop",
|
|
"remotePublicAddress": "68.248.140.20",
|
|
"state": "playing",
|
|
"title": "DESKTOP-BL80MTD",
|
|
"version": "1.85.0.4071-21128b56",
|
|
"local": true,
|
|
"relayed": false,
|
|
"secure": true,
|
|
"userID": 1
|
|
},
|
|
"Session": {
|
|
"id": "93h7e00ncblxncqw9lkfaoxi",
|
|
"bandwidth": 1050,
|
|
"location": "lan"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Live TV
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getLiveTVSession
|
|
steps:
|
|
- stepId: test
|
|
operationId: getLiveTVSession
|
|
parameters:
|
|
- name: sessionId
|
|
in: path
|
|
value: <id>
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Live TV
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getAvailableGrabbers
|
|
steps:
|
|
- stepId: test
|
|
operationId: getAvailableGrabbers
|
|
parameters:
|
|
- name: protocol
|
|
in: query
|
|
value: livetv
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Devices
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: listDevices
|
|
steps:
|
|
- stepId: test
|
|
operationId: listDevices
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Devices
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: addDevice
|
|
steps:
|
|
- stepId: test
|
|
operationId: addDevice
|
|
parameters:
|
|
- name: uri
|
|
in: query
|
|
value: http://10.0.0.5
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Devices
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: discoverDevices
|
|
steps:
|
|
- stepId: test
|
|
operationId: discoverDevices
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Devices
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: removeDevice
|
|
steps:
|
|
- stepId: test
|
|
operationId: removeDevice
|
|
parameters:
|
|
- name: deviceId
|
|
in: path
|
|
value: 685908
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Devices
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getDeviceDetails
|
|
steps:
|
|
- stepId: test
|
|
operationId: getDeviceDetails
|
|
parameters:
|
|
- name: deviceId
|
|
in: path
|
|
value: 170949
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Devices
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: modifyDevice
|
|
steps:
|
|
- stepId: test
|
|
operationId: modifyDevice
|
|
parameters:
|
|
- name: deviceId
|
|
in: path
|
|
value: 879135
|
|
- name: enabled
|
|
in: query
|
|
value: 1
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Devices
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: setChannelmap
|
|
steps:
|
|
- stepId: test
|
|
operationId: setChannelmap
|
|
parameters:
|
|
- name: deviceId
|
|
in: path
|
|
value: 937661
|
|
- name: channelMapping
|
|
in: query
|
|
value: {}
|
|
- name: channelMappingByKey
|
|
in: query
|
|
value: {}
|
|
- name: channelsEnabled
|
|
in: query
|
|
value:
|
|
- 46.1,44.1,45.1
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Devices
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getDevicesChannels
|
|
steps:
|
|
- stepId: test
|
|
operationId: getDevicesChannels
|
|
parameters:
|
|
- name: deviceId
|
|
in: path
|
|
value: 517209
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Devices
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: stopScan
|
|
steps:
|
|
- stepId: test
|
|
operationId: stopScan
|
|
parameters:
|
|
- name: deviceId
|
|
in: path
|
|
value: 576494
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Devices
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: scan
|
|
steps:
|
|
- stepId: test
|
|
operationId: scan
|
|
parameters:
|
|
- name: deviceId
|
|
in: path
|
|
value: 57391
|
|
- name: source
|
|
in: query
|
|
value: Cable
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Devices
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: listProviders
|
|
steps:
|
|
- stepId: test
|
|
operationId: listProviders
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"livetv": 7,
|
|
"machineIdentifier": "0123456789abcdef0123456789abcdef012345678",
|
|
"musicAnalysis": 2,
|
|
"myPlexMappingState": "mapped",
|
|
"myPlexSigninState": "ok",
|
|
"offlineTranscode": 1
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Provider
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getAllSubscriptions
|
|
steps:
|
|
- stepId: test
|
|
operationId: getAllSubscriptions
|
|
parameters:
|
|
- name: includeGrabs
|
|
in: query
|
|
value: 1
|
|
- name: includeStorage
|
|
in: query
|
|
value: 1
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"MediaSubscription": [
|
|
{
|
|
"MediaGrabOperation": [
|
|
{
|
|
"Metadata": {
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Subscriptions
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: createSubscription
|
|
steps:
|
|
- stepId: test
|
|
operationId: createSubscription
|
|
parameters:
|
|
- name: targetLibrarySectionID
|
|
in: query
|
|
value: 1
|
|
- name: targetSectionLocationID
|
|
in: query
|
|
value: 3
|
|
- name: type
|
|
in: query
|
|
value: 2
|
|
- name: hints
|
|
in: query
|
|
value: {}
|
|
- name: prefs
|
|
in: query
|
|
value: {}
|
|
- name: params
|
|
in: query
|
|
value: {}
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"MediaSubscription": [
|
|
{
|
|
"MediaGrabOperation": [
|
|
{
|
|
"Metadata": {
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Subscriptions
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getScheduledRecordings
|
|
steps:
|
|
- stepId: test
|
|
operationId: getScheduledRecordings
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"MediaGrabOperation": [
|
|
{
|
|
"Metadata": {
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Subscriptions
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getTemplate
|
|
steps:
|
|
- stepId: test
|
|
operationId: getTemplate
|
|
parameters:
|
|
- name: guid
|
|
in: query
|
|
value: plex://episode/5fc70265c40548002d539d23
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"SubscriptionTemplate": [
|
|
{
|
|
"MediaSubscription": [
|
|
{
|
|
"title": "This Episode",
|
|
"MediaGrabOperation": [
|
|
{
|
|
"Metadata": {
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Subscriptions
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getSubscription
|
|
steps:
|
|
- stepId: test
|
|
operationId: getSubscription
|
|
parameters:
|
|
- name: subscriptionId
|
|
in: path
|
|
value: 186713
|
|
- name: includeGrabs
|
|
in: query
|
|
value: 1
|
|
- name: includeStorage
|
|
in: query
|
|
value: 1
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"MediaSubscription": [
|
|
{
|
|
"MediaGrabOperation": [
|
|
{
|
|
"Metadata": {
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Subscriptions
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: editSubscriptionPreferences
|
|
steps:
|
|
- stepId: test
|
|
operationId: editSubscriptionPreferences
|
|
parameters:
|
|
- name: subscriptionId
|
|
in: path
|
|
value: 673918
|
|
- name: prefs
|
|
in: query
|
|
value: {}
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"MediaSubscription": [
|
|
{
|
|
"MediaGrabOperation": [
|
|
{
|
|
"Metadata": {
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Subscriptions
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: reorderSubscription
|
|
steps:
|
|
- stepId: test
|
|
operationId: reorderSubscription
|
|
parameters:
|
|
- name: subscriptionId
|
|
in: path
|
|
value: 440634
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"MediaSubscription": [
|
|
{
|
|
"MediaGrabOperation": [
|
|
{
|
|
"Metadata": {
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Subscriptions
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: transcodeImage
|
|
steps:
|
|
- stepId: test
|
|
operationId: transcodeImage
|
|
parameters:
|
|
- name: url
|
|
in: query
|
|
value: /library/metadata/265/thumb/1715112705
|
|
- name: background
|
|
in: query
|
|
value: '#ff5522'
|
|
- name: upscale
|
|
in: query
|
|
value: 1
|
|
- name: minSize
|
|
in: query
|
|
value: 1
|
|
- name: rotate
|
|
in: query
|
|
value: 1
|
|
- name: blendColor
|
|
in: query
|
|
value: '#ff5522'
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == image/jpeg
|
|
- context: $response.body
|
|
condition: |
|
|
"x-file: example.file"
|
|
type: simple
|
|
x-speakeasy-test-group: Transcoder
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: makeDecision
|
|
steps:
|
|
- stepId: test
|
|
operationId: makeDecision
|
|
parameters:
|
|
- name: transcodeType
|
|
in: path
|
|
value: music
|
|
- name: advancedSubtitles
|
|
in: query
|
|
value: burn
|
|
- name: audioBoost
|
|
in: query
|
|
value: 50
|
|
- name: audioChannelCount
|
|
in: query
|
|
value: 5
|
|
- name: autoAdjustQuality
|
|
in: query
|
|
value: 1
|
|
- name: autoAdjustSubtitle
|
|
in: query
|
|
value: 1
|
|
- name: directPlay
|
|
in: query
|
|
value: 1
|
|
- name: directStream
|
|
in: query
|
|
value: 1
|
|
- name: directStreamAudio
|
|
in: query
|
|
value: 1
|
|
- name: disableResolutionRotation
|
|
in: query
|
|
value: 1
|
|
- name: hasMDE
|
|
in: query
|
|
value: 1
|
|
- name: location
|
|
in: query
|
|
value: wan
|
|
- name: mediaBufferSize
|
|
in: query
|
|
value: 102400
|
|
- name: mediaIndex
|
|
in: query
|
|
value: 0
|
|
- name: musicBitrate
|
|
in: query
|
|
value: 5000
|
|
- name: offset
|
|
in: query
|
|
value: 90.5
|
|
- name: partIndex
|
|
in: query
|
|
value: 0
|
|
- name: path
|
|
in: query
|
|
value: /library/metadata/151671
|
|
- name: peakBitrate
|
|
in: query
|
|
value: 12000
|
|
- name: photoResolution
|
|
in: query
|
|
value: 1080x1080
|
|
- name: protocol
|
|
in: query
|
|
value: dash
|
|
- name: secondsPerSegment
|
|
in: query
|
|
value: 5
|
|
- name: subtitleSize
|
|
in: query
|
|
value: 50
|
|
- name: subtitles
|
|
in: query
|
|
value: none
|
|
- name: videoBitrate
|
|
in: query
|
|
value: 12000
|
|
- name: videoQuality
|
|
in: query
|
|
value: 50
|
|
- name: videoResolution
|
|
in: query
|
|
value: 1080x1080
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
- name: X-Plex-Client-Profile-Extra
|
|
in: header
|
|
value: add-limitation(scope=videoCodec&scopeName=*&type=upperBound&name=video.frameRate&value=60&replace=true)+append-transcode-target-codec(type=videoProfile&context=streaming&videoCodec=h264%2Chevc&audioCodec=aac&protocol=dash)
|
|
- name: X-Plex-Client-Profile-Name
|
|
in: header
|
|
value: generic
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Transcoder
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: startTranscodeSession
|
|
steps:
|
|
- stepId: test
|
|
operationId: startTranscodeSession
|
|
parameters:
|
|
- name: transcodeType
|
|
in: path
|
|
value: music
|
|
- name: extension
|
|
in: path
|
|
value: mpd
|
|
- name: advancedSubtitles
|
|
in: query
|
|
value: burn
|
|
- name: audioBoost
|
|
in: query
|
|
value: 50
|
|
- name: audioChannelCount
|
|
in: query
|
|
value: 5
|
|
- name: autoAdjustQuality
|
|
in: query
|
|
value: 1
|
|
- name: autoAdjustSubtitle
|
|
in: query
|
|
value: 1
|
|
- name: directPlay
|
|
in: query
|
|
value: 1
|
|
- name: directStream
|
|
in: query
|
|
value: 1
|
|
- name: directStreamAudio
|
|
in: query
|
|
value: 1
|
|
- name: disableResolutionRotation
|
|
in: query
|
|
value: 1
|
|
- name: hasMDE
|
|
in: query
|
|
value: 1
|
|
- name: location
|
|
in: query
|
|
value: wan
|
|
- name: mediaBufferSize
|
|
in: query
|
|
value: 102400
|
|
- name: mediaIndex
|
|
in: query
|
|
value: 0
|
|
- name: musicBitrate
|
|
in: query
|
|
value: 5000
|
|
- name: offset
|
|
in: query
|
|
value: 90.5
|
|
- name: partIndex
|
|
in: query
|
|
value: 0
|
|
- name: path
|
|
in: query
|
|
value: /library/metadata/151671
|
|
- name: peakBitrate
|
|
in: query
|
|
value: 12000
|
|
- name: photoResolution
|
|
in: query
|
|
value: 1080x1080
|
|
- name: protocol
|
|
in: query
|
|
value: dash
|
|
- name: secondsPerSegment
|
|
in: query
|
|
value: 5
|
|
- name: subtitleSize
|
|
in: query
|
|
value: 50
|
|
- name: subtitles
|
|
in: query
|
|
value: none
|
|
- name: videoBitrate
|
|
in: query
|
|
value: 12000
|
|
- name: videoQuality
|
|
in: query
|
|
value: 50
|
|
- name: videoResolution
|
|
in: query
|
|
value: 1080x1080
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
- name: X-Plex-Client-Profile-Extra
|
|
in: header
|
|
value: add-limitation(scope=videoCodec&scopeName=*&type=upperBound&name=video.frameRate&value=60&replace=true)+append-transcode-target-codec(type=videoProfile&context=streaming&videoCodec=h264%2Chevc&audioCodec=aac&protocol=dash)
|
|
- name: X-Plex-Client-Profile-Name
|
|
in: header
|
|
value: generic
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == video/x-matroska
|
|
- context: $response.body
|
|
condition: |
|
|
"x-file: example.file"
|
|
type: simple
|
|
x-speakeasy-test-group: Transcoder
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: listPlaylists
|
|
steps:
|
|
- stepId: test
|
|
operationId: listPlaylists
|
|
parameters:
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Playlist
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getPlaylist
|
|
steps:
|
|
- stepId: test
|
|
operationId: getPlaylist
|
|
parameters:
|
|
- name: playlistId
|
|
in: path
|
|
value: 841953
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"composite": "/playlists/95/composite/1705717387",
|
|
"duration": 282000,
|
|
"key": "/playlists/95/items",
|
|
"leafCount": 2,
|
|
"playlistType": "video",
|
|
"smart": true,
|
|
"title": "Smart Movie Playlist",
|
|
"type": "playlist",
|
|
"addedAt": 1705716493,
|
|
"ratingKey": "95",
|
|
"summary": "",
|
|
"updatedAt": 1705717387,
|
|
"content": "library://x/directory/%2Flibrary%2Fsections%2F1%2Fall%3Ftype%3D1%26push%3D1%26title%3D2%26or%3D1%26title%3DSerenity%26pop%3D1",
|
|
"guid": "com.plexapp.agents.none://87425529-380f-44b8-a689-9a0537e7ec91",
|
|
"icon": "playlist://image.smart"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Playlist
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getPlaylistItems
|
|
steps:
|
|
- stepId: test
|
|
operationId: getPlaylistItems
|
|
parameters:
|
|
- name: playlistId
|
|
in: path
|
|
value: 118195
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Playlist
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: createPlaylist
|
|
steps:
|
|
- stepId: test
|
|
operationId: createPlaylist
|
|
parameters:
|
|
- name: uri
|
|
in: query
|
|
value: https://short-term-disconnection.name/
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"composite": "/playlists/96/composite/1705724593",
|
|
"duration": 141000,
|
|
"key": "/playlists/96/items",
|
|
"leafCount": 1,
|
|
"playlistType": "video",
|
|
"smart": false,
|
|
"title": "A Great Playlist",
|
|
"type": "playlist",
|
|
"addedAt": 1705719589,
|
|
"lastViewedAt": 1705719589,
|
|
"ratingKey": "96",
|
|
"summary": "What a great playlist",
|
|
"updatedAt": 1705724593,
|
|
"viewCount": 1,
|
|
"guid": "com.plexapp.agents.none://a2f92937-1408-40e2-b022-63a8a9377e55",
|
|
"icon": "playlist://image.smart"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library Playlists
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: uploadPlaylist
|
|
steps:
|
|
- stepId: test
|
|
operationId: uploadPlaylist
|
|
parameters:
|
|
- name: path
|
|
in: query
|
|
value: /home/barkley/playlist.m3u
|
|
- name: force
|
|
in: query
|
|
value: 1
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
x-speakeasy-test-group: Library Playlists
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: deletePlaylist
|
|
steps:
|
|
- stepId: test
|
|
operationId: deletePlaylist
|
|
parameters:
|
|
- name: playlistId
|
|
in: path
|
|
value: 343293
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
x-speakeasy-test-group: Library Playlists
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: updatePlaylist
|
|
steps:
|
|
- stepId: test
|
|
operationId: updatePlaylist
|
|
parameters:
|
|
- name: playlistId
|
|
in: path
|
|
value: 157966
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
x-speakeasy-test-group: Library Playlists
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getPlaylistGenerators
|
|
steps:
|
|
- stepId: test
|
|
operationId: getPlaylistGenerators
|
|
parameters:
|
|
- name: playlistId
|
|
in: path
|
|
value: 162342
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Library Playlists
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: clearPlaylistItems
|
|
steps:
|
|
- stepId: test
|
|
operationId: clearPlaylistItems
|
|
parameters:
|
|
- name: playlistId
|
|
in: path
|
|
value: 552140
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library Playlists
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: addPlaylistItems
|
|
steps:
|
|
- stepId: test
|
|
operationId: addPlaylistItems
|
|
parameters:
|
|
- name: playlistId
|
|
in: path
|
|
value: 533723
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library Playlists
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: deletePlaylistItem
|
|
steps:
|
|
- stepId: test
|
|
operationId: deletePlaylistItem
|
|
parameters:
|
|
- name: playlistId
|
|
in: path
|
|
value: 981646
|
|
- name: generatorId
|
|
in: path
|
|
value: 194010
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library Playlists
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getPlaylistGenerator
|
|
steps:
|
|
- stepId: test
|
|
operationId: getPlaylistGenerator
|
|
parameters:
|
|
- name: playlistId
|
|
in: path
|
|
value: 744880
|
|
- name: generatorId
|
|
in: path
|
|
value: 322168
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Library Playlists
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: modifyPlaylistGenerator
|
|
steps:
|
|
- stepId: test
|
|
operationId: modifyPlaylistGenerator
|
|
parameters:
|
|
- name: playlistId
|
|
in: path
|
|
value: 972007
|
|
- name: generatorId
|
|
in: path
|
|
value: 208334
|
|
- name: Item
|
|
in: query
|
|
value:
|
|
Location:
|
|
uri: library://82503060-0d68-4603-b594-8b071d54819e/item/%2Flibrary%2Fmetadata%2F146
|
|
Policy:
|
|
scope: all
|
|
unwatched: 0
|
|
value: null
|
|
locationID: -1
|
|
target: ""
|
|
targetTagID: 1
|
|
title: Jack-Jack Attack
|
|
type: 42
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library Playlists
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getPlaylistGeneratorItems
|
|
steps:
|
|
- stepId: test
|
|
operationId: getPlaylistGeneratorItems
|
|
parameters:
|
|
- name: playlistId
|
|
in: path
|
|
value: 77230
|
|
- name: generatorId
|
|
in: path
|
|
value: 979714
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": {
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library Playlists
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: movePlaylistItem
|
|
steps:
|
|
- stepId: test
|
|
operationId: movePlaylistItem
|
|
parameters:
|
|
- name: playlistId
|
|
in: path
|
|
value: 940298
|
|
- name: playlistItemId
|
|
in: path
|
|
value: 375626
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library Playlists
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: createPlayQueue
|
|
steps:
|
|
- stepId: test
|
|
operationId: createPlayQueue
|
|
parameters:
|
|
- name: type
|
|
in: query
|
|
value: audio
|
|
- name: shuffle
|
|
in: query
|
|
value: 1
|
|
- name: repeat
|
|
in: query
|
|
value: 1
|
|
- name: continuous
|
|
in: query
|
|
value: 1
|
|
- name: recursive
|
|
in: query
|
|
value: 1
|
|
- name: onDeck
|
|
in: query
|
|
value: 1
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Play Queue
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getPlayQueue
|
|
steps:
|
|
- stepId: test
|
|
operationId: getPlayQueue
|
|
parameters:
|
|
- name: playQueueId
|
|
in: path
|
|
value: 210646
|
|
- name: own
|
|
in: query
|
|
value: 1
|
|
- name: includeBefore
|
|
in: query
|
|
value: 1
|
|
- name: includeAfter
|
|
in: query
|
|
value: 1
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Play Queue
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: addToPlayQueue
|
|
steps:
|
|
- stepId: test
|
|
operationId: addToPlayQueue
|
|
parameters:
|
|
- name: playQueueId
|
|
in: path
|
|
value: 919248
|
|
- name: next
|
|
in: query
|
|
value: 1
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Play Queue
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: clearPlayQueue
|
|
steps:
|
|
- stepId: test
|
|
operationId: clearPlayQueue
|
|
parameters:
|
|
- name: playQueueId
|
|
in: path
|
|
value: 86357
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Play Queue
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: resetPlayQueue
|
|
steps:
|
|
- stepId: test
|
|
operationId: resetPlayQueue
|
|
parameters:
|
|
- name: playQueueId
|
|
in: path
|
|
value: 581891
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Play Queue
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: shuffle
|
|
steps:
|
|
- stepId: test
|
|
operationId: shuffle
|
|
parameters:
|
|
- name: playQueueId
|
|
in: path
|
|
value: 316150
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Play Queue
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: unshuffle
|
|
steps:
|
|
- stepId: test
|
|
operationId: unshuffle
|
|
parameters:
|
|
- name: playQueueId
|
|
in: path
|
|
value: 484388
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Play Queue
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: deletePlayQueueItem
|
|
steps:
|
|
- stepId: test
|
|
operationId: deletePlayQueueItem
|
|
parameters:
|
|
- name: playQueueId
|
|
in: path
|
|
value: 285738
|
|
- name: playQueueItemId
|
|
in: path
|
|
value: 464354
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Play Queue
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: movePlayQueueItem
|
|
steps:
|
|
- stepId: test
|
|
operationId: movePlayQueueItem
|
|
parameters:
|
|
- name: playQueueId
|
|
in: path
|
|
value: 31341
|
|
- name: playQueueItemId
|
|
in: path
|
|
value: 495865
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Play Queue
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getColors
|
|
steps:
|
|
- stepId: test
|
|
operationId: getColors
|
|
parameters:
|
|
- name: url
|
|
in: query
|
|
value: /library/metadata/217745/art/1718931408
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: UltraBlur
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getImage
|
|
steps:
|
|
- stepId: test
|
|
operationId: getImage
|
|
parameters:
|
|
- name: topLeft
|
|
in: query
|
|
value: 3f280a
|
|
- name: topRight
|
|
in: query
|
|
value: 6b4713
|
|
- name: bottomRight
|
|
in: query
|
|
value: 0f2a43
|
|
- name: bottomLeft
|
|
in: query
|
|
value: 1c425d
|
|
- name: width
|
|
in: query
|
|
value: 1920
|
|
- name: height
|
|
in: query
|
|
value: 1080
|
|
- name: noise
|
|
in: query
|
|
value: 1
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == image/png
|
|
- context: $response.body
|
|
condition: |
|
|
"x-file: example.file"
|
|
type: simple
|
|
x-speakeasy-test-group: UltraBlur
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: listSessions
|
|
steps:
|
|
- stepId: test
|
|
operationId: listSessions
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Status
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getBackgroundTasks
|
|
steps:
|
|
- stepId: test
|
|
operationId: getBackgroundTasks
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Status
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: listPlaybackHistory
|
|
steps:
|
|
- stepId: test
|
|
operationId: listPlaybackHistory
|
|
parameters:
|
|
- name: sort
|
|
in: query
|
|
value:
|
|
- viewedAt:desc,accountID
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Status
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: deleteHistory
|
|
steps:
|
|
- stepId: test
|
|
operationId: deleteHistory
|
|
parameters:
|
|
- name: historyId
|
|
in: path
|
|
value: 953579
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Status
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getHistoryItem
|
|
steps:
|
|
- stepId: test
|
|
operationId: getHistoryItem
|
|
parameters:
|
|
- name: historyId
|
|
in: path
|
|
value: 832213
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Status
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getUpdatesStatus
|
|
steps:
|
|
- stepId: test
|
|
operationId: getUpdatesStatus
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Updater
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getCollectionItems
|
|
steps:
|
|
- stepId: test
|
|
operationId: getCollectionItems
|
|
parameters:
|
|
- name: collectionId
|
|
in: path
|
|
value: 314585
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Content
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getMetadataItem
|
|
steps:
|
|
- stepId: test
|
|
operationId: getMetadataItem
|
|
parameters:
|
|
- name: ids
|
|
in: path
|
|
value: []
|
|
- name: asyncCheckFiles
|
|
in: query
|
|
value: 1
|
|
- name: asyncRefreshLocalMediaAgent
|
|
in: query
|
|
value: 1
|
|
- name: asyncRefreshAnalysis
|
|
in: query
|
|
value: 1
|
|
- name: checkFiles
|
|
in: query
|
|
value: 1
|
|
- name: skipRefresh
|
|
in: query
|
|
value: 1
|
|
- name: checkFileAvailability
|
|
in: query
|
|
value: 1
|
|
- name: asyncAugmentMetadata
|
|
in: query
|
|
value: 1
|
|
- name: augmentCount
|
|
in: query
|
|
value: 1
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Content
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getAlbums
|
|
steps:
|
|
- stepId: test
|
|
operationId: getAlbums
|
|
parameters:
|
|
- name: sectionId
|
|
in: path
|
|
value: 817133
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Content
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: listContent
|
|
steps:
|
|
- stepId: test
|
|
operationId: listContent
|
|
parameters:
|
|
- name: sectionId
|
|
in: path
|
|
value: <id>
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Content
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getAllLeaves
|
|
steps:
|
|
- stepId: test
|
|
operationId: getAllLeaves
|
|
parameters:
|
|
- name: sectionId
|
|
in: path
|
|
value: 633197
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Content
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getArts
|
|
steps:
|
|
- stepId: test
|
|
operationId: getArts
|
|
parameters:
|
|
- name: sectionId
|
|
in: path
|
|
value: 859200
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Content
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getCategories
|
|
steps:
|
|
- stepId: test
|
|
operationId: getCategories
|
|
parameters:
|
|
- name: sectionId
|
|
in: path
|
|
value: 21841
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Content
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getCluster
|
|
steps:
|
|
- stepId: test
|
|
operationId: getCluster
|
|
parameters:
|
|
- name: sectionId
|
|
in: path
|
|
value: 138560
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Content
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getSonicPath
|
|
steps:
|
|
- stepId: test
|
|
operationId: getSonicPath
|
|
parameters:
|
|
- name: sectionId
|
|
in: path
|
|
value: 914549
|
|
- name: startID
|
|
in: query
|
|
value: 629990
|
|
- name: endID
|
|
in: query
|
|
value: 687740
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Content
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getFolders
|
|
steps:
|
|
- stepId: test
|
|
operationId: getFolders
|
|
parameters:
|
|
- name: sectionId
|
|
in: path
|
|
value: 892532
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Content
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: listMoments
|
|
steps:
|
|
- stepId: test
|
|
operationId: listMoments
|
|
parameters:
|
|
- name: sectionId
|
|
in: path
|
|
value: 403239
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{}
|
|
type: simple
|
|
x-speakeasy-test-group: Content
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getSonicallySimilar
|
|
steps:
|
|
- stepId: test
|
|
operationId: getSonicallySimilar
|
|
parameters:
|
|
- name: sectionId
|
|
in: path
|
|
value: 525956
|
|
- name: values
|
|
in: query
|
|
value: []
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Content
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: getCollectionImage
|
|
steps:
|
|
- stepId: test
|
|
operationId: getCollectionImage
|
|
parameters:
|
|
- name: collectionId
|
|
in: path
|
|
value: 474227
|
|
- name: updatedAt
|
|
in: path
|
|
value: 759379
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == image/jpeg
|
|
- context: $response.body
|
|
condition: |
|
|
"x-file: example.file"
|
|
type: simple
|
|
x-speakeasy-test-group: Content
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: addCollectionItems
|
|
steps:
|
|
- stepId: test
|
|
operationId: addCollectionItems
|
|
parameters:
|
|
- name: collectionId
|
|
in: path
|
|
value: 338144
|
|
- name: uri
|
|
in: query
|
|
value: https://expensive-bakeware.com
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library Collections
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: deleteCollectionItem
|
|
steps:
|
|
- stepId: test
|
|
operationId: deleteCollectionItem
|
|
parameters:
|
|
- name: collectionId
|
|
in: path
|
|
value: 320928
|
|
- name: itemId
|
|
in: path
|
|
value: 406983
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library Collections
|
|
x-speakeasy-test-rebuild: true
|
|
- workflowId: moveCollectionItem
|
|
steps:
|
|
- stepId: test
|
|
operationId: moveCollectionItem
|
|
parameters:
|
|
- name: collectionId
|
|
in: path
|
|
value: 239532
|
|
- name: itemId
|
|
in: path
|
|
value: 513864
|
|
- name: X-Plex-Client-Identifier
|
|
in: header
|
|
value: abc123
|
|
- name: X-Plex-Product
|
|
in: header
|
|
value: Plex for Roku
|
|
- name: X-Plex-Version
|
|
in: header
|
|
value: 2.4.1
|
|
- name: X-Plex-Platform
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Platform-Version
|
|
in: header
|
|
value: 4.3 build 1057
|
|
- name: X-Plex-Device
|
|
in: header
|
|
value: Roku 3
|
|
- name: X-Plex-Model
|
|
in: header
|
|
value: 4200X
|
|
- name: X-Plex-Device-Vendor
|
|
in: header
|
|
value: Roku
|
|
- name: X-Plex-Device-Name
|
|
in: header
|
|
value: Living Room TV
|
|
- name: X-Plex-Marketplace
|
|
in: header
|
|
value: googlePlay
|
|
successCriteria:
|
|
- condition: $statusCode == 200
|
|
- condition: $response.header.Content-Type == application/json
|
|
- context: $response.body
|
|
condition: |
|
|
{
|
|
"MediaContainer": {
|
|
"Metadata": [
|
|
{
|
|
"Autotag": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Country": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Director": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Genre": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Guid": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Media": [
|
|
{
|
|
"aspectRatio": 2.35,
|
|
"audioChannels": 2,
|
|
"audioCodec": "aac",
|
|
"audioProfile": "lc",
|
|
"bitrate": 5612,
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"has64bitOffsets": false,
|
|
"hasVoiceActivity": true,
|
|
"height": 544,
|
|
"id": 1,
|
|
"optimizedForStreaming": false,
|
|
"Part": [
|
|
{
|
|
"audioProfile": "lc",
|
|
"container": "mov",
|
|
"duration": 150192,
|
|
"file": "/home/schuyler/Videos/Trailers/Cloud Atlas (2012).mov",
|
|
"has64bitOffsets": false,
|
|
"id": 1,
|
|
"key": "/library/parts/1/1531779263/file.mov",
|
|
"optimizedForStreaming": false,
|
|
"size": 105355654,
|
|
"Stream": [
|
|
{
|
|
"default": true,
|
|
"audioChannelLayout": "stereo",
|
|
"bitDepth": 8,
|
|
"bitrate": 5466,
|
|
"canAutoSync": true,
|
|
"chromaLocation": "topleft",
|
|
"chromaSubsampling": "4:2:0",
|
|
"codec": "h264",
|
|
"colorPrimaries": "bt709",
|
|
"colorRange": "tv",
|
|
"colorSpace": "bt709",
|
|
"colorTrc": "bt709",
|
|
"displayTitle": "English (H.264 Main)",
|
|
"frameRate": 23.976,
|
|
"hasScalingMatrix": false,
|
|
"height": 544,
|
|
"id": 1,
|
|
"index": 0,
|
|
"key": "/library/streams/1",
|
|
"language": "English",
|
|
"languageCode": "eng",
|
|
"level": 31,
|
|
"profile": "main",
|
|
"refFrames": 2,
|
|
"samplingRate": 48000,
|
|
"streamIdentifier": 1,
|
|
"streamType": 1,
|
|
"width": 1280
|
|
}
|
|
],
|
|
"videoProfile": "main"
|
|
}
|
|
],
|
|
"videoCodec": "h264",
|
|
"videoFrameRate": "24p",
|
|
"videoProfile": "main",
|
|
"videoResolution": "720",
|
|
"width": 1280
|
|
}
|
|
],
|
|
"Rating": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Role": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
],
|
|
"Writer": [
|
|
{
|
|
"filter": "actor=49",
|
|
"role": "Secretary",
|
|
"tag": "Shaun Lawton",
|
|
"tagKey": "5d3ee12c4cde6a001c3e0b27",
|
|
"thumb": "http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
type: simple
|
|
x-speakeasy-test-group: Library Collections
|
|
x-speakeasy-test-rebuild: true
|