refactor(api): ♻️ Change route names, improve API endpoints to be more consistent with Mastodon API

This commit is contained in:
Jesse Wierzbinski 2024-05-16 15:49:59 -10:00
parent a6eb826b04
commit b1216a43f2
No known key found for this signature in database
19 changed files with 785 additions and 375 deletions

View file

@ -67,7 +67,7 @@ describe("API Tests", () => {
status: "Hello, world!",
visibility: "public",
"media_ids[]": media1?.id ?? "",
federate: "false",
local_only: "true",
}),
},
),
@ -114,7 +114,7 @@ describe("API Tests", () => {
status: "This is a reply!",
visibility: "public",
in_reply_to_id: status?.id ?? "",
federate: "false",
local_only: "true",
}),
},
),