Skip to content

Commit db9fdc1

Browse files
committed
chore: update API naming
1 parent 99bcaa6 commit db9fdc1

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/components/APICards.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,21 @@
2323
<li
2424
class="relative flex list-none flex-col gap-4 rounded-2xl bg-kinde-grey-50 p-12 dark:bg-kinde-grey-900"
2525
>
26-
<h3>Kinde Frontend API</h3>
26+
<h3>Kinde Account API</h3>
2727
<p>
28-
For managing the currently signed-in user, includes getting their profile and revoking tokens
28+
For managing the currently signed-in user, includes e.g their profile, roles, permissions, billing info and revoking tokens
2929
</p>
3030
<p
3131
aria-hidden="true"
3232
class="mt-12 text-inherit underline decoration-inherit underline-offset-[6px] transition-all hover:text-current"
3333
>
34-
Explore the Frontend API reference
34+
Explore the Account API reference
3535
</p>
3636
<a
3737
href="/kinde-apis/frontend/"
3838
class="absolute inset-0 rounded-2xl transition duration-200 hover:ring-2 hover:ring-black focus:border-0 focus:shadow-none focus:ring-2 focus:ring-black focus-visible:overflow-hidden focus-visible:border-none focus-visible:shadow-none focus-visible:outline-black focus-visible:ring-2 focus-visible:ring-black dark:hover:ring-white dark:focus:ring-white dark:focus-visible:outline-white dark:focus-visible:ring-white"
3939
>
40-
<span class="sr-only">Go to the Kinde Frontend API reference docs</span>
40+
<span class="sr-only">Go to the Kinde Account API reference docs</span>
4141
</a>
4242
</li>
4343
</ul>

src/pages/kinde-apis.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import APICards from "@components/APICards.astro";
66
<StarlightPage
77
frontmatter={{
88
title: "Kinde APIs",
9-
description: "Use the Management API for account admin tasks, or the Frontend API for user profile and token management.",
9+
description: "Use the Management API for account admin tasks, or the Account API for current user and token management.",
1010
template: "splash",
1111
editUrl: false,
1212
page_id: "31b91e66-7f86-4fd9-b3c7-b4d0a2a86d6e"

src/pages/kinde-apis/frontend.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ import ScalarApiReference from "@components/ScalarApiReference.astro";
55

66
<StarlightPage
77
frontmatter={{
8-
title: "Kinde Frontend API",
9-
description: "The frontend API is for managing the currently signed-in user. It includes getting their profile and revoking tokens",
8+
title: "Kinde Account API",
9+
description: "For managing the currently signed-in user, includes e.g their profile, roles, permissions, billing info and revoking tokens",
1010
template: "splash",
1111
editUrl: false,
1212
page_id: "687ab2b7-55b1-491a-8376-19022c6fd16c"
1313
}}
1414
>
1515
<div class="not-content frontend-api">
1616
<span hidden aria-hidden="true" id="docsearch-lvl0">API Reference</span>
17-
<span hidden aria-hidden="true" id="docsearch-lvl1">Kinde Frontend API reference</span>
17+
<span hidden aria-hidden="true" id="docsearch-lvl1">Kinde Account API reference</span>
1818
<ScalarApiReference specURL={import.meta.env.PUBLIC_KINDE_FRONTEND_API_SPEC_URL} />
1919
</div>
2020
</StarlightPage>

0 commit comments

Comments
 (0)