Coder Social home page Coder Social logo

azuredevops-postman-collections's Introduction

Azure DevOps Postman Collections

Inspired by @Jeremy Thake's Microsoft Graph Collection

The collections allows you to test common Azure DevOps Rest APIs from within Postman.

Image of Postman

Setup

To setup the Postman collections follow these steps:

  1. Download and register for Postman from their website or from chocolatey.org.

  2. Click File | Import ....

  3. Select Import From Link.

  4. Paste the following two URLs and click Import after each.

    https://raw.githubusercontent.com/hkamel/azuredevops-postman-collections/master/Azure%20DevOps%20v5.0.postman_collection.json

    https://raw.githubusercontent.com/hkamel/azuredevops-postman-collections/master/Azure%20DevOps%20Environment.postman_environment.json

    You should now see the Azure DevOps v5.0 collection on the left had side Collections pane.

  5. Click on the No environment drop down in top right hand corner.

  6. Select Azure DevOps Environment.

  7. Click the eye icon to the the right and then click Edit.

  8. Enter in to the current (not initial) variables your Azure DevOps organization name: Organization, AccessToken ad Api-version.

    • By default, the requests will go to the cloud hosted Azure DevOps. If you want to use it for an on-prem instance, change the coreServer URL and then update feedServer, graphServer and releaseServer as required. If they are all the same, you can update coreServer and then update the others to {{coreServer}}
  9. Select Update. Close the Manage Environments dialog.

    IMPORTANT: It is not recommended to use production user accounts as this information is stored directly in Postman. This is also not a recommended approach for obtaining access tokens in production and should only be used for testing purposes.

  10. Expand the Core | Projects folder and click on List all projects. Then Click the Send button.

You are now up and running with Azure DevOps postman collections.

Contribute

You can contribute to this project by forking the repo and following the setup steps to import those files. When you've made your contributions in Postman editor, use the File | Export to overwrite the file in your forked branch. Then simply submit the forked branch as a PR back to this repo.

azuredevops-postman-collections's People

Contributors

hkamel avatar josh-k-cb avatar omarv74 avatar sam-rowe avatar taqabubaker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

azuredevops-postman-collections's Issues

Feature Request: Git- Commits APIs

Add Git- Commits APIs

  • Get | Retrieve a particular commit.
  • Get Changes | Retrieve changes for a particular commit.
  • Get Commits | Retrieve git commits for a projectParameters that use the searchCriteria prefix in their name can be specified without it as query parameters, e.g. searchCriteria.$top -> $top
  • Get Commits Batch | Retrieve git commits for a project matching the search criteria
  • Get Push Commits | Retrieve a list of commits associated with a particular push.

https://docs.microsoft.com/en-us/rest/api/azure/devops/git/commits?view=azure-devops-rest-5.1

Not an issue, small query on the API testing

New to the field of Azure devops, so I started to test the API using postman manually. I am planning to do the API service testing automatically and create pipeline in azure devops. So how do i integrate the postman API's in azure devops pipeline. Can anyone help me on this please.

Feature Request: Git- Repositories APIs

Add Git- Repositories APIs

  • Create| Create a git repository in a team project.
  • Delete | Delete a git repository
  • Delete Repository From Recycle Bin | Destroy (hard delete) a soft-deleted Git repository.
  • Get Deleted Repositories | Retrieve deleted git repositories.
  • Get Recycle Bin Repositories | Retrieve soft-deleted git repositories from the recycle bin.
  • Get Repository | Retrieve a git repository.
  • Get Repository With Parent | Retrieve a git repository.
  • List | Retrieve git repositories.
  • Restore Repository From Recycle Bin | Recover a soft-deleted Git repository. Recently deleted repositories go into a soft-delete state for a period of time before they are hard deleted and become unrecoverable.
  • Update| Updates the Git repository with either a new repo name or a new default branch.

https://docs.microsoft.com/en-us/rest/api/azure/devops/git/repositories?view=azure-devops-rest-5.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.