Add missing API endpoints from packit investigation

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
Michal Konecny 2023-12-07 11:46:39 +01:00 committed by zlopez
parent f04ec71ba6
commit 9d481adaa9

View file

@ -26,7 +26,8 @@ More information about endpoints could be found in `API documentation
- ``/api/0/projects`` lists all the projects
- ``/api/0/<namespace>/<package_name>`` returns all the info about project
- ``/api/0/<namespace>/<package_name>/c/<commit_hash>/flag`` adds/edits flag on commit
- ``/api/0/<namespace>/<package_name>/git/modifyacls`` modifies ACL for the git repository
- ``/api/0/<namespace>/<package_name>/git/branches`` modifies ACL for the git repository
- ``/api/0/<namespace>/<package_name>/git/modifyacls`` lists all branches in the git repository
- ``/api/0/<namespace>/<package_name>/hascommit`` checks whether a specified user has commit
access to repository
- ``/api/0/<namespace>/<package_name>/pull-request/new`` opens a new pull request