diff --git a/grpc/index.html b/grpc/index.html index 191c0d92f..c7028d73a 100644 --- a/grpc/index.html +++ b/grpc/index.html @@ -257,6 +257,13 @@ header. If provided, the request will fail with a BAD_AUTHENTICATION +

+ + org.signal.chat.remoteconfiguration + +

+ +

org.signal.chat.require diff --git a/grpc/org.signal.chat.account.html b/grpc/org.signal.chat.account.html index d3472d3c9..d29498097 100644 --- a/grpc/org.signal.chat.account.html +++ b/grpc/org.signal.chat.account.html @@ -1145,7 +1145,7 @@ the provided ACI.

The id of the badge the account is entitled. Metadata to display for badges may be obtained by cross-referencing badge ids with -ProductConfiguration.GetConfiguration.

+RemoteConfiguration.GetBadges.

diff --git a/grpc/org.signal.chat.profile.html b/grpc/org.signal.chat.profile.html index 4d574307b..8024a5553 100644 --- a/grpc/org.signal.chat.profile.html +++ b/grpc/org.signal.chat.profile.html @@ -643,7 +643,7 @@ call ExtendAvatarTTL to extend the TTl.

A list of the badges ids associated with the account. Metadata to display badges may be obtained by cross-referencing badge ids with -ProductConfiguration.GetConfiguration.

+RemoteConfiguration.GetBadges.

diff --git a/grpc/org.signal.chat.purchase.html b/grpc/org.signal.chat.purchase.html index ef727fd72..96054a512 100644 --- a/grpc/org.signal.chat.purchase.html +++ b/grpc/org.signal.chat.purchase.html @@ -170,15 +170,6 @@ -

- - Message - Configuration - -

- - -

Message @@ -574,15 +565,6 @@ -

- - Message - TaggedConfiguration - -

- - -

Message @@ -772,11 +754,9 @@ via Donations.RedeemReceipt

-

Returns all configuration for badges, donation subscriptions, backup subscriptions, and one-time donation ( -"boost" and "gift") minimum and suggested amounts.

-

Product 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

+

Returns configuration for donation subscriptions, backup subscriptions, and one-time donation ( +"boost" and "gift") minimum and suggested amounts. Badges are referenced by ID only; resolve those +IDs to full badge details via RemoteConfiguration.GetBadges.

@@ -1607,102 +1587,6 @@ depending on which processor was used

-
- - -

- - message Configuration - - - -

- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FieldTypeDescription
1 - currencies - - - - map<string, CurrencyConfiguration> - -

Map of lower-cased ISO 3 currency codes to currency-specific configuration

2 - badge_levels - - - - map<uint64, LevelConfiguration> - -

Map of numeric donation level IDs to level-specific badge configuration

3 - backup - - - - org.signal.chat.purchase.BackupConfiguration - - -

Configuration for backup subscription options

4 - sepa_maximum_euros - - - - string - -

Maximum value of a one-time SEPA donation

- -
- - -
@@ -3878,23 +3762,6 @@ for display purposes only

- - 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.

- - - @@ -3930,56 +3797,67 @@ the configuration response.

+ + 1 + + currencies + + + + + map<string, CurrencyConfiguration> + + +

Map of lower-cased ISO 3 currency codes to currency-specific configuration

+ + + + 2 + + badge_levels + + + + + map<uint64, LevelConfiguration> + + +

Map of numeric donation level IDs to level-specific badge configuration

- - - - -
- oneof response -
- - - - - - - 1 - - - tagged_configuration - - - - - org.signal.chat.purchase.TaggedConfiguration + + + + 3 + + backup + + + + + org.signal.chat.purchase.BackupConfiguration - - -

The full configuration and corresponding ETag.

- - +
+ +

Configuration for backup subscription options

- - - - - 2 - - - etag_matched - - - - - bool - - -

The etag in the request matched the current configuration ETag

+ + + + 4 + + sepa_maximum_euros + + + - + string + + +

Maximum value of a one-time SEPA donation

+ + @@ -4477,16 +4355,16 @@ the configuration response.

1 - badge + badge_id - + - org.signal.chat.common.Badge - + string - +

The ID of the badge awarded at this level. Resolve to full badge details +via RemoteConfiguration.GetBadges.

@@ -5980,73 +5858,6 @@ one-time (boost, gift) badges

-
- - -

- - message TaggedConfiguration - - - -

- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FieldTypeDescription
1 - configuration - - - - org.signal.chat.purchase.Configuration - - -
2 - etag - - - - bytes - -

An entity tag for configuration. This may be used in subsequent -requests for the configuration version to optimize bandwidth.

- -
- - -
diff --git a/grpc/org.signal.chat.remoteconfiguration.html b/grpc/org.signal.chat.remoteconfiguration.html new file mode 100644 index 000000000..6829212f0 --- /dev/null +++ b/grpc/org.signal.chat.remoteconfiguration.html @@ -0,0 +1,775 @@ + + + + + + Protobuf module documentation + + + + + + +
+ +
+ +
+

+ ← Back to packages +

+

+ + Package org.signal.chat.remoteconfiguration + +

+ + + +
+ +
+ + + +
+

+ 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 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 + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + badges + + + + map<string, Badge> + +

A map of badge ID to the detailed information for that badge.

+ +
+ + + + + +
+ + +

+ + message Configuration + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
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 + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
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 + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ 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 + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
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 + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ 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 + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
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 + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
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.

+ +
+ + + + + + + +
+ + + + \ No newline at end of file diff --git a/grpc/search.html b/grpc/search.html index 7c5364c29..04c0a6c3f 100644 --- a/grpc/search.html +++ b/grpc/search.html @@ -60,8 +60,8 @@