🚧 inital export with issues and wiki pages
This commit is contained in:
parent
7c4e1c6d5f
commit
57dd12de07
3 changed files with 61 additions and 2 deletions
|
|
@ -47,3 +47,21 @@ def get_project_details(args):
|
|||
raise KeyError(f"Project {args.project} not found")
|
||||
|
||||
print(json.dumps(project))
|
||||
|
||||
|
||||
def get_issues(args):
|
||||
project_id = args.project_id
|
||||
url = gitlab_url(
|
||||
f"/projects/{project_id}/issues?pagination=offset&per_page=500&"
|
||||
)
|
||||
|
||||
response = get(url, args)
|
||||
|
||||
return response
|
||||
|
||||
|
||||
def get_wiki(args):
|
||||
url = gitlab_url(f"/projects/{args.project_id}/wikis?with_content=1")
|
||||
response = get(url, args)
|
||||
|
||||
return response
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue