X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;ds=inline;f=docs%2FAPI%2Fadmin_api.md;h=7bf13daef5f5251f4119081e0b7ad4e98fb61ab7;hb=86b4149a1350b23a122f3ea8e2ef79ab3e8785e1;hp=bc96abbf02fafc45c380f5c2308e6689f7ae5816;hpb=dfb831ca39db3098d6d585448a6ff8e938e51e8c;p=akkoma diff --git a/docs/API/admin_api.md b/docs/API/admin_api.md index bc96abbf0..7bf13daef 100644 --- a/docs/API/admin_api.md +++ b/docs/API/admin_api.md @@ -349,9 +349,9 @@ Response: ### Unfollow a Relay -Params: - -* `relay_url` +- Params: + - `relay_url` + - *optional* `force`: forcefully unfollow a relay even when the relay is not available. (default is `false`) Response: @@ -1455,3 +1455,45 @@ Loads json generated from `config/descriptions.exs`. "unread": false } ``` + +## `GET /api/pleroma/admin/instance_document/:document_name` + +### Get an instance document + +- Authentication: required + +- Response: + +Returns the content of the document + +```html +