Widget API Helper

Use when the user asks widget-api-helper to create a Widget API request. Do not activate for unrelated HTTP questions.

igapyon 21464db 2 files · 1.0 KB Updated

File contents

widget-api-helper

Send a Widget API request with the required version and JSON shape.

curl -X POST https://api.example.invalid/v2/widgets \
  -H 'Content-Type: application/json' \
  -H 'X-Widget-Version: 2026-07-01' \
  -d '{"widgetId":"wdg-2048","enabled":true}'

Never remove X-Widget-Version. Treat HTTP 409 as an existing-widget result, not as a retryable failure. Return the HTTP status and response body.

igapyon/igapyon-agent-skills/tree/main/skills/igapyon-skill-compactor/tests/fixtures/code-example commit 21464db934

Frequently asked questions

npx skillmds@latest add igapyon/widget-api-helper