Move channel_authorize to admin-only API methods

Rebase onto master and revert public-api-methods/index.md changes per
review feedback on PR #3708.
This commit is contained in:
akshit
2026-06-16 03:46:12 +05:30
parent fed7b6f8fd
commit 07b3a8a0a4
6 changed files with 6 additions and 5 deletions

View File

@@ -315,8 +315,8 @@
[book_offers method]: /docs/references/http-websocket-apis/public-api-methods/path-and-order-book-methods/book_offers.md
[can_delete command]: /docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/can_delete.md
[can_delete method]: /docs/references/http-websocket-apis/admin-api-methods/logging-and-data-management-methods/can_delete.md
[channel_authorize command]: /docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_authorize.md
[channel_authorize method]: /docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_authorize.md
[channel_authorize command]: /docs/references/http-websocket-apis/admin-api-methods/signing-methods/channel_authorize.md
[channel_authorize method]: /docs/references/http-websocket-apis/admin-api-methods/signing-methods/channel_authorize.md
[channel_verify command]: /docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_verify.md
[channel_verify method]: /docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_verify.md
[common fields]: /docs/references/protocol/transactions/common-fields.md

View File

@@ -16,6 +16,7 @@ This enables the following methods to be used on "public" [JSON-RPC and WebSocke
- [sign][sign method]
- [sign_for][sign_for method]
- [submit][submit method] (in "sign-and-submit" mode)
- [channel_authorize][channel_authorize method]
You **do not** need to enable public signing to use these methods from an admin connection.

View File

@@ -43,7 +43,7 @@ Use these methods to sign transactions.
* **[`sign`](signing-methods/sign.md)** - Cryptographically sign a transaction.
* **[`sign_for`](signing-methods/sign_for.md)** - Contribute to a multi-signature.
* **[`channel_authorize`](../public-api-methods/payment-channel-methods/channel_authorize.md)** - Sign a claim for money from a payment channel.
* **[`channel_authorize`](signing-methods/channel_authorize.md)** - Sign a claim for money from a payment channel.
By default, these methods are [admin-only](../../../tutorials/get-started/get-started-http-websocket-apis.md#admin-access). They can be used as public methods if the server admin has [enabled public signing](../../../infrastructure/configuration/enable-public-signing.md).

View File

@@ -1086,7 +1086,7 @@ ripple_path_find.html:
payment-channel-methods.html:
to: /docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/
channel_authorize.html:
to: /docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_authorize
to: /docs/references/http-websocket-apis/admin-api-methods/signing-methods/channel_authorize
channel_verify.html:
to: /docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_verify
subscription-methods.html:

View File

@@ -581,7 +581,6 @@
- page: docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/index.md
expanded: false
items:
- page: docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_authorize.md
- page: docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_verify.md
- page: docs/references/http-websocket-apis/public-api-methods/subscription-methods/index.md
expanded: false
@@ -649,6 +648,7 @@
items:
- page: docs/references/http-websocket-apis/admin-api-methods/signing-methods/sign.md
- page: docs/references/http-websocket-apis/admin-api-methods/signing-methods/sign_for.md
- page: docs/references/http-websocket-apis/admin-api-methods/signing-methods/channel_authorize.md
- page: docs/references/http-websocket-apis/admin-api-methods/peer-management-methods/index.md
expanded: false
items: