GI-SP API Client
Release phasesThis extension ships in phases — narrow scope first, expanded protocols in later releases:
Why this extension?
Quick start
FeaturesHTTP requests (REST + SOAP)
Authentication (6 methods)
Optional Collections & environments
License & activation
Response viewer
Code generation
History
Data storage
Commands (Command Palette →
|
| Command | What it does |
|---|---|
GI-SP API Client: Open |
Open the main panel |
GI-SP API Client: New Request |
New request tab |
GI-SP API Client: Save Request |
Save current request to a collection |
GI-SP API Client: New Collection |
Create a collection |
GI-SP API Client: New Environment |
Create an environment |
GI-SP API Client: Import Collection |
Import JSON / Postman v2 |
GI-SP API Client: Export Collection |
Export a collection to JSON |
GI-SP API Client: Clear History |
Delete all history entries |
GI-SP API Client: View License |
Open the License Status panel |
GI-SP API Client: Reset Activation |
Clear cached license; useful when switching machines |
Settings
| Setting | Default | Description |
|---|---|---|
giSpApi.requestTimeout |
30000 |
Request timeout in milliseconds |
giSpApi.maxHistoryEntries |
500 |
Maximum history entries kept |
giSpApi.followRedirects |
true |
Follow HTTP 3xx redirects |
giSpApi.sslVerification |
true |
Verify SSL certificates |
giSpApi.maxResponseSize |
10485760 |
Max response body size (bytes; default 10 MB) |
giSpApi.licenseServerUrl |
(build default) | Web client that answers licence questions. Only needed if you run your own copy |
giSpApi.licenseServerToken |
(build default) | Shared token for that server — must match one of its LICENSE_PROVIDER_TOKENS entries |
Renewing an expired trial by signing in
When the one-month trial ends you can either request an activation code from the publisher, or — if the build is configured for it — sign in with the web client to renew this copy for one day at a time.
Signing in opens your own browser, where you approve a short code shown in the extension. No password is ever entered in the extension, which is the point: collecting one in a webview would bypass the website's multi-factor and leave the extension holding a credential it has no business holding. The flow is RFC 8628-shaped — the pattern a television uses to sign into a streaming service.
What a sign-in is worth depends on your subscription, not on the sign-in succeeding. A Pro subscription restores full access; a free account gets the restricted role. If signing in alone were enough, anyone who could register would have the extension indefinitely, one day at a time.
A renewal never shortens a licence you already hold, and never outlives the subscription it came from.
What a new account gets
A fresh free account activates the extension at the restricted tier —
requests, responses and collections. Pro restores history, environments,
{{variables}} and import/export.
Enabling it
The extension needs only the server address, which is built in. The web deployment it points at must opt in:
LICENSE_PUBLIC_DEVICE_GRANT=true
That is off by default, so a self-hosted install never accepts strangers.
No shared token is involved. One inside a published .vsix would not be a
secret — every copy carries the same bytes — so requiring one would buy no
security while breaking the feature the first time it was forgotten. A token
is optional attribution for a self-hosted web client that wants its access
revocable by name, and is injected at build time rather than committed:
export GISP_LICENSE_SERVER="https://your-deployment.example.com"
export GISP_LICENSE_TOKEN="<matches a LICENSE_PROVIDER_TOKENS entry>"
npm run build && npx vsce package
Privacy & security
- No telemetry. No analytics. No phone-home except the one-time activation check.
- OAuth2 tokens stored in OS keychain via VS Code SecretStorage (Windows Credential Manager, macOS Keychain, Linux Secret Service).
- PKCE (S256) + state on the Authorization Code flow — protection against code interception and CSRF.
- Localhost-only redirect URIs on OAuth2 callbacks.
- Content Security Policy enforced on every webview.
- History never stores auth credentials — auth is stripped before persisting.
- Website sign-in never sees your password. The extension receives an entitlement answer, not credentials, and the approval happens in your own browser.
Requirements
- Visual Studio Code 1.85 or newer
- Internet access on first activation (then offline-friendly for 24h)
Documentation
| 📖 | User Guide — how to send requests, set up auth, use collections, etc. |
| 📝 | Release notes — what changed in each version |
FAQ
Q: How do I try it without contacting the publisher?
A: Click Activate Trial Version on first launch. You get 30 days of user-role access, instantly, no email exchange. One trial per machine — after it expires, you'll need a real code.
Q: Why do I need an activation code (after the trial)? A: This extension is owner-distributed. You request a code from the publisher (the email arrives within minutes). The activation is valid for 30 days and can be extended.
Q: Why two codes (Admin vs User)? A: Admin gets the full sidebar (Collections, History, Environments). User gets Collections only — useful when you want to share saved requests with teammates but keep their own request history separate.
Q: I activated my environment with OAuth2 but my request shows "No Auth" in the Auth tab — why does it still work? A: Environment-level auth auto-applies when a request's own auth is "No Auth". An Env badge appears in the Auth tab while this is happening. Set any auth on the request itself to override.
Q: Does this work offline? A: Yes — for 24 hours after the last successful license check. After that, the activation gate reappears and you'll need network connectivity to re-verify.
Q: Does my data leave my machine?
A: No. All requests, responses, and collections stay local at C:\RestApiTestData\gi-sp-api-client-data.json. OAuth2 tokens go to the OS keychain (never the file). The only network calls this extension makes (other than your own API requests) are: (1) a small activation check to a Google Apps Script the publisher controls — sending only machine ID, hostname, and OS username; and (2) for trial activation only, a one-time ipapi.co lookup to record country / city of the activation.
Q: Where's GraphQL? A: Hidden in Phase 1.5 (this release). Scheduled for Phase 2 — the backend code is already in place; only the UI dropdown is gated.
Q: Will Postman collections import?
A: Yes — Import Collection accepts Postman v2 JSON. Note: complex Postman features (auth, folder hierarchy, environments) are partially mapped; raw JSON bodies and basic structure work.
Q: Can I extend my 30-day window?
A: Yes — email the publisher at spdynamics365@gmail.com with your machine ID (visible in the License Status panel) and ask for an extension. The publisher updates it on their side; your access continues without you having to re-activate.
License
MIT © GI-SP (Sonu Panwar)
Issues, ideas, contributions
Open an issue or PR on the project repository. For activation issues, license extensions, or any licensing questions, email the publisher at spdynamics365@gmail.com.



