You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sample body for Dynamic Redirects is wrong, APi specs sample for that endpoint is wrong too. Condition property inside rule show JSON: { "type": "query", "matchKey": "hello", "matchValue": "world" } for a query key "hello" with value "world". API query returns 400 for that body.
Correct "type" property's value for queries is "query-param", discovered using CLI commands.
Shlink version
4.x
PHP version
n/a
How do you serve Shlink
Docker image
Database engine
MySQL
Database version
5.7.39
Current behavior
Sample body for Dynamic Redirects is wrong, APi specs sample for that endpoint is wrong too. Condition property inside rule show JSON: { "type": "query", "matchKey": "hello", "matchValue": "world" } for a query key "hello" with value "world". API query returns 400 for that body.
Correct "type" property's value for queries is "query-param", discovered using CLI commands.
Please change to { "type": "query-param", "matchKey": "hello", "matchValue": "world" }
Expected behavior
Minimum steps to reproduce
The text was updated successfully, but these errors were encountered: