The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update /docs
Kiran K982248aba662
diff --git a/apps/docs/api-reference/endpoint/create-a-new-link.mdx b/apps/docs/api-reference/endpoint/create-a-new-link.mdxindex c9b78ffb42..ba0fbc3a4d 100644--- a/apps/docs/api-reference/endpoint/create-a-new-link.mdx+++ b/apps/docs/api-reference/endpoint/create-a-new-link.mdx@@ -1,5 +1,5 @@---openapi: post /linksog:title: "Create a new link with the Dub.co API - API Reference"-description: Create a new link for the authenticated project.+description: Create a new link for the authenticated workspace.---diff --git a/apps/docs/api-reference/endpoint/create-a-new-tag.mdx b/apps/docs/api-reference/endpoint/create-a-new-tag.mdxindex e52d13b8cb..a86c2fa96c 100644--- a/apps/docs/api-reference/endpoint/create-a-new-tag.mdx+++ b/apps/docs/api-reference/endpoint/create-a-new-tag.mdx@@ -1,5 +1,5 @@---openapi: post /tagsog:title: "Create a new tag with the Dub.co API - API Reference"-description: Create a new tag for the authenticated project.+description: Create a new tag for the authenticated workspace.---diff --git a/apps/docs/api-reference/endpoint/delete-a-link.mdx b/apps/docs/api-reference/endpoint/delete-a-link.mdxindex 10cf8fa068..b4480b38f9 100644--- a/apps/docs/api-reference/endpoint/delete-a-link.mdx+++ b/apps/docs/api-reference/endpoint/delete-a-link.mdx@@ -1,5 +1,5 @@---openapi: delete /links/{linkId}og:title: "Delete a link with the Dub.co API - API Reference"-description: Delete a link for the authenticated project.+description: Delete a link for the authenticated workspace.---diff --git a/apps/docs/api-reference/endpoint/edit-a-link.mdx b/apps/docs/api-reference/endpoint/edit-a-link.mdxindex 4f4bbb235a..6c1808f495 100644--- a/apps/docs/api-reference/endpoint/edit-a-link.mdx+++ b/apps/docs/api-reference/endpoint/edit-a-link.mdx@@ -1,5 +1,5 @@---openapi: put /links/{linkId}og:title: "Edit a link with the Dub.co API - API Reference"-description: Edit a link for the authenticated project.+description: Edit a link for the authenticated workspace.---diff --git a/apps/docs/api-reference/endpoint/retrieve-a-list-of-links.mdx b/apps/docs/api-reference/endpoint/retrieve-a-list-of-links.mdxindex f31669ab29..47630730a5 100644--- a/apps/docs/api-reference/endpoint/retrieve-a-list-of-links.mdx+++ b/apps/docs/api-reference/endpoint/retrieve-a-list-of-links.mdx@@ -1,5 +1,5 @@---openapi: get /linksog:title: "Get list of links with the Dub.co API - API Reference"-description: Retrieve a list of links for the authenticated project. The list will be paginated and the provided query parameters allow filtering the returned links.+description: Retrieve a list of links for the authenticated workspace. The list will be paginated and the provided query parameters allow filtering the returned links.---diff --git a/apps/docs/api-reference/endpoint/retrieve-a-list-of-projects.mdx b/apps/docs/api-reference/endpoint/retrieve-a-list-of-projects.mdxdeleted file mode 100644index 4054991a68..0000000000--- a/apps/docs/api-reference/endpoint/retrieve-a-list-of-projects.mdx+++ /dev/null@@ -1,5 +0,0 @@-----openapi: get /projects-og:title: "Get list of projects with the Dub.co API - API Reference"-description: Retrieve a list of projects for the authenticated user.----diff --git a/apps/docs/api-reference/endpoint/retrieve-a-list-of-tags.mdx b/apps/docs/api-reference/endpoint/retrieve-a-list-of-tags.mdxindex 7eef531148..c0211eb669 100644--- a/apps/docs/api-reference/endpoint/retrieve-a-list-of-tags.mdx+++ b/apps/docs/api-reference/endpoint/retrieve-a-list-of-tags.mdx@@ -1,5 +1,5 @@---openapi: get /tagsog:title: "Get list of tags with the Dub.co API - API Reference"-description: Retrieve a list of tags for the authenticated project.+description: Retrieve a list of tags for the authenticated workspace.---diff --git a/apps/docs/api-reference/endpoint/retrieve-a-list-of-workspaces.mdx b/apps/docs/api-reference/endpoint/retrieve-a-list-of-workspaces.mdxnew file mode 100644index 0000000000..f7acb7dee4--- /dev/null+++ b/apps/docs/api-reference/endpoint/retrieve-a-list-of-workspaces.mdx@@ -0,0 +1,5 @@+---+openapi: get /workspaces+og:title: "Get list of workspaces with the Dub.co API - API Reference"+description: Retrieve a list of workspaces for the authenticated user.+---diff --git a/apps/docs/api-reference/endpoint/retrieve-a-project.mdx b/apps/docs/api-reference/endpoint/retrieve-a-project.mdxdeleted file mode 100644index 71845b563a..0000000000--- a/apps/docs/api-reference/endpoint/retrieve-a-project.mdx+++ /dev/null@@ -1,5 +0,0 @@-----openapi: get /projects/{projectSlug}-og:title: "Get project info with the Dub.co API - API Reference"-description: Retrieve a project for the authenticated user.----diff --git a/apps/docs/api-reference/endpoint/retrieve-a-workspace.mdx b/apps/docs/api-reference/endpoint/retrieve-a-workspace.mdxnew file mode 100644index 0000000000..7840314660--- /dev/null+++ b/apps/docs/api-reference/endpoint/retrieve-a-workspace.mdx@@ -0,0 +1,5 @@+---+openapi: get /workspaces/{workspaceId}+og:title: "Get workspace info with the Dub.co API - API Reference"+description: Retrieve a workspace for the authenticated user.+---diff --git a/apps/docs/api-reference/endpoint/retrieve-number-of-links.mdx b/apps/docs/api-reference/endpoint/retrieve-number-of-links.mdxindex d258717ff8..6c2dc63e1e 100644--- a/apps/docs/api-reference/endpoint/retrieve-number-of-links.mdx+++ b/apps/docs/api-reference/endpoint/retrieve-number-of-links.mdx@@ -1,5 +1,5 @@---openapi: get /links/countog:title: "Get the links count with the Dub.co API - API Reference"-description: "Retrieve the number of links for the authenticated project. The provided query parameters allow filtering the returned links."+description: "Retrieve the number of links for the authenticated workspace. The provided query parameters allow filtering the returned links."---diff --git a/apps/docs/api-reference/errors.mdx b/apps/docs/api-reference/errors.mdxindex df2375ce33..b6ed9c133c 100644--- a/apps/docs/api-reference/errors.mdx+++ b/apps/docs/api-reference/errors.mdx@@ -49,7 +49,7 @@ Here is a list of all error codes Dub.co API returns:### `conflict`- **Status:** 409-- **Problem:** Another resource already uses the same identifier. For example, project slug must be unique.+- **Problem:** Another resource already uses the same identifier. For example, workspace slug must be unique.- **Solution:** Change the identifier to a unique value.### `invite_expired`diff --git a/apps/docs/mint.json b/apps/docs/mint.jsonindex ec5e6843c9..cb7a741656 100644--- a/apps/docs/mint.json+++ b/apps/docs/mint.json@@ -107,10 +107,10 @@]},{- "group": "Projects",+ "group": "Workspaces","pages": [- "api-reference/endpoint/retrieve-a-project",- "api-reference/endpoint/retrieve-a-list-of-projects"+ "api-reference/endpoint/retrieve-a-workspace",+ "api-reference/endpoint/retrieve-a-list-of-workspaces"]},{