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 Available Clients
Get Available Clients

View File

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

View File

@@ -0,0 +1,11 @@
{/* Autogenerated DO NOT EDIT */}
import GetAvailableClientsResponse from "/content/types/models/operations/get_available_clients_response/python.mdx"
import Collapsible from "/src/components/Collapsible";
import Labels from "/src/lib/labels";
##### *{`operations.GetAvailableClientsResponse`}*
<Collapsible defaultOpen openLabel={Labels.showProperties} closeLabel={Labels.hideProperties}>
<GetAvailableClientsResponse/>
</Collapsible>

View File

@@ -0,0 +1,43 @@
<CH.Code>
```python GetAvailableClients.py
import sdk
s = sdk.SDK(
access_token="<YOUR_API_KEY_HERE>",
)
res = s.server.get_available_clients()
if res.classes is not None:
# handle response
pass
```
---
```json Example Response
[
{
"MediaContainer": {
"size": 1,
"Server": [
{
"name": "iPad",
"host": "10.10.10.102",
"address": "10.10.10.102",
"port": 32500,
"machineIdentifier": "A2E901F8-E016-43A7-ADFB-EF8CA8A4AC05",
"version": "8.17",
"protocol": "plex",
"product": "Plex for iOS",
"deviceClass": "tablet",
"protocolVersion": 2,
"protocolCapabilities": "playback,playqueues,timeline,provider-playback"
}
]
}
}
]
```
</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 */}