azure-devops-python-api
azure-devops-python-api copied to clipboard
how to access a wiki page in a project
Need to access the attachment on the wiki page in a project. Is there any api for that?

I know its been more than a year but I managed to download all attachments from wiki by:
- Using connection.client.get_all_wikis() to get all wikis
- Get ID, Mapped_path and project_id for your wiki
- Use git_client.get_item_zip() to download wiki-repo and there you have your attachments
Something like this: response = git_client.get_item_zip( repository_id=items['id'], path=items['mapped_path'], project=items['project_id'], download=True )
Or at least I managed to download the .attachment folder :) /Victor