← Back to packages

Package org.signal.chat.remoteconfiguration

Service RemoteConfiguration

Message Badges

Message Configuration

Message GetBadgesRequest

Message GetBadgesResponse

Message GetConfigurationRequest

Message GetConfigurationResponse

Message TaggedBadges

Message TaggedConfiguration

Services

service RemoteConfiguration

Provides remote configuration applicable to the authenticated user

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.

Returns detailed information for all configured badges, keyed by badge ID.

Badge descriptions may contain localized strings. Callers should set their language preferences via gRPC metadata on the request with the key "Accept-Language": 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 badges. This may be supplied in a subsequent request to optimize bandwidth when the set of badges has not changed.

message TaggedConfiguration

Field Type Description
1 configuration org.signal.chat.remoteconfiguration.Configuration
2 etag bytes

An entity tag for configuration. This may be supplied in a subsequent request to optimize bandwidth when the configuration has not changed.