#4378 missing docs for getting pull-request flags
Closed: Fixed 25 minutes ago by ngompa. Opened a year ago by mikem.

When I look at the api docs, I see

  • urls to set commit flags
  • urls to get commit flags
  • urls to set pull-request flags

However, I don't see a way documented to get the flags on a pull request. However, the obvious choice seems to work. E.g.

$ curl https://pagure.io/api/0/koji/pull-request/1331/flag

Metadata Update from @pingou:
- Issue tagged with: bug, doc, easyfix

a year ago

Hello @pingou, I am interested to work on this issue. Could you please guide how to get started with this issue?

You need to find in the code where that endpoint is being defined, then you can look into pagure/api/__init__.py and look for the method: api() and add there the code needed to have the endpoints missing show up in the documentation page :)

Let me know if you need more information!

Metadata Update from @ngompa:
- Issue set to the milestone: 5.11

32 minutes ago

Metadata Update from @ngompa:
- Issue set to the milestone: 5.10 (was: 5.11)

25 minutes ago

This was fixed with the 5.10.0 release. :smile:

Metadata Update from @ngompa:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

25 minutes ago

Login to comment on this ticket.

Metadata