#2468 api: issues defaults to all, not open, despite what docs say
Closed: Fixed 6 years ago Opened 6 years ago by mikem.

https://pagure.io/api/0/ says the status parameter should default to Open for the issues listing, but it does not

$ curl -s https://pagure.io/api/0/koji/issues?since=2017-07-15| jq .issues[].status
"Open"
"Open"
"Open"
"Closed"
"Open"
"Open"
"Closed"
"Open"
"Closed"
"Open"
"Open"
"Closed"
"Open"
"Open"

not sure if docs bug or api bug ;)

Metadata Update from @pingou:
- Issue tagged with: bug

6 years ago

Metadata Update from @cverna:
- Issue tagged with: easyfix

6 years ago

If we believe the docs then it is an api bug :)

https://pagure.io/pagure/blob/master/f/pagure/api/issue.py#_439 seems to be guilty

Metadata Update from @cverna:
- Issue assigned to cverna

6 years ago

Metadata Update from @pingou:
- Issue close_status updated to: Fixed

6 years ago

Login to comment on this ticket.

Metadata