mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 12:47:44 +00:00
13 KiB
13 KiB
GetGeoDataResponse
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
content_type |
::String | ✔️ | HTTP response content type for this operation | |
status_code |
::Integer | ✔️ | HTTP response status code for this operation | |
raw_response |
Faraday::Response | ✔️ | Raw HTTP response; suitable for custom response parsing | |
geo_data |
T.nilable(::PlexRubySDK::Operations::GetGeoDataGeoData) | ➖ | Gets the geo location data of the user | { "code": "VI", "continent_code": "NA", "country": "United States Virgin Islands", "city": "Amsterdam", "european_union_member": true, "time_zone": "America/St_Thomas", "postal_code": 802, "in_privacy_restricted_country": true, "in_privacy_restricted_region": true, "subdivisions": "Saint Thomas", "coordinates": "18.3381, -64.8941" } |
bad_request |
T.nilable(::PlexRubySDK::Operations::GetGeoDataBadRequest) | ➖ | Bad Request - A parameter was not specified, or was specified incorrectly. | |
unauthorized |
T.nilable(::PlexRubySDK::Operations::GetGeoDataUnauthorized) | ➖ | Unauthorized - Returned if the X-Plex-Token is missing from the header or query. |