mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
refactor(api): ♻️ Change route names, improve API endpoints to be more consistent with Mastodon API
This commit is contained in:
parent
a6eb826b04
commit
b1216a43f2
19 changed files with 785 additions and 375 deletions
|
|
@ -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",
|
||||
}),
|
||||
},
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue