diff --git a/docs/_snippets/common-links.md b/docs/_snippets/common-links.md index 9e3571c83f..6d887ffc5d 100644 --- a/docs/_snippets/common-links.md +++ b/docs/_snippets/common-links.md @@ -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 diff --git a/docs/infrastructure/configuration/enable-public-signing.md b/docs/infrastructure/configuration/enable-public-signing.md index ea166bd272..311d5aeb3a 100644 --- a/docs/infrastructure/configuration/enable-public-signing.md +++ b/docs/infrastructure/configuration/enable-public-signing.md @@ -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. diff --git a/docs/references/http-websocket-apis/admin-api-methods/index.md b/docs/references/http-websocket-apis/admin-api-methods/index.md index 08ba5cf1a6..9d02893cda 100644 --- a/docs/references/http-websocket-apis/admin-api-methods/index.md +++ b/docs/references/http-websocket-apis/admin-api-methods/index.md @@ -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). diff --git a/docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_authorize.md b/docs/references/http-websocket-apis/admin-api-methods/signing-methods/channel_authorize.md similarity index 100% rename from docs/references/http-websocket-apis/public-api-methods/payment-channel-methods/channel_authorize.md rename to docs/references/http-websocket-apis/admin-api-methods/signing-methods/channel_authorize.md diff --git a/redirects.yaml b/redirects.yaml index a95b8d1c13..a62378f0be 100644 --- a/redirects.yaml +++ b/redirects.yaml @@ -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: diff --git a/sidebars.yaml b/sidebars.yaml index b79db5d9f7..0735bd9d87 100644 --- a/sidebars.yaml +++ b/sidebars.yaml @@ -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: