The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
update SDK docs
Steven Tey64cd088090d4
diff --git a/apps/docs/api-reference/endpoint/retrieve-clicks-count.mdx b/apps/docs/api-reference/endpoint/retrieve-clicks-count.mdxindex 0c99277506..d4259f9ab1 100644--- a/apps/docs/api-reference/endpoint/retrieve-clicks-count.mdx+++ b/apps/docs/api-reference/endpoint/retrieve-clicks-count.mdx@@ -1,5 +1,5 @@----openapi: get /analytics/clicks+openapi: get /analytics/clicks/count---<Note>diff --git a/apps/docs/sdks/typescript/analytics/clicks/browsers.mdx b/apps/docs/sdks/typescript/analytics/clicks/browsers.mdxindex b9eec3f8c2..e206afe570 100644--- a/apps/docs/sdks/typescript/analytics/clicks/browsers.mdx+++ b/apps/docs/sdks/typescript/analytics/clicks/browsers.mdx@@ -1,7 +1,7 @@----title: "Browsers"-"og:title": "dub.analytics.clicks.browsers - Retrieve browser analytics - TypeScript SDK"-description: "Retrieve the top browsers by number of clicks for a link, a domain, or the authenticated workspace."+title: dub.analytics.clicks.browsers+sidebarTitle: Browsers+description: Retrieve the top browsers by number of clicks for a link, a domain, or the authenticated workspace.---import AnalyticsArguments from "/snippets/analytics-arguments.mdx";diff --git a/apps/docs/sdks/typescript/analytics/clicks/cities.mdx b/apps/docs/sdks/typescript/analytics/clicks/cities.mdxindex ab6b2c0ded..aab6dd8ddb 100644--- a/apps/docs/sdks/typescript/analytics/clicks/cities.mdx+++ b/apps/docs/sdks/typescript/analytics/clicks/cities.mdx@@ -1,7 +1,7 @@----title: "Cities"-"og:title": "dub.analytics.clicks.cities - Retrieve city analytics - TypeScript SDK"-description: "Retrieve the top countries by number of clicks for a link, a domain, or the authenticated workspace."+title: dub.analytics.clicks.cities+sidebarTitle: Cities+description: Retrieve the top cities by number of clicks for a link, a domain, or the authenticated workspace.---import AnalyticsArguments from "/snippets/analytics-arguments.mdx";diff --git a/apps/docs/sdks/typescript/analytics/clicks/count.mdx b/apps/docs/sdks/typescript/analytics/clicks/count.mdxindex 973fb36d33..0d3b1fd22b 100644--- a/apps/docs/sdks/typescript/analytics/clicks/count.mdx+++ b/apps/docs/sdks/typescript/analytics/clicks/count.mdx@@ -1,7 +1,7 @@----title: "Count"-"og:title": "dub.analytics.clicks.count - Retrieve total clicks count - TypeScript SDK"-description: "Retrieve total clicks count for a link, a domain, or the authenticated workspace."+title: dub.analytics.clicks.count+sidebarTitle: Count+description: Retrieve total clicks count for a link, a domain, or the authenticated workspace.---import AnalyticsArguments from "/snippets/analytics-arguments.mdx";diff --git a/apps/docs/sdks/typescript/analytics/clicks/countries.mdx b/apps/docs/sdks/typescript/analytics/clicks/countries.mdxindex 028ed5711f..21137eae01 100644--- a/apps/docs/sdks/typescript/analytics/clicks/countries.mdx+++ b/apps/docs/sdks/typescript/analytics/clicks/countries.mdx@@ -1,7 +1,7 @@----title: "Countries"-"og:title": "dub.analytics.clicks.countries - Retrieve country analytics - TypeScript SDK"-description: "Retrieve the top countries by number of clicks for a link, a domain, or the authenticated workspace."+title: dub.analytics.clicks.countries+sidebarTitle: Countries+description: Retrieve the top countries by number of clicks for a link, a domain, or the authenticated workspace.---import AnalyticsArguments from "/snippets/analytics-arguments.mdx";diff --git a/apps/docs/sdks/typescript/analytics/clicks/devices.mdx b/apps/docs/sdks/typescript/analytics/clicks/devices.mdxindex 7c9b33be94..a074e1d7e8 100644--- a/apps/docs/sdks/typescript/analytics/clicks/devices.mdx+++ b/apps/docs/sdks/typescript/analytics/clicks/devices.mdx@@ -1,7 +1,7 @@----title: "Devices"-"og:title": "dub.analytics.clicks.devices - Retrieve device analytics - TypeScript SDK"-description: "Retrieve the top devices by number of clicks for a link, a domain, or the authenticated workspace."+title: dub.analytics.clicks.devices+sidebarTitle: Devices+description: Retrieve the top devices by number of clicks for a link, a domain, or the authenticated workspace.---import AnalyticsArguments from "/snippets/analytics-arguments.mdx";diff --git a/apps/docs/sdks/typescript/analytics/clicks/os.mdx b/apps/docs/sdks/typescript/analytics/clicks/os.mdxindex c68ba4c39f..483173351c 100644--- a/apps/docs/sdks/typescript/analytics/clicks/os.mdx+++ b/apps/docs/sdks/typescript/analytics/clicks/os.mdx@@ -1,7 +1,7 @@----title: "OS"-"og:title": "dub.analytics.clicks.os - Retrieve OS analytics - TypeScript SDK"-description: "Retrieve the top OS by number of clicks for a link, a domain, or the authenticated workspace."+title: dub.analytics.clicks.os+sidebarTitle: OS+description: Retrieve the top OS by number of clicks for a link, a domain, or the authenticated workspace.---import AnalyticsArguments from "/snippets/analytics-arguments.mdx";diff --git a/apps/docs/sdks/typescript/analytics/clicks/referers.mdx b/apps/docs/sdks/typescript/analytics/clicks/referers.mdxindex f860e086ad..479d58c432 100644--- a/apps/docs/sdks/typescript/analytics/clicks/referers.mdx+++ b/apps/docs/sdks/typescript/analytics/clicks/referers.mdx@@ -1,7 +1,7 @@----title: "Referers"-"og:title": "dub.analytics.clicks.referers - Retrieve referer analytics - TypeScript SDK"-description: "Retrieve the top referers by number of clicks for a link, a domain, or the authenticated workspace."+title: dub.analytics.clicks.referers+sidebarTitle: Referers+description: Retrieve the top referers by number of clicks for a link, a domain, or the authenticated workspace.---import AnalyticsArguments from "/snippets/analytics-arguments.mdx";diff --git a/apps/docs/sdks/typescript/analytics/clicks/timeseries.mdx b/apps/docs/sdks/typescript/analytics/clicks/timeseries.mdxindex 842eeaf975..813702a320 100644--- a/apps/docs/sdks/typescript/analytics/clicks/timeseries.mdx+++ b/apps/docs/sdks/typescript/analytics/clicks/timeseries.mdx@@ -1,7 +1,7 @@----title: "Timeseries"-"og:title": "dub.analytics.clicks.timeseries - Retrieve timeseries analytics - TypeScript SDK"-description: "Retrieve the number of clicks for a link, a domain, or the authenticated workspace over a period of time."+title: dub.analytics.clicks.timeseries+sidebarTitle: Timeseries+description: Retrieve timeseries click analytics for a link, a domain, or the authenticated workspace.---import AnalyticsArguments from "/snippets/analytics-arguments.mdx";diff --git a/apps/docs/sdks/typescript/analytics/clicks/top-links.mdx b/apps/docs/sdks/typescript/analytics/clicks/top-links.mdxindex fd968a4294..f4ead9d848 100644--- a/apps/docs/sdks/typescript/analytics/clicks/top-links.mdx+++ b/apps/docs/sdks/typescript/analytics/clicks/top-links.mdx@@ -1,7 +1,7 @@----title: "Top Links"-"og:title": "dub.analytics.clicks.topLinks - Retrieve top links - TypeScript SDK"-description: "Retrieve the top links by number of clicks for a domain or the authenticated workspace."+title: dub.analytics.clicks.topLinks+sidebarTitle: Top Links+description: Retrieve the top links by number of clicks for a domain or the authenticated workspace.---import AnalyticsArguments from "/snippets/analytics-arguments.mdx";diff --git a/apps/docs/sdks/typescript/analytics/clicks/top-urls.mdx b/apps/docs/sdks/typescript/analytics/clicks/top-urls.mdxindex d7af206a81..2d2fbe1351 100644--- a/apps/docs/sdks/typescript/analytics/clicks/top-urls.mdx+++ b/apps/docs/sdks/typescript/analytics/clicks/top-urls.mdx@@ -1,7 +1,7 @@----title: "Top Urls"-"og:title": "dub.analytics.clicks.topUrls - Retrieve top urls - TypeScript SDK"-description: "Retrieve the top URLs by number of clicks for a given short link."+title: dub.analytics.clicks.topUrls+sidebarTitle: Top URLs+description: Retrieve the top URLs by number of clicks for a given short link.---import AnalyticsArguments from "/snippets/analytics-arguments.mdx";diff --git a/apps/web/lib/openapi/analytics/clicks/clicks.ts b/apps/web/lib/openapi/analytics/clicks/count.tssimilarity index 100%rename from apps/web/lib/openapi/analytics/clicks/clicks.tsrename to apps/web/lib/openapi/analytics/clicks/count.tsdiff --git a/apps/web/lib/openapi/analytics/clicks/index.ts b/apps/web/lib/openapi/analytics/clicks/index.tsindex 6290e67c57..77343dc7ef 100644--- a/apps/web/lib/openapi/analytics/clicks/index.ts+++ b/apps/web/lib/openapi/analytics/clicks/index.ts@@ -1,7 +1,7 @@import { ZodOpenApiPathsObject } from "zod-openapi";import { getBrowserByClicks } from "./browser";import { getCityByClicks } from "./city";-import { getClicksCount } from "./clicks";+import { getClicksCount } from "./count";import { getCountryByClicks } from "./country";import { getDeviceByClicks } from "./device";import { getOSByClicks } from "./os";diff --git a/apps/web/lib/openapi/analytics/clicks/timeseries.ts b/apps/web/lib/openapi/analytics/clicks/timeseries.tsindex 6364177bf9..7bf4633ccf 100644--- a/apps/web/lib/openapi/analytics/clicks/timeseries.ts+++ b/apps/web/lib/openapi/analytics/clicks/timeseries.ts@@ -10,9 +10,9 @@ import { workspaceParamsSchema } from "../../request";export const getTimeseriesByClicks: ZodOpenApiOperationObject = {operationId: "getTimeseriesByClicks","x-speakeasy-name-override": "timeseries",- summary: "Retrieve timeseries analytics by clicks",+ summary: "Retrieve timeseries click analytics",description:- "Retrieve the number of clicks for a link, a domain, or the authenticated workspace over a period of time.",+ "Retrieve timeseries click analytics for a link, a domain, or the authenticated workspace over a period of time.",requestParams: {query: workspaceParamsSchema.merge(clickAnalyticsQuerySchema),},