GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(api): allow integration token for snippets read routes by antonreshetov · Pull Request #970 · massCodeIO/massCode

Conversation

@antonreshetov

@antonreshetov antonreshetov commented Oct 7, 2026

Copy link
Copy Markdown
Member

closes #967

Since v5.11.0 the local API guard accepts only the per-launch session token, so the Raycast and VS Code extensions could no longer read snippets.

  • GET /snippets and GET /snippets/:id now also accept the Integration API token (only when API integrations are enabled). All other routes still require the session token.
  • Snippet creation from extensions goes through the existing POST /captures, so no write routes are opened.
  • Note: the same token that the web clipper uses now also grants read access to snippets.

The VS Code extension is updated in massCodeIO/assistant-vscode to send the token and fetch fragment values via GET /snippets/:id.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@antonreshetov
fix(api): allow integration token for snippets read routes
f2c2e8c
@antonreshetov antonreshetov mentioned this pull request Oct 7, 2026
fix: restore compatibility with massCode v6 local API massCodeIO/assistant-vscode#24
Merged
@antonreshetov
antonreshetov merged commit 63cecb0 into main Oct 7, 2026
@antonreshetov
antonreshetov deleted the fix/api-integration-snippets-967 branch October 7, 2026 01:52
@antonreshetov antonreshetov mentioned this pull request Oct 7, 2026
fix: support massCode v6 local API massCodeIO/assistant-raycast#4
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Bug]: Raycast and VS Code extensions can't connect since v5.11.0

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@antonreshetov
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.