Document responseType option for useFetchClient in plugins#3081
Merged
Document responseType option for useFetchClient in plugins#3081
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Collaborator
Author
|
LGTM from a docs content POV (style + layout). |
Documents useFetchClient hook, getFetchClient utility, and responseType option for making authenticated HTTP requests from the admin panel. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add sending data with post/put, request options table (params, headers, signal, validateStatus, responseType), query params example, error handling with FetchError/isFetchError, FormData tip, and auto token refresh note. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…adings Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Collaborator
Author
|
Now completely ready to merge! 🚀 |
pwizla
added a commit
that referenced
this pull request
Apr 22, 2026
…3090) * Document responseType option for useFetchClient in plugin development * Add admin fetch client page to plugins development Documents useFetchClient hook, getFetchClient utility, and responseType option for making authenticated HTTP requests from the admin panel. * Add fetch client to Admin Panel API sidebar section * Add fetch client to Admin Panel API overview table and cards * Replace inline fetch client docs with link to dedicated page * Expand fetch client page: post/put examples, options, error handling Add sending data with post/put, request options table (params, headers, signal, validateStatus, responseType), query params example, error handling with FetchError/isFetchError, FormData tip, and auto token refresh note. * Update pass-data guide: link to fetch client instead of Axios * Add admin panel error handling tip to error handling page * Update LLMs files * Improve formatting * Fix Axios example in pass-data guide, add missing code block title * Restructure fetch client page: task-oriented outline with parallel headings * Fix getFetchClient anchor after fetch client page restructure * Move fetch client page in the sidebar * Slightly update table order for available actions * Update LLMs-code.txt * Move fetch client page last * Update pagination after last move --------- Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates documentation based on strapi/strapi#25974.
Since documentation was missing for useFetchClient and getFetchClient, this PR also updates the Plugins Development > Admin Panel API section by adding a new "fetch client" page.