Skip to content

Strapi Client library#2373

Merged
pwizla merged 5 commits into
mainfrom
dev/sdk-js
Feb 7, 2025
Merged

Strapi Client library#2373
pwizla merged 5 commits into
mainfrom
dev/sdk-js

Conversation

@maccomaccomaccomacco

@maccomaccomaccomacco maccomaccomaccomacco commented Feb 3, 2025

Copy link
Copy Markdown
Contributor

What does it do?

This PR introduces the documentation for the JavaScript SDK Strapi Client library.

@vercel

vercel Bot commented Feb 3, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 7, 2025 4:09pm

@github-actions github-actions Bot added the temp - port to docs-next (Temporary label) The content of this PR should be ported to docs-next.strapi.io label Feb 3, 2025

@pwizla pwizla left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @maccomaccomaccomacco

As discussed with the team on Notion, I think the best approach for now is to have details in the SDK README until we incorporate into official docs a more extensive SDK reference.

I'd suggest you keep the Getting Started, Installation, Basic Configuration, and Authentication parts, plus maybe a basic example as described in the general fetch section:

const result = await strapiSdk.fetch('articles', { method: 'GET' });

Then add a :::strapi callout to point users to the SDK README for more.

This way the AI bot will know the basics about the topic.

WDYT, @innerdvations and @Convly? 🤔

@pwizla pwizla self-assigned this Feb 5, 2025
@pwizla pwizla added source: Dev Docs PRs/issues targeting the Developer Docs pr: new content PRs for new product features or new documentation sections labels Feb 5, 2025
@pwizla pwizla added this to the 5.6.0 milestone Feb 5, 2025
@innerdvations

Copy link
Copy Markdown
Collaborator

Sounds good to me, that will keep the information accurate in case we have to make any changes before the official release

@pwizla pwizla changed the title Init javascript sdk JavaScript SDK Feb 7, 2025
@pwizla pwizla merged commit 387cf76 into main Feb 7, 2025
@pwizla pwizla deleted the dev/sdk-js branch February 7, 2025 16:11
@pwizla pwizla changed the title JavaScript SDK Strapi Client library Feb 13, 2025
pwizla added a commit that referenced this pull request Feb 18, 2025
@pwizla pwizla removed the temp - port to docs-next (Temporary label) The content of this PR should be ported to docs-next.strapi.io label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: new content PRs for new product features or new documentation sections source: Dev Docs PRs/issues targeting the Developer Docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants