wso2 / wso2/api-platform

Policy support to modify query parameters in request/response path

Open
#663 0 comments 0 reactions 2 assignees View on GitHub

@thivindu is already working on this.

Since Jan 19, 2026.

Dominant language
Go
Stars
71
Forks
111
Avg merge
1d 14h
Merged PRs (30d)
110

Description

Problem

A separate policy support is needed to modify request/response query parameters. This is specifically needed for WebSub APIs as the WebSubHub understands the tasks by query parameter

Ex: hub.mode query parameter is needed when publishing data to the topic. WebSubHub validates whether hub.mode=publish before publishing it to the topic.

Proposed Solution
  • Policy engine should support a policy setQueryParameter and removeQueryParameter (To remove and add query parameters in request/response paths)
  • Policy engine(policy) has to process the envoy route path to generate the topic name (apiName_context_version_channel) which is used to maintain unique topics in WebSubHub
Alternatives

No response

Version

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.