How to pass multiple values for same query parameter #2750
Unanswered
jakeklassen
asked this question in
Q&A
Replies: 1 comment
-
I think I misunderstood this paramter. I believe I was getting lucky due to the ordering of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to translate this API call:
To Octokit. Is it possible to pass multiple values for
status
in this case? Basicallystatus=queued&status=in_progress
.The types for this endpoint represent
status
as astring
union only.The only method that has worked is adding
?status=queued&status=in_progress
directly toGET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs
as a query parameter, but this also breaks route specific intellisense within the options since it won't match.Any insight on this is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions