From 7c8719b22dc1abfbf808492e1adfadd3c92b726c Mon Sep 17 00:00:00 2001 From: Documentation Updater Date: Fri, 25 Sep 2026 17:24:08 +0000 Subject: [PATCH] Updating documentation --- grpc/org.signal.chat.donations.html | 2 +- grpc/org.signal.chat.profile.html | 641 ++++++++++++++-------------- grpc/org.signal.chat.purchase.html | 88 ++-- grpc/search.html | 4 +- signal-server-openapi.yaml | 14 +- 5 files changed, 368 insertions(+), 381 deletions(-) diff --git a/grpc/org.signal.chat.donations.html b/grpc/org.signal.chat.donations.html index f57cec331..de5a349a7 100644 --- a/grpc/org.signal.chat.donations.html +++ b/grpc/org.signal.chat.donations.html @@ -159,7 +159,7 @@
-

Redeem a receipt acquired from Subscriptions.CreateSubscriptionReceiptCredentials +

Redeem a receipt acquired from Subscriptions.GetReceiptCredential to add a badge to the account. After successful redemption, profile responses will include the corresponding badge (if configured as visible) until the expiration time on the receipt.

diff --git a/grpc/org.signal.chat.profile.html b/grpc/org.signal.chat.profile.html index 0cd443f5e..ef1c196a2 100644 --- a/grpc/org.signal.chat.profile.html +++ b/grpc/org.signal.chat.profile.html @@ -133,18 +133,18 @@

- + Message - GetAvatarCredentialsRequest + GetAvatarCredentialRequest

- + Message - GetAvatarCredentialsResponse + GetAvatarCredentialResponse

@@ -168,33 +168,6 @@ -

- - Message - GetExpiringProfileKeyCredentialRequest - -

- - - -

- - Message - GetExpiringProfileKeyCredentialResponse - -

- - - -

- - Message - GetExpiringProfileKeyCredentialResult - -

- - -

Message @@ -213,6 +186,33 @@ +

+ + Message + GetProfileKeyCredentialRequest + +

+ + + +

+ + Message + GetProfileKeyCredentialResponse + +

+ + + +

+ + Message + GetProfileKeyCredentialResult + +

+ + +

Message @@ -378,7 +378,7 @@

@@ -406,20 +406,20 @@ should use the version of this method in ProfileAnonymous instead.<
-

Returns anonymous credentials that may be presented with avatar operations in ProfilesAnonymous

+

Returns an anonymous credential that may be presented with avatar operations in ProfilesAnonymous

Note: Accounts.SetZkCredentialKey is a pre-requisite for this RPC

@@ -440,7 +440,7 @@ should use the version of this method in ProfileAnonymous instead.<
-

Returns credentials used by clients to upload a v1 avatar, deleting any current avatar.

+

Returns a credential used by clients to upload a v1 avatar, deleting any current avatar.

This RPC streamlines avatar changes during the v1 -> v2 transition by minimizing uploads: 1. SetV1Avatar 2. Upload to CDN @@ -493,14 +493,14 @@ methods in Profile instead.

@@ -526,12 +526,12 @@ methods in Profile instead.

-

Returns credentials to upload a v2 avatar. After uploading the avatar, the client +

Returns a credential to upload a v2 avatar. After uploading the avatar, the client must call SetProfile with the new avatar URL in the encrypted data.

Because avatars are uploaded anonymously, they have an expiration equal to the idle account expiration. Clients must periodically (recommended: every 90 days) call ExtendAvatarTTL to extend the TTl.

-

Note: any existing avatar associated with these credentials will be deleted immediately

+

Note: any existing avatar associated with this credential will be deleted immediately

@@ -720,7 +720,7 @@ RemoteConfiguration.GetBadges.

1 - avatar_credentials_presentation + avatar_credential_presentation @@ -804,7 +804,7 @@ RemoteConfiguration.GetBadges.

2 - invalid_credentials_presentation + invalid_credential_presentation @@ -855,7 +855,7 @@ RemoteConfiguration.GetBadges.

1 - avatar_credentials_presentation + avatar_credential_presentation @@ -939,7 +939,7 @@ RemoteConfiguration.GetBadges.

2 - invalid_credentials_presentation + invalid_credential_presentation @@ -983,9 +983,9 @@ RemoteConfiguration.GetBadges.

-

+

- message GetAvatarCredentialsRequest + message GetAvatarCredentialRequest @@ -1010,7 +1010,7 @@ RemoteConfiguration.GetBadges.

