Code Monkey home page Code Monkey logo

appveyor-postman's Introduction

appveyor-postman

This repository contains a Postman collection and environment file that can be used to exercise the AppVeyor API.

Video

A short video explaining what this is, and how to use it can be found here:

Introduction to the AppVeyor Postman Collection

Getting Started by importing from Link

  1. Open Postman

  2. Click Import

  3. Click Import From Link

  4. Paste the following Link https://raw.githubusercontent.com/gep13/appveyor-postman/master/AppVeyor.postman_collection.json

  5. Click Import

  6. Click the Environment Options gear at the top right hand corner of Postman

  7. Click Manage Environments

  8. Click Add

  9. Add a key for each of the following:

    • accountName
      • The name of the account that hosts the AppVeyor project you want to work with
    • projectSlug
      • The identifier for the AppVeyor project you want to work with
    • authenticationToken
      • The API Token of the user that you want to use to access the API. Log into ci.appveyor.com and then select the drop down list at the top right hand corner and click API Token.
    • recordsPerPage
      • The number of records to return in historical queries
  10. Click Add

  11. Close the Manage Environments window

  12. In the collections list on the left hand side, expand AppVeyor then Projects and Builds

  13. Double click on Get Projects request

  14. In the Environments drop down list at the top right hand corner of Postman, select the Environment that you named earlier

  15. Click send

  16. If everything has worked, you should get a list of projects for the account associated with the API Token that you used

Getting Started by cloning Repository

To get started with this collection and test that everything is working, after cloning this repository, follow these steps:

  1. Open Postman

  2. Click Import

  3. Click Choose Files

  4. Browse to the location where you cloned the repository to

  5. Select the AppVeyor.postman_collection.json file and click Open

  6. Click the Environment Options gear at the top right hand corner of Postman

  7. Click Manage Environments

  8. Click Import

  9. Click Choose Files

  10. Browse to the location where you cloned the repository to

  11. Select the AppVeyor Empty.postman_environment.json file and click Open

  12. Click the newly imported Environment

  13. Edit the name of the Environment as required (for example, to the name of the AppVeyor project you want to work on)

  14. Fill in the required information:

    • accountName
      • The name of the account that hosts the AppVeyor project you want to work with
    • projectSlug
      • The identifier for the AppVeyor project you want to work with
    • authenticationToken
      • The API Token of the user that you want to use to access the API. Log into ci.appveyor.com and then select the drop down list at the top right hand corner and click API Token.
    • recordsPerPage
      • The number of records to return in historical queries
  15. Click Update

  16. Close the Manage Environments window

  17. In the collections list on the left hand side, expand AppVeyor then Projects and Builds

  18. Double click on Get Projects request

  19. In the Environments drop down list at the top right hand corner of Postman, select the Environment that you named earlier

  20. Click send

  21. If everything has worked, you should get a list of projects for the account associated with the API Token that you used

Feel free to try out the other requests that are included within this collection.

appveyor-postman's People

Contributors

gep13 avatar

Watchers

 avatar  avatar

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.