I am trying to call the GitHub endpoint https://api.github.com/repos/my-org/my-repo/actions/runs?created=>2022-08-01
I have tried all other available parameters (https://docs.github.com/en/rest/actions/workflow-runs#list-workflow-runs-for-a-repository) and the only parameter that doesn’t work is the date filter “created”.
It returns an error, which I narrowed down to the ‘greater than’ or ‘less than’ signs:
The query runs as-is in postman and in control hub I have tested using HTML encoding for the entire parameter string, HTML encoding just the < and > signs as well as moving the API parameters to the pipeline global parameters section. All with no luck. Does anyone know if it’s the API itself, the Resource URL field that can’t handle these characters, or something else?
Best answer by JasonMView original