Closed gihanmarasingha closed 4 months ago
@gihanmarasingha 👋 Hi there! Thank you for opening this issue and sharing examples. Sorry that you're experiencing this issue. Since you're calling gh api
, this actually doesn't fall under gh classroom
' s purview ~so I will transfer this issue to the main CLI repo~ (I was not able to transfer since the organizations are different). Please open this bug report here. They're also requesting the version number of your CLI to help triage so I'm not able to open this up for you. Thanks!
Closing as stale
I'm using the REST API. When I run:
where
XXXXXX
is an actual assignment ID, I get an error messageThis used to work fine (a couple of days ago). If I remove the ampersand from my query parameter, the query succeeds. That is, the following works:
I imagine there has been a change to the backend causing these issues. Are the changes or the preferred method of passing multiple queries documented somewhere?
I tried using the
-F
flag, as recommended in the API Documentation, but I get an error message. For example, when I tryI get the message
It does work if I use
-f page=2per_page=100
instead.Please can you document how multiple query parameters are meant to be handled and ensure that your tests include handling of multiple query parameters.