Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any documentation? #6

Open
GaTechThomas opened this issue Apr 28, 2021 · 4 comments
Open

Any documentation? #6

GaTechThomas opened this issue Apr 28, 2021 · 4 comments

Comments

@GaTechThomas
Copy link

This seems to be a useful set of tools. Does it have any documentation describing how to use each API?

@dalemyers
Copy link
Collaborator

Not at this point. It more or less follows the existing API documentation though: https://docs.microsoft.com/en-us/rest/api/azure/devops/?view=azure-devops-rest-6.1

So, for example, if you wanted to download an artifact from a build, the documentation for that is here: https://docs.microsoft.com/en-us/rest/api/azure/devops/build/artifacts/get%20artifact?view=azure-devops-rest-6.1

You can see that the API path is _apis/build/builds/{buildId}/artifacts. If you have a look at the builds module in here (https://github.com/microsoft/simple_ado/blob/main/simple_ado/builds.py) you can see that there is a corresponding download_artifact call.

Note: This is not intended to be a direct replacement for the existing Azure SDK. That can be found here: https://github.com/microsoft/azure-devops-python-api That SDK is fully documented. This is intended to just be a light replacement that is simpler to use.

@imWildCat
Copy link

Is it worth generating docs using sphinx, given that the code of this project has detailed docstring?

@dalemyers
Copy link
Collaborator

Almost definitely! All PRs are encouraged 😉

@imWildCat
Copy link

I can take a look on doc generation.

Let's leverage GitHub pages?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants