Memos unofficial
GET/api/v1/users/{user}/settings/{setting}

Get a user setting

Retrieves a specific setting for a user. Provide the user ID and setting key to identify the setting resource. The setting key appears in the resource name as users/{user}/settings/{setting}.

2 parameters
userstringrequired
The user ID whose setting you want to retrieve.
settingstringrequired
The setting key in the resource name, such as `GENERAL`.

2 status codes
200Returns the user setting, including its resource name and any configured general, webhook, or tag settings.
namestringoptional
The name of the user setting. Format: users/{user}/settings/{setting}, {setting} is the key for the setting. For example, "users/steven/settings/GENERAL" for general settings.
generalSettingobjectoptional
General user settings configuration.
webhooksSettingobjectoptional
User webhooks configuration.
tagsSettingobjectoptional
User-specific tag metadata.
defaultDefault error response
codeintegeroptional
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
messagestringoptional
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
detailsarray<object>optional
A list of messages that carry the error details. There is a common set of message types for APIs to use.

Error handling

The user path parameter must identify the user whose setting you want to retrieve. The setting path parameter is the setting key in the resource name, such as GENERAL.