docs: [gacha] add hidden Gacha v2 API docs - #950
Draft
tpompon wants to merge 1 commit into
Draft
Conversation
Adds the Gacha /v2 API (Collector Crypt, Phygitals, Beezie) to the site as hidden pages: an OpenAPI 3.1 spec, 32 endpoint wrappers and five guide pages (overview, conventions, packs, transaction gateway, platforms). Nothing is added to docs.json navigation or llms.txt; pages are reachable by direct URL only until the product launches. Source-verified against jup-ag/gacha-api @ ac49b04. Base URL is https://api.raccoons.dev/gacha/v2. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ScwwAFeU8LkfoJTPKQ5CeA
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
tpompon
marked this pull request as draft
September 3, 2026 11:51
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.
Summary
Adds hidden documentation for the Gacha
/v2API: one normalised surface over Collector Crypt, Phygitals and Beezie (pack catalogue, machines, prize inventory, wallet collectibles, marketplace, buyback, rewards, transaction gateway), consumed by Jupiter mobile and web.Every page is
hidden: trueand reachable by direct URL only. Nothing is added todocs.jsonnavigation orllms.txt, following the Portfolio v2 precedent (#949). The product is not public yet; un-hiding at launch is frontmatter plus nav.Content is source-verified against
jup-ag/gacha-api@ac49b04(docs/openapi.json, whichpnpm openapi:synckeeps in sync with the routes, plus the route code for error codes and cache rules).Changes
openapi-spec/gacha/gacha.yaml: OpenAPI 3.1 spec with the 32/v2operations across 10 tags. Generated from the API repo's spec:/v2prefix stripped, unusedV1*schemas pruned, server set tohttps://api.raccoons.dev/gacha/v2,security: [], tag descriptions added, three missing operation descriptions filled in, em dashes and American spelling removed.api-reference/gacha/*.mdx: 32 endpoint wrappers (Packs, Machines, Inventory, Collections, Marketplace, Buyback, Transactions, Pulls, Users, Rewards), each withtitle,description, hand-writtenllmsDescriptionandhidden: true.sell-asset.mdxcarriesdeprecated: trueand a warning pointing to the buyback endpoints.gacha/index.mdx: overview, base URL, quickstart curls, endpoint index grouped by area.gacha/conventions.mdx: identifiers, both pagination envelopes, sorting, full error-code table (incl.451 region_restricted,413,414), response headers, geo-blocking, cache tiers and stale-on-error behaviour.gacha/packs.mdx: curated catalogue vs raw machines feed,unavailableReason, retired packs, live pricing, filtering, categories, capability-based assets.gacha/transactions.mdx: build, sign, submit contract with a complete@solana/web3.jsTypeScript example, status polling, batch submit, and the purchase/open two-step.gacha/platforms.mdx: capability matrix and per-platform notes..claude/rules/product-learning.md: new# Jupiter Gacha APIsection (sources, undocumented behaviour, conventions, spec quirks, launch to-do)..claude/rules/decisions.md:[2026-09-03] Gacha v2 docs added as hidden pages.Unchanged:
docs.json,llms.txt(regenerated, no diff), every existing page.Linear Issues
None. Skipped by request.
Checklist
node generate-llms-from-docs.jsrun;llms.txtunchanged (hidden pages are excluded)mint openapi-check openapi-spec/gacha/gacha.yamlpassesmint broken-linksreports zero broken linksmint validatepassestitle,description,llmsDescriptionandhidden: truedocs.jsonnot touched; no redirects needed (nothing moved).claude/rules/updated (product learnings + IA decision)developer-platform: not applicable while hidden. Do it when Gacha launches publicly.Notes for reviewer
https://api.raccoons.dev/gacha/v2, notapi.jup.ag, per Thomas. The style guide'sapi.jup.agrule does not apply to this product./v2prefix assumption: spec paths are written without/v2(e.g./machines) because the server URL already carries it, same as the Portfolio v2 spec. This assumes the gateway maps/gacha/v2/<path>onto the service's/v2/<path>. If the gateway forwards the full path instead, the server URL in the spec needs adjusting./v2surface has nosecuritySchemes; the spec declaressecurity: []and the pages say so. Money-moving endpoints are geo-blocked (451 region_restricted).POST /marketplace/{asset}/sellis documented as deprecated (badge + warning) in favour ofPOST /buyback/{asset}andPOST /buyback.openapi-checkpasses). The tag list, server,securityand three missing descriptions are patched in this copy only. Worth a follow-up ingacha-apiso future syncs carry them.gacha/index.mdx, thengacha/conventions.mdx, then spot-check a couple of reference pages (get-packs,purchase-machine,submit-transactions) inmint dev.🤖 Generated with Claude Code
https://claude.ai/code/session_01ScwwAFeU8LkfoJTPKQ5CeA