Skip to content
Snippets Groups Projects
Commit 508b5f3a authored by steven.liatti's avatar steven.liatti
Browse files

Fix bug with limit of 20 first projects forks (see...

Fix bug with limit of 20 first projects forks (see https://docs.gitlab.com/ee/api/README.html#pagination)
parent c7d81582
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ token = sys.argv[1]
project_id = sys.argv[2]
base_url = 'https://gitedu.hesge.ch/api/v4/projects/'
params = {'simple': 'true'}
params = {'simple': 'true', 'per_page': 100}
headers = {'PRIVATE-TOKEN': token}
repositories = requests.get(base_url + project_id + '/forks', params=params, headers=headers).json()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment