Files
iuwqyir 3f56252298 change insight auth in docs (#5681)
## Problem solved

https://linear.app/thirdweb/issue/INSIGHT-480/improvements-required-for-insight-playground

Updated the authentication method in the Insight API documentation to use the `x-client-id` header instead of embedding the client ID in the URL path.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR updates the GitHub workflow and documentation related to the `insight` feature. It enhances the valid issue prefixes and provides clearer instructions for authentication in the API usage.

### Detailed summary
- Updated `VALID_ISSUE_PREFIXES` to include `INSIGHT`.
- Improved documentation in `apps/portal/src/app/insight/get-started/page.mdx`:
  - Corrected "clientId" to "client ID".
  - Added a note about using the `x-client-id` header for authentication.
- Modified the API fetch request to include headers for `client ID`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-11 00:47:32 +00:00
..
2024-09-05 18:23:33 -07:00
2024-12-11 00:47:32 +00:00
2024-09-23 16:16:38 +00:00
2024-09-23 16:16:38 +00:00
2024-11-04 22:07:21 -08:00
2024-12-10 05:15:25 +00:00

thirdweb docs

This Repository contains the source code for thirdweb Docs Website. This website is built using Next.js 13 ( App Router)

How to Contribute

GitHub Workflow

If you're new to GitHub, we recommend reading the GitHub Open Source Guide to learn how to fork a repository, create a branch, and submit a pull request.

Review Process

Once you've submitted your contribution, One of the thirdweb Developer will review your changes, provide feedback, and merge the pull request when it's ready.

Please let us know if you have any questions or need further assistance in your PR's comments.

Thank you for contributing to the thirdweb docs and being a part of our community!

Writing MDX

The docs are written in MDX, a markdown format that supports JSX syntax. This allows us to embed React components in the docs. See the GitHub Markdown Guide for a quick overview of markdown syntax.

We have a collection of Components that you can import and use in your MDX files. See the Styleguide page to see output of all the components. You can see the source code for those components in the src/app/styleguide/ folder

Installation

We use pnpm and bun. Make sure you have them installed on your machine to run the project locally.

pnpm i

Start local development server

pnpm dev