mirror of
https://github.com/LukeHagar/plexphp.git
synced 2025-12-06 04:20:51 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.399.2
This commit is contained in:
@@ -13,7 +13,7 @@ Geo location data
|
||||
| `city` | *string* | :heavy_check_mark: | The name of the city. | Amsterdam |
|
||||
| `europeanUnionMember` | *bool* | :heavy_check_mark: | Indicates if the country is a member of the European Union. | true |
|
||||
| `timeZone` | *string* | :heavy_check_mark: | The time zone of the country. | America/St_Thomas |
|
||||
| `postalCode` | *int* | :heavy_check_mark: | The postal code of the location. | 802 |
|
||||
| `postalCode` | *string* | :heavy_check_mark: | The postal code of the location. | 802 |
|
||||
| `inPrivacyRestrictedCountry` | *bool* | :heavy_check_mark: | Indicates if the country has privacy restrictions. | true |
|
||||
| `inPrivacyRestrictedRegion` | *bool* | :heavy_check_mark: | Indicates if the region has privacy restrictions. | true |
|
||||
| `subdivisions` | *string* | :heavy_check_mark: | The name of the primary administrative subdivision. | Saint Thomas |
|
||||
|
||||
@@ -13,7 +13,7 @@ Geo location data
|
||||
| `city` | *string* | :heavy_check_mark: | The name of the city. | Amsterdam |
|
||||
| `europeanUnionMember` | *bool* | :heavy_check_mark: | Indicates if the country is a member of the European Union. | true |
|
||||
| `timeZone` | *string* | :heavy_check_mark: | The time zone of the country. | America/St_Thomas |
|
||||
| `postalCode` | *int* | :heavy_check_mark: | The postal code of the location. | 802 |
|
||||
| `postalCode` | *string* | :heavy_check_mark: | The postal code of the location. | 802 |
|
||||
| `inPrivacyRestrictedCountry` | *bool* | :heavy_check_mark: | Indicates if the country has privacy restrictions. | true |
|
||||
| `inPrivacyRestrictedRegion` | *bool* | :heavy_check_mark: | Indicates if the region has privacy restrictions. | true |
|
||||
| `subdivisions` | *string* | :heavy_check_mark: | The name of the primary administrative subdivision. | Saint Thomas |
|
||||
|
||||
@@ -9,13 +9,13 @@ Requests a new pin id used in the authentication flow
|
||||
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | N/A | 308667304 |
|
||||
| `code` | *string* | :heavy_check_mark: | N/A | 7RQZ |
|
||||
| `product` | *string* | :heavy_check_mark: | N/A | 0 |
|
||||
| `product` | *string* | :heavy_check_mark: | N/A | Tautulli |
|
||||
| `trusted` | *bool* | :heavy_check_mark: | N/A | |
|
||||
| `qr` | *string* | :heavy_check_mark: | N/A | https://plex.tv/api/v2/pins/qr/7RQZ |
|
||||
| `clientIdentifier` | *string* | :heavy_check_mark: | The X-Client-Identifier used in the request | |
|
||||
| `clientIdentifier` | *string* | :heavy_check_mark: | The X-Client-Identifier used in the request | Tautulli |
|
||||
| `location` | [Operations\GeoData](../../Models/Operations/GeoData.md) | :heavy_check_mark: | Geo location data | {<br/>"code": "VI",<br/>"continent_code": "NA",<br/>"country": "United States Virgin Islands",<br/>"city": "Amsterdam",<br/>"european_union_member": true,<br/>"time_zone": "America/St_Thomas",<br/>"postal_code": 802,<br/>"in_privacy_restricted_country": true,<br/>"in_privacy_restricted_region": true,<br/>"subdivisions": "Saint Thomas",<br/>"coordinates": "18.3381, -64.8941"<br/>} |
|
||||
| `expiresIn` | *int* | :heavy_check_mark: | The number of seconds this pin expires, by default 900 seconds | 876 |
|
||||
| `createdAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | 2024-07-16T17:03:05Z |
|
||||
| `expiresAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | 2024-07-16T17:18:05Z |
|
||||
| `authToken` | *mixed* | :heavy_minus_sign: | N/A | |
|
||||
| `authToken` | *?string* | :heavy_minus_sign: | N/A | gcgzw5rz2xovp84b4vha3a40 |
|
||||
| `newRegistration` | *mixed* | :heavy_minus_sign: | N/A | |
|
||||
@@ -6,5 +6,8 @@
|
||||
| Field | Type | Required | Description | Example |
|
||||
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `strong` | *?bool* | :heavy_minus_sign: | Determines the kind of code returned by the API call<br/>Strong codes are used for Pin authentication flows<br/>Non-Strong codes are used for `Plex.tv/link`<br/> | |
|
||||
| `xPlexClientIdentifier` | *?string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
|
||||
| `xPlexProduct` | *?string* | :heavy_minus_sign: | N/A | Plex Web |
|
||||
| `clientID` | *?string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | 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 |
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `xPlexClientIdentifier` | *?string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
|
||||
| `clientID` | *?string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
|
||||
| `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 <br/>E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400<br/> | 1 |
|
||||
| `includeIPv6` | [?Operations\IncludeIPv6](../../Models/Operations/IncludeIPv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 |
|
||||
@@ -9,13 +9,13 @@ The Pin with a non-null authToken when it has been verified by the user
|
||||
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | N/A | 308667304 |
|
||||
| `code` | *string* | :heavy_check_mark: | N/A | 7RQZ |
|
||||
| `product` | *string* | :heavy_check_mark: | N/A | 0 |
|
||||
| `product` | *string* | :heavy_check_mark: | N/A | Tautulli |
|
||||
| `trusted` | *bool* | :heavy_check_mark: | N/A | |
|
||||
| `qr` | *string* | :heavy_check_mark: | N/A | https://plex.tv/api/v2/pins/qr/7RQZ |
|
||||
| `clientIdentifier` | *string* | :heavy_check_mark: | The X-Client-Identifier used in the request | |
|
||||
| `clientIdentifier` | *string* | :heavy_check_mark: | The X-Client-Identifier used in the request | Tautulli |
|
||||
| `location` | [Operations\GetTokenByPinIdGeoData](../../Models/Operations/GetTokenByPinIdGeoData.md) | :heavy_check_mark: | Geo location data | {<br/>"code": "VI",<br/>"continent_code": "NA",<br/>"country": "United States Virgin Islands",<br/>"city": "Amsterdam",<br/>"european_union_member": true,<br/>"time_zone": "America/St_Thomas",<br/>"postal_code": 802,<br/>"in_privacy_restricted_country": true,<br/>"in_privacy_restricted_region": true,<br/>"subdivisions": "Saint Thomas",<br/>"coordinates": "18.3381, -64.8941"<br/>} |
|
||||
| `expiresIn` | *int* | :heavy_check_mark: | The number of seconds this pin expires, by default 900 seconds | 876 |
|
||||
| `createdAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | 2024-07-16T17:03:05Z |
|
||||
| `expiresAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | 2024-07-16T17:18:05Z |
|
||||
| `authToken` | *mixed* | :heavy_minus_sign: | N/A | |
|
||||
| `authToken` | *?string* | :heavy_minus_sign: | N/A | gcgzw5rz2xovp84b4vha3a40 |
|
||||
| `newRegistration` | *mixed* | :heavy_minus_sign: | N/A | |
|
||||
@@ -13,7 +13,7 @@ Geo location data
|
||||
| `city` | *string* | :heavy_check_mark: | The name of the city. | Amsterdam |
|
||||
| `europeanUnionMember` | *bool* | :heavy_check_mark: | Indicates if the country is a member of the European Union. | true |
|
||||
| `timeZone` | *string* | :heavy_check_mark: | The time zone of the country. | America/St_Thomas |
|
||||
| `postalCode` | *int* | :heavy_check_mark: | The postal code of the location. | 802 |
|
||||
| `postalCode` | *string* | :heavy_check_mark: | The postal code of the location. | 802 |
|
||||
| `inPrivacyRestrictedCountry` | *bool* | :heavy_check_mark: | Indicates if the country has privacy restrictions. | true |
|
||||
| `inPrivacyRestrictedRegion` | *bool* | :heavy_check_mark: | Indicates if the region has privacy restrictions. | true |
|
||||
| `subdivisions` | *string* | :heavy_check_mark: | The name of the primary administrative subdivision. | Saint Thomas |
|
||||
|
||||
@@ -6,4 +6,4 @@
|
||||
| Field | Type | Required | Description | Example |
|
||||
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `pinID` | *int* | :heavy_check_mark: | The PinID to retrieve an access token for | |
|
||||
| `xPlexClientIdentifier` | *?string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
|
||||
| `clientID` | *?string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
|
||||
@@ -5,5 +5,5 @@
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `xPlexClientIdentifier` | *?string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
|
||||
| `clientID` | *?string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
|
||||
| `requestBody` | [?Operations\PostUsersSignInDataRequestBody](../../Models/Operations/PostUsersSignInDataRequestBody.md) | :heavy_minus_sign: | Login credentials | |
|
||||
@@ -35,7 +35,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -81,7 +85,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
|
||||
@@ -33,7 +33,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -89,7 +93,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -142,7 +150,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -190,7 +202,11 @@ use LukeHagar\Plex_API;
|
||||
use LukeHagar\Plex_API\Models\Operations;
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->build();
|
||||
|
||||
try {
|
||||
@@ -213,7 +229,7 @@ try {
|
||||
|
||||
| Parameter | Type | Required | Description | Example |
|
||||
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `xPlexClientIdentifier` | *string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
|
||||
| `clientID` | *string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
|
||||
| `requestBody` | [Operations\PostUsersSignInDataRequestBody](../../Models/Operations/PostUsersSignInDataRequestBody.md) | :heavy_minus_sign: | Login credentials | |
|
||||
| `$serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. | http://localhost:8080 |
|
||||
|
||||
|
||||
@@ -32,7 +32,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -83,7 +87,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -130,7 +138,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -182,7 +194,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -237,7 +253,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
|
||||
@@ -30,7 +30,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -86,7 +90,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
|
||||
@@ -39,7 +39,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -94,7 +98,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -154,7 +162,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -240,7 +252,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -294,7 +310,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -368,7 +388,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -431,7 +455,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -504,7 +532,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -559,7 +591,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -613,7 +649,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -669,7 +709,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -724,7 +768,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
|
||||
@@ -32,7 +32,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -108,7 +112,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -164,7 +172,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
|
||||
@@ -32,7 +32,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -85,7 +89,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -139,7 +147,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -195,7 +207,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -256,7 +272,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
|
||||
@@ -43,7 +43,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -102,7 +106,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -158,7 +166,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -212,7 +224,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -266,7 +282,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -326,7 +346,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -381,7 +405,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -436,7 +464,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -493,7 +525,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
|
||||
@@ -34,7 +34,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -86,7 +90,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -133,7 +141,11 @@ require 'vendor/autoload.php';
|
||||
use LukeHagar\Plex_API;
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->build();
|
||||
|
||||
try {
|
||||
@@ -185,7 +197,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -232,7 +248,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -251,7 +271,7 @@ try {
|
||||
|
||||
| Parameter | Type | Required | Description | Example |
|
||||
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `xPlexClientIdentifier` | *string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
|
||||
| `clientID` | *string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
|
||||
| `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 <br/>E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400<br/> | 1 |
|
||||
| `includeIPv6` | [Operations\IncludeIPv6](../../Models/Operations/IncludeIPv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 |
|
||||
@@ -272,7 +292,7 @@ try {
|
||||
|
||||
## getPin
|
||||
|
||||
Retrieve a Pin from Plex.tv for authentication flows
|
||||
Retrieve a Pin ID from Plex.tv to use for authentication flows
|
||||
|
||||
### Example Usage
|
||||
|
||||
@@ -282,14 +302,19 @@ declare(strict_types=1);
|
||||
require 'vendor/autoload.php';
|
||||
|
||||
use LukeHagar\Plex_API;
|
||||
use LukeHagar\Plex_API\Models\Operations;
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->build();
|
||||
|
||||
try {
|
||||
|
||||
$response = $sdk->plex->getPin(false, 'gcgzw5rz2xovp84b4vha3a40', 'Plex Web');
|
||||
$request = new Operations\GetPinRequest();
|
||||
$response = $sdk->plex->getPin($request);
|
||||
|
||||
if ($response->authPinContainer !== null) {
|
||||
// handle response
|
||||
@@ -301,12 +326,10 @@ try {
|
||||
|
||||
### Parameters
|
||||
|
||||
| Parameter | Type | Required | Description | Example |
|
||||
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `strong` | *bool* | :heavy_minus_sign: | Determines the kind of code returned by the API call<br/>Strong codes are used for Pin authentication flows<br/>Non-Strong codes are used for `Plex.tv/link`<br/> | |
|
||||
| `xPlexClientIdentifier` | *string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
|
||||
| `xPlexProduct` | *string* | :heavy_minus_sign: | N/A | Plex Web |
|
||||
| `$serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. | http://localhost:8080 |
|
||||
| Parameter | Type | Required | Description |
|
||||
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
|
||||
| `$request` | [Operations\GetPinRequest](../../Models/Operations/GetPinRequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
||||
| `$serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. |
|
||||
|
||||
### Response
|
||||
|
||||
@@ -334,7 +357,11 @@ require 'vendor/autoload.php';
|
||||
use LukeHagar\Plex_API;
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->build();
|
||||
|
||||
try {
|
||||
@@ -354,7 +381,7 @@ try {
|
||||
| Parameter | Type | Required | Description | Example |
|
||||
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `pinID` | *int* | :heavy_check_mark: | The PinID to retrieve an access token for | |
|
||||
| `xPlexClientIdentifier` | *string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
|
||||
| `clientID` | *string* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
|
||||
| `$serverURL` | *string* | :heavy_minus_sign: | An optional server URL to use. | http://localhost:8080 |
|
||||
|
||||
### Response
|
||||
|
||||
@@ -42,7 +42,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -101,7 +105,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -156,7 +164,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
|
||||
@@ -36,7 +36,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -82,7 +86,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -128,7 +136,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -174,7 +186,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -215,7 +231,11 @@ require 'vendor/autoload.php';
|
||||
use LukeHagar\Plex_API;
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->build();
|
||||
|
||||
try {
|
||||
@@ -260,7 +280,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -308,7 +332,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -369,7 +397,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -422,7 +454,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
|
||||
@@ -31,7 +31,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -78,7 +82,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -134,7 +142,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -180,7 +192,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
|
||||
@@ -30,7 +30,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -83,7 +87,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -136,7 +144,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
|
||||
@@ -31,7 +31,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -78,7 +82,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -133,7 +141,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
|
||||
@@ -30,7 +30,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
@@ -95,7 +99,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
|
||||
@@ -29,7 +29,11 @@ $security = new Components\Security(
|
||||
);
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setXPlexClientIdentifier('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientID('gcgzw5rz2xovp84b4vha3a40')
|
||||
->setClientName('Plex Web')
|
||||
->setClientVersion('4.133.0')
|
||||
->setClientPlatform('Chrome')
|
||||
->setDeviceName('Linux')
|
||||
->setSecurity($security)->build();
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user