The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
small tweak
Steven Tey9c6f63b06b10
diff --git a/pages/api/index.ts b/pages/api/index.tsindex cc8eaa1758..94591692b9 100644--- a/pages/api/index.ts+++ b/pages/api/index.ts@@ -216,38 +216,38 @@ export default async function handler(): Promise<summary: "Delete a link",parameters: [{- name: "slug",+ name: "key",description:- "The slug for the project to retrieve links for. E.g. for app.dub.co/vercel, the slug is 'vercel'.",- in: "query",+ "The key of the link to delete. E.g. for dub.sh/github, the key is 'github'.",+ in: "path",required: true,schema: {description:- "The slug for the project to retrieve links for. E.g. for app.dub.co/vercel, the slug is 'vercel'.",+ "The key of the link to delete. E.g. for dub.sh/github, the key is 'github'.",type: "string",},},{- name: "key",+ name: "domain",description:- "The key of the link to delete. E.g. for dub.sh/github, the key is 'github'.",- in: "path",+ "The domain of the link to delete. E.g. for dub.sh/github, the domain is 'dub.sh'.",+ in: "query",required: true,schema: {description:- "The key of the link to delete. E.g. for dub.sh/github, the key is 'github'.",+ "The domain of the link to delete. E.g. for dub.sh/github, the domain is 'dub.sh'.",type: "string",},},{- name: "domain",+ name: "slug",description:- "The domain of the link to delete. E.g. for dub.sh/github, the domain is 'dub.sh'.",+ "The project slug of the link to delete. E.g. for app.dub.co/vercel, the slug is 'vercel'.",in: "query",required: true,schema: {description:- "The domain of the link to delete. E.g. for dub.sh/github, the domain is 'dub.sh'.",+ "The project slug of the link to delete. E.g. for app.dub.co/vercel, the slug is 'vercel'.",type: "string",},},