mirror of
https://github.com/LukeHagar/plexphp.git
synced 2025-12-10 12:37:46 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.535.1
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
lockVersion: 2.0.0
|
lockVersion: 2.0.0
|
||||||
id: 01a51eb2-5d90-4a24-b154-68e491d02c36
|
id: 01a51eb2-5d90-4a24-b154-68e491d02c36
|
||||||
management:
|
management:
|
||||||
docChecksum: fa4c9c5c23680ad02fdbe831ad9d2403
|
docChecksum: 89dadbc8c2d01913eaf905dadd40f814
|
||||||
docVersion: 0.0.3
|
docVersion: 0.0.3
|
||||||
speakeasyVersion: 1.531.4
|
speakeasyVersion: 1.535.1
|
||||||
generationVersion: 2.570.4
|
generationVersion: 2.585.2
|
||||||
releaseVersion: 0.14.5
|
releaseVersion: 0.14.6
|
||||||
configChecksum: d1cf02d00b52dd49489a64a52f44c1a7
|
configChecksum: c05102d7c719f7360f0f749ab1f4cfe6
|
||||||
repoURL: https://github.com/LukeHagar/plexphp.git
|
repoURL: https://github.com/LukeHagar/plexphp.git
|
||||||
repoSubDirectory: .
|
repoSubDirectory: .
|
||||||
installationURL: https://github.com/LukeHagar/plexphp
|
installationURL: https://github.com/LukeHagar/plexphp
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ generation:
|
|||||||
oAuth2ClientCredentialsEnabled: false
|
oAuth2ClientCredentialsEnabled: false
|
||||||
oAuth2PasswordEnabled: false
|
oAuth2PasswordEnabled: false
|
||||||
php:
|
php:
|
||||||
version: 0.14.5
|
version: 0.14.6
|
||||||
additionalDependencies:
|
additionalDependencies:
|
||||||
autoload: {}
|
autoload: {}
|
||||||
autoload-dev: {}
|
autoload-dev: {}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
speakeasyVersion: 1.531.4
|
speakeasyVersion: 1.535.1
|
||||||
sources:
|
sources:
|
||||||
my-source:
|
my-source:
|
||||||
sourceNamespace: my-source
|
sourceNamespace: my-source
|
||||||
@@ -9,19 +9,19 @@ sources:
|
|||||||
- main
|
- main
|
||||||
plexapi:
|
plexapi:
|
||||||
sourceNamespace: plexapi
|
sourceNamespace: plexapi
|
||||||
sourceRevisionDigest: sha256:db75a06885b897418dcb580679b5f744348573ad317155172346d32442420e5e
|
sourceRevisionDigest: sha256:b2f9599237ceb13cf8f9c1693e38b290177b65fb389cebf0c3c60b8ef4778615
|
||||||
sourceBlobDigest: sha256:ac0a3c3a6df002378b3522325c2330ba4309fbbbfa503a04b8267398f20033f5
|
sourceBlobDigest: sha256:f8df9ef88ada992cd981d601e6c0b45cc82db76aba3d915c2f9d08f90c81ced9
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- speakeasy-sdk-regen-1744675871
|
- speakeasy-sdk-regen-1745107898
|
||||||
targets:
|
targets:
|
||||||
plexphp:
|
plexphp:
|
||||||
source: plexapi
|
source: plexapi
|
||||||
sourceNamespace: plexapi
|
sourceNamespace: plexapi
|
||||||
sourceRevisionDigest: sha256:db75a06885b897418dcb580679b5f744348573ad317155172346d32442420e5e
|
sourceRevisionDigest: sha256:b2f9599237ceb13cf8f9c1693e38b290177b65fb389cebf0c3c60b8ef4778615
|
||||||
sourceBlobDigest: sha256:ac0a3c3a6df002378b3522325c2330ba4309fbbbfa503a04b8267398f20033f5
|
sourceBlobDigest: sha256:f8df9ef88ada992cd981d601e6c0b45cc82db76aba3d915c2f9d08f90c81ced9
|
||||||
codeSamplesNamespace: code-samples-php-plexphp
|
codeSamplesNamespace: code-samples-php-plexphp
|
||||||
codeSamplesRevisionDigest: sha256:ed756e2dc91cd7ba0d51d50d28ae1e51f6f4d0eaf41b490dd5ced93f5ed83225
|
codeSamplesRevisionDigest: sha256:f120c4a14e2e6e6c2acda8f8f8f87f2aeb50d987cbdedd0ea3b44d5c64b0295b
|
||||||
workflow:
|
workflow:
|
||||||
workflowVersion: 1.0.0
|
workflowVersion: 1.0.0
|
||||||
speakeasyVersion: latest
|
speakeasyVersion: latest
|
||||||
|
|||||||
12
RELEASES.md
12
RELEASES.md
@@ -852,4 +852,14 @@ Based on:
|
|||||||
### Generated
|
### Generated
|
||||||
- [php v0.14.5] .
|
- [php v0.14.5] .
|
||||||
### Releases
|
### Releases
|
||||||
- [Composer v0.14.5] https://packagist.org/packages/lukehagar/plex-api#v0.14.5 - .
|
- [Composer v0.14.5] https://packagist.org/packages/lukehagar/plex-api#v0.14.5 - .
|
||||||
|
|
||||||
|
## 2025-04-20 00:11:22
|
||||||
|
### Changes
|
||||||
|
Based on:
|
||||||
|
- OpenAPI Doc
|
||||||
|
- Speakeasy CLI 1.535.1 (2.585.2) https://github.com/speakeasy-api/speakeasy
|
||||||
|
### Generated
|
||||||
|
- [php v0.14.6] .
|
||||||
|
### Releases
|
||||||
|
- [Composer v0.14.6] https://packagist.org/packages/lukehagar/plex-api#v0.14.6 - .
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
## Fields
|
## Fields
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
| Field | Type | Required | Description | Example |
|
||||||
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `includeDetails` | [?Operations\IncludeDetails](../../Models/Operations/IncludeDetails.md) | :heavy_minus_sign: | Whether or not to include details for a section (types, filters, and sorts). <br/>Only exists for backwards compatibility, media providers other than the server libraries have it on always.<br/> | |
|
| `includeDetails` | [?Operations\IncludeDetails](../../Models/Operations/IncludeDetails.md) | :heavy_minus_sign: | Whether or not to include details for a section (types, filters, and sorts).<br/>Only exists for backwards compatibility, media providers other than the server libraries have it on always.<br/> | |
|
||||||
| `sectionKey` | *int* | :heavy_check_mark: | The unique key of the Plex library. <br/>Note: This is unique in the context of the Plex server.<br/> | 9518 |
|
| `sectionKey` | *int* | :heavy_check_mark: | The unique key of the Plex library. <br/>Note: This is unique in the context of the Plex server.<br/> | 9518 |
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
# IncludeDetails
|
# IncludeDetails
|
||||||
|
|
||||||
Whether or not to include details for a section (types, filters, and sorts).
|
Whether or not to include details for a section (types, filters, and sorts).
|
||||||
Only exists for backwards compatibility, media providers other than the server libraries have it on always.
|
Only exists for backwards compatibility, media providers other than the server libraries have it on always.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
# Level
|
# Level
|
||||||
|
|
||||||
An integer log level to write to the PMS log with.
|
An integer log level to write to the PMS log with.
|
||||||
0: Error
|
0: Error
|
||||||
1: Warning
|
1: Warning
|
||||||
2: Info
|
2: Info
|
||||||
3: Debug
|
3: Debug
|
||||||
4: Verbose
|
4: Verbose
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
|
|
||||||
## Fields
|
## Fields
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
| Field | Type | Required | Description | Example |
|
||||||
| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
|
| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
|
||||||
| `level` | [Operations\Level](../../Models/Operations/Level.md) | :heavy_check_mark: | An integer log level to write to the PMS log with. <br/>0: Error <br/>1: Warning <br/>2: Info <br/>3: Debug <br/>4: Verbose<br/> | |
|
| `level` | [Operations\Level](../../Models/Operations/Level.md) | :heavy_check_mark: | An integer log level to write to the PMS log with.<br/>0: Error<br/>1: Warning<br/>2: Info<br/>3: Debug<br/>4: Verbose<br/> | |
|
||||||
| `message` | *string* | :heavy_check_mark: | The text of the message to write to the log. | Test log message |
|
| `message` | *string* | :heavy_check_mark: | The text of the message to write to the log. | Test log message |
|
||||||
| `source` | *string* | :heavy_check_mark: | a string indicating the source of the message. | Postman |
|
| `source` | *string* | :heavy_check_mark: | a string indicating the source of the message. | Postman |
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
# QueryParamForce
|
# QueryParamForce
|
||||||
|
|
||||||
Force overwriting of duplicate playlists.
|
Force overwriting of duplicate playlists.
|
||||||
By default, a playlist file uploaded with the same path will overwrite the existing playlist.
|
By default, a playlist file uploaded with the same path will overwrite the existing playlist.
|
||||||
The `force` argument is used to disable overwriting.
|
The `force` argument is used to disable overwriting.
|
||||||
If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded.
|
If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
|
|
||||||
## Fields
|
## Fields
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
| Field | Type | Required | Description | Example |
|
||||||
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `path` | *string* | :heavy_check_mark: | absolute path to a directory on the server where m3u files are stored, or the absolute path to a playlist file on the server. <br/>If the `path` argument is a directory, that path will be scanned for playlist files to be processed. <br/>Each file in that directory creates a separate playlist, with a name based on the filename of the file that created it. <br/>The GUID of each playlist is based on the filename. <br/>If the `path` argument is a file, that file will be used to create a new playlist, with the name based on the filename of the file that created it. <br/>The GUID of each playlist is based on the filename.<br/> | /home/barkley/playlist.m3u |
|
| `path` | *string* | :heavy_check_mark: | absolute path to a directory on the server where m3u files are stored, or the absolute path to a playlist file on the server.<br/>If the `path` argument is a directory, that path will be scanned for playlist files to be processed.<br/>Each file in that directory creates a separate playlist, with a name based on the filename of the file that created it.<br/>The GUID of each playlist is based on the filename.<br/>If the `path` argument is a file, that file will be used to create a new playlist, with the name based on the filename of the file that created it.<br/>The GUID of each playlist is based on the filename.<br/> | /home/barkley/playlist.m3u |
|
||||||
| `force` | [Operations\QueryParamForce](../../Models/Operations/QueryParamForce.md) | :heavy_check_mark: | Force overwriting of duplicate playlists. <br/>By default, a playlist file uploaded with the same path will overwrite the existing playlist. <br/>The `force` argument is used to disable overwriting. <br/>If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded.<br/> | |
|
| `force` | [Operations\QueryParamForce](../../Models/Operations/QueryParamForce.md) | :heavy_check_mark: | Force overwriting of duplicate playlists.<br/>By default, a playlist file uploaded with the same path will overwrite the existing playlist.<br/>The `force` argument is used to disable overwriting.<br/>If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded.<br/> | |
|
||||||
| `sectionID` | *int* | :heavy_check_mark: | Possibly the section ID to upload the playlist to, we are not certain. | 1 |
|
| `sectionID` | *int* | :heavy_check_mark: | Possibly the section ID to upload the playlist to, we are not certain. | 1 |
|
||||||
@@ -200,14 +200,14 @@ if ($response->object !== null) {
|
|||||||
|
|
||||||
## Library Details Endpoint
|
## Library Details Endpoint
|
||||||
|
|
||||||
This endpoint provides comprehensive details about the library, focusing on organizational aspects rather than the content itself.
|
This endpoint provides comprehensive details about the library, focusing on organizational aspects rather than the content itself.
|
||||||
|
|
||||||
The details include:
|
The details include:
|
||||||
|
|
||||||
### Directories
|
### Directories
|
||||||
Organized into three categories:
|
Organized into three categories:
|
||||||
|
|
||||||
- **Primary Directories**:
|
- **Primary Directories**:
|
||||||
- Used in some clients for quick access to media subsets (e.g., "All", "On Deck").
|
- Used in some clients for quick access to media subsets (e.g., "All", "On Deck").
|
||||||
- Most can be replicated via media queries.
|
- Most can be replicated via media queries.
|
||||||
- Customizable by users.
|
- Customizable by users.
|
||||||
@@ -270,10 +270,10 @@ if ($response->object !== null) {
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
| Parameter | Type | Required | Description | Example |
|
| Parameter | Type | Required | Description | Example |
|
||||||
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `sectionKey` | *int* | :heavy_check_mark: | The unique key of the Plex library. <br/>Note: This is unique in the context of the Plex server.<br/> | 9518 |
|
| `sectionKey` | *int* | :heavy_check_mark: | The unique key of the Plex library. <br/>Note: This is unique in the context of the Plex server.<br/> | 9518 |
|
||||||
| `includeDetails` | [?Operations\IncludeDetails](../../Models/Operations/IncludeDetails.md) | :heavy_minus_sign: | Whether or not to include details for a section (types, filters, and sorts). <br/>Only exists for backwards compatibility, media providers other than the server libraries have it on always.<br/> | |
|
| `includeDetails` | [?Operations\IncludeDetails](../../Models/Operations/IncludeDetails.md) | :heavy_minus_sign: | Whether or not to include details for a section (types, filters, and sorts).<br/>Only exists for backwards compatibility, media providers other than the server libraries have it on always.<br/> | |
|
||||||
|
|
||||||
### Response
|
### Response
|
||||||
|
|
||||||
|
|||||||
@@ -49,11 +49,11 @@ if ($response->statusCode === 200) {
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
| Parameter | Type | Required | Description | Example |
|
| Parameter | Type | Required | Description | Example |
|
||||||
| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
|
| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
|
||||||
| `level` | [Operations\Level](../../Models/Operations/Level.md) | :heavy_check_mark: | An integer log level to write to the PMS log with. <br/>0: Error <br/>1: Warning <br/>2: Info <br/>3: Debug <br/>4: Verbose<br/> | |
|
| `level` | [Operations\Level](../../Models/Operations/Level.md) | :heavy_check_mark: | An integer log level to write to the PMS log with.<br/>0: Error<br/>1: Warning<br/>2: Info<br/>3: Debug<br/>4: Verbose<br/> | |
|
||||||
| `message` | *string* | :heavy_check_mark: | The text of the message to write to the log. | Test log message |
|
| `message` | *string* | :heavy_check_mark: | The text of the message to write to the log. | Test log message |
|
||||||
| `source` | *string* | :heavy_check_mark: | a string indicating the source of the message. | Postman |
|
| `source` | *string* | :heavy_check_mark: | a string indicating the source of the message. | Postman |
|
||||||
|
|
||||||
### Response
|
### Response
|
||||||
|
|
||||||
@@ -69,13 +69,13 @@ if ($response->statusCode === 200) {
|
|||||||
|
|
||||||
## logMultiLine
|
## logMultiLine
|
||||||
|
|
||||||
This endpoint allows for the batch addition of log entries to the main Plex Media Server log.
|
This endpoint allows for the batch addition of log entries to the main Plex Media Server log.
|
||||||
It accepts a text/plain request body, where each line represents a distinct log entry.
|
It accepts a text/plain request body, where each line represents a distinct log entry.
|
||||||
Each log entry consists of URL-encoded key-value pairs, specifying log attributes such as 'level', 'message', and 'source'.
|
Each log entry consists of URL-encoded key-value pairs, specifying log attributes such as 'level', 'message', and 'source'.
|
||||||
|
|
||||||
Log entries are separated by a newline character (`\n`).
|
Log entries are separated by a newline character (`\n`).
|
||||||
Each entry's parameters should be URL-encoded to ensure accurate parsing and handling of special characters.
|
Each entry's parameters should be URL-encoded to ensure accurate parsing and handling of special characters.
|
||||||
This method is efficient for logging multiple entries in a single API call, reducing the overhead of multiple individual requests.
|
This method is efficient for logging multiple entries in a single API call, reducing the overhead of multiple individual requests.
|
||||||
|
|
||||||
The 'level' parameter specifies the log entry's severity or importance, with the following integer values:
|
The 'level' parameter specifies the log entry's severity or importance, with the following integer values:
|
||||||
- `0`: Error - Critical issues that require immediate attention.
|
- `0`: Error - Critical issues that require immediate attention.
|
||||||
|
|||||||
@@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
Playlists are ordered collections of media. They can be dumb (just a list of media) or smart (based on a media query, such as "all albums from 2017").
|
Playlists are ordered collections of media. They can be dumb (just a list of media) or smart (based on a media query, such as "all albums from 2017").
|
||||||
They can be organized in (optionally nesting) folders.
|
They can be organized in (optionally nesting) folders.
|
||||||
Retrieving a playlist, or its items, will trigger a refresh of its metadata.
|
Retrieving a playlist, or its items, will trigger a refresh of its metadata.
|
||||||
This may cause the duration and number of items to change.
|
This may cause the duration and number of items to change.
|
||||||
|
|
||||||
|
|
||||||
@@ -480,11 +480,11 @@ if ($response->statusCode === 200) {
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
| Parameter | Type | Required | Description | Example |
|
| Parameter | Type | Required | Description | Example |
|
||||||
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `path` | *string* | :heavy_check_mark: | absolute path to a directory on the server where m3u files are stored, or the absolute path to a playlist file on the server. <br/>If the `path` argument is a directory, that path will be scanned for playlist files to be processed. <br/>Each file in that directory creates a separate playlist, with a name based on the filename of the file that created it. <br/>The GUID of each playlist is based on the filename. <br/>If the `path` argument is a file, that file will be used to create a new playlist, with the name based on the filename of the file that created it. <br/>The GUID of each playlist is based on the filename.<br/> | /home/barkley/playlist.m3u |
|
| `path` | *string* | :heavy_check_mark: | absolute path to a directory on the server where m3u files are stored, or the absolute path to a playlist file on the server.<br/>If the `path` argument is a directory, that path will be scanned for playlist files to be processed.<br/>Each file in that directory creates a separate playlist, with a name based on the filename of the file that created it.<br/>The GUID of each playlist is based on the filename.<br/>If the `path` argument is a file, that file will be used to create a new playlist, with the name based on the filename of the file that created it.<br/>The GUID of each playlist is based on the filename.<br/> | /home/barkley/playlist.m3u |
|
||||||
| `force` | [Operations\QueryParamForce](../../Models/Operations/QueryParamForce.md) | :heavy_check_mark: | Force overwriting of duplicate playlists. <br/>By default, a playlist file uploaded with the same path will overwrite the existing playlist. <br/>The `force` argument is used to disable overwriting. <br/>If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded.<br/> | |
|
| `force` | [Operations\QueryParamForce](../../Models/Operations/QueryParamForce.md) | :heavy_check_mark: | Force overwriting of duplicate playlists.<br/>By default, a playlist file uploaded with the same path will overwrite the existing playlist.<br/>The `force` argument is used to disable overwriting.<br/>If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded.<br/> | |
|
||||||
| `sectionID` | *int* | :heavy_check_mark: | Possibly the section ID to upload the playlist to, we are not certain. | 1 |
|
| `sectionID` | *int* | :heavy_check_mark: | Possibly the section ID to upload the playlist to, we are not certain. | 1 |
|
||||||
|
|
||||||
### Response
|
### Response
|
||||||
|
|
||||||
|
|||||||
@@ -589,14 +589,14 @@ class Library
|
|||||||
*
|
*
|
||||||
* ## Library Details Endpoint
|
* ## Library Details Endpoint
|
||||||
*
|
*
|
||||||
* This endpoint provides comprehensive details about the library, focusing on organizational aspects rather than the content itself.
|
* This endpoint provides comprehensive details about the library, focusing on organizational aspects rather than the content itself.
|
||||||
*
|
*
|
||||||
* The details include:
|
* The details include:
|
||||||
*
|
*
|
||||||
* ### Directories
|
* ### Directories
|
||||||
* Organized into three categories:
|
* Organized into three categories:
|
||||||
*
|
*
|
||||||
* - **Primary Directories**:
|
* - **Primary Directories**:
|
||||||
* - Used in some clients for quick access to media subsets (e.g., "All", "On Deck").
|
* - Used in some clients for quick access to media subsets (e.g., "All", "On Deck").
|
||||||
* - Most can be replicated via media queries.
|
* - Most can be replicated via media queries.
|
||||||
* - Customizable by users.
|
* - Customizable by users.
|
||||||
|
|||||||
12
src/Log.php
12
src/Log.php
@@ -210,13 +210,13 @@ class Log
|
|||||||
/**
|
/**
|
||||||
* Logging a multi-line message
|
* Logging a multi-line message
|
||||||
*
|
*
|
||||||
* This endpoint allows for the batch addition of log entries to the main Plex Media Server log.
|
* This endpoint allows for the batch addition of log entries to the main Plex Media Server log.
|
||||||
* It accepts a text/plain request body, where each line represents a distinct log entry.
|
* It accepts a text/plain request body, where each line represents a distinct log entry.
|
||||||
* Each log entry consists of URL-encoded key-value pairs, specifying log attributes such as 'level', 'message', and 'source'.
|
* Each log entry consists of URL-encoded key-value pairs, specifying log attributes such as 'level', 'message', and 'source'.
|
||||||
*
|
*
|
||||||
* Log entries are separated by a newline character (`\n`).
|
* Log entries are separated by a newline character (`\n`).
|
||||||
* Each entry's parameters should be URL-encoded to ensure accurate parsing and handling of special characters.
|
* Each entry's parameters should be URL-encoded to ensure accurate parsing and handling of special characters.
|
||||||
* This method is efficient for logging multiple entries in a single API call, reducing the overhead of multiple individual requests.
|
* This method is efficient for logging multiple entries in a single API call, reducing the overhead of multiple individual requests.
|
||||||
*
|
*
|
||||||
* The 'level' parameter specifies the log entry's severity or importance, with the following integer values:
|
* The 'level' parameter specifies the log entry's severity or importance, with the following integer values:
|
||||||
* - `0`: Error - Critical issues that require immediate attention.
|
* - `0`: Error - Critical issues that require immediate attention.
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ class GetLibraryDetailsRequest
|
|||||||
public int $sectionKey;
|
public int $sectionKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether or not to include details for a section (types, filters, and sorts).
|
* Whether or not to include details for a section (types, filters, and sorts).
|
||||||
*
|
*
|
||||||
* Only exists for backwards compatibility, media providers other than the server libraries have it on always.
|
* Only exists for backwards compatibility, media providers other than the server libraries have it on always.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ namespace LukeHagar\Plex_API\Models\Operations;
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether or not to include details for a section (types, filters, and sorts).
|
* Whether or not to include details for a section (types, filters, and sorts).
|
||||||
*
|
*
|
||||||
* Only exists for backwards compatibility, media providers other than the server libraries have it on always.
|
* Only exists for backwards compatibility, media providers other than the server libraries have it on always.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -10,12 +10,12 @@ namespace LukeHagar\Plex_API\Models\Operations;
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An integer log level to write to the PMS log with.
|
* An integer log level to write to the PMS log with.
|
||||||
*
|
*
|
||||||
* 0: Error
|
* 0: Error
|
||||||
* 1: Warning
|
* 1: Warning
|
||||||
* 2: Info
|
* 2: Info
|
||||||
* 3: Debug
|
* 3: Debug
|
||||||
* 4: Verbose
|
* 4: Verbose
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -12,12 +12,12 @@ use LukeHagar\Plex_API\Utils\SpeakeasyMetadata;
|
|||||||
class LogLineRequest
|
class LogLineRequest
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* An integer log level to write to the PMS log with.
|
* An integer log level to write to the PMS log with.
|
||||||
*
|
*
|
||||||
* 0: Error
|
* 0: Error
|
||||||
* 1: Warning
|
* 1: Warning
|
||||||
* 2: Info
|
* 2: Info
|
||||||
* 3: Debug
|
* 3: Debug
|
||||||
* 4: Verbose
|
* 4: Verbose
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -10,10 +10,10 @@ namespace LukeHagar\Plex_API\Models\Operations;
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Force overwriting of duplicate playlists.
|
* Force overwriting of duplicate playlists.
|
||||||
*
|
*
|
||||||
* By default, a playlist file uploaded with the same path will overwrite the existing playlist.
|
* By default, a playlist file uploaded with the same path will overwrite the existing playlist.
|
||||||
* The `force` argument is used to disable overwriting.
|
* The `force` argument is used to disable overwriting.
|
||||||
* If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded.
|
* If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -12,12 +12,12 @@ use LukeHagar\Plex_API\Utils\SpeakeasyMetadata;
|
|||||||
class UploadPlaylistRequest
|
class UploadPlaylistRequest
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* absolute path to a directory on the server where m3u files are stored, or the absolute path to a playlist file on the server.
|
* absolute path to a directory on the server where m3u files are stored, or the absolute path to a playlist file on the server.
|
||||||
*
|
*
|
||||||
* If the `path` argument is a directory, that path will be scanned for playlist files to be processed.
|
* If the `path` argument is a directory, that path will be scanned for playlist files to be processed.
|
||||||
* Each file in that directory creates a separate playlist, with a name based on the filename of the file that created it.
|
* Each file in that directory creates a separate playlist, with a name based on the filename of the file that created it.
|
||||||
* The GUID of each playlist is based on the filename.
|
* The GUID of each playlist is based on the filename.
|
||||||
* If the `path` argument is a file, that file will be used to create a new playlist, with the name based on the filename of the file that created it.
|
* If the `path` argument is a file, that file will be used to create a new playlist, with the name based on the filename of the file that created it.
|
||||||
* The GUID of each playlist is based on the filename.
|
* The GUID of each playlist is based on the filename.
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
@@ -27,10 +27,10 @@ class UploadPlaylistRequest
|
|||||||
public string $path;
|
public string $path;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Force overwriting of duplicate playlists.
|
* Force overwriting of duplicate playlists.
|
||||||
*
|
*
|
||||||
* By default, a playlist file uploaded with the same path will overwrite the existing playlist.
|
* By default, a playlist file uploaded with the same path will overwrite the existing playlist.
|
||||||
* The `force` argument is used to disable overwriting.
|
* The `force` argument is used to disable overwriting.
|
||||||
* If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded.
|
* If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded.
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ class PlexAPI
|
|||||||
{
|
{
|
||||||
public const SERVERS = [
|
public const SERVERS = [
|
||||||
/** The full address of your Plex Server */
|
/** The full address of your Plex Server */
|
||||||
'https://10.10.10.47:32400',
|
'{protocol}://{ip}:{port}',
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -152,10 +152,10 @@ class PlexAPI
|
|||||||
public Log $log;
|
public Log $log;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Playlists are ordered collections of media. They can be dumb (just a list of media) or smart (based on a media query, such as "all albums from 2017").
|
* Playlists are ordered collections of media. They can be dumb (just a list of media) or smart (based on a media query, such as "all albums from 2017").
|
||||||
*
|
*
|
||||||
* They can be organized in (optionally nesting) folders.
|
* They can be organized in (optionally nesting) folders.
|
||||||
* Retrieving a playlist, or its items, will trigger a refresh of its metadata.
|
* Retrieving a playlist, or its items, will trigger a refresh of its metadata.
|
||||||
* This may cause the duration and number of items to change.
|
* This may cause the duration and number of items to change.
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -33,11 +33,11 @@ class SDKConfiguration
|
|||||||
|
|
||||||
public string $openapiDocVersion = '0.0.3';
|
public string $openapiDocVersion = '0.0.3';
|
||||||
|
|
||||||
public string $sdkVersion = '0.14.5';
|
public string $sdkVersion = '0.14.6';
|
||||||
|
|
||||||
public string $genVersion = '2.570.4';
|
public string $genVersion = '2.585.2';
|
||||||
|
|
||||||
public string $userAgent = 'speakeasy-sdk/php 0.14.5 2.570.4 0.0.3 lukehagar/plex-api';
|
public string $userAgent = 'speakeasy-sdk/php 0.14.6 2.585.2 0.0.3 lukehagar/plex-api';
|
||||||
|
|
||||||
public ?RetryConfig $retryConfig = null;
|
public ?RetryConfig $retryConfig = null;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user