mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-10 04:21:03 +00:00
21 lines
23 KiB
Markdown
21 lines
23 KiB
Markdown
# GetPinAuthPinContainer
|
|
|
|
Requests a new pin id used in the authentication flow
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description | Example |
|
|
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
| `id` | *::Integer* | :heavy_check_mark: | N/A | 308667304 |
|
|
| `code` | *::String* | :heavy_check_mark: | N/A | 7RQZ |
|
|
| `product` | *::String* | :heavy_check_mark: | N/A | Tautulli |
|
|
| `trusted` | *T::Boolean* | :heavy_check_mark: | N/A | |
|
|
| `qr` | *::String* | :heavy_check_mark: | N/A | https://plex.tv/api/v2/pins/qr/7RQZ |
|
|
| `client_identifier` | *::String* | :heavy_check_mark: | The X-Client-Identifier used in the request | Tautulli |
|
|
| `location` | [::PlexRubySDK::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/>} |
|
|
| `expires_in` | *::Integer* | :heavy_check_mark: | The number of seconds this pin expires, by default 900 seconds | 876 |
|
|
| `created_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_check_mark: | N/A | 2024-07-16T17:03:05Z |
|
|
| `expires_at` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_check_mark: | N/A | 2024-07-16T17:18:05Z |
|
|
| `auth_token` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | gcgzw5rz2xovp84b4vha3a40 |
|
|
| `new_registration` | *T.nilable(::Object)* | :heavy_minus_sign: | N/A | | |