mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-10 04:20:58 +00:00
Compare commits
1 Commits
v0.14.2
...
liblab-cod
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6f6f0a1145 |
12
.devcontainer/devcontainer.json
Normal file
12
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||||
|
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
|
||||||
|
{
|
||||||
|
"name": "TypeScript SDK",
|
||||||
|
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-20-bullseye",
|
||||||
|
"postCreateCommand": "cd examples && npm run setup",
|
||||||
|
"customizations": {
|
||||||
|
"codespaces":{
|
||||||
|
"openFiles": ["examples/src/index.ts", "README.md"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
28
.eslintrc.js
28
.eslintrc.js
@@ -1,28 +0,0 @@
|
|||||||
/* eslint-env node */
|
|
||||||
module.exports = {
|
|
||||||
root: true,
|
|
||||||
extends: [
|
|
||||||
"eslint:recommended",
|
|
||||||
"plugin:@typescript-eslint/recommended",
|
|
||||||
"plugin:import/recommended",
|
|
||||||
"plugin:import/typescript",
|
|
||||||
],
|
|
||||||
parser: "@typescript-eslint/parser",
|
|
||||||
plugins: ["@typescript-eslint"],
|
|
||||||
settings: {
|
|
||||||
"import/resolver": {
|
|
||||||
typescript: true,
|
|
||||||
node: true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
rules: {
|
|
||||||
// Handled by typescript compiler
|
|
||||||
"@typescript-eslint/no-unused-vars": "off",
|
|
||||||
"@typescript-eslint/ban-types": "off",
|
|
||||||
"@typescript-eslint/no-namespace": "off",
|
|
||||||
"@typescript-eslint/no-explicit-any": "off",
|
|
||||||
"import/no-named-as-default-member": "off",
|
|
||||||
|
|
||||||
"import/no-default-export": "error",
|
|
||||||
},
|
|
||||||
};
|
|
||||||
50
.eslintrc.json
Normal file
50
.eslintrc.json
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
{
|
||||||
|
"env": {
|
||||||
|
"browser": true,
|
||||||
|
"commonjs": true,
|
||||||
|
"es2021": true
|
||||||
|
},
|
||||||
|
"extends": [
|
||||||
|
"airbnb-base",
|
||||||
|
"airbnb-typescript/base",
|
||||||
|
"prettier"
|
||||||
|
],
|
||||||
|
"parser": "@typescript-eslint/parser",
|
||||||
|
"parserOptions": {
|
||||||
|
"ecmaVersion": "latest",
|
||||||
|
"sourceType": "module",
|
||||||
|
"project": "./tsconfig.eslint.json"
|
||||||
|
},
|
||||||
|
"plugins": [
|
||||||
|
"@typescript-eslint",
|
||||||
|
"prettier"
|
||||||
|
],
|
||||||
|
"rules": {
|
||||||
|
"no-console": "off",
|
||||||
|
"max-len": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"code": 150,
|
||||||
|
"ignoreComments": true,
|
||||||
|
"ignoreRegExpLiterals": true,
|
||||||
|
"ignoreStrings": true,
|
||||||
|
"ignoreTemplateLiterals": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"prettier/prettier": "error",
|
||||||
|
"@typescript-eslint/dot-notation": "off",
|
||||||
|
"import/prefer-default-export": "off"
|
||||||
|
},
|
||||||
|
"settings": {
|
||||||
|
"import/resolver": {
|
||||||
|
"node": {
|
||||||
|
"extensions": [
|
||||||
|
".js",
|
||||||
|
".jsx",
|
||||||
|
".ts",
|
||||||
|
".tsx"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
2
.gitattributes
vendored
2
.gitattributes
vendored
@@ -1,2 +0,0 @@
|
|||||||
# This allows generated code to be indexed correctly
|
|
||||||
*.ts linguist-generated=false
|
|
||||||
35
.github/workflows/build-checks.yml
vendored
Normal file
35
.github/workflows/build-checks.yml
vendored
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
name: Release Checks
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
github-publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: Checkout Repository & Submo
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
|
||||||
|
- name: Setup Node
|
||||||
|
uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: '16'
|
||||||
|
cache: 'npm'
|
||||||
|
cache-dependency-path: '**/package-lock.json'
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm install
|
||||||
|
|
||||||
|
# TODO: Finish fixing eslint issues
|
||||||
|
# - name: Run ESLint check
|
||||||
|
# run: npm run lint:ci
|
||||||
|
|
||||||
|
- name: Run Test & Coverage check
|
||||||
|
run: npm run test
|
||||||
|
|
||||||
56
.github/workflows/build_pr.yml
vendored
Normal file
56
.github/workflows/build_pr.yml
vendored
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
name: "Build TypeScript SDK"
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
push_spec_workflow:
|
||||||
|
name: Build TypeScript SDK
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
# Checkout the master branch request to run rsync
|
||||||
|
- name: Checkout PR branch
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: ${{ github.ref }}
|
||||||
|
|
||||||
|
# Checkout the main branch of api-specs
|
||||||
|
- name: Checkout API Specs Repo
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
repository: lukehagar/plex-api-spec
|
||||||
|
path: api-specs
|
||||||
|
ref: main
|
||||||
|
|
||||||
|
- name: Set up Node
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: "16"
|
||||||
|
|
||||||
|
- name: Build PMS SDK
|
||||||
|
id: buildPMS
|
||||||
|
run: |
|
||||||
|
rm -rf plexjs/pms
|
||||||
|
java -jar openapi-generator-cli.jar generate -i api-specs/pms/pms-spec.yaml -g typescript-axios -o plexjs/pms --global-property skipFormModel=false --config sdk-resources/pms-config.yaml
|
||||||
|
|
||||||
|
- name: Build PTV SDK
|
||||||
|
id: buildPTV
|
||||||
|
if: steps.buildPMS.outcome == 'success'
|
||||||
|
run: |
|
||||||
|
rm -rf plexjs/plextv
|
||||||
|
java -jar openapi-generator-cli.jar generate -i api-specs/plextv/plextv-spec.yaml -g typescript-axios -o plexjs/plextv --global-property skipFormModel=false --config sdk-resources/plextv-config.yaml
|
||||||
|
|
||||||
|
- name: Run npm install and build Typescript SDK
|
||||||
|
id: buildSDK
|
||||||
|
if: steps.buildPTV.outcome == 'success'
|
||||||
|
run: |
|
||||||
|
cd plexjs
|
||||||
|
npm install
|
||||||
|
npm run build
|
||||||
|
|
||||||
|
- name: Archive test build
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: PR-Build-${{ github.ref }}
|
||||||
|
path: |
|
||||||
|
plexjs
|
||||||
114
.github/workflows/bump_version.yml
vendored
Normal file
114
.github/workflows/bump_version.yml
vendored
Normal file
@@ -0,0 +1,114 @@
|
|||||||
|
name: "Update Typescript SDK Version"
|
||||||
|
|
||||||
|
run-name: Update Typescript SDK Version to ${{ github.event.inputs.version }}
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
version:
|
||||||
|
description: The version to bump to
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update_typescript_version:
|
||||||
|
name: Update Typescript Version
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: ${{ github.ref }}
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Checkout API Specs Repo
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
repository: lukehagar/plex-api-spec
|
||||||
|
path: api-specs
|
||||||
|
ref: main
|
||||||
|
|
||||||
|
- name: Set up Node
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: "16"
|
||||||
|
|
||||||
|
# Install yq for working with yaml files
|
||||||
|
- name: Set up yq
|
||||||
|
uses: frenck/action-setup-yq@v1
|
||||||
|
|
||||||
|
# Check input version is greater than the current tag
|
||||||
|
- name: Check valid version
|
||||||
|
run: |
|
||||||
|
function ver { printf "%03d%03d%03d%03d" $(echo "$1" | tr '.' ' '); }
|
||||||
|
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
|
||||||
|
echo $LATEST_TAG
|
||||||
|
if [ $(ver $LATEST_TAG) -lt $(ver ${{ github.event.inputs.version}}) ]
|
||||||
|
then
|
||||||
|
echo "Input version ${{ github.event.inputs.version }} valid"
|
||||||
|
else
|
||||||
|
echo "Current tagged version $LATEST_TAG is greater than input version ${{ github.event.inputs.version }}"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
## Update configuration files to new version
|
||||||
|
- name: Update config files with new version
|
||||||
|
id: updateVersion
|
||||||
|
run: |
|
||||||
|
yq -i '.npmVersion = "${{ github.event.inputs.version }}"' sdk-resources/pms-config.yaml
|
||||||
|
yq -i '.npmVersion = "${{ github.event.inputs.version }}"' sdk-resources/plextv-config.yaml
|
||||||
|
|
||||||
|
## Update package.json file with new version
|
||||||
|
- name: Update package.json version
|
||||||
|
id: updatePackageJsonVersion
|
||||||
|
if: steps.updateVersion.outcome == 'success'
|
||||||
|
run: |
|
||||||
|
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
|
||||||
|
cd plexjs
|
||||||
|
jq '.version = "${{ github.event.inputs.version }}"' package.json > package.json.tmp && mv package.json.tmp package.json
|
||||||
|
|
||||||
|
- name: Build PMS SDK
|
||||||
|
id: buildPMS
|
||||||
|
run: |
|
||||||
|
rm -rf plexjs/pms
|
||||||
|
java -jar openapi-generator-cli.jar generate -i api-specs/pms/pms-spec.yaml -g typescript-axios -o plexjs/pms --global-property skipFormModel=false --config sdk-resources/pms-config.yaml
|
||||||
|
|
||||||
|
- name: Build PTV SDK
|
||||||
|
id: buildPTV
|
||||||
|
if: steps.buildPMS.outcome == 'success'
|
||||||
|
run: |
|
||||||
|
rm -rf plexjs/plextv
|
||||||
|
java -jar openapi-generator-cli.jar generate -i api-specs/plextv/plextv-spec.yaml -g typescript-axios -o plexjs/plextv --global-property skipFormModel=false --config sdk-resources/plextv-config.yaml
|
||||||
|
|
||||||
|
- name: After SDK Build
|
||||||
|
id: buildSDK
|
||||||
|
if: steps.buildPTV.outcome == 'success'
|
||||||
|
run: |
|
||||||
|
cd plexjs
|
||||||
|
npm install
|
||||||
|
npm run build
|
||||||
|
|
||||||
|
- name: Publish to NPM
|
||||||
|
id: publish
|
||||||
|
uses: JS-DevTools/npm-publish@v1
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.NPM_TOKEN }}
|
||||||
|
package: ./plexjs/package.json
|
||||||
|
|
||||||
|
- name: Commit changes and create new version tag
|
||||||
|
if: steps.buildSDK.outcome == 'success'
|
||||||
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
|
with:
|
||||||
|
commit_message: Bump version to ${{ github.event.inputs.version }}
|
||||||
|
tagging_message: ${{ github.event.inputs.version }}
|
||||||
|
|
||||||
|
- name: Create Release
|
||||||
|
id: create_release
|
||||||
|
uses: actions/create-release@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
|
||||||
|
with:
|
||||||
|
tag_name: ${{ github.event.inputs.version }}
|
||||||
|
release_name: ${{ github.event.inputs.version }}
|
||||||
|
draft: false
|
||||||
|
prerelease: false
|
||||||
23
.github/workflows/codesee-arch-diagram.yml
vendored
Normal file
23
.github/workflows/codesee-arch-diagram.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# This workflow was added by CodeSee. Learn more at https://codesee.io/
|
||||||
|
# This is v2.0 of this workflow file
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request_target:
|
||||||
|
types: [opened, synchronize, reopened]
|
||||||
|
|
||||||
|
name: CodeSee
|
||||||
|
|
||||||
|
permissions: read-all
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
codesee:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
continue-on-error: true
|
||||||
|
name: Analyze the repo with CodeSee
|
||||||
|
steps:
|
||||||
|
- uses: Codesee-io/codesee-action@v2
|
||||||
|
with:
|
||||||
|
codesee-token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }}
|
||||||
|
codesee-url: https://app.codesee.io
|
||||||
28
.github/workflows/pr-checks.yml
vendored
Normal file
28
.github/workflows/pr-checks.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
name: Pull Request Checks
|
||||||
|
|
||||||
|
on: [pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
linting-and-testing:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Setup Node
|
||||||
|
uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: '16'
|
||||||
|
cache: 'npm'
|
||||||
|
cache-dependency-path: '**/package-lock.json'
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm install
|
||||||
|
|
||||||
|
# TODO: Finish fixing eslint issues
|
||||||
|
# - name: Run ESLint check
|
||||||
|
# run: npm run lint:ci
|
||||||
|
|
||||||
|
- name: Run Test & Coverage check
|
||||||
|
run: npm run test
|
||||||
33
.github/workflows/publish-jsr.yaml
vendored
33
.github/workflows/publish-jsr.yaml
vendored
@@ -1,33 +0,0 @@
|
|||||||
name: Publish to JSR
|
|
||||||
permissions:
|
|
||||||
checks: write
|
|
||||||
contents: write
|
|
||||||
pull-requests: write
|
|
||||||
statuses: write
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
publish:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
id-token: write
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up Node.js
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: 18
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: npm install
|
|
||||||
|
|
||||||
- name: Publish package
|
|
||||||
run: npx jsr publish
|
|
||||||
32
.github/workflows/release-checks.yml
vendored
Normal file
32
.github/workflows/release-checks.yml
vendored
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
name: Release Checks
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [created]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: '16'
|
||||||
|
cache: 'npm'
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run test
|
||||||
|
|
||||||
|
npm-publish:
|
||||||
|
needs: build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: '16'
|
||||||
|
registry-url: https://registry.npmjs.org/
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm publish
|
||||||
|
env:
|
||||||
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|
||||||
28
.github/workflows/speakeasy_sdk_generation.yml
vendored
28
.github/workflows/speakeasy_sdk_generation.yml
vendored
@@ -1,28 +0,0 @@
|
|||||||
name: Generate
|
|
||||||
permissions:
|
|
||||||
checks: write
|
|
||||||
contents: write
|
|
||||||
pull-requests: write
|
|
||||||
statuses: write
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
inputs:
|
|
||||||
force:
|
|
||||||
description: Force generation of SDKs
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
schedule:
|
|
||||||
- cron: 0 0 * * *
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
generate:
|
|
||||||
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
|
|
||||||
with:
|
|
||||||
force: ${{ github.event.inputs.force }}
|
|
||||||
mode: direct
|
|
||||||
speakeasy_version: latest
|
|
||||||
secrets:
|
|
||||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
npm_token: ${{ secrets.NPM_TOKEN }}
|
|
||||||
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
|
|
||||||
73
.github/workflows/test-oag-ver.yml
vendored
Normal file
73
.github/workflows/test-oag-ver.yml
vendored
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
name: "Test open api generator version"
|
||||||
|
|
||||||
|
run-name: "Test open api generator version ${{ github.event.inputs.version }}"
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
version:
|
||||||
|
description: The version of the OpenAPI Generator to test
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
push_spec_workflow:
|
||||||
|
name: Build TypeScript SDK
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
# Checkout the master branch request to run rsync
|
||||||
|
- name: Checkout PR branch
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: ${{ github.ref }}
|
||||||
|
|
||||||
|
# Checkout the main branch of api-specs
|
||||||
|
- name: Checkout API Specs Repo
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
repository: lukehagar/plex-api-spec
|
||||||
|
path: api-specs
|
||||||
|
ref: main
|
||||||
|
|
||||||
|
- name: Set up Node
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: "16"
|
||||||
|
|
||||||
|
- name: Install OpenAPI Generator
|
||||||
|
run: |
|
||||||
|
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/${{ github.event.inputs.version }}/openapi-generator-cli-${{ github.event.inputs.version }}.jar -O openapi-generator-cli.jar
|
||||||
|
|
||||||
|
- name: Build PMS SDK
|
||||||
|
id: buildPMS
|
||||||
|
run: |
|
||||||
|
rm -rf plexjs/pms
|
||||||
|
java -jar openapi-generator-cli.jar generate -i api-specs/pms/pms-spec.yaml -g typescript-axios -o plexjs/pms --config sdk-resources/pms-config-test.yaml
|
||||||
|
|
||||||
|
- name: Build PTV SDK
|
||||||
|
id: buildPTV
|
||||||
|
run: |
|
||||||
|
rm -rf plexjs/plextv
|
||||||
|
java -jar openapi-generator-cli.jar generate -i api-specs/plextv/plextv-spec.yaml -g typescript-axios -o plexjs/plextv --config sdk-resources/plextv-config-test.yaml
|
||||||
|
|
||||||
|
- name: Archive test build
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: OAG-${{ github.event.inputs.version }}-test-build
|
||||||
|
path: |
|
||||||
|
plexjs/pms
|
||||||
|
plexjs/plextv
|
||||||
|
|
||||||
|
- name: Run npm install and build Typescript SDK
|
||||||
|
id: testPMS
|
||||||
|
if: steps.buildPMS.outcome == 'success'
|
||||||
|
run: |
|
||||||
|
cd plexjs/pms
|
||||||
|
npm install
|
||||||
|
npm run build
|
||||||
|
|
||||||
|
- name: Run npm install and build Typescript SDK
|
||||||
|
id: testPTV
|
||||||
|
if: steps.buildPTV.outcome == 'success'
|
||||||
|
run: |
|
||||||
|
cd plexjs/plextv
|
||||||
|
npm install
|
||||||
|
npm run build
|
||||||
142
.gitignore
vendored
142
.gitignore
vendored
@@ -1,10 +1,132 @@
|
|||||||
/hooks
|
# Logs
|
||||||
/models
|
logs
|
||||||
/models/errors
|
*.log
|
||||||
/types
|
npm-debug.log*
|
||||||
/lib
|
yarn-debug.log*
|
||||||
/sdk
|
yarn-error.log*
|
||||||
/index.*
|
lerna-debug.log*
|
||||||
/cjs
|
.pnpm-debug.log*
|
||||||
/node_modules
|
|
||||||
/.tsbuildinfo
|
# Diagnostic reports (https://nodejs.org/api/report.html)
|
||||||
|
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
||||||
|
|
||||||
|
# Runtime data
|
||||||
|
pids
|
||||||
|
*.pid
|
||||||
|
*.seed
|
||||||
|
*.pid.lock
|
||||||
|
|
||||||
|
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||||
|
lib-cov
|
||||||
|
|
||||||
|
# Coverage directory used by tools like istanbul
|
||||||
|
coverage
|
||||||
|
*.lcov
|
||||||
|
|
||||||
|
# nyc test coverage
|
||||||
|
.nyc_output
|
||||||
|
|
||||||
|
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
||||||
|
.grunt
|
||||||
|
|
||||||
|
# Bower dependency directory (https://bower.io/)
|
||||||
|
bower_components
|
||||||
|
|
||||||
|
# node-waf configuration
|
||||||
|
.lock-wscript
|
||||||
|
|
||||||
|
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
||||||
|
build/Release
|
||||||
|
|
||||||
|
# Dependency directories
|
||||||
|
node_modules/
|
||||||
|
jspm_packages/
|
||||||
|
|
||||||
|
# Snowpack dependency directory (https://snowpack.dev/)
|
||||||
|
web_modules/
|
||||||
|
|
||||||
|
# TypeScript cache
|
||||||
|
*.tsbuildinfo
|
||||||
|
|
||||||
|
# Optional npm cache directory
|
||||||
|
.npm
|
||||||
|
|
||||||
|
# Optional eslint cache
|
||||||
|
.eslintcache
|
||||||
|
|
||||||
|
# Optional stylelint cache
|
||||||
|
.stylelintcache
|
||||||
|
|
||||||
|
# Microbundle cache
|
||||||
|
.rpt2_cache/
|
||||||
|
.rts2_cache_cjs/
|
||||||
|
.rts2_cache_es/
|
||||||
|
.rts2_cache_umd/
|
||||||
|
|
||||||
|
# Optional REPL history
|
||||||
|
.node_repl_history
|
||||||
|
|
||||||
|
# Output of 'npm pack'
|
||||||
|
*.tgz
|
||||||
|
|
||||||
|
# Yarn Integrity file
|
||||||
|
.yarn-integrity
|
||||||
|
|
||||||
|
# dotenv environment variable files
|
||||||
|
.env
|
||||||
|
.env.development.local
|
||||||
|
.env.test.local
|
||||||
|
.env.production.local
|
||||||
|
.env.local
|
||||||
|
|
||||||
|
# parcel-bundler cache (https://parceljs.org/)
|
||||||
|
.cache
|
||||||
|
.parcel-cache
|
||||||
|
|
||||||
|
# Next.js build output
|
||||||
|
.next
|
||||||
|
out
|
||||||
|
|
||||||
|
# Nuxt.js build / generate output
|
||||||
|
.nuxt
|
||||||
|
dist
|
||||||
|
|
||||||
|
# Gatsby files
|
||||||
|
.cache/
|
||||||
|
# Comment in the public line in if your project uses Gatsby and not Next.js
|
||||||
|
# https://nextjs.org/blog/next-9-1#public-directory-support
|
||||||
|
# public
|
||||||
|
|
||||||
|
# vuepress build output
|
||||||
|
.vuepress/dist
|
||||||
|
|
||||||
|
# vuepress v2.x temp and cache directory
|
||||||
|
.temp
|
||||||
|
.cache
|
||||||
|
|
||||||
|
# Docusaurus cache and generated files
|
||||||
|
.docusaurus
|
||||||
|
|
||||||
|
# Serverless directories
|
||||||
|
.serverless/
|
||||||
|
|
||||||
|
# FuseBox cache
|
||||||
|
.fusebox/
|
||||||
|
|
||||||
|
# DynamoDB Local files
|
||||||
|
.dynamodb/
|
||||||
|
|
||||||
|
# TernJS port file
|
||||||
|
.tern-port
|
||||||
|
|
||||||
|
# Stores VSCode versions used for testing VSCode extensions
|
||||||
|
.vscode-test
|
||||||
|
|
||||||
|
# yarn v2
|
||||||
|
.yarn/cache
|
||||||
|
.yarn/unplugged
|
||||||
|
.yarn/build-state.yml
|
||||||
|
.yarn/install-state.gz
|
||||||
|
.pnp.*
|
||||||
|
|
||||||
|
.parcel-cache
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
**/*
|
|
||||||
!/**/*.ts
|
|
||||||
!/**/*.js
|
|
||||||
!/**/*.map
|
|
||||||
|
|
||||||
/.eslintrc.js
|
|
||||||
/cjs
|
|
||||||
26
.prettierrc.json
Normal file
26
.prettierrc.json
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"printWidth": 100,
|
||||||
|
"tabWidth": 2,
|
||||||
|
"useTabs": false,
|
||||||
|
"semi": true,
|
||||||
|
"singleQuote": true,
|
||||||
|
"quoteProps": "as-needed",
|
||||||
|
"jsxSingleQuote": false,
|
||||||
|
"trailingComma": "all",
|
||||||
|
"bracketSpacing": true,
|
||||||
|
"arrowParens": "always",
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"files": ".editorconfig",
|
||||||
|
"options": {
|
||||||
|
"parser": "yaml"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"files": "LICENSE",
|
||||||
|
"options": {
|
||||||
|
"parser": "markdown"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,606 +0,0 @@
|
|||||||
lockVersion: 2.0.0
|
|
||||||
id: 16f22cbf-f23f-4419-8924-3a4b06381947
|
|
||||||
management:
|
|
||||||
docChecksum: 7a43cd3413d535205cfaee20a4b6a250
|
|
||||||
docVersion: 0.0.3
|
|
||||||
speakeasyVersion: 1.277.8
|
|
||||||
generationVersion: 2.319.10
|
|
||||||
releaseVersion: 0.14.2
|
|
||||||
configChecksum: 2565798d4bdc6007bc5296ad6dc6ee55
|
|
||||||
repoURL: https://github.com/LukeHagar/plexjs.git
|
|
||||||
repoSubDirectory: .
|
|
||||||
installationURL: https://github.com/LukeHagar/plexjs
|
|
||||||
published: true
|
|
||||||
features:
|
|
||||||
typescript:
|
|
||||||
constsAndDefaults: 0.1.5
|
|
||||||
core: 3.9.3
|
|
||||||
flattening: 2.81.1
|
|
||||||
globalSecurity: 2.82.9
|
|
||||||
globalServerURLs: 2.82.4
|
|
||||||
globals: 2.82.1
|
|
||||||
methodServerURLs: 2.82.1
|
|
||||||
nameOverrides: 2.81.2
|
|
||||||
responseFormat: 0.2.3
|
|
||||||
generatedFiles:
|
|
||||||
- src/sdk/server.ts
|
|
||||||
- src/sdk/media.ts
|
|
||||||
- src/sdk/video.ts
|
|
||||||
- src/sdk/activities.ts
|
|
||||||
- src/sdk/butler.ts
|
|
||||||
- src/sdk/hubs.ts
|
|
||||||
- src/sdk/search.ts
|
|
||||||
- src/sdk/library.ts
|
|
||||||
- src/sdk/log.ts
|
|
||||||
- src/sdk/plex.ts
|
|
||||||
- src/sdk/playlists.ts
|
|
||||||
- src/sdk/authentication.ts
|
|
||||||
- src/sdk/statistics.ts
|
|
||||||
- src/sdk/sessions.ts
|
|
||||||
- src/sdk/updater.ts
|
|
||||||
- src/sdk/sdk.ts
|
|
||||||
- .eslintrc.js
|
|
||||||
- .npmignore
|
|
||||||
- RUNTIMES.md
|
|
||||||
- jsr.json
|
|
||||||
- package.json
|
|
||||||
- src/index.ts
|
|
||||||
- src/lib/base64.ts
|
|
||||||
- src/lib/config.ts
|
|
||||||
- src/lib/encodings.ts
|
|
||||||
- src/lib/http.ts
|
|
||||||
- src/lib/retries.ts
|
|
||||||
- src/lib/schemas.ts
|
|
||||||
- src/lib/sdks.ts
|
|
||||||
- src/lib/security.ts
|
|
||||||
- src/lib/url.ts
|
|
||||||
- src/sdk/index.ts
|
|
||||||
- src/models/errors/sdkerror.ts
|
|
||||||
- src/models/errors/sdkvalidationerror.ts
|
|
||||||
- src/types/blobs.ts
|
|
||||||
- src/types/index.ts
|
|
||||||
- src/types/operations.ts
|
|
||||||
- src/types/rfcdate.ts
|
|
||||||
- tsconfig.json
|
|
||||||
- src/models/operations/getservercapabilities.ts
|
|
||||||
- src/models/operations/getserverpreferences.ts
|
|
||||||
- src/models/operations/getavailableclients.ts
|
|
||||||
- src/models/operations/getdevices.ts
|
|
||||||
- src/models/operations/getserveridentity.ts
|
|
||||||
- src/models/operations/getmyplexaccount.ts
|
|
||||||
- src/models/operations/getresizedphoto.ts
|
|
||||||
- src/models/operations/getserverlist.ts
|
|
||||||
- src/models/operations/markplayed.ts
|
|
||||||
- src/models/operations/markunplayed.ts
|
|
||||||
- src/models/operations/updateplayprogress.ts
|
|
||||||
- src/models/operations/gettimeline.ts
|
|
||||||
- src/models/operations/startuniversaltranscode.ts
|
|
||||||
- src/models/operations/getserveractivities.ts
|
|
||||||
- src/models/operations/cancelserveractivities.ts
|
|
||||||
- src/models/operations/getbutlertasks.ts
|
|
||||||
- src/models/operations/startalltasks.ts
|
|
||||||
- src/models/operations/stopalltasks.ts
|
|
||||||
- src/models/operations/starttask.ts
|
|
||||||
- src/models/operations/stoptask.ts
|
|
||||||
- src/models/operations/getglobalhubs.ts
|
|
||||||
- src/models/operations/getlibraryhubs.ts
|
|
||||||
- src/models/operations/performsearch.ts
|
|
||||||
- src/models/operations/performvoicesearch.ts
|
|
||||||
- src/models/operations/getsearchresults.ts
|
|
||||||
- src/models/operations/getfilehash.ts
|
|
||||||
- src/models/operations/getrecentlyadded.ts
|
|
||||||
- src/models/operations/getlibraries.ts
|
|
||||||
- src/models/operations/getlibrary.ts
|
|
||||||
- src/models/operations/deletelibrary.ts
|
|
||||||
- src/models/operations/getlibraryitems.ts
|
|
||||||
- src/models/operations/refreshlibrary.ts
|
|
||||||
- src/models/operations/searchlibrary.ts
|
|
||||||
- src/models/operations/getmetadata.ts
|
|
||||||
- src/models/operations/getmetadatachildren.ts
|
|
||||||
- src/models/operations/getondeck.ts
|
|
||||||
- src/models/operations/logline.ts
|
|
||||||
- src/models/operations/logmultiline.ts
|
|
||||||
- src/models/operations/enablepapertrail.ts
|
|
||||||
- src/models/operations/getpin.ts
|
|
||||||
- src/models/operations/gettoken.ts
|
|
||||||
- src/models/operations/createplaylist.ts
|
|
||||||
- src/models/operations/getplaylists.ts
|
|
||||||
- src/models/operations/getplaylist.ts
|
|
||||||
- src/models/operations/deleteplaylist.ts
|
|
||||||
- src/models/operations/updateplaylist.ts
|
|
||||||
- src/models/operations/getplaylistcontents.ts
|
|
||||||
- src/models/operations/clearplaylistcontents.ts
|
|
||||||
- src/models/operations/addplaylistcontents.ts
|
|
||||||
- src/models/operations/uploadplaylist.ts
|
|
||||||
- src/models/operations/gettransienttoken.ts
|
|
||||||
- src/models/operations/getsourceconnectioninformation.ts
|
|
||||||
- src/models/operations/getstatistics.ts
|
|
||||||
- src/models/operations/getsessions.ts
|
|
||||||
- src/models/operations/getsessionhistory.ts
|
|
||||||
- src/models/operations/gettranscodesessions.ts
|
|
||||||
- src/models/operations/stoptranscodesession.ts
|
|
||||||
- src/models/operations/getupdatestatus.ts
|
|
||||||
- src/models/operations/checkforupdates.ts
|
|
||||||
- src/models/operations/applyupdates.ts
|
|
||||||
- src/models/errors/getservercapabilities.ts
|
|
||||||
- src/models/errors/getserverpreferences.ts
|
|
||||||
- src/models/errors/getavailableclients.ts
|
|
||||||
- src/models/errors/getdevices.ts
|
|
||||||
- src/models/errors/getserveridentity.ts
|
|
||||||
- src/models/errors/getmyplexaccount.ts
|
|
||||||
- src/models/errors/getresizedphoto.ts
|
|
||||||
- src/models/errors/getserverlist.ts
|
|
||||||
- src/models/errors/markplayed.ts
|
|
||||||
- src/models/errors/markunplayed.ts
|
|
||||||
- src/models/errors/updateplayprogress.ts
|
|
||||||
- src/models/errors/gettimeline.ts
|
|
||||||
- src/models/errors/startuniversaltranscode.ts
|
|
||||||
- src/models/errors/getserveractivities.ts
|
|
||||||
- src/models/errors/cancelserveractivities.ts
|
|
||||||
- src/models/errors/getbutlertasks.ts
|
|
||||||
- src/models/errors/startalltasks.ts
|
|
||||||
- src/models/errors/stopalltasks.ts
|
|
||||||
- src/models/errors/starttask.ts
|
|
||||||
- src/models/errors/stoptask.ts
|
|
||||||
- src/models/errors/getglobalhubs.ts
|
|
||||||
- src/models/errors/getlibraryhubs.ts
|
|
||||||
- src/models/errors/performsearch.ts
|
|
||||||
- src/models/errors/performvoicesearch.ts
|
|
||||||
- src/models/errors/getsearchresults.ts
|
|
||||||
- src/models/errors/getfilehash.ts
|
|
||||||
- src/models/errors/getrecentlyadded.ts
|
|
||||||
- src/models/errors/getlibraries.ts
|
|
||||||
- src/models/errors/getlibrary.ts
|
|
||||||
- src/models/errors/deletelibrary.ts
|
|
||||||
- src/models/errors/refreshlibrary.ts
|
|
||||||
- src/models/errors/getmetadata.ts
|
|
||||||
- src/models/errors/getmetadatachildren.ts
|
|
||||||
- src/models/errors/getondeck.ts
|
|
||||||
- src/models/errors/logline.ts
|
|
||||||
- src/models/errors/logmultiline.ts
|
|
||||||
- src/models/errors/enablepapertrail.ts
|
|
||||||
- src/models/errors/getpin.ts
|
|
||||||
- src/models/errors/gettoken.ts
|
|
||||||
- src/models/errors/createplaylist.ts
|
|
||||||
- src/models/errors/getplaylists.ts
|
|
||||||
- src/models/errors/getplaylist.ts
|
|
||||||
- src/models/errors/deleteplaylist.ts
|
|
||||||
- src/models/errors/updateplaylist.ts
|
|
||||||
- src/models/errors/getplaylistcontents.ts
|
|
||||||
- src/models/errors/clearplaylistcontents.ts
|
|
||||||
- src/models/errors/addplaylistcontents.ts
|
|
||||||
- src/models/errors/uploadplaylist.ts
|
|
||||||
- src/models/errors/gettransienttoken.ts
|
|
||||||
- src/models/errors/getsourceconnectioninformation.ts
|
|
||||||
- src/models/errors/getstatistics.ts
|
|
||||||
- src/models/errors/getsessions.ts
|
|
||||||
- src/models/errors/getsessionhistory.ts
|
|
||||||
- src/models/errors/gettranscodesessions.ts
|
|
||||||
- src/models/errors/stoptranscodesession.ts
|
|
||||||
- src/models/errors/getupdatestatus.ts
|
|
||||||
- src/models/errors/checkforupdates.ts
|
|
||||||
- src/models/errors/applyupdates.ts
|
|
||||||
- src/models/components/security.ts
|
|
||||||
- src/models/errors/index.ts
|
|
||||||
- src/models/operations/index.ts
|
|
||||||
- src/models/components/index.ts
|
|
||||||
- docs/models/operations/directory.md
|
|
||||||
- docs/models/operations/mediacontainer.md
|
|
||||||
- docs/models/operations/getservercapabilitiesresponsebody.md
|
|
||||||
- docs/models/operations/getservercapabilitiesresponse.md
|
|
||||||
- docs/models/operations/setting.md
|
|
||||||
- docs/models/operations/getserverpreferencesmediacontainer.md
|
|
||||||
- docs/models/operations/getserverpreferencesresponsebody.md
|
|
||||||
- docs/models/operations/getserverpreferencesresponse.md
|
|
||||||
- docs/models/operations/server.md
|
|
||||||
- docs/models/operations/getavailableclientsmediacontainer.md
|
|
||||||
- docs/models/operations/getavailableclientsresponsebody.md
|
|
||||||
- docs/models/operations/getavailableclientsresponse.md
|
|
||||||
- docs/models/operations/device.md
|
|
||||||
- docs/models/operations/getdevicesmediacontainer.md
|
|
||||||
- docs/models/operations/getdevicesresponsebody.md
|
|
||||||
- docs/models/operations/getdevicesresponse.md
|
|
||||||
- docs/models/operations/getserveridentitymediacontainer.md
|
|
||||||
- docs/models/operations/getserveridentityresponsebody.md
|
|
||||||
- docs/models/operations/getserveridentityresponse.md
|
|
||||||
- docs/models/operations/myplex.md
|
|
||||||
- docs/models/operations/getmyplexaccountresponsebody.md
|
|
||||||
- docs/models/operations/getmyplexaccountresponse.md
|
|
||||||
- docs/models/operations/minsize.md
|
|
||||||
- docs/models/operations/upscale.md
|
|
||||||
- docs/models/operations/getresizedphotorequest.md
|
|
||||||
- docs/models/operations/getresizedphotoresponse.md
|
|
||||||
- docs/models/operations/getserverlistserver.md
|
|
||||||
- docs/models/operations/getserverlistmediacontainer.md
|
|
||||||
- docs/models/operations/getserverlistresponsebody.md
|
|
||||||
- docs/models/operations/getserverlistresponse.md
|
|
||||||
- docs/models/operations/markplayedrequest.md
|
|
||||||
- docs/models/operations/markplayedresponse.md
|
|
||||||
- docs/models/operations/markunplayedrequest.md
|
|
||||||
- docs/models/operations/markunplayedresponse.md
|
|
||||||
- docs/models/operations/updateplayprogressrequest.md
|
|
||||||
- docs/models/operations/updateplayprogressresponse.md
|
|
||||||
- docs/models/operations/state.md
|
|
||||||
- docs/models/operations/gettimelinerequest.md
|
|
||||||
- docs/models/operations/gettimelineresponse.md
|
|
||||||
- docs/models/operations/startuniversaltranscoderequest.md
|
|
||||||
- docs/models/operations/startuniversaltranscoderesponse.md
|
|
||||||
- docs/models/operations/context.md
|
|
||||||
- docs/models/operations/activity.md
|
|
||||||
- docs/models/operations/getserveractivitiesmediacontainer.md
|
|
||||||
- docs/models/operations/getserveractivitiesresponsebody.md
|
|
||||||
- docs/models/operations/getserveractivitiesresponse.md
|
|
||||||
- docs/models/operations/cancelserveractivitiesrequest.md
|
|
||||||
- docs/models/operations/cancelserveractivitiesresponse.md
|
|
||||||
- docs/models/operations/butlertask.md
|
|
||||||
- docs/models/operations/butlertasks.md
|
|
||||||
- docs/models/operations/getbutlertasksresponsebody.md
|
|
||||||
- docs/models/operations/getbutlertasksresponse.md
|
|
||||||
- docs/models/operations/startalltasksresponse.md
|
|
||||||
- docs/models/operations/stopalltasksresponse.md
|
|
||||||
- docs/models/operations/taskname.md
|
|
||||||
- docs/models/operations/starttaskrequest.md
|
|
||||||
- docs/models/operations/starttaskresponse.md
|
|
||||||
- docs/models/operations/pathparamtaskname.md
|
|
||||||
- docs/models/operations/stoptaskrequest.md
|
|
||||||
- docs/models/operations/stoptaskresponse.md
|
|
||||||
- docs/models/operations/onlytransient.md
|
|
||||||
- docs/models/operations/getglobalhubsrequest.md
|
|
||||||
- docs/models/operations/getglobalhubsmetadata.md
|
|
||||||
- docs/models/operations/hub.md
|
|
||||||
- docs/models/operations/getglobalhubsmediacontainer.md
|
|
||||||
- docs/models/operations/getglobalhubsresponsebody.md
|
|
||||||
- docs/models/operations/getglobalhubsresponse.md
|
|
||||||
- docs/models/operations/queryparamonlytransient.md
|
|
||||||
- docs/models/operations/getlibraryhubsrequest.md
|
|
||||||
- docs/models/operations/getlibraryhubspart.md
|
|
||||||
- docs/models/operations/getlibraryhubsmedia.md
|
|
||||||
- docs/models/operations/getlibraryhubsgenre.md
|
|
||||||
- docs/models/operations/getlibraryhubscountry.md
|
|
||||||
- docs/models/operations/getlibraryhubsdirector.md
|
|
||||||
- docs/models/operations/getlibraryhubsrole.md
|
|
||||||
- docs/models/operations/getlibraryhubswriter.md
|
|
||||||
- docs/types/rfcdate.md
|
|
||||||
- docs/models/operations/getlibraryhubsmetadata.md
|
|
||||||
- docs/models/operations/getlibraryhubshub.md
|
|
||||||
- docs/models/operations/getlibraryhubsmediacontainer.md
|
|
||||||
- docs/models/operations/getlibraryhubsresponsebody.md
|
|
||||||
- docs/models/operations/getlibraryhubsresponse.md
|
|
||||||
- docs/models/operations/performsearchrequest.md
|
|
||||||
- docs/models/operations/performsearchresponse.md
|
|
||||||
- docs/models/operations/performvoicesearchrequest.md
|
|
||||||
- docs/models/operations/performvoicesearchresponse.md
|
|
||||||
- docs/models/operations/getsearchresultsrequest.md
|
|
||||||
- docs/models/operations/getsearchresultspart.md
|
|
||||||
- docs/models/operations/getsearchresultsmedia.md
|
|
||||||
- docs/models/operations/getsearchresultsgenre.md
|
|
||||||
- docs/models/operations/getsearchresultsdirector.md
|
|
||||||
- docs/models/operations/getsearchresultswriter.md
|
|
||||||
- docs/models/operations/getsearchresultscountry.md
|
|
||||||
- docs/models/operations/getsearchresultsrole.md
|
|
||||||
- docs/models/operations/getsearchresultsmetadata.md
|
|
||||||
- docs/models/operations/provider.md
|
|
||||||
- docs/models/operations/getsearchresultsmediacontainer.md
|
|
||||||
- docs/models/operations/getsearchresultsresponsebody.md
|
|
||||||
- docs/models/operations/getsearchresultsresponse.md
|
|
||||||
- docs/models/operations/getfilehashrequest.md
|
|
||||||
- docs/models/operations/getfilehashresponse.md
|
|
||||||
- docs/models/operations/part.md
|
|
||||||
- docs/models/operations/media.md
|
|
||||||
- docs/models/operations/genre.md
|
|
||||||
- docs/models/operations/director.md
|
|
||||||
- docs/models/operations/writer.md
|
|
||||||
- docs/models/operations/country.md
|
|
||||||
- docs/models/operations/role.md
|
|
||||||
- docs/models/operations/metadata.md
|
|
||||||
- docs/models/operations/getrecentlyaddedmediacontainer.md
|
|
||||||
- docs/models/operations/getrecentlyaddedresponsebody.md
|
|
||||||
- docs/models/operations/getrecentlyaddedresponse.md
|
|
||||||
- docs/models/operations/getlibrarieslocation.md
|
|
||||||
- docs/models/operations/getlibrariesdirectory.md
|
|
||||||
- docs/models/operations/getlibrariesmediacontainer.md
|
|
||||||
- docs/models/operations/getlibrariesresponsebody.md
|
|
||||||
- docs/models/operations/getlibrariesresponse.md
|
|
||||||
- docs/models/operations/includedetails.md
|
|
||||||
- docs/models/operations/getlibraryrequest.md
|
|
||||||
- docs/models/operations/getlibrarydirectory.md
|
|
||||||
- docs/models/operations/filter.md
|
|
||||||
- docs/models/operations/sort.md
|
|
||||||
- docs/models/operations/field.md
|
|
||||||
- docs/models/operations/getlibrarytype.md
|
|
||||||
- docs/models/operations/operator.md
|
|
||||||
- docs/models/operations/fieldtype.md
|
|
||||||
- docs/models/operations/getlibrarymediacontainer.md
|
|
||||||
- docs/models/operations/getlibraryresponsebody.md
|
|
||||||
- docs/models/operations/getlibraryresponse.md
|
|
||||||
- docs/models/operations/deletelibraryrequest.md
|
|
||||||
- docs/models/operations/deletelibraryresponse.md
|
|
||||||
- docs/models/operations/tag.md
|
|
||||||
- docs/models/operations/getlibraryitemsrequest.md
|
|
||||||
- docs/models/operations/getlibraryitemspart.md
|
|
||||||
- docs/models/operations/getlibraryitemsmedia.md
|
|
||||||
- docs/models/operations/getlibraryitemsgenre.md
|
|
||||||
- docs/models/operations/getlibraryitemscountry.md
|
|
||||||
- docs/models/operations/getlibraryitemsdirector.md
|
|
||||||
- docs/models/operations/getlibraryitemswriter.md
|
|
||||||
- docs/models/operations/getlibraryitemsrole.md
|
|
||||||
- docs/models/operations/getlibraryitemsmetadata.md
|
|
||||||
- docs/models/operations/getlibraryitemsmediacontainer.md
|
|
||||||
- docs/models/operations/getlibraryitemsresponsebody.md
|
|
||||||
- docs/models/operations/getlibraryitemsresponse.md
|
|
||||||
- docs/models/operations/refreshlibraryrequest.md
|
|
||||||
- docs/models/operations/refreshlibraryresponse.md
|
|
||||||
- docs/models/operations/type.md
|
|
||||||
- docs/models/operations/searchlibraryrequest.md
|
|
||||||
- docs/models/operations/searchlibrarymetadata.md
|
|
||||||
- docs/models/operations/searchlibrarymediacontainer.md
|
|
||||||
- docs/models/operations/searchlibraryresponsebody.md
|
|
||||||
- docs/models/operations/searchlibraryresponse.md
|
|
||||||
- docs/models/operations/getmetadatarequest.md
|
|
||||||
- docs/models/operations/stream.md
|
|
||||||
- docs/models/operations/getmetadatapart.md
|
|
||||||
- docs/models/operations/getmetadatamedia.md
|
|
||||||
- docs/models/operations/getmetadatagenre.md
|
|
||||||
- docs/models/operations/getmetadatacountry.md
|
|
||||||
- docs/models/operations/guids.md
|
|
||||||
- docs/models/operations/ratings.md
|
|
||||||
- docs/models/operations/getmetadatadirector.md
|
|
||||||
- docs/models/operations/getmetadatawriter.md
|
|
||||||
- docs/models/operations/getmetadatarole.md
|
|
||||||
- docs/models/operations/producer.md
|
|
||||||
- docs/models/operations/getmetadatametadata.md
|
|
||||||
- docs/models/operations/getmetadatamediacontainer.md
|
|
||||||
- docs/models/operations/getmetadataresponsebody.md
|
|
||||||
- docs/models/operations/getmetadataresponse.md
|
|
||||||
- docs/models/operations/getmetadatachildrenrequest.md
|
|
||||||
- docs/models/operations/getmetadatachildrendirectory.md
|
|
||||||
- docs/models/operations/getmetadatachildrenmetadata.md
|
|
||||||
- docs/models/operations/getmetadatachildrenmediacontainer.md
|
|
||||||
- docs/models/operations/getmetadatachildrenresponsebody.md
|
|
||||||
- docs/models/operations/getmetadatachildrenresponse.md
|
|
||||||
- docs/models/operations/getondeckstream.md
|
|
||||||
- docs/models/operations/getondeckpart.md
|
|
||||||
- docs/models/operations/getondeckmedia.md
|
|
||||||
- docs/models/operations/getondeckguids.md
|
|
||||||
- docs/models/operations/getondeckmetadata.md
|
|
||||||
- docs/models/operations/getondeckmediacontainer.md
|
|
||||||
- docs/models/operations/getondeckresponsebody.md
|
|
||||||
- docs/models/operations/getondeckresponse.md
|
|
||||||
- docs/models/operations/level.md
|
|
||||||
- docs/models/operations/loglinerequest.md
|
|
||||||
- docs/models/operations/loglineresponse.md
|
|
||||||
- docs/models/operations/logmultilineresponse.md
|
|
||||||
- docs/models/operations/enablepapertrailresponse.md
|
|
||||||
- docs/models/operations/getpinrequest.md
|
|
||||||
- docs/models/operations/location.md
|
|
||||||
- docs/models/operations/getpinresponsebody.md
|
|
||||||
- docs/models/operations/getpinresponse.md
|
|
||||||
- docs/models/operations/gettokenrequest.md
|
|
||||||
- docs/models/operations/gettokenresponse.md
|
|
||||||
- docs/models/operations/queryparamtype.md
|
|
||||||
- docs/models/operations/smart.md
|
|
||||||
- docs/models/operations/createplaylistrequest.md
|
|
||||||
- docs/models/operations/createplaylistmetadata.md
|
|
||||||
- docs/models/operations/createplaylistmediacontainer.md
|
|
||||||
- docs/models/operations/createplaylistresponsebody.md
|
|
||||||
- docs/models/operations/createplaylistresponse.md
|
|
||||||
- docs/models/operations/playlisttype.md
|
|
||||||
- docs/models/operations/queryparamsmart.md
|
|
||||||
- docs/models/operations/getplaylistsrequest.md
|
|
||||||
- docs/models/operations/getplaylistsmetadata.md
|
|
||||||
- docs/models/operations/getplaylistsmediacontainer.md
|
|
||||||
- docs/models/operations/getplaylistsresponsebody.md
|
|
||||||
- docs/models/operations/getplaylistsresponse.md
|
|
||||||
- docs/models/operations/getplaylistrequest.md
|
|
||||||
- docs/models/operations/getplaylistmetadata.md
|
|
||||||
- docs/models/operations/getplaylistmediacontainer.md
|
|
||||||
- docs/models/operations/getplaylistresponsebody.md
|
|
||||||
- docs/models/operations/getplaylistresponse.md
|
|
||||||
- docs/models/operations/deleteplaylistrequest.md
|
|
||||||
- docs/models/operations/deleteplaylistresponse.md
|
|
||||||
- docs/models/operations/updateplaylistrequest.md
|
|
||||||
- docs/models/operations/updateplaylistresponse.md
|
|
||||||
- docs/models/operations/getplaylistcontentsrequest.md
|
|
||||||
- docs/models/operations/getplaylistcontentspart.md
|
|
||||||
- docs/models/operations/getplaylistcontentsmedia.md
|
|
||||||
- docs/models/operations/getplaylistcontentsgenre.md
|
|
||||||
- docs/models/operations/getplaylistcontentscountry.md
|
|
||||||
- docs/models/operations/getplaylistcontentsdirector.md
|
|
||||||
- docs/models/operations/getplaylistcontentswriter.md
|
|
||||||
- docs/models/operations/getplaylistcontentsrole.md
|
|
||||||
- docs/models/operations/getplaylistcontentsmetadata.md
|
|
||||||
- docs/models/operations/getplaylistcontentsmediacontainer.md
|
|
||||||
- docs/models/operations/getplaylistcontentsresponsebody.md
|
|
||||||
- docs/models/operations/getplaylistcontentsresponse.md
|
|
||||||
- docs/models/operations/clearplaylistcontentsrequest.md
|
|
||||||
- docs/models/operations/clearplaylistcontentsresponse.md
|
|
||||||
- docs/models/operations/addplaylistcontentsrequest.md
|
|
||||||
- docs/models/operations/addplaylistcontentsmetadata.md
|
|
||||||
- docs/models/operations/addplaylistcontentsmediacontainer.md
|
|
||||||
- docs/models/operations/addplaylistcontentsresponsebody.md
|
|
||||||
- docs/models/operations/addplaylistcontentsresponse.md
|
|
||||||
- docs/models/operations/force.md
|
|
||||||
- docs/models/operations/uploadplaylistrequest.md
|
|
||||||
- docs/models/operations/uploadplaylistresponse.md
|
|
||||||
- docs/models/operations/gettransienttokenqueryparamtype.md
|
|
||||||
- docs/models/operations/scope.md
|
|
||||||
- docs/models/operations/gettransienttokenrequest.md
|
|
||||||
- docs/models/operations/gettransienttokenresponse.md
|
|
||||||
- docs/models/operations/getsourceconnectioninformationrequest.md
|
|
||||||
- docs/models/operations/getsourceconnectioninformationresponse.md
|
|
||||||
- docs/models/operations/getstatisticsrequest.md
|
|
||||||
- docs/models/operations/getstatisticsdevice.md
|
|
||||||
- docs/models/operations/account.md
|
|
||||||
- docs/models/operations/statisticsmedia.md
|
|
||||||
- docs/models/operations/getstatisticsmediacontainer.md
|
|
||||||
- docs/models/operations/getstatisticsresponsebody.md
|
|
||||||
- docs/models/operations/getstatisticsresponse.md
|
|
||||||
- docs/models/operations/getsessionsstream.md
|
|
||||||
- docs/models/operations/getsessionspart.md
|
|
||||||
- docs/models/operations/getsessionsmedia.md
|
|
||||||
- docs/models/operations/user.md
|
|
||||||
- docs/models/operations/player.md
|
|
||||||
- docs/models/operations/session.md
|
|
||||||
- docs/models/operations/getsessionsmetadata.md
|
|
||||||
- docs/models/operations/getsessionsmediacontainer.md
|
|
||||||
- docs/models/operations/getsessionsresponsebody.md
|
|
||||||
- docs/models/operations/getsessionsresponse.md
|
|
||||||
- docs/models/operations/getsessionhistorymetadata.md
|
|
||||||
- docs/models/operations/getsessionhistorymediacontainer.md
|
|
||||||
- docs/models/operations/getsessionhistoryresponsebody.md
|
|
||||||
- docs/models/operations/getsessionhistoryresponse.md
|
|
||||||
- docs/models/operations/transcodesession.md
|
|
||||||
- docs/models/operations/gettranscodesessionsmediacontainer.md
|
|
||||||
- docs/models/operations/gettranscodesessionsresponsebody.md
|
|
||||||
- docs/models/operations/gettranscodesessionsresponse.md
|
|
||||||
- docs/models/operations/stoptranscodesessionrequest.md
|
|
||||||
- docs/models/operations/stoptranscodesessionresponse.md
|
|
||||||
- docs/models/operations/release.md
|
|
||||||
- docs/models/operations/getupdatestatusmediacontainer.md
|
|
||||||
- docs/models/operations/getupdatestatusresponsebody.md
|
|
||||||
- docs/models/operations/getupdatestatusresponse.md
|
|
||||||
- docs/models/operations/download.md
|
|
||||||
- docs/models/operations/checkforupdatesrequest.md
|
|
||||||
- docs/models/operations/checkforupdatesresponse.md
|
|
||||||
- docs/models/operations/tonight.md
|
|
||||||
- docs/models/operations/skip.md
|
|
||||||
- docs/models/operations/applyupdatesrequest.md
|
|
||||||
- docs/models/operations/applyupdatesresponse.md
|
|
||||||
- docs/models/errors/errors.md
|
|
||||||
- docs/models/errors/getservercapabilitiesresponsebody.md
|
|
||||||
- docs/models/errors/getserverpreferenceserrors.md
|
|
||||||
- docs/models/errors/getserverpreferencesresponsebody.md
|
|
||||||
- docs/models/errors/getavailableclientserrors.md
|
|
||||||
- docs/models/errors/getavailableclientsresponsebody.md
|
|
||||||
- docs/models/errors/getdeviceserrors.md
|
|
||||||
- docs/models/errors/getdevicesresponsebody.md
|
|
||||||
- docs/models/errors/getserveridentityerrors.md
|
|
||||||
- docs/models/errors/getserveridentityresponsebody.md
|
|
||||||
- docs/models/errors/getmyplexaccounterrors.md
|
|
||||||
- docs/models/errors/getmyplexaccountresponsebody.md
|
|
||||||
- docs/models/errors/getresizedphotoerrors.md
|
|
||||||
- docs/models/errors/getresizedphotoresponsebody.md
|
|
||||||
- docs/models/errors/getserverlisterrors.md
|
|
||||||
- docs/models/errors/getserverlistresponsebody.md
|
|
||||||
- docs/models/errors/markplayederrors.md
|
|
||||||
- docs/models/errors/markplayedresponsebody.md
|
|
||||||
- docs/models/errors/markunplayederrors.md
|
|
||||||
- docs/models/errors/markunplayedresponsebody.md
|
|
||||||
- docs/models/errors/updateplayprogresserrors.md
|
|
||||||
- docs/models/errors/updateplayprogressresponsebody.md
|
|
||||||
- docs/models/errors/gettimelineerrors.md
|
|
||||||
- docs/models/errors/gettimelineresponsebody.md
|
|
||||||
- docs/models/errors/startuniversaltranscodeerrors.md
|
|
||||||
- docs/models/errors/startuniversaltranscoderesponsebody.md
|
|
||||||
- docs/models/errors/getserveractivitieserrors.md
|
|
||||||
- docs/models/errors/getserveractivitiesresponsebody.md
|
|
||||||
- docs/models/errors/cancelserveractivitieserrors.md
|
|
||||||
- docs/models/errors/cancelserveractivitiesresponsebody.md
|
|
||||||
- docs/models/errors/getbutlertaskserrors.md
|
|
||||||
- docs/models/errors/getbutlertasksresponsebody.md
|
|
||||||
- docs/models/errors/startalltaskserrors.md
|
|
||||||
- docs/models/errors/startalltasksresponsebody.md
|
|
||||||
- docs/models/errors/stopalltaskserrors.md
|
|
||||||
- docs/models/errors/stopalltasksresponsebody.md
|
|
||||||
- docs/models/errors/starttaskerrors.md
|
|
||||||
- docs/models/errors/starttaskresponsebody.md
|
|
||||||
- docs/models/errors/stoptaskerrors.md
|
|
||||||
- docs/models/errors/stoptaskresponsebody.md
|
|
||||||
- docs/models/errors/getglobalhubserrors.md
|
|
||||||
- docs/models/errors/getglobalhubsresponsebody.md
|
|
||||||
- docs/models/errors/getlibraryhubserrors.md
|
|
||||||
- docs/models/errors/getlibraryhubsresponsebody.md
|
|
||||||
- docs/models/errors/performsearcherrors.md
|
|
||||||
- docs/models/errors/performsearchresponsebody.md
|
|
||||||
- docs/models/errors/performvoicesearcherrors.md
|
|
||||||
- docs/models/errors/performvoicesearchresponsebody.md
|
|
||||||
- docs/models/errors/getsearchresultserrors.md
|
|
||||||
- docs/models/errors/getsearchresultsresponsebody.md
|
|
||||||
- docs/models/errors/getfilehasherrors.md
|
|
||||||
- docs/models/errors/getfilehashresponsebody.md
|
|
||||||
- docs/models/errors/getrecentlyaddederrors.md
|
|
||||||
- docs/models/errors/getrecentlyaddedresponsebody.md
|
|
||||||
- docs/models/errors/getlibrarieserrors.md
|
|
||||||
- docs/models/errors/getlibrariesresponsebody.md
|
|
||||||
- docs/models/errors/getlibraryerrors.md
|
|
||||||
- docs/models/errors/getlibraryresponsebody.md
|
|
||||||
- docs/models/errors/deletelibraryerrors.md
|
|
||||||
- docs/models/errors/deletelibraryresponsebody.md
|
|
||||||
- docs/models/errors/refreshlibraryerrors.md
|
|
||||||
- docs/models/errors/refreshlibraryresponsebody.md
|
|
||||||
- docs/models/errors/getmetadataerrors.md
|
|
||||||
- docs/models/errors/getmetadataresponsebody.md
|
|
||||||
- docs/models/errors/getmetadatachildrenerrors.md
|
|
||||||
- docs/models/errors/getmetadatachildrenresponsebody.md
|
|
||||||
- docs/models/errors/getondeckerrors.md
|
|
||||||
- docs/models/errors/getondeckresponsebody.md
|
|
||||||
- docs/models/errors/loglineerrors.md
|
|
||||||
- docs/models/errors/loglineresponsebody.md
|
|
||||||
- docs/models/errors/logmultilineerrors.md
|
|
||||||
- docs/models/errors/logmultilineresponsebody.md
|
|
||||||
- docs/models/errors/enablepapertrailerrors.md
|
|
||||||
- docs/models/errors/enablepapertrailresponsebody.md
|
|
||||||
- docs/models/errors/getpinerrors.md
|
|
||||||
- docs/models/errors/getpinresponsebody.md
|
|
||||||
- docs/models/errors/gettokenerrors.md
|
|
||||||
- docs/models/errors/gettokenresponsebody.md
|
|
||||||
- docs/models/errors/createplaylisterrors.md
|
|
||||||
- docs/models/errors/createplaylistresponsebody.md
|
|
||||||
- docs/models/errors/getplaylistserrors.md
|
|
||||||
- docs/models/errors/getplaylistsresponsebody.md
|
|
||||||
- docs/models/errors/getplaylisterrors.md
|
|
||||||
- docs/models/errors/getplaylistresponsebody.md
|
|
||||||
- docs/models/errors/deleteplaylisterrors.md
|
|
||||||
- docs/models/errors/deleteplaylistresponsebody.md
|
|
||||||
- docs/models/errors/updateplaylisterrors.md
|
|
||||||
- docs/models/errors/updateplaylistresponsebody.md
|
|
||||||
- docs/models/errors/getplaylistcontentserrors.md
|
|
||||||
- docs/models/errors/getplaylistcontentsresponsebody.md
|
|
||||||
- docs/models/errors/clearplaylistcontentserrors.md
|
|
||||||
- docs/models/errors/clearplaylistcontentsresponsebody.md
|
|
||||||
- docs/models/errors/addplaylistcontentserrors.md
|
|
||||||
- docs/models/errors/addplaylistcontentsresponsebody.md
|
|
||||||
- docs/models/errors/uploadplaylisterrors.md
|
|
||||||
- docs/models/errors/uploadplaylistresponsebody.md
|
|
||||||
- docs/models/errors/gettransienttokenerrors.md
|
|
||||||
- docs/models/errors/gettransienttokenresponsebody.md
|
|
||||||
- docs/models/errors/getsourceconnectioninformationerrors.md
|
|
||||||
- docs/models/errors/getsourceconnectioninformationresponsebody.md
|
|
||||||
- docs/models/errors/getstatisticserrors.md
|
|
||||||
- docs/models/errors/getstatisticsresponsebody.md
|
|
||||||
- docs/models/errors/getsessionserrors.md
|
|
||||||
- docs/models/errors/getsessionsresponsebody.md
|
|
||||||
- docs/models/errors/getsessionhistoryerrors.md
|
|
||||||
- docs/models/errors/getsessionhistoryresponsebody.md
|
|
||||||
- docs/models/errors/gettranscodesessionserrors.md
|
|
||||||
- docs/models/errors/gettranscodesessionsresponsebody.md
|
|
||||||
- docs/models/errors/stoptranscodesessionerrors.md
|
|
||||||
- docs/models/errors/stoptranscodesessionresponsebody.md
|
|
||||||
- docs/models/errors/getupdatestatuserrors.md
|
|
||||||
- docs/models/errors/getupdatestatusresponsebody.md
|
|
||||||
- docs/models/errors/checkforupdateserrors.md
|
|
||||||
- docs/models/errors/checkforupdatesresponsebody.md
|
|
||||||
- docs/models/errors/applyupdateserrors.md
|
|
||||||
- docs/models/errors/applyupdatesresponsebody.md
|
|
||||||
- docs/models/components/security.md
|
|
||||||
- docs/sdks/plexapi/README.md
|
|
||||||
- docs/sdks/server/README.md
|
|
||||||
- docs/sdks/media/README.md
|
|
||||||
- docs/sdks/video/README.md
|
|
||||||
- docs/sdks/activities/README.md
|
|
||||||
- docs/sdks/butler/README.md
|
|
||||||
- docs/sdks/hubs/README.md
|
|
||||||
- docs/sdks/search/README.md
|
|
||||||
- docs/sdks/library/README.md
|
|
||||||
- docs/sdks/log/README.md
|
|
||||||
- docs/sdks/plex/README.md
|
|
||||||
- docs/sdks/playlists/README.md
|
|
||||||
- docs/sdks/authentication/README.md
|
|
||||||
- docs/sdks/statistics/README.md
|
|
||||||
- docs/sdks/sessions/README.md
|
|
||||||
- docs/sdks/updater/README.md
|
|
||||||
- USAGE.md
|
|
||||||
- .gitattributes
|
|
||||||
- src/hooks/hooks.ts
|
|
||||||
- src/hooks/types.ts
|
|
||||||
- src/hooks/index.ts
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
configVersion: 2.0.0
|
|
||||||
generation:
|
|
||||||
sdkClassName: Plex-API
|
|
||||||
maintainOpenAPIOrder: true
|
|
||||||
usageSnippets:
|
|
||||||
optionalPropertyRendering: withExample
|
|
||||||
useClassNamesForArrayFields: true
|
|
||||||
fixes:
|
|
||||||
nameResolutionDec2023: false
|
|
||||||
parameterOrderingFeb2024: false
|
|
||||||
requestResponseComponentNamesFeb2024: false
|
|
||||||
auth:
|
|
||||||
oAuth2ClientCredentialsEnabled: false
|
|
||||||
typescript:
|
|
||||||
version: 0.14.2
|
|
||||||
additionalDependencies:
|
|
||||||
dependencies: {}
|
|
||||||
devDependencies: {}
|
|
||||||
peerDependencies: {}
|
|
||||||
additionalPackageJSON: {}
|
|
||||||
author: LukeHagar
|
|
||||||
clientServerStatusCodesAsErrors: true
|
|
||||||
enumFormat: enum
|
|
||||||
flattenGlobalSecurity: true
|
|
||||||
imports:
|
|
||||||
option: openapi
|
|
||||||
paths:
|
|
||||||
callbacks: models/callbacks
|
|
||||||
errors: models/errors
|
|
||||||
operations: models/operations
|
|
||||||
shared: models/components
|
|
||||||
webhooks: models/webhooks
|
|
||||||
inputModelSuffix: input
|
|
||||||
maxMethodParams: 4
|
|
||||||
outputModelSuffix: output
|
|
||||||
packageName: '@lukehagar/plexjs'
|
|
||||||
responseFormat: envelope
|
|
||||||
templateVersion: v2
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
speakeasyVersion: 1.277.8
|
|
||||||
sources:
|
|
||||||
my-source: {}
|
|
||||||
targets:
|
|
||||||
plexjs:
|
|
||||||
source: my-source
|
|
||||||
outLocation: /github/workspace/repo
|
|
||||||
workflow:
|
|
||||||
workflowVersion: 1.0.0
|
|
||||||
speakeasyVersion: latest
|
|
||||||
sources:
|
|
||||||
my-source:
|
|
||||||
inputs:
|
|
||||||
- location: https://raw.githubusercontent.com/LukeHagar/plex-api-spec/main/plex-media-server-spec-dereferenced.yaml
|
|
||||||
targets:
|
|
||||||
plexjs:
|
|
||||||
target: typescript
|
|
||||||
source: my-source
|
|
||||||
publish:
|
|
||||||
npm:
|
|
||||||
token: $NPM_TOKEN
|
|
||||||
codeSamples:
|
|
||||||
output: codeSamples.yaml
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
workflowVersion: 1.0.0
|
|
||||||
speakeasyVersion: latest
|
|
||||||
sources:
|
|
||||||
my-source:
|
|
||||||
inputs:
|
|
||||||
- location: https://raw.githubusercontent.com/LukeHagar/plex-api-spec/main/plex-media-server-spec-dereferenced.yaml
|
|
||||||
targets:
|
|
||||||
plexjs:
|
|
||||||
target: typescript
|
|
||||||
source: my-source
|
|
||||||
codeSamples:
|
|
||||||
output: codeSamples.yaml
|
|
||||||
publish:
|
|
||||||
npm:
|
|
||||||
token: $NPM_TOKEN
|
|
||||||
@@ -1,6 +1,4 @@
|
|||||||
MIT License
|
Copyright (c) 2023
|
||||||
|
|
||||||
Copyright (c) 2023 LukeHagar
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
@@ -12,10 +10,10 @@ furnished to do so, subject to the following conditions:
|
|||||||
The above copyright notice and this permission notice shall be included in all
|
The above copyright notice and this permission notice shall be included in all
|
||||||
copies or substantial portions of the Software.
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
|
||||||
SOFTWARE.
|
OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
461
RELEASES.md
461
RELEASES.md
@@ -1,461 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
## 2023-12-24 06:37:52
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.129.1 (2.223.3) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.1.0] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.1.0] https://www.npmjs.com/package/openapi/v/0.1.0 - .
|
|
||||||
|
|
||||||
## 2024-01-01 15:05:18
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.129.1 (2.223.3) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.2.0] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.2.0] https://www.npmjs.com/package/plexjs/v/0.2.0 - .
|
|
||||||
|
|
||||||
## 2024-01-01 15:11:44
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.129.1 (2.223.3) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.3.0] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.3.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.3.0 - .
|
|
||||||
|
|
||||||
## 2024-01-05 00:27:32
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.130.1 (2.225.2) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.3.0] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.3.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.3.0 - .
|
|
||||||
|
|
||||||
## 2024-01-05 19:51:02
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.133.1 (2.228.1) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.3.1] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.3.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.3.1 - .
|
|
||||||
|
|
||||||
## 2024-01-09 00:28:08
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.134.0 (2.230.1) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.3.2] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.3.2] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.3.2 - .
|
|
||||||
|
|
||||||
## 2024-01-10 00:27:58
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.134.1 (2.230.3) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.3.3] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.3.3] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.3.3 - .
|
|
||||||
|
|
||||||
## 2024-01-16 00:27:43
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.141.1 (2.233.2) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.4.0] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.4.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.4.0 - .
|
|
||||||
|
|
||||||
## 2024-01-17 00:27:57
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.142.1 (2.234.3) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.4.0] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.4.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.4.0 - .
|
|
||||||
|
|
||||||
## 2024-01-18 23:37:12
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.147.0 (2.237.2) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.4.1] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.4.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.4.1 - .
|
|
||||||
|
|
||||||
## 2024-01-19 17:27:25
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.147.0 (2.237.2) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.4.2] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.4.2] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.4.2 - .
|
|
||||||
|
|
||||||
## 2024-01-20 03:10:24
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.148.0 (2.237.3) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.5.0] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.5.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.5.0 - .
|
|
||||||
|
|
||||||
## 2024-01-22 17:16:30
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.148.0 (2.237.3) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.5.1] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.5.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.5.1 - .
|
|
||||||
|
|
||||||
## 2024-01-23 20:47:26
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.150.0 (2.237.3) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.5.2] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.5.2] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.5.2 - .
|
|
||||||
|
|
||||||
## 2024-01-23 21:55:23
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.150.0 (2.237.3) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.5.3] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.5.3] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.5.3 - .
|
|
||||||
|
|
||||||
## 2024-01-31 15:05:58
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.158.0 (2.239.4) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.6.0] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.6.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.6.0 - .
|
|
||||||
|
|
||||||
## 2024-02-01 00:27:20
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.161.0 (2.245.1) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.6.1] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.6.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.6.1 - .
|
|
||||||
|
|
||||||
## 2024-02-05 14:23:50
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.166.1 (2.249.1) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.7.0] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.7.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.7.0 - .
|
|
||||||
|
|
||||||
## 2024-02-23 14:46:22
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.193.0 (2.269.0) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.8.0] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.8.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.8.0 - .
|
|
||||||
|
|
||||||
## 2024-02-24 00:24:27
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.193.4 (2.272.4) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.9.0] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.9.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.9.0 - .
|
|
||||||
|
|
||||||
## 2024-03-01 00:29:35
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.198.1 (2.275.4) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.9.1] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.9.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.9.1 - .
|
|
||||||
|
|
||||||
## 2024-03-02 00:24:38
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.200.0 (2.277.0) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.9.2] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.9.2] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.9.2 - .
|
|
||||||
|
|
||||||
## 2024-03-08 00:26:13
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.204.1 (2.279.1) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.10.0] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.10.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.10.0 - .
|
|
||||||
|
|
||||||
## 2024-03-13 00:25:35
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.207.1 (2.280.6) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.10.1] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.10.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.10.1 - .
|
|
||||||
|
|
||||||
## 2024-03-14 00:25:24
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc 0.0.3
|
|
||||||
- Speakeasy CLI 1.209.2 (2.281.2) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.10.2] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.10.2] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.10.2 - .
|
|
||||||
|
|
||||||
## 2024-03-15 15:02:11
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc
|
|
||||||
- Speakeasy CLI 1.209.3 (2.281.2) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.10.3] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.10.3] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.10.3 - .
|
|
||||||
|
|
||||||
## 2024-03-20 00:25:49
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc
|
|
||||||
- Speakeasy CLI 1.213.0 (2.283.1) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.10.4] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.10.4] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.10.4 - .
|
|
||||||
|
|
||||||
## 2024-03-27 00:25:29
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc
|
|
||||||
- Speakeasy CLI 1.227.0 (2.291.0) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.11.0] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.11.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.11.0 - .
|
|
||||||
|
|
||||||
## 2024-03-29 16:36:42
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc
|
|
||||||
- Speakeasy CLI 1.228.1 (2.292.0) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.12.0] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.12.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.12.0 - .
|
|
||||||
|
|
||||||
## 2024-04-02 00:26:20
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc
|
|
||||||
- Speakeasy CLI 1.231.1 (2.295.1) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.12.1] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.12.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.12.1 - .
|
|
||||||
|
|
||||||
## 2024-04-13 00:23:00
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc
|
|
||||||
- Speakeasy CLI 1.252.0 (2.306.0) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.12.2] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.12.2] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.12.2 - .
|
|
||||||
|
|
||||||
## 2024-04-18 00:26:16
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc
|
|
||||||
- Speakeasy CLI 1.257.1 (2.308.2) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.12.3] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.12.3] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.12.3 - .
|
|
||||||
|
|
||||||
## 2024-04-19 00:26:47
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc
|
|
||||||
- Speakeasy CLI 1.260.6 (2.311.1) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.13.0] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.13.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.13.0 - .
|
|
||||||
|
|
||||||
## 2024-04-20 00:26:02
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc
|
|
||||||
- Speakeasy CLI 1.267.0 (2.312.0) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.13.0] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.13.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.13.0 - .
|
|
||||||
|
|
||||||
## 2024-04-22 16:14:48
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc
|
|
||||||
- Speakeasy CLI 1.267.2 (2.312.1) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.13.1] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.13.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.13.1 - .
|
|
||||||
|
|
||||||
## 2024-04-22 16:25:57
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc
|
|
||||||
- Speakeasy CLI 1.267.2 (2.312.1) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.13.2] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.13.2] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.13.2 - .
|
|
||||||
|
|
||||||
## 2024-04-23 00:26:56
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc
|
|
||||||
- Speakeasy CLI 1.269.1 (2.312.1) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.13.2] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.13.2] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.13.2 - .
|
|
||||||
|
|
||||||
## 2024-04-25 00:28:39
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc
|
|
||||||
- Speakeasy CLI 1.274.1 (2.314.0) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.14.0] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.14.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.14.0 - .
|
|
||||||
|
|
||||||
## 2024-04-26 00:27:03
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc
|
|
||||||
- Speakeasy CLI 1.274.1 (2.314.0) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.14.0] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.14.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.14.0 - .
|
|
||||||
|
|
||||||
## 2024-04-27 00:26:14
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc
|
|
||||||
- Speakeasy CLI 1.276.0 (2.314.0) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.14.0] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.14.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.14.0 - .
|
|
||||||
|
|
||||||
## 2024-04-28 00:29:48
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc
|
|
||||||
- Speakeasy CLI 1.276.0 (2.314.0) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.14.0] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.14.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.14.0 - .
|
|
||||||
|
|
||||||
## 2024-04-29 00:27:42
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc
|
|
||||||
- Speakeasy CLI 1.276.0 (2.314.0) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.14.0] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.14.0] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.14.0 - .
|
|
||||||
|
|
||||||
## 2024-04-30 00:26:07
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc
|
|
||||||
- Speakeasy CLI 1.277.0 (2.317.0) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.14.1] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.14.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.14.1 - .
|
|
||||||
|
|
||||||
## 2024-05-01 00:29:15
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc
|
|
||||||
- Speakeasy CLI 1.277.4 (2.318.3) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.14.1] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.14.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.14.1 - .
|
|
||||||
|
|
||||||
## 2024-05-02 00:26:42
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc
|
|
||||||
- Speakeasy CLI 1.277.4 (2.318.3) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.14.1] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.14.1] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.14.1 - .
|
|
||||||
|
|
||||||
## 2024-05-03 00:27:14
|
|
||||||
### Changes
|
|
||||||
Based on:
|
|
||||||
- OpenAPI Doc
|
|
||||||
- Speakeasy CLI 1.277.8 (2.319.10) https://github.com/speakeasy-api/speakeasy
|
|
||||||
### Generated
|
|
||||||
- [typescript v0.14.2] .
|
|
||||||
### Releases
|
|
||||||
- [NPM v0.14.2] https://www.npmjs.com/package/@lukehagar/plexjs/v/0.14.2 - .
|
|
||||||
22
RUNTIMES.md
22
RUNTIMES.md
@@ -1,22 +0,0 @@
|
|||||||
# Supported JavaScript runtimes
|
|
||||||
|
|
||||||
This SDK is intended to be used in JavaScript runtimes that support the following features:
|
|
||||||
|
|
||||||
* [Web Fetch API][web-fetch]
|
|
||||||
* [Web Streams API](web-streams) and in particular `ReadableStream`
|
|
||||||
* [Async iterables][async-iter] using `Symbol.asyncIterator`
|
|
||||||
|
|
||||||
[web-fetch]: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
|
|
||||||
[web-streams]: https://developer.mozilla.org/en-US/docs/Web/API/Streams_API
|
|
||||||
[async-iter]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#the_async_iterator_and_async_iterable_protocols
|
|
||||||
|
|
||||||
Runtime environments that are explicitly supported are:
|
|
||||||
|
|
||||||
- Evergreen browsers which include: Chrome, Safari, Edge, Firefox
|
|
||||||
- Node.js active and maintenance LTS releases
|
|
||||||
- Currently, this is v18 and v20
|
|
||||||
- Bun v1 and above
|
|
||||||
- Deno v1.39
|
|
||||||
- Note that Deno does not currently have native support for streaming file uploads backed by the filesystem ([issue link][deno-file-streaming])
|
|
||||||
|
|
||||||
[deno-file-streaming]: https://github.com/denoland/deno/issues/11018
|
|
||||||
20
USAGE.md
20
USAGE.md
@@ -1,20 +0,0 @@
|
|||||||
<!-- Start SDK Example Usage [usage] -->
|
|
||||||
```typescript
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.server.getServerCapabilities();
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result);
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
|
|
||||||
```
|
|
||||||
<!-- End SDK Example Usage [usage] -->
|
|
||||||
760
codeSamples.yaml
760
codeSamples.yaml
@@ -1,760 +0,0 @@
|
|||||||
overlay: 1.0.0
|
|
||||||
info:
|
|
||||||
title: CodeSamples overlay for typescript target
|
|
||||||
version: 0.0.0
|
|
||||||
actions:
|
|
||||||
- target: $["paths"]["/:/prefs"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getServerPreferences
|
|
||||||
source: |-
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.getServerPreferences();
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/hubs"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getGlobalHubs
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\nimport { OnlyTransient } from \"@lukehagar/plexjs/models/operations\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const count = 1262.49;\n const onlyTransient = OnlyTransient.One;\n \n const result = await plexAPI.getGlobalHubs(count, onlyTransient);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/library/sections"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getLibraries
|
|
||||||
source: |-
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.getLibraries();
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getServerCapabilities
|
|
||||||
source: |-
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.getServerCapabilities();
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/pins"]["post"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getPin
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\n\nconst plexAPI = new PlexAPI({\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const strong = false;\n const xPlexClientIdentifier = \"Postman\";\n \n const result = await plexAPI.getPin(strong, xPlexClientIdentifier);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/playlists/{playlistID}"]["put"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: updatePlaylist
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const playlistID = 3915;\n const title = \"<value>\";\n const summary = \"<value>\";\n \n const result = await plexAPI.updatePlaylist(playlistID, title, summary);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/playlists/upload"]["post"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: uploadPlaylist
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\nimport { Force } from \"@lukehagar/plexjs/models/operations\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const path = \"/home/barkley/playlist.m3u\";\n const force = Force.Zero;\n \n const result = await plexAPI.uploadPlaylist(path, force);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/status/sessions/history/all"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getSessionHistory
|
|
||||||
source: |-
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.getSessionHistory();
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/library/metadata/{ratingKey}/children"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getMetadataChildren
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const ratingKey = 1539.14;\n \n const result = await plexAPI.getMetadataChildren(ratingKey);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/:/timeline"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getTimeline
|
|
||||||
source: |-
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
import { State } from "@lukehagar/plexjs/models/operations";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.getTimeline({
|
|
||||||
ratingKey: 716.56,
|
|
||||||
key: "<key>",
|
|
||||||
state: State.Paused,
|
|
||||||
hasMDE: 7574.33,
|
|
||||||
time: 3327.51,
|
|
||||||
duration: 7585.39,
|
|
||||||
context: "<value>",
|
|
||||||
playQueueItemID: 1406.21,
|
|
||||||
playBackTime: 2699.34,
|
|
||||||
row: 3536.42,
|
|
||||||
});
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/playlists/{playlistID}"]["delete"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: deletePlaylist
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const playlistID = 216.22;\n \n const result = await plexAPI.deletePlaylist(playlistID);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/security/token"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getTransientToken
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\nimport { GetTransientTokenQueryParamType, Scope } from \"@lukehagar/plexjs/models/operations\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const type = GetTransientTokenQueryParamType.Delegation;\n const scope = Scope.All;\n \n const result = await plexAPI.getTransientToken(type, scope);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/devices"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getDevices
|
|
||||||
source: |-
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.getDevices();
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/identity"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getServerIdentity
|
|
||||||
source: |-
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.getServerIdentity();
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/servers"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getServerList
|
|
||||||
source: |-
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.getServerList();
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/library/sections/{sectionId}/refresh"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: refreshLibrary
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const sectionId = 934.16;\n \n const result = await plexAPI.refreshLibrary(sectionId);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/playlists"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getPlaylists
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\nimport { PlaylistType, QueryParamSmart } from \"@lukehagar/plexjs/models/operations\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const playlistType = PlaylistType.Audio;\n const smart = QueryParamSmart.Zero;\n \n const result = await plexAPI.getPlaylists(playlistType, smart);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/updater/status"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getUpdateStatus
|
|
||||||
source: |-
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.getUpdateStatus();
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/updater/check"]["put"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: checkForUpdates
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\nimport { Download } from \"@lukehagar/plexjs/models/operations\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const download = Download.One;\n \n const result = await plexAPI.checkForUpdates(download);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/butler"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getButlerTasks
|
|
||||||
source: |-
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.getButlerTasks();
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/butler"]["delete"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: stopAllTasks
|
|
||||||
source: |-
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.stopAllTasks();
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/library/sections/{sectionId}"]["delete"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: deleteLibrary
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const sectionId = 1000;\n \n const result = await plexAPI.deleteLibrary(sectionId);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/playlists/{playlistID}"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getPlaylist
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const playlistID = 4109.48;\n \n const result = await plexAPI.getPlaylist(playlistID);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/status/sessions"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getSessions
|
|
||||||
source: |-
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.getSessions();
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/butler"]["post"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: startAllTasks
|
|
||||||
source: |-
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.startAllTasks();
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/butler/{taskName}"]["post"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: startTask
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\nimport { TaskName } from \"@lukehagar/plexjs/models/operations\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const taskName = TaskName.CleanOldBundles;\n \n const result = await plexAPI.startTask(taskName);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/library/sections/{sectionId}/{tag}"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getLibraryItems
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\nimport { Tag } from \"@lukehagar/plexjs/models/operations\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const sectionId = 451092;\n const tag = Tag.Unwatched;\n \n const result = await plexAPI.getLibraryItems(sectionId, tag);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/library/metadata/{ratingKey}"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getMetadata
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const ratingKey = 8382.31;\n \n const result = await plexAPI.getMetadata(ratingKey);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/playlists"]["post"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: createPlaylist
|
|
||||||
source: |-
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
import { QueryParamType, Smart } from "@lukehagar/plexjs/models/operations";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.createPlaylist({
|
|
||||||
title: "<value>",
|
|
||||||
type: QueryParamType.Photo,
|
|
||||||
smart: Smart.One,
|
|
||||||
uri: "https://inborn-brochure.biz",
|
|
||||||
});
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/activities/{activityUUID}"]["delete"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: cancelServerActivities
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const activityUUID = \"<value>\";\n \n const result = await plexAPI.cancelServerActivities(activityUUID);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/library/sections/{sectionId}"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getLibrary
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\nimport { IncludeDetails } from \"@lukehagar/plexjs/models/operations\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const sectionId = 1000;\n const includeDetails = IncludeDetails.Zero;\n \n const result = await plexAPI.getLibrary(sectionId, includeDetails);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/security/resources"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getSourceConnectionInformation
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const source = \"server://client-identifier\";\n \n const result = await plexAPI.getSourceConnectionInformation(source);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/statistics/media"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getStatistics
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const timespan = 411769;\n \n const result = await plexAPI.getStatistics(timespan);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/:/scrobble"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: markPlayed
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const key = 59398;\n \n const result = await plexAPI.markPlayed(key);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/video/:/transcode/universal/start.mpd"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: startUniversalTranscode
|
|
||||||
source: |-
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.startUniversalTranscode({
|
|
||||||
hasMDE: 8924.99,
|
|
||||||
path: "/etc/mail",
|
|
||||||
mediaIndex: 9962.95,
|
|
||||||
partIndex: 1232.82,
|
|
||||||
protocol: "<value>",
|
|
||||||
});
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/hubs/search"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: performSearch
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const query = \"dylan\";\n const sectionId = 1516.53;\n const limit = 5;\n \n const result = await plexAPI.performSearch(query, sectionId, limit);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/library/recentlyAdded"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getRecentlyAdded
|
|
||||||
source: |-
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.getRecentlyAdded();
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/search"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getSearchResults
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const query = \"110\";\n \n const result = await plexAPI.getSearchResults(query);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/library/hashes"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getFileHash
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const url = \"file://C:\\Image.png&type=13\";\n const type = 4462.17;\n \n const result = await plexAPI.getFileHash(url, type);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/library/onDeck"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getOnDeck
|
|
||||||
source: |-
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.getOnDeck();
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/log"]["post"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: logMultiLine
|
|
||||||
source: |-
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.logMultiLine("level=4&message=Test%20message%201&source=postman
|
|
||||||
level=3&message=Test%20message%202&source=postman
|
|
||||||
level=1&message=Test%20message%203&source=postman");
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/playlists/{playlistID}/items"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getPlaylistContents
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const playlistID = 5004.46;\n const type = 9403.59;\n \n const result = await plexAPI.getPlaylistContents(playlistID, type);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/hubs/sections/{sectionId}"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getLibraryHubs
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\nimport { QueryParamOnlyTransient } from \"@lukehagar/plexjs/models/operations\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const sectionId = 6728.76;\n const count = 9010.22;\n const onlyTransient = QueryParamOnlyTransient.Zero;\n \n const result = await plexAPI.getLibraryHubs(sectionId, count, onlyTransient);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/pins/{pinID}"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getToken
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\n\nconst plexAPI = new PlexAPI({\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const pinID = \"<value>\";\n const xPlexClientIdentifier = \"Postman\";\n \n const result = await plexAPI.getToken(pinID, xPlexClientIdentifier);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/photo/:/transcode"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getResizedPhoto
|
|
||||||
source: |-
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
import { MinSize, Upscale } from "@lukehagar/plexjs/models/operations";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.getResizedPhoto({
|
|
||||||
width: 110,
|
|
||||||
height: 165,
|
|
||||||
opacity: 100,
|
|
||||||
blur: 20,
|
|
||||||
minSize: MinSize.One,
|
|
||||||
upscale: Upscale.Zero,
|
|
||||||
url: "/library/metadata/49564/thumb/1654258204",
|
|
||||||
});
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/playlists/{playlistID}/items"]["delete"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: clearPlaylistContents
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const playlistID = 1893.18;\n \n const result = await plexAPI.clearPlaylistContents(playlistID);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/updater/apply"]["put"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: applyUpdates
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\nimport { Skip, Tonight } from \"@lukehagar/plexjs/models/operations\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const tonight = Tonight.One;\n const skip = Skip.Zero;\n \n const result = await plexAPI.applyUpdates(tonight, skip);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/transcode/sessions"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getTranscodeSessions
|
|
||||||
source: |-
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.getTranscodeSessions();
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/clients"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getAvailableClients
|
|
||||||
source: |-
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.getAvailableClients();
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/butler/{taskName}"]["delete"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: stopTask
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\nimport { PathParamTaskName } from \"@lukehagar/plexjs/models/operations\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const taskName = PathParamTaskName.BackupDatabase;\n \n const result = await plexAPI.stopTask(taskName);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/hubs/search/voice"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: performVoiceSearch
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const query = \"dead+poop\";\n const sectionId = 4094.8;\n const limit = 5;\n \n const result = await plexAPI.performVoiceSearch(query, sectionId, limit);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/log"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: logLine
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\nimport { Level } from \"@lukehagar/plexjs/models/operations\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const level = Level.Three;\n const message = \"Test log message\";\n const source = \"Postman\";\n \n const result = await plexAPI.logLine(level, message, source);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/playlists/{playlistID}/items"]["put"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: addPlaylistContents
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const playlistID = 8502.01;\n const uri = \"server://12345/com.plexapp.plugins.library/library/metadata/1\";\n const playQueueID = 123;\n \n const result = await plexAPI.addPlaylistContents(playlistID, uri, playQueueID);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/myplex/account"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getMyPlexAccount
|
|
||||||
source: |-
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.getMyPlexAccount();
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/:/unscrobble"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: markUnplayed
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const key = 59398;\n \n const result = await plexAPI.markUnplayed(key);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/activities"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: getServerActivities
|
|
||||||
source: |-
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.getServerActivities();
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
- target: $["paths"]["/transcode/sessions/{sessionKey}"]["delete"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: stopTranscodeSession
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const sessionKey = \"zz7llzqlx8w9vnrsbnwhbmep\";\n \n const result = await plexAPI.stopTranscodeSession(sessionKey);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/:/progress"]["post"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: updatePlayProgress
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const key = \"<value>\";\n const time = 6900.91;\n const state = \"<value>\";\n \n const result = await plexAPI.updatePlayProgress(key, time, state);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/library/sections/{sectionId}/search"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: searchLibrary
|
|
||||||
source: "import { PlexAPI } from \"@lukehagar/plexjs\";\nimport { Type } from \"@lukehagar/plexjs/models/operations\";\n\nconst plexAPI = new PlexAPI({\n accessToken: \"<YOUR_API_KEY_HERE>\",\n xPlexClientIdentifier: \"Postman\",\n});\n\nasync function run() {\n const sectionId = 933505;\n const type = Type.Four;\n \n const result = await plexAPI.searchLibrary(sectionId, type);\n\n // Handle the result\n console.log(result)\n}\n\nrun();"
|
|
||||||
- target: $["paths"]["/log/networked"]["get"]
|
|
||||||
update:
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: typescript
|
|
||||||
label: enablePaperTrail
|
|
||||||
source: |-
|
|
||||||
import { PlexAPI } from "@lukehagar/plexjs";
|
|
||||||
|
|
||||||
const plexAPI = new PlexAPI({
|
|
||||||
accessToken: "<YOUR_API_KEY_HERE>",
|
|
||||||
xPlexClientIdentifier: "Postman",
|
|
||||||
});
|
|
||||||
|
|
||||||
async function run() {
|
|
||||||
const result = await plexAPI.enablePaperTrail();
|
|
||||||
|
|
||||||
// Handle the result
|
|
||||||
console.log(result)
|
|
||||||
}
|
|
||||||
|
|
||||||
run();
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
# Security
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ------------------ | ------------------ | ------------------ | ------------------ |
|
|
||||||
| `accessToken` | *string* | :heavy_check_mark: | N/A |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# AddPlaylistContentsErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# AddPlaylistContentsResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.AddPlaylistContentsErrors](../../models/errors/addplaylistcontentserrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# ApplyUpdatesErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# ApplyUpdatesResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
|
|
||||||
| `errors` | [errors.ApplyUpdatesErrors](../../models/errors/applyupdateserrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# CancelServerActivitiesErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# CancelServerActivitiesResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.CancelServerActivitiesErrors](../../models/errors/cancelserveractivitieserrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# CheckForUpdatesErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# CheckForUpdatesResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
|
|
||||||
| `errors` | [errors.CheckForUpdatesErrors](../../models/errors/checkforupdateserrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# ClearPlaylistContentsErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# ClearPlaylistContentsResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
|
|
||||||
| `errors` | [errors.ClearPlaylistContentsErrors](../../models/errors/clearplaylistcontentserrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# CreatePlaylistErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# CreatePlaylistResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.CreatePlaylistErrors](../../models/errors/createplaylisterrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# DeleteLibraryErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# DeleteLibraryResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.DeleteLibraryErrors](../../models/errors/deletelibraryerrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# DeletePlaylistErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# DeletePlaylistResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.DeletePlaylistErrors](../../models/errors/deleteplaylisterrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# EnablePaperTrailErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# EnablePaperTrailResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.EnablePaperTrailErrors](../../models/errors/enablepapertrailerrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# Errors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetAvailableClientsErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetAvailableClientsResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.GetAvailableClientsErrors](../../models/errors/getavailableclientserrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetButlerTasksErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetButlerTasksResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.GetButlerTasksErrors](../../models/errors/getbutlertaskserrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetDevicesErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetDevicesResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.GetDevicesErrors](../../models/errors/getdeviceserrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetFileHashErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetFileHashResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.GetFileHashErrors](../../models/errors/getfilehasherrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetGlobalHubsErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetGlobalHubsResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.GetGlobalHubsErrors](../../models/errors/getglobalhubserrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetLibrariesErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetLibrariesResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
|
|
||||||
| `errors` | [errors.GetLibrariesErrors](../../models/errors/getlibrarieserrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetLibraryErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetLibraryHubsErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetLibraryHubsResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.GetLibraryHubsErrors](../../models/errors/getlibraryhubserrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetLibraryResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.GetLibraryErrors](../../models/errors/getlibraryerrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetMetadataChildrenErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetMetadataChildrenResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.GetMetadataChildrenErrors](../../models/errors/getmetadatachildrenerrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetMetadataErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetMetadataResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.GetMetadataErrors](../../models/errors/getmetadataerrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetMyPlexAccountErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetMyPlexAccountResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.GetMyPlexAccountErrors](../../models/errors/getmyplexaccounterrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetOnDeckErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetOnDeckResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.GetOnDeckErrors](../../models/errors/getondeckerrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetPinErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1000 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 400 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetPinResponseBody
|
|
||||||
|
|
||||||
X-Plex-Client-Identifier is missing
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.GetPinErrors](../../models/errors/getpinerrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetPlaylistContentsErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetPlaylistContentsResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.GetPlaylistContentsErrors](../../models/errors/getplaylistcontentserrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetPlaylistErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetPlaylistResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.GetPlaylistErrors](../../models/errors/getplaylisterrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetPlaylistsErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetPlaylistsResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
|
|
||||||
| `errors` | [errors.GetPlaylistsErrors](../../models/errors/getplaylistserrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetRecentlyAddedErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetRecentlyAddedResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.GetRecentlyAddedErrors](../../models/errors/getrecentlyaddederrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetResizedPhotoErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetResizedPhotoResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
|
|
||||||
| `errors` | [errors.GetResizedPhotoErrors](../../models/errors/getresizedphotoerrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetSearchResultsErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetSearchResultsResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.GetSearchResultsErrors](../../models/errors/getsearchresultserrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetServerActivitiesErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetServerActivitiesResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.GetServerActivitiesErrors](../../models/errors/getserveractivitieserrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetServerCapabilitiesResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.Errors](../../models/errors/errors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetServerIdentityErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetServerIdentityResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.GetServerIdentityErrors](../../models/errors/getserveridentityerrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetServerListErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetServerListResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.GetServerListErrors](../../models/errors/getserverlisterrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetServerPreferencesErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetServerPreferencesResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.GetServerPreferencesErrors](../../models/errors/getserverpreferenceserrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetSessionHistoryErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetSessionHistoryResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.GetSessionHistoryErrors](../../models/errors/getsessionhistoryerrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetSessionsErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetSessionsResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- |
|
|
||||||
| `errors` | [errors.GetSessionsErrors](../../models/errors/getsessionserrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetSourceConnectionInformationErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetSourceConnectionInformationResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
|
|
||||||
| `errors` | [errors.GetSourceConnectionInformationErrors](../../models/errors/getsourceconnectioninformationerrors.md)[] | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetStatisticsErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *number* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *string* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *number* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user