Initial Commit

This commit is contained in:
Luke Hagar
2024-01-01 15:47:37 -06:00
parent 203c48ae7c
commit f91c1e6f54
4519 changed files with 88021 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
## Get Server Capabilities
Server Capabilities

View File

@@ -0,0 +1,2 @@
{/* Autogenerated DO NOT EDIT */}

View File

@@ -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>

View File

@@ -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>

View File

@@ -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 */}