1 - avatar_credentials_request + avatar_credential_request @@ -1033,9 +1033,9 @@ RemoteConfiguration.GetBadges.

-

+

- message GetAvatarCredentialsResponse + message GetAvatarCredentialResponse @@ -1075,7 +1075,7 @@ RemoteConfiguration.GetBadges.

1 - avatar_credentials + avatar_credential @@ -1145,7 +1145,7 @@ RemoteConfiguration.GetBadges.

1 - avatar_credentials_presentation + avatar_credential_presentation @@ -1246,7 +1246,7 @@ performed with this form will be limited to the provided length.

2 - invalid_credentials_presentation + invalid_credential_presentation @@ -1267,275 +1267,6 @@ performed with this form will be limited to the provided length.

-
- - -

- - message GetExpiringProfileKeyCredentialRequest - - - -

- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FieldTypeDescription
1 - account_identifier - - - - org.signal.chat.common.ServiceIdentifier - - -

The ACI of the account for which to get a profile key credential.

2 - credential_request - - - - bytes - -

A zkgroup request for a profile key credential.

3 - credential_type - - - - org.signal.chat.profile.CredentialType - - -

The type of credential being requested.

4 - version - - - - bytes - -

The profile version for which to generate a profile key credential.

5 - unidentified_access_key - - - - bytes - -

The unidentified access key for the targeted account.

- -
- - - -
- - -

- - message GetExpiringProfileKeyCredentialResponse - - - -

- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FieldTypeDescription
-
- oneof response -
-
- 1 - - result - - - - org.signal.chat.profile.GetExpiringProfileKeyCredentialResult - - -
- 2 - - not_found - - - - org.signal.chat.errors.NotFound - - -
- 3 - - failed_unidentified_authorization - - - - org.signal.chat.errors.FailedUnidentifiedAuthorization - - -
- -
- - - -
- - -

- - message GetExpiringProfileKeyCredentialResult - - - -

- -
- -
- - - - - - - - - - - - - - - - - - - - - - - -
FieldTypeDescription
1 - profile_key_credential - - - - bytes - -

A zkgroup credential used by a client to prove that it has the profile key -of a targeted account.

- -
- - -
@@ -1784,6 +1515,262 @@ field number without serialization overhead. This is purely aesthetic.

+
+ + +

+ + message GetProfileKeyCredentialRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + account_identifier + + + + org.signal.chat.common.ServiceIdentifier + + +

The ACI of the account for which to get a profile key credential.

2 + credential_request + + + + bytes + +

A zkgroup request for a profile key credential for the target’s current profile.

3 + credential_type + + + + org.signal.chat.profile.CredentialType + + +

The type of credential being requested.

4 + unidentified_access_key + + + + bytes + +

The unidentified access key for the targeted account.

+ +
+ + + +
+ + +

+ + message GetProfileKeyCredentialResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + result + + + + org.signal.chat.profile.GetProfileKeyCredentialResult + + +
+ 2 + + not_found + + + + org.signal.chat.errors.NotFound + + +

Indicates the account was not found or the account's current profile was +not found. Use AccountsAnonymous.CheckAccountExistence for a canonical +account existence check.

+ 3 + + failed_unidentified_authorization + + + + org.signal.chat.errors.FailedUnidentifiedAuthorization + + +

The provided unidentified access key was incorrect

+ +
+ + + +
+ + +

+ + message GetProfileKeyCredentialResult + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + profile_key_credential + + + + bytes + +

A zkgroup credential used by a client to prove that it has the profile key +of a targeted account.

+ +
+ + +
diff --git a/grpc/org.signal.chat.purchase.html b/grpc/org.signal.chat.purchase.html index 568177e44..261fd790b 100644 --- a/grpc/org.signal.chat.purchase.html +++ b/grpc/org.signal.chat.purchase.html @@ -205,27 +205,27 @@

- + Message - CreateBoostReceiptCredentialsRequest + CreateBoostReceiptCredentialRequest

- + Message - CreateBoostReceiptCredentialsResponse + CreateBoostReceiptCredentialResponse

- + Message - CreateBoostReceiptCredentialsResult + CreateBoostReceiptCredentialResult

@@ -423,27 +423,27 @@

- + Message - GetReceiptCredentialsRequest + GetReceiptCredentialRequest

- + Message - GetReceiptCredentialsResponse + GetReceiptCredentialResponse

