Settings: get
Requires authorization
Gets a single setting by ID.
Request
HTTP request
GET https://www.googleapis.com/mirror/v1/settings/id
Parameters
Parameter name |
Value |
Description |
Path parameters |
id |
string |
The ID of the setting. The following IDs are valid: locale - The key to the user’s language/locale (BCP 47 identifier) that Glassware should use to render localized content. timezone - The key to the user’s current time zone region as defined in the tz database. Example: America/Los_Angeles .
|
Authorization
This request requires authorization with the following scope (read more about authentication and authorization).
Scope |
https://www.googleapis.com/auth/glass.timeline |
Request body
Do not supply a request body with this method.
Response
If successful, this method returns a Settings resource in the response body.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[null,null,["Last updated 2024-07-10 UTC."],[[["Retrieves a specific user setting using its ID via a GET request."],["Accepts 'locale' or 'timezone' as valid setting IDs to retrieve user's language or time zone information respectively."],["Requires authorization with the `https://www.googleapis.com/auth/glass.timeline` scope."],["Returns a `Settings` resource containing the requested setting's value upon successful execution."]]],[]]