+
+ Package org.signal.chat.remoteconfiguration
+
+
+
+
+
+ Service
+ RemoteConfiguration
+
+
+
+ Message
+ Configuration
+
+
+
+ Message
+ GetBadgesRequest
+
+
+
+ Message
+ GetBadgesResponse
+
+
+
+ Message
+ GetConfigurationRequest
+
+
+
+ Message
+ GetConfigurationResponse
+
+
+ Services +
+ + ++ service RemoteConfiguration + +
+ +Provides remote configuration applicable to the authenticated user
+
+
+ rpc GetConfiguration
+
+
+ Request: org.signal.chat.remoteconfiguration.GetConfigurationRequest
+ + Response:
org.signal.chat.remoteconfiguration.GetConfigurationResponse
+ +
Fetches the configuration for the authenticated user. Returned +values are based on the authenticated account and caller's client platform, +which is derived from the "User-Agent" header.
+
+
+ rpc GetBadges
+
+
+ Request: org.signal.chat.remoteconfiguration.GetBadgesRequest
+ + Response:
org.signal.chat.remoteconfiguration.GetBadgesResponse
+ +
Returns detailed information for all configured badges, keyed by badge ID.
+Badge descriptions may contain localized strings. Callers should set their +language preferences via an "Accept-Language" header on the request +https://datatracker.ietf.org/doc/html/rfc3282#section-3
+Callers may cache a badges result for up to 1 day before checking (via +etag) if there are any new updates.
++ Messages +
+ + + ++ + message Badges + + + +
+ +| + | Field | +Type | +Description | + +
|---|---|---|---|
| 1 | ++ badges + | +
+
+
+ map<string, Badge>
+
+ |
+ A map of badge ID to the detailed information for that badge. |
+
+
+ + message Configuration + + + +
+ +| + | Field | +Type | +Description | + +
|---|---|---|---|
| 1 | ++ configuration + | +
+
+
+ map<string, string>
+
+ |
+ A map of namespaced configuration keys to their resolved values. All +configuration values are represented as strings. boolean values are +represented as the strings "true" or "false". |
+
+
+ + message GetBadgesRequest + + + +
+ +| + | Field | +Type | +Description | + +
|---|---|---|---|
| 1 | ++ etag + | +
+
+
+ bytes
+
+ |
+ If present, the etag from a prior GetBadgesResponse. If the provided etag +matches the current badge etag, the server may elide the badge response. |
+
+
+ + message GetBadgesResponse + + + +
+ +| + | Field | +Type | +Description | + +
|---|---|---|---|
|
+
+ oneof response
+
+ |
+ |||
| + 1 + | ++ tagged_badges + | +
+
+
+ org.signal.chat.remoteconfiguration.TaggedBadges
+
+
+ |
+ The full set of badges and corresponding etag. |
+
+
| + 2 + | ++ etag_matched + | +
+
+
+ bool
+
+ |
+ The etag in the request matched the current badge etag. |
+
+
+ + message GetConfigurationRequest + + + +
+ +| + | Field | +Type | +Description | + +
|---|---|---|---|
| 1 | ++ etag + | +
+
+
+ bytes
+
+ |
+ If present, the etag from a prior GetConfigurationResponse. If the +provided etag matches the current configuration etag, the server may elide +the configuration response. |
+
+
+ + message GetConfigurationResponse + + + +
+ +| + | Field | +Type | +Description | + +
|---|---|---|---|
|
+
+ oneof response
+
+ |
+ |||
| + 1 + | ++ tagged_configuration + | +
+
+
+ org.signal.chat.remoteconfiguration.TaggedConfiguration
+
+
+ |
+ The full configuration and corresponding etag. |
+
+
| + 2 + | ++ etag_matched + | +
+
+
+ bool
+
+ |
+ The etag in the request matched the current configuration etag. |
+
+
+ + message TaggedBadges + + + +
+ +| + | Field | +Type | +Description | + +
|---|---|---|---|
| 1 | ++ badges + | +
+
+
+ org.signal.chat.remoteconfiguration.Badges
+
+
+ |
+ + + |
| 2 | ++ etag + | +
+
+
+ bytes
+
+ |
+ An entity tag for |
+
+
+ + message TaggedConfiguration + + + +
+ +| + | Field | +Type | +Description | + +
|---|---|---|---|
| 1 | ++ configuration + | +
+
+
+ org.signal.chat.remoteconfiguration.Configuration
+
+
+ |
+ + + |
| 2 | ++ etag + | +
+
+
+ bytes
+
+ |
+ An entity tag for |
+
+