- + Message - GetReceiptCredentialsResult + GetReceiptCredentialResult

@@ -735,7 +735,7 @@

Create a Stripe payment intent and return a client secret that can be used to complete the payment. -Once the payment is complete, the paymentIntentId can be used with CreateBoostReceiptCredentials

+Once the payment is complete, the paymentIntentId can be used with CreateBoostReceiptCredential

@@ -788,14 +788,14 @@ https://datatracker.ietf.org/doc/html/rfc3282#section-3

@@ -1015,14 +1015,14 @@ by the API.

@@ -1035,7 +1035,7 @@ this point, the ReceiptCredentialRequest MUST NOT be reused or you may not be ab invoice. Clients SHOULD retry requests at this endpoint with the same ReceiptCredentialRequest value until receiving a response. After receiving a response, clients should then compute the ReceiptCredentialPresentation and redeem it at the receipt redemption endpoint. Once the first attempt is made there, the same -ReceiptCredentialRequest MUST NOT be used again to request receipt credentials.

+ReceiptCredentialRequest MUST NOT be used again to request a receipt credential.

Note that you may in fact redeem TWO or more invoices for the same ReceiptCredentialRequest while retrying this operation if a later invoice gets paid while you are retrying. However, the returned receipt is always for the latest invoice, so it will have the latest expiration possible and no entitlement time will be lost. The important @@ -1068,7 +1068,7 @@ cannot be redeemed.

2. Create a subscription with the App Store directly via StoreKit and obtain a originalTransactionId. 3. Call this RPC with the originalTransactionId -4. Obtain a receipt via GetReceiptCredentials which can then be used to obtain the +4. Obtain a receipt via GetReceiptCredential which can then be used to obtain the entitlement

Play Billing: Set a purchaseToken that represents an IAP subscription made with Google Play Billing.

To set up a subscription with Google Play Billing: @@ -1077,7 +1077,7 @@ cannot be redeemed.

directly and obtain a purchaseToken. Do not acknowledge the purchaseToken. 3. Call this RPC with the purchaseToken -4. Obtain a receipt via GetReceiptCredentials which can then be used to obtain the +4. Obtain a receipt via GetReceiptCredential which can then be used to obtain the entitlement

After calling this method, the payment is confirmed. Callers must durably store their subscriberId before calling this method to ensure their payment is tracked.

@@ -2007,9 +2007,9 @@ depending on which processor was used

-

+

- message CreateBoostReceiptCredentialsRequest + message CreateBoostReceiptCredentialRequest @@ -2088,9 +2088,9 @@ depending on which processor was used

-

+

- message CreateBoostReceiptCredentialsResponse + message CreateBoostReceiptCredentialResponse @@ -2133,9 +2133,9 @@ depending on which processor was used

result - + - org.signal.chat.purchase.CreateBoostReceiptCredentialsResponse.CreateBoostReceiptCredentialsResult + org.signal.chat.purchase.CreateBoostReceiptCredentialResponse.CreateBoostReceiptCredentialResult @@ -2234,11 +2234,11 @@ depending on which processor was used

-

+

- message CreateBoostReceiptCredentialsResult + message CreateBoostReceiptCredentialResult -
(Nested in org.signal.chat.purchase.CreateBoostReceiptCredentialsResponse +
(Nested in
org.signal.chat.purchase.CreateBoostReceiptCredentialResponse )
@@ -4231,9 +4231,9 @@ currency's minor unit

-

+

- message GetReceiptCredentialsRequest + message GetReceiptCredentialRequest @@ -4296,9 +4296,9 @@ currency's minor unit

-

+

- message GetReceiptCredentialsResponse + message GetReceiptCredentialResponse @@ -4341,9 +4341,9 @@ currency's minor unit

success - + - org.signal.chat.purchase.GetReceiptCredentialsResponse.GetReceiptCredentialsResult + org.signal.chat.purchase.GetReceiptCredentialResponse.GetReceiptCredentialResult @@ -4442,11 +4442,11 @@ currency's minor unit

-

+

- message GetReceiptCredentialsResult + message GetReceiptCredentialResult -
(Nested in org.signal.chat.purchase.GetReceiptCredentialsResponse +
(Nested in
org.signal.chat.purchase.GetReceiptCredentialResponse )
diff --git a/grpc/search.html b/grpc/search.html index 8c5a499dd..5b62dd58e 100644 --- a/grpc/search.html +++ b/grpc/search.html @@ -60,8 +60,8 @@