diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index ee217cd..84b397b 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,22 +1,22 @@ lockVersion: 2.0.0 id: 01a51eb2-5d90-4a24-b154-68e491d02c36 management: - docChecksum: f387ae03f10decba230886eaab322b20 + docChecksum: f12b653820ae77ca3b2820bc9459d866 docVersion: 0.0.3 - speakeasyVersion: 1.404.5 - generationVersion: 2.426.2 - releaseVersion: 0.10.3 - configChecksum: a20bfb2b3f5392ae7c5f96db26a7e60f + speakeasyVersion: 1.405.6 + generationVersion: 2.428.1 + releaseVersion: 0.10.4 + configChecksum: 14ceb7f18129da18f20200a43d3517fa repoURL: https://github.com/LukeHagar/plexphp.git repoSubDirectory: . installationURL: https://github.com/LukeHagar/plexphp published: true features: php: - core: 3.4.8 + core: 3.4.9 deprecations: 2.81.1 enums: 2.81.1 - errors: 0.1.3 + errors: 0.1.4 flattening: 2.81.1 globalSecurity: 2.81.7 globalSecurityFlattening: 0.1.1 diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index ed031c8..99e274b 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: false php: - version: 0.10.3 + version: 0.10.4 clientServerStatusCodesAsErrors: true flattenGlobalSecurity: true imports: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index dc73a10..50ae1b3 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,4 +1,4 @@ -speakeasyVersion: 1.404.5 +speakeasyVersion: 1.405.6 sources: my-source: sourceNamespace: my-source @@ -9,8 +9,8 @@ sources: - main plexapi: sourceNamespace: plexapi - sourceRevisionDigest: sha256:a9bd67eaa35b8311162ae769209f725cc5da16e57976b4928c54594c02cd451c - sourceBlobDigest: sha256:43ddffba137c37d2f64f8db185179a273bcc5ca7242594c932da99d1eb7f3e98 + sourceRevisionDigest: sha256:c52cde0b8d51e160f7b9f1a3d3ea4dbb1aca6d5caad714e549201fb757fadd57 + sourceBlobDigest: sha256:f417b03ff71356808554313f24c3d06d670474bf51bc9a0631de1ad49c13a361 tags: - latest - main @@ -18,10 +18,10 @@ targets: plexphp: source: plexapi sourceNamespace: plexapi - sourceRevisionDigest: sha256:a9bd67eaa35b8311162ae769209f725cc5da16e57976b4928c54594c02cd451c - sourceBlobDigest: sha256:43ddffba137c37d2f64f8db185179a273bcc5ca7242594c932da99d1eb7f3e98 + sourceRevisionDigest: sha256:c52cde0b8d51e160f7b9f1a3d3ea4dbb1aca6d5caad714e549201fb757fadd57 + sourceBlobDigest: sha256:f417b03ff71356808554313f24c3d06d670474bf51bc9a0631de1ad49c13a361 codeSamplesNamespace: code-samples-php-plexphp - codeSamplesRevisionDigest: sha256:8a69ed9a758193b749c6c003c40620818cbe4ada87379f2483cc1db8c97f45d0 + codeSamplesRevisionDigest: sha256:692f643bf224a2f6549caf49218fe0f936b16b8faf05999b7c38d20e2d04248f workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index 1c0e378..b57b273 100644 --- a/README.md +++ b/README.md @@ -241,10 +241,7 @@ The following global parameters are available. | Name | Type | Required | Description | | ---- | ---- |:--------:| ----------- | -| clientID | string | | The unique identifier for the client application -This is used to track the client application and its usage -(UUID, serial number, or other number unique per device) - | +| clientID | string | | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) | | clientName | string | | The clientName parameter. | | clientVersion | string | | The clientVersion parameter. | | clientPlatform | string | | The clientPlatform parameter. | @@ -303,11 +300,11 @@ By default an API error will raise a `Errors\SDKException` exception, which has When custom error responses are specified for an operation, the SDK may also throw their associated exception. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `getServerCapabilities` method throws the following exceptions: -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetServerCapabilitiesBadRequest | 400 | application/json | -| Errors\GetServerCapabilitiesUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | +| Error Type | Status Code | Content Type | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| Errors\GetServerCapabilitiesBadRequest | 400 | application/json | +| Errors\GetServerCapabilitiesUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ### Example diff --git a/RELEASES.md b/RELEASES.md index ff273db..363d87d 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -662,4 +662,14 @@ Based on: ### Generated - [php v0.10.3] . ### Releases -- [Composer v0.10.3] https://packagist.org/packages/lukehagar/plex-api#v0.10.3 - . \ No newline at end of file +- [Composer v0.10.3] https://packagist.org/packages/lukehagar/plex-api#v0.10.3 - . + +## 2024-10-01 00:10:47 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.405.6 (2.428.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [php v0.10.4] . +### Releases +- [Composer v0.10.4] https://packagist.org/packages/lukehagar/plex-api#v0.10.4 - . \ No newline at end of file diff --git a/docs/Models/Operations/GetPinRequest.md b/docs/Models/Operations/GetPinRequest.md index 0cb2d65..700da65 100644 --- a/docs/Models/Operations/GetPinRequest.md +++ b/docs/Models/Operations/GetPinRequest.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `strong` | *?bool* | :heavy_minus_sign: | Determines the kind of code returned by the API call
Strong codes are used for Pin authentication flows
Non-Strong codes are used for `Plex.tv/link`
| | -| `clientID` | *?string* | :heavy_minus_sign: | The unique identifier for the client application
This is used to track the client application and its usage
(UUID, serial number, or other number unique per device)
| gcgzw5rz2xovp84b4vha3a40 | -| `clientName` | *?string* | :heavy_minus_sign: | N/A | Plex Web | -| `deviceName` | *?string* | :heavy_minus_sign: | N/A | Linux | -| `clientVersion` | *?string* | :heavy_minus_sign: | N/A | 4.133.0 | -| `clientPlatform` | *?string* | :heavy_minus_sign: | N/A | Chrome | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `strong` | *?bool* | :heavy_minus_sign: | Determines the kind of code returned by the API call
Strong codes are used for Pin authentication flows
Non-Strong codes are used for `Plex.tv/link`
| | +| `clientID` | *?string* | :heavy_minus_sign: | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) | gcgzw5rz2xovp84b4vha3a40 | +| `clientName` | *?string* | :heavy_minus_sign: | N/A | Plex Web | +| `deviceName` | *?string* | :heavy_minus_sign: | N/A | Linux | +| `clientVersion` | *?string* | :heavy_minus_sign: | N/A | 4.133.0 | +| `clientPlatform` | *?string* | :heavy_minus_sign: | N/A | Chrome | \ No newline at end of file diff --git a/docs/Models/Operations/GetServerResourcesRequest.md b/docs/Models/Operations/GetServerResourcesRequest.md index 7c60920..6f68724 100644 --- a/docs/Models/Operations/GetServerResourcesRequest.md +++ b/docs/Models/Operations/GetServerResourcesRequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `includeHttps` | [?Operations\IncludeHttps](../../Models/Operations/IncludeHttps.md) | :heavy_minus_sign: | Include Https entries in the results | 1 | -| `includeRelay` | [?Operations\IncludeRelay](../../Models/Operations/IncludeRelay.md) | :heavy_minus_sign: | Include Relay addresses in the results
E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400
| 1 | -| `includeIPv6` | [?Operations\IncludeIPv6](../../Models/Operations/IncludeIPv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 | -| `clientID` | *?string* | :heavy_minus_sign: | The unique identifier for the client application
This is used to track the client application and its usage
(UUID, serial number, or other number unique per device)
| gcgzw5rz2xovp84b4vha3a40 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `includeHttps` | [?Operations\IncludeHttps](../../Models/Operations/IncludeHttps.md) | :heavy_minus_sign: | Include Https entries in the results | 1 | +| `includeRelay` | [?Operations\IncludeRelay](../../Models/Operations/IncludeRelay.md) | :heavy_minus_sign: | Include Relay addresses in the results
E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400
| 1 | +| `includeIPv6` | [?Operations\IncludeIPv6](../../Models/Operations/IncludeIPv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 | +| `clientID` | *?string* | :heavy_minus_sign: | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) | gcgzw5rz2xovp84b4vha3a40 | \ No newline at end of file diff --git a/docs/Models/Operations/GetTokenByPinIdRequest.md b/docs/Models/Operations/GetTokenByPinIdRequest.md index f87ec7f..45692ec 100644 --- a/docs/Models/Operations/GetTokenByPinIdRequest.md +++ b/docs/Models/Operations/GetTokenByPinIdRequest.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `pinID` | *int* | :heavy_check_mark: | The PinID to retrieve an access token for | | -| `clientID` | *?string* | :heavy_minus_sign: | The unique identifier for the client application
This is used to track the client application and its usage
(UUID, serial number, or other number unique per device)
| gcgzw5rz2xovp84b4vha3a40 | -| `clientName` | *?string* | :heavy_minus_sign: | N/A | Plex Web | -| `deviceName` | *?string* | :heavy_minus_sign: | N/A | Linux | -| `clientVersion` | *?string* | :heavy_minus_sign: | N/A | 4.133.0 | -| `clientPlatform` | *?string* | :heavy_minus_sign: | N/A | Chrome | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `pinID` | *int* | :heavy_check_mark: | The PinID to retrieve an access token for | | +| `clientID` | *?string* | :heavy_minus_sign: | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) | gcgzw5rz2xovp84b4vha3a40 | +| `clientName` | *?string* | :heavy_minus_sign: | N/A | Plex Web | +| `deviceName` | *?string* | :heavy_minus_sign: | N/A | Linux | +| `clientVersion` | *?string* | :heavy_minus_sign: | N/A | 4.133.0 | +| `clientPlatform` | *?string* | :heavy_minus_sign: | N/A | Chrome | \ No newline at end of file diff --git a/docs/Models/Operations/PostUsersSignInDataRequest.md b/docs/Models/Operations/PostUsersSignInDataRequest.md index 6383021..3ff4e4d 100644 --- a/docs/Models/Operations/PostUsersSignInDataRequest.md +++ b/docs/Models/Operations/PostUsersSignInDataRequest.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `clientID` | *?string* | :heavy_minus_sign: | The unique identifier for the client application
This is used to track the client application and its usage
(UUID, serial number, or other number unique per device)
| gcgzw5rz2xovp84b4vha3a40 | -| `clientName` | *?string* | :heavy_minus_sign: | N/A | Plex Web | -| `deviceName` | *?string* | :heavy_minus_sign: | N/A | Linux | -| `clientVersion` | *?string* | :heavy_minus_sign: | N/A | 4.133.0 | -| `clientPlatform` | *?string* | :heavy_minus_sign: | N/A | Chrome | -| `requestBody` | [?Operations\PostUsersSignInDataRequestBody](../../Models/Operations/PostUsersSignInDataRequestBody.md) | :heavy_minus_sign: | Login credentials | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `clientID` | *?string* | :heavy_minus_sign: | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) | gcgzw5rz2xovp84b4vha3a40 | +| `clientName` | *?string* | :heavy_minus_sign: | N/A | Plex Web | +| `deviceName` | *?string* | :heavy_minus_sign: | N/A | Linux | +| `clientVersion` | *?string* | :heavy_minus_sign: | N/A | 4.133.0 | +| `clientPlatform` | *?string* | :heavy_minus_sign: | N/A | Chrome | +| `requestBody` | [?Operations\PostUsersSignInDataRequestBody](../../Models/Operations/PostUsersSignInDataRequestBody.md) | :heavy_minus_sign: | Login credentials | | \ No newline at end of file diff --git a/docs/sdks/activities/README.md b/docs/sdks/activities/README.md index a2d7d89..da13aac 100644 --- a/docs/sdks/activities/README.md +++ b/docs/sdks/activities/README.md @@ -57,12 +57,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetServerActivitiesBadRequest | 400 | application/json | -| Errors\GetServerActivitiesUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Errors\GetServerActivitiesBadRequest | 400 | application/json | +| Errors\GetServerActivitiesUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## cancelServerActivities @@ -110,8 +109,8 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\CancelServerActivitiesBadRequest | 400 | application/json | -| Errors\CancelServerActivitiesUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | +| Error Type | Status Code | Content Type | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| Errors\CancelServerActivitiesBadRequest | 400 | application/json | +| Errors\CancelServerActivitiesUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/authentication/README.md b/docs/sdks/authentication/README.md index 40accda..2d87cdb 100644 --- a/docs/sdks/authentication/README.md +++ b/docs/sdks/authentication/README.md @@ -64,12 +64,11 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetTransientTokenBadRequest | 400 | application/json | -| Errors\GetTransientTokenUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | +| Errors\GetTransientTokenBadRequest | 400 | application/json | +| Errors\GetTransientTokenUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getSourceConnectionInformation @@ -119,12 +118,11 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | | Errors\GetSourceConnectionInformationBadRequest | 400 | application/json | | Errors\GetSourceConnectionInformationUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getTokenDetails @@ -172,12 +170,11 @@ if ($response->userPlexAccount !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetTokenDetailsBadRequest | 400 | application/json | -| Errors\GetTokenDetailsUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ---------------------------------- | ---------------------------------- | ---------------------------------- | +| Errors\GetTokenDetailsBadRequest | 400 | application/json | +| Errors\GetTokenDetailsUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## postUsersSignInData @@ -231,8 +228,8 @@ if ($response->userPlexAccount !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\PostUsersSignInDataBadRequest | 400 | application/json | -| Errors\PostUsersSignInDataUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Errors\PostUsersSignInDataBadRequest | 400 | application/json | +| Errors\PostUsersSignInDataUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/butler/README.md b/docs/sdks/butler/README.md index 45b2db1..df34717 100644 --- a/docs/sdks/butler/README.md +++ b/docs/sdks/butler/README.md @@ -54,12 +54,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetButlerTasksBadRequest | 400 | application/json | -| Errors\GetButlerTasksUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| --------------------------------- | --------------------------------- | --------------------------------- | +| Errors\GetButlerTasksBadRequest | 400 | application/json | +| Errors\GetButlerTasksUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## startAllTasks @@ -106,12 +105,11 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\StartAllTasksBadRequest | 400 | application/json | -| Errors\StartAllTasksUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| -------------------------------- | -------------------------------- | -------------------------------- | +| Errors\StartAllTasksBadRequest | 400 | application/json | +| Errors\StartAllTasksUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## stopAllTasks @@ -154,12 +152,11 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\StopAllTasksBadRequest | 400 | application/json | -| Errors\StopAllTasksUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ------------------------------- | ------------------------------- | ------------------------------- | +| Errors\StopAllTasksBadRequest | 400 | application/json | +| Errors\StopAllTasksUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## startTask @@ -213,12 +210,11 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\StartTaskBadRequest | 400 | application/json | -| Errors\StartTaskUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| Errors\StartTaskBadRequest | 400 | application/json | +| Errors\StartTaskUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## stopTask @@ -268,8 +264,8 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\StopTaskBadRequest | 400 | application/json | -| Errors\StopTaskUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | +| Error Type | Status Code | Content Type | +| --------------------------- | --------------------------- | --------------------------- | +| Errors\StopTaskBadRequest | 400 | application/json | +| Errors\StopTaskUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/hubs/README.md b/docs/sdks/hubs/README.md index eee36d2..03e6d90 100644 --- a/docs/sdks/hubs/README.md +++ b/docs/sdks/hubs/README.md @@ -62,12 +62,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetGlobalHubsBadRequest | 400 | application/json | -| Errors\GetGlobalHubsUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| -------------------------------- | -------------------------------- | -------------------------------- | +| Errors\GetGlobalHubsBadRequest | 400 | application/json | +| Errors\GetGlobalHubsUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getRecentlyAdded @@ -124,10 +123,9 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ------------------- | ------------------- | ------------------- | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getLibraryHubs @@ -182,8 +180,8 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetLibraryHubsBadRequest | 400 | application/json | -| Errors\GetLibraryHubsUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | +| Error Type | Status Code | Content Type | +| --------------------------------- | --------------------------------- | --------------------------------- | +| Errors\GetLibraryHubsBadRequest | 400 | application/json | +| Errors\GetLibraryHubsUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/library/README.md b/docs/sdks/library/README.md index 3df8280..1395881 100644 --- a/docs/sdks/library/README.md +++ b/docs/sdks/library/README.md @@ -70,12 +70,11 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetFileHashBadRequest | 400 | application/json | -| Errors\GetFileHashUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ------------------------------ | ------------------------------ | ------------------------------ | +| Errors\GetFileHashBadRequest | 400 | application/json | +| Errors\GetFileHashUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getRecentlyAddedLibrary @@ -146,12 +145,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetRecentlyAddedLibraryBadRequest | 400 | application/json | -| Errors\GetRecentlyAddedLibraryUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| Errors\GetRecentlyAddedLibraryBadRequest | 400 | application/json | +| Errors\GetRecentlyAddedLibraryUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getAllLibraries @@ -199,12 +197,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetAllLibrariesBadRequest | 400 | application/json | -| Errors\GetAllLibrariesUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ---------------------------------- | ---------------------------------- | ---------------------------------- | +| Errors\GetAllLibrariesBadRequest | 400 | application/json | +| Errors\GetAllLibrariesUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getLibraryDetails @@ -295,12 +292,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetLibraryDetailsBadRequest | 400 | application/json | -| Errors\GetLibraryDetailsUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | +| Errors\GetLibraryDetailsBadRequest | 400 | application/json | +| Errors\GetLibraryDetailsUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## deleteLibrary @@ -348,12 +344,11 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\DeleteLibraryBadRequest | 400 | application/json | -| Errors\DeleteLibraryUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| -------------------------------- | -------------------------------- | -------------------------------- | +| Errors\DeleteLibraryBadRequest | 400 | application/json | +| Errors\DeleteLibraryUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getLibraryItems @@ -430,12 +425,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetLibraryItemsBadRequest | 400 | application/json | -| Errors\GetLibraryItemsUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ---------------------------------- | ---------------------------------- | ---------------------------------- | +| Errors\GetLibraryItemsBadRequest | 400 | application/json | +| Errors\GetLibraryItemsUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getRefreshLibraryMetadata @@ -488,12 +482,11 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetRefreshLibraryMetadataBadRequest | 400 | application/json | -| Errors\GetRefreshLibraryMetadataUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| Errors\GetRefreshLibraryMetadataBadRequest | 400 | application/json | +| Errors\GetRefreshLibraryMetadataUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getSearchLibrary @@ -563,12 +556,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetSearchLibraryBadRequest | 400 | application/json | -| Errors\GetSearchLibraryUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | +| Errors\GetSearchLibraryBadRequest | 400 | application/json | +| Errors\GetSearchLibraryUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getMetaDataByRatingKey @@ -617,12 +609,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetMetaDataByRatingKeyBadRequest | 400 | application/json | -| Errors\GetMetaDataByRatingKeyUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| Errors\GetMetaDataByRatingKeyBadRequest | 400 | application/json | +| Errors\GetMetaDataByRatingKeyUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getMetadataChildren @@ -674,12 +665,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetMetadataChildrenBadRequest | 400 | application/json | -| Errors\GetMetadataChildrenUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Errors\GetMetadataChildrenBadRequest | 400 | application/json | +| Errors\GetMetadataChildrenUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getTopWatchedContent @@ -732,12 +722,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetTopWatchedContentBadRequest | 400 | application/json | -| Errors\GetTopWatchedContentUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | +| Errors\GetTopWatchedContentBadRequest | 400 | application/json | +| Errors\GetTopWatchedContentUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getOnDeck @@ -780,8 +769,8 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetOnDeckBadRequest | 400 | application/json | -| Errors\GetOnDeckUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| Errors\GetOnDeckBadRequest | 400 | application/json | +| Errors\GetOnDeckUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/log/README.md b/docs/sdks/log/README.md index d619d2d..728174a 100644 --- a/docs/sdks/log/README.md +++ b/docs/sdks/log/README.md @@ -65,12 +65,11 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\LogLineBadRequest | 400 | application/json | -| Errors\LogLineUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| -------------------------- | -------------------------- | -------------------------- | +| Errors\LogLineBadRequest | 400 | application/json | +| Errors\LogLineUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## logMultiLine @@ -141,12 +140,11 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\LogMultiLineBadRequest | 400 | application/json | -| Errors\LogMultiLineUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ------------------------------- | ------------------------------- | ------------------------------- | +| Errors\LogMultiLineBadRequest | 400 | application/json | +| Errors\LogMultiLineUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## enablePaperTrail @@ -189,8 +187,8 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\EnablePaperTrailBadRequest | 400 | application/json | -| Errors\EnablePaperTrailUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | +| Error Type | Status Code | Content Type | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | +| Errors\EnablePaperTrailBadRequest | 400 | application/json | +| Errors\EnablePaperTrailUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/media/README.md b/docs/sdks/media/README.md index f2518c5..f0f5ae8 100644 --- a/docs/sdks/media/README.md +++ b/docs/sdks/media/README.md @@ -60,12 +60,11 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\MarkPlayedBadRequest | 400 | application/json | -| Errors\MarkPlayedUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ----------------------------- | ----------------------------- | ----------------------------- | +| Errors\MarkPlayedBadRequest | 400 | application/json | +| Errors\MarkPlayedUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## markUnplayed @@ -113,12 +112,11 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\MarkUnplayedBadRequest | 400 | application/json | -| Errors\MarkUnplayedUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ------------------------------- | ------------------------------- | ------------------------------- | +| Errors\MarkUnplayedBadRequest | 400 | application/json | +| Errors\MarkUnplayedUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## updatePlayProgress @@ -172,12 +170,11 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\UpdatePlayProgressBadRequest | 400 | application/json | -| Errors\UpdatePlayProgressUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | +| Errors\UpdatePlayProgressBadRequest | 400 | application/json | +| Errors\UpdatePlayProgressUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getBannerImage @@ -233,12 +230,11 @@ if ($response->bytes !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetBannerImageBadRequest | 400 | application/json | -| Errors\GetBannerImageUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| --------------------------------- | --------------------------------- | --------------------------------- | +| Errors\GetBannerImageBadRequest | 400 | application/json | +| Errors\GetBannerImageUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getThumbImage @@ -294,8 +290,8 @@ if ($response->bytes !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetThumbImageBadRequest | 400 | application/json | -| Errors\GetThumbImageUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | +| Error Type | Status Code | Content Type | +| -------------------------------- | -------------------------------- | -------------------------------- | +| Errors\GetThumbImageBadRequest | 400 | application/json | +| Errors\GetThumbImageUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/playlists/README.md b/docs/sdks/playlists/README.md index b125bf7..fd2f3a8 100644 --- a/docs/sdks/playlists/README.md +++ b/docs/sdks/playlists/README.md @@ -76,12 +76,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\CreatePlaylistBadRequest | 400 | application/json | -| Errors\CreatePlaylistUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| --------------------------------- | --------------------------------- | --------------------------------- | +| Errors\CreatePlaylistBadRequest | 400 | application/json | +| Errors\CreatePlaylistUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getPlaylists @@ -133,12 +132,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetPlaylistsBadRequest | 400 | application/json | -| Errors\GetPlaylistsUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ------------------------------- | ------------------------------- | ------------------------------- | +| Errors\GetPlaylistsBadRequest | 400 | application/json | +| Errors\GetPlaylistsUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getPlaylist @@ -188,12 +186,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetPlaylistBadRequest | 400 | application/json | -| Errors\GetPlaylistUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ------------------------------ | ------------------------------ | ------------------------------ | +| Errors\GetPlaylistBadRequest | 400 | application/json | +| Errors\GetPlaylistUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## deletePlaylist @@ -242,12 +239,11 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\DeletePlaylistBadRequest | 400 | application/json | -| Errors\DeletePlaylistUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| --------------------------------- | --------------------------------- | --------------------------------- | +| Errors\DeletePlaylistBadRequest | 400 | application/json | +| Errors\DeletePlaylistUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## updatePlaylist @@ -301,12 +297,11 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\UpdatePlaylistBadRequest | 400 | application/json | -| Errors\UpdatePlaylistUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| --------------------------------- | --------------------------------- | --------------------------------- | +| Errors\UpdatePlaylistBadRequest | 400 | application/json | +| Errors\UpdatePlaylistUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getPlaylistContents @@ -362,12 +357,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetPlaylistContentsBadRequest | 400 | application/json | -| Errors\GetPlaylistContentsUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Errors\GetPlaylistContentsBadRequest | 400 | application/json | +| Errors\GetPlaylistContentsUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## clearPlaylistContents @@ -416,12 +410,11 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\ClearPlaylistContentsBadRequest | 400 | application/json | -| Errors\ClearPlaylistContentsUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| Errors\ClearPlaylistContentsBadRequest | 400 | application/json | +| Errors\ClearPlaylistContentsUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## addPlaylistContents @@ -476,12 +469,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\AddPlaylistContentsBadRequest | 400 | application/json | -| Errors\AddPlaylistContentsUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Errors\AddPlaylistContentsBadRequest | 400 | application/json | +| Errors\AddPlaylistContentsUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## uploadPlaylist @@ -536,8 +528,8 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\UploadPlaylistBadRequest | 400 | application/json | -| Errors\UploadPlaylistUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | +| Error Type | Status Code | Content Type | +| --------------------------------- | --------------------------------- | --------------------------------- | +| Errors\UploadPlaylistBadRequest | 400 | application/json | +| Errors\UploadPlaylistUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/plex/README.md b/docs/sdks/plex/README.md index 3d625ab..fbfa267 100644 --- a/docs/sdks/plex/README.md +++ b/docs/sdks/plex/README.md @@ -62,12 +62,11 @@ if ($response->responseBodies !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetCompanionsDataBadRequest | 400 | application/json | -| Errors\GetCompanionsDataUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | +| Errors\GetCompanionsDataBadRequest | 400 | application/json | +| Errors\GetCompanionsDataUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getUserFriends @@ -115,12 +114,11 @@ if ($response->friends !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetUserFriendsBadRequest | 400 | application/json | -| Errors\GetUserFriendsUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| --------------------------------- | --------------------------------- | --------------------------------- | +| Errors\GetUserFriendsBadRequest | 400 | application/json | +| Errors\GetUserFriendsUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getGeoData @@ -166,12 +164,11 @@ if ($response->geoData !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetGeoDataBadRequest | 400 | application/json | -| Errors\GetGeoDataUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ----------------------------- | ----------------------------- | ----------------------------- | +| Errors\GetGeoDataBadRequest | 400 | application/json | +| Errors\GetGeoDataUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getHomeData @@ -213,12 +210,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetHomeDataBadRequest | 400 | application/json | -| Errors\GetHomeDataUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ------------------------------ | ------------------------------ | ------------------------------ | +| Errors\GetHomeDataBadRequest | 400 | application/json | +| Errors\GetHomeDataUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getServerResources @@ -261,13 +257,13 @@ if ($response->plexDevices !== null) { ### Parameters -| Parameter | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `includeHttps` | [Operations\IncludeHttps](../../Models/Operations/IncludeHttps.md) | :heavy_minus_sign: | Include Https entries in the results | 1 | -| `includeRelay` | [Operations\IncludeRelay](../../Models/Operations/IncludeRelay.md) | :heavy_minus_sign: | Include Relay addresses in the results
E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400
| 1 | -| `includeIPv6` | [Operations\IncludeIPv6](../../Models/Operations/IncludeIPv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 | -| `clientID` | *string* | :heavy_minus_sign: | The unique identifier for the client application
This is used to track the client application and its usage
(UUID, serial number, or other number unique per device)
| gcgzw5rz2xovp84b4vha3a40 | -| `$serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. | http://localhost:8080 | +| Parameter | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `includeHttps` | [Operations\IncludeHttps](../../Models/Operations/IncludeHttps.md) | :heavy_minus_sign: | Include Https entries in the results | 1 | +| `includeRelay` | [Operations\IncludeRelay](../../Models/Operations/IncludeRelay.md) | :heavy_minus_sign: | Include Relay addresses in the results
E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400
| 1 | +| `includeIPv6` | [Operations\IncludeIPv6](../../Models/Operations/IncludeIPv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 | +| `clientID` | *string* | :heavy_minus_sign: | The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) | gcgzw5rz2xovp84b4vha3a40 | +| `$serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. | http://localhost:8080 | ### Response @@ -275,12 +271,11 @@ if ($response->plexDevices !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetServerResourcesBadRequest | 400 | application/json | -| Errors\GetServerResourcesUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | +| Errors\GetServerResourcesBadRequest | 400 | application/json | +| Errors\GetServerResourcesUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getPin @@ -328,11 +323,10 @@ if ($response->authPinContainer !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetPinBadRequest | 400 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ----------------------- | ----------------------- | ----------------------- | +| Errors\GetPinBadRequest | 400 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getTokenByPinId @@ -382,8 +376,8 @@ if ($response->authPinContainer !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetTokenByPinIdBadRequest | 400 | application/json | -| Errors\GetTokenByPinIdResponseBody | 404 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | +| Error Type | Status Code | Content Type | +| ---------------------------------- | ---------------------------------- | ---------------------------------- | +| Errors\GetTokenByPinIdBadRequest | 400 | application/json | +| Errors\GetTokenByPinIdResponseBody | 404 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/search/README.md b/docs/sdks/search/README.md index 756c862..f7ffe8d 100644 --- a/docs/sdks/search/README.md +++ b/docs/sdks/search/README.md @@ -75,12 +75,11 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\PerformSearchBadRequest | 400 | application/json | -| Errors\PerformSearchUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| -------------------------------- | -------------------------------- | -------------------------------- | +| Errors\PerformSearchBadRequest | 400 | application/json | +| Errors\PerformSearchUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## performVoiceSearch @@ -137,12 +136,11 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\PerformVoiceSearchBadRequest | 400 | application/json | -| Errors\PerformVoiceSearchUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | +| Errors\PerformVoiceSearchBadRequest | 400 | application/json | +| Errors\PerformVoiceSearchUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getSearchResults @@ -190,8 +188,8 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetSearchResultsBadRequest | 400 | application/json | -| Errors\GetSearchResultsUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | +| Error Type | Status Code | Content Type | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | +| Errors\GetSearchResultsBadRequest | 400 | application/json | +| Errors\GetSearchResultsUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/server/README.md b/docs/sdks/server/README.md index 0fcc44b..d3285b3 100644 --- a/docs/sdks/server/README.md +++ b/docs/sdks/server/README.md @@ -58,12 +58,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetServerCapabilitiesBadRequest | 400 | application/json | -| Errors\GetServerCapabilitiesUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| Errors\GetServerCapabilitiesBadRequest | 400 | application/json | +| Errors\GetServerCapabilitiesUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getServerPreferences @@ -105,12 +104,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetServerPreferencesBadRequest | 400 | application/json | -| Errors\GetServerPreferencesUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | +| Errors\GetServerPreferencesBadRequest | 400 | application/json | +| Errors\GetServerPreferencesUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getAvailableClients @@ -152,12 +150,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetAvailableClientsBadRequest | 400 | application/json | -| Errors\GetAvailableClientsUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Errors\GetAvailableClientsBadRequest | 400 | application/json | +| Errors\GetAvailableClientsUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getDevices @@ -199,12 +196,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetDevicesBadRequest | 400 | application/json | -| Errors\GetDevicesUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ----------------------------- | ----------------------------- | ----------------------------- | +| Errors\GetDevicesBadRequest | 400 | application/json | +| Errors\GetDevicesUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getServerIdentity @@ -244,11 +240,10 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetServerIdentityRequestTimeout | 408 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | +| Errors\GetServerIdentityRequestTimeout | 408 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getMyPlexAccount @@ -290,12 +285,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetMyPlexAccountBadRequest | 400 | application/json | -| Errors\GetMyPlexAccountUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ----------------------------------- | ----------------------------------- | ----------------------------------- | +| Errors\GetMyPlexAccountBadRequest | 400 | application/json | +| Errors\GetMyPlexAccountUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getResizedPhoto @@ -353,12 +347,11 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetResizedPhotoBadRequest | 400 | application/json | -| Errors\GetResizedPhotoUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ---------------------------------- | ---------------------------------- | ---------------------------------- | +| Errors\GetResizedPhotoBadRequest | 400 | application/json | +| Errors\GetResizedPhotoUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getMediaProviders @@ -406,12 +399,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetMediaProvidersBadRequest | 400 | application/json | -| Errors\GetMediaProvidersUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | +| Errors\GetMediaProvidersBadRequest | 400 | application/json | +| Errors\GetMediaProvidersUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getServerList @@ -453,8 +445,8 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetServerListBadRequest | 400 | application/json | -| Errors\GetServerListUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | +| Error Type | Status Code | Content Type | +| -------------------------------- | -------------------------------- | -------------------------------- | +| Errors\GetServerListBadRequest | 400 | application/json | +| Errors\GetServerListUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/sessions/README.md b/docs/sdks/sessions/README.md index 83733d6..5f0928e 100644 --- a/docs/sdks/sessions/README.md +++ b/docs/sdks/sessions/README.md @@ -53,12 +53,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetSessionsBadRequest | 400 | application/json | -| Errors\GetSessionsUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ------------------------------ | ------------------------------ | ------------------------------ | +| Errors\GetSessionsBadRequest | 400 | application/json | +| Errors\GetSessionsUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getSessionHistory @@ -114,12 +113,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetSessionHistoryBadRequest | 400 | application/json | -| Errors\GetSessionHistoryUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | +| Errors\GetSessionHistoryBadRequest | 400 | application/json | +| Errors\GetSessionHistoryUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getTranscodeSessions @@ -161,12 +159,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetTranscodeSessionsBadRequest | 400 | application/json | -| Errors\GetTranscodeSessionsUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | +| Errors\GetTranscodeSessionsBadRequest | 400 | application/json | +| Errors\GetTranscodeSessionsUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## stopTranscodeSession @@ -214,8 +211,8 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\StopTranscodeSessionBadRequest | 400 | application/json | -| Errors\StopTranscodeSessionUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | +| Error Type | Status Code | Content Type | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | +| Errors\StopTranscodeSessionBadRequest | 400 | application/json | +| Errors\StopTranscodeSessionUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/statistics/README.md b/docs/sdks/statistics/README.md index f393a10..50c5521 100644 --- a/docs/sdks/statistics/README.md +++ b/docs/sdks/statistics/README.md @@ -58,12 +58,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetStatisticsBadRequest | 400 | application/json | -| Errors\GetStatisticsUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| -------------------------------- | -------------------------------- | -------------------------------- | +| Errors\GetStatisticsBadRequest | 400 | application/json | +| Errors\GetStatisticsUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getResourcesStatistics @@ -111,12 +110,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetResourcesStatisticsBadRequest | 400 | application/json | -| Errors\GetResourcesStatisticsUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| Errors\GetResourcesStatisticsBadRequest | 400 | application/json | +| Errors\GetResourcesStatisticsUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## getBandwidthStatistics @@ -164,8 +162,8 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetBandwidthStatisticsBadRequest | 400 | application/json | -| Errors\GetBandwidthStatisticsUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | +| Error Type | Status Code | Content Type | +| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| Errors\GetBandwidthStatisticsBadRequest | 400 | application/json | +| Errors\GetBandwidthStatisticsUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/updater/README.md b/docs/sdks/updater/README.md index 87d3077..f8dcb16 100644 --- a/docs/sdks/updater/README.md +++ b/docs/sdks/updater/README.md @@ -53,12 +53,11 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetUpdateStatusBadRequest | 400 | application/json | -| Errors\GetUpdateStatusUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ---------------------------------- | ---------------------------------- | ---------------------------------- | +| Errors\GetUpdateStatusBadRequest | 400 | application/json | +| Errors\GetUpdateStatusUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## checkForUpdates @@ -107,12 +106,11 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\CheckForUpdatesBadRequest | 400 | application/json | -| Errors\CheckForUpdatesUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ---------------------------------- | ---------------------------------- | ---------------------------------- | +| Errors\CheckForUpdatesBadRequest | 400 | application/json | +| Errors\CheckForUpdatesUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## applyUpdates @@ -165,8 +163,8 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\ApplyUpdatesBadRequest | 400 | application/json | -| Errors\ApplyUpdatesUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | +| Error Type | Status Code | Content Type | +| ------------------------------- | ------------------------------- | ------------------------------- | +| Errors\ApplyUpdatesBadRequest | 400 | application/json | +| Errors\ApplyUpdatesUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/video/README.md b/docs/sdks/video/README.md index e9abeaf..c69ac94 100644 --- a/docs/sdks/video/README.md +++ b/docs/sdks/video/README.md @@ -69,12 +69,11 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetTimelineBadRequest | 400 | application/json | -| Errors\GetTimelineUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | - +| Error Type | Status Code | Content Type | +| ------------------------------ | ------------------------------ | ------------------------------ | +| Errors\GetTimelineBadRequest | 400 | application/json | +| Errors\GetTimelineUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | ## startUniversalTranscode @@ -140,8 +139,8 @@ if ($response->statusCode === 200) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\StartUniversalTranscodeBadRequest | 400 | application/json | -| Errors\StartUniversalTranscodeUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | +| Error Type | Status Code | Content Type | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| Errors\StartUniversalTranscodeBadRequest | 400 | application/json | +| Errors\StartUniversalTranscodeUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/watchlist/README.md b/docs/sdks/watchlist/README.md index 33eb922..bd6c0f3 100644 --- a/docs/sdks/watchlist/README.md +++ b/docs/sdks/watchlist/README.md @@ -63,8 +63,8 @@ if ($response->object !== null) { ### Errors -| Error Object | Status Code | Content Type | -| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | -| Errors\GetWatchListBadRequest | 400 | application/json | -| Errors\GetWatchListUnauthorized | 401 | application/json | -| LukeHagar\Plex_API\Models\Errors.SDKException | 4xx-5xx | */* | +| Error Type | Status Code | Content Type | +| ------------------------------- | ------------------------------- | ------------------------------- | +| Errors\GetWatchListBadRequest | 400 | application/json | +| Errors\GetWatchListUnauthorized | 401 | application/json | +| Errors\SDKException | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/src/Models/Operations/GetPinRequest.php b/src/Models/Operations/GetPinRequest.php index 1f36d9a..2b34fe5 100644 --- a/src/Models/Operations/GetPinRequest.php +++ b/src/Models/Operations/GetPinRequest.php @@ -24,11 +24,7 @@ class GetPinRequest public ?bool $strong = null; /** - * The unique identifier for the client application - * - * This is used to track the client application and its usage - * (UUID, serial number, or other number unique per device) - * + * The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) * * @var ?string $clientID */ diff --git a/src/Models/Operations/GetServerResourcesRequest.php b/src/Models/Operations/GetServerResourcesRequest.php index 2c01e45..d09aac3 100644 --- a/src/Models/Operations/GetServerResourcesRequest.php +++ b/src/Models/Operations/GetServerResourcesRequest.php @@ -39,11 +39,7 @@ class GetServerResourcesRequest public ?IncludeIPv6 $includeIPv6 = null; /** - * The unique identifier for the client application - * - * This is used to track the client application and its usage - * (UUID, serial number, or other number unique per device) - * + * The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) * * @var ?string $clientID */ diff --git a/src/Models/Operations/GetTokenByPinIdRequest.php b/src/Models/Operations/GetTokenByPinIdRequest.php index 800ecaa..b0d6166 100644 --- a/src/Models/Operations/GetTokenByPinIdRequest.php +++ b/src/Models/Operations/GetTokenByPinIdRequest.php @@ -20,11 +20,7 @@ class GetTokenByPinIdRequest public int $pinID; /** - * The unique identifier for the client application - * - * This is used to track the client application and its usage - * (UUID, serial number, or other number unique per device) - * + * The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) * * @var ?string $clientID */ diff --git a/src/Models/Operations/PostUsersSignInDataRequest.php b/src/Models/Operations/PostUsersSignInDataRequest.php index 3a16260..e1e58f3 100644 --- a/src/Models/Operations/PostUsersSignInDataRequest.php +++ b/src/Models/Operations/PostUsersSignInDataRequest.php @@ -12,11 +12,7 @@ class PostUsersSignInDataRequest { /** - * The unique identifier for the client application - * - * This is used to track the client application and its usage - * (UUID, serial number, or other number unique per device) - * + * The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device) * * @var ?string $clientID */ diff --git a/src/SDKConfiguration.php b/src/SDKConfiguration.php index 83804c2..2338a88 100644 --- a/src/SDKConfiguration.php +++ b/src/SDKConfiguration.php @@ -36,11 +36,11 @@ class SDKConfiguration public string $openapiDocVersion = '0.0.3'; - public string $sdkVersion = '0.10.3'; + public string $sdkVersion = '0.10.4'; - public string $genVersion = '2.426.2'; + public string $genVersion = '2.428.1'; - public string $userAgent = 'speakeasy-sdk/php 0.10.3 2.426.2 0.0.3 lukehagar/plex-api'; + public string $userAgent = 'speakeasy-sdk/php 0.10.4 2.428.1 0.0.3 lukehagar/plex-api'; /** @var array>> */ public ?array $globals = [ 'parameters' => [],