mirror of
https://github.com/LukeHagar/plex-sdk-docs.git
synced 2025-12-07 20:47:48 +00:00
Initial Commit
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
## Get Server Capabilities
|
||||
|
||||
Server Capabilities
|
||||
@@ -0,0 +1,2 @@
|
||||
{/* Autogenerated DO NOT EDIT */}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
{/* Autogenerated DO NOT EDIT */}
|
||||
import GetServerCapabilitiesResponse from "/content/types/models/operations/get_server_capabilities_response/python.mdx"
|
||||
import Collapsible from "/src/components/Collapsible";
|
||||
import Labels from "/src/lib/labels";
|
||||
|
||||
##### *{`operations.GetServerCapabilitiesResponse`}*
|
||||
<Collapsible defaultOpen openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
|
||||
<GetServerCapabilitiesResponse/>
|
||||
</Collapsible>
|
||||
|
||||
|
||||
@@ -0,0 +1,82 @@
|
||||
|
||||
<CH.Code>
|
||||
```python GetServerCapabilities.py
|
||||
import sdk
|
||||
|
||||
s = sdk.SDK(
|
||||
access_token="<YOUR_API_KEY_HERE>",
|
||||
)
|
||||
|
||||
|
||||
res = s.server.get_server_capabilities()
|
||||
|
||||
if res.object is not None:
|
||||
# handle response
|
||||
pass
|
||||
```
|
||||
---
|
||||
|
||||
```json Example Response
|
||||
{
|
||||
"MediaContainer": {
|
||||
"size": 5488.14,
|
||||
"allowCameraUpload": false,
|
||||
"allowChannelAccess": false,
|
||||
"allowMediaDeletion": false,
|
||||
"allowSharing": false,
|
||||
"allowSync": false,
|
||||
"allowTuners": false,
|
||||
"backgroundProcessing": false,
|
||||
"certificate": false,
|
||||
"companionProxy": false,
|
||||
"countryCode": "string",
|
||||
"diagnostics": "string",
|
||||
"eventStream": false,
|
||||
"friendlyName": "string",
|
||||
"hubSearch": false,
|
||||
"itemClusters": false,
|
||||
"livetv": 5928.45,
|
||||
"machineIdentifier": "string",
|
||||
"mediaProviders": false,
|
||||
"multiuser": false,
|
||||
"musicAnalysis": 7151.9,
|
||||
"myPlex": false,
|
||||
"myPlexMappingState": "string",
|
||||
"myPlexSigninState": "string",
|
||||
"myPlexSubscription": false,
|
||||
"myPlexUsername": "string",
|
||||
"offlineTranscode": 8442.66,
|
||||
"ownerFeatures": "string",
|
||||
"photoAutoTag": false,
|
||||
"platform": "string",
|
||||
"platformVersion": "string",
|
||||
"pluginHost": false,
|
||||
"pushNotifications": false,
|
||||
"readOnlyLibraries": false,
|
||||
"streamingBrainABRVersion": 6027.63,
|
||||
"streamingBrainVersion": 8579.46,
|
||||
"sync": false,
|
||||
"transcoderActiveVideoSessions": 5448.83,
|
||||
"transcoderAudio": false,
|
||||
"transcoderLyrics": false,
|
||||
"transcoderPhoto": false,
|
||||
"transcoderSubtitles": false,
|
||||
"transcoderVideo": false,
|
||||
"transcoderVideoBitrates": "string",
|
||||
"transcoderVideoQualities": "string",
|
||||
"transcoderVideoResolutions": "string",
|
||||
"updatedAt": 8472.52,
|
||||
"updater": false,
|
||||
"version": "string",
|
||||
"voiceSearch": false,
|
||||
"Directory": [
|
||||
{
|
||||
"count": 4236.55,
|
||||
"key": "string",
|
||||
"title": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
</CH.Code>
|
||||
@@ -0,0 +1,12 @@
|
||||
import CurlHeader from './_header.mdx';
|
||||
import SDKHeader from './_header.mdx';
|
||||
import OperationHeader from '/src/components/OperationHeader';
|
||||
|
||||
###### *Server*
|
||||
|
||||
<OperationHeader
|
||||
sdkHeader={<SDKHeader />}
|
||||
curlHeader={<CurlHeader />}
|
||||
/>
|
||||
|
||||
{/* render operation */}
|
||||
Reference in New Issue
Block a user