mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
refactor(federation): 🚚 Change Like path from /objects/{id} to /likes/{id}
This commit is contained in:
parent
3d3e64edab
commit
d75254fc71
18 changed files with 102 additions and 112 deletions
|
|
@ -12,6 +12,7 @@ const route = createRoute({
|
|||
method: "get",
|
||||
path: "/notes/{id}",
|
||||
summary: "Retrieve the Versia representation of a note.",
|
||||
tags: ["Federation"],
|
||||
request: {
|
||||
params: z.object({
|
||||
id: StatusSchema.shape.id,
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ const route = createRoute({
|
|||
method: "get",
|
||||
path: "/notes/{id}/quotes",
|
||||
summary: "Retrieve all quotes of a Versia Note.",
|
||||
tags: ["Federation"],
|
||||
request: {
|
||||
params: z.object({
|
||||
id: StatusSchema.shape.id,
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ const route = createRoute({
|
|||
method: "get",
|
||||
path: "/notes/{id}/replies",
|
||||
summary: "Retrieve all replies to a Versia Note.",
|
||||
tags: ["Federation"],
|
||||
request: {
|
||||
params: z.object({
|
||||
id: StatusSchema.shape.id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue