From 3630f2de3b2935baefcf5b110b7860f117594482 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Wed, 26 Apr 2023 08:20:05 -0400 Subject: [PATCH] Fix instance entity links (#1205) The v2 endpoint incorrectly said it returned a v1 instance (though it linked to the correct entity) and the v1 endpoint incorrectly linked to the v2 entity (the text correctly said v1) --- content/en/methods/instance.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/methods/instance.md b/content/en/methods/instance.md index 54591764..46d8df6b 100644 --- a/content/en/methods/instance.md +++ b/content/en/methods/instance.md @@ -25,7 +25,7 @@ GET /api/v2/instance Obtain general information about the server. -**Returns:** [V1::Instance]({{< relref "entities/instance" >}})\ +**Returns:** [Instance]({{< relref "entities/Instance" >}})\ **OAuth:** Public\ **Version history:**\ 4.0.0 - added @@ -496,7 +496,7 @@ GET /api/v1/instance HTTP/1.1 Obtain general information about the server. -**Returns:** [V1::Instance]({{< relref "entities/instance" >}})\ +**Returns:** [V1::Instance]({{< relref "entities/V1_Instance" >}})\ **OAuth:** Public\ **Version history:**\ 1.1.0 - added\ @@ -650,4 +650,4 @@ Obtain general information about the server. {{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/controllers/api/v1/instances/peers_controller.rb" caption="app/controllers/api/v1/instances/peers_controller.rb" >}} -{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/controllers/api/v1/instances/rules_controller.rb" caption="app/controllers/api/v1/instances/rules_controller.rb" >}} \ No newline at end of file +{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/controllers/api/v1/instances/rules_controller.rb" caption="app/controllers/api/v1/instances/rules_controller.rb" >}}