feat(functions): expose HTTP-mode metadata and webhook invocation
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- Avg merge
- 5h 43m
- Merged PRs (30d)
- 85
Description
Follow-up to Kong/volcano-hosting#908.
Update the JavaScript SDK for function HTTP mode:
- expose
invocation_mode,http_auth_mode, and nullableopenapi_specon function types - preserve existing RPC invoke behavior
- add a raw HTTP-mode helper, or document direct
fetch(invoke_url + path), without wrapping the body in{payload} - do not attach Volcano credentials when a caller explicitly selects unauthenticated webhook access
- preserve repeated response headers where the runtime permits
- add contract tests for authenticated HTTP mode and public
http_auth_mode=none - document that webhook signatures must be verified by function code
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the JavaScript SDK's function type definitions and existing RPC invocation path, then trace how invoke_url and Volcano credentials are handled. Add HTTP-mode metadata and invocation behavior without changing RPC calls, and cover authenticated HTTP mode plus public http_auth_mode=none in contract tests. Update the documentation to explain direct webhook access and signature verification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, authentication, documentation
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100