Created
March 31, 2015 15:09
-
-
Save devigned/b1bbbd6570e8b355e499 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"swagger": "2.0", | |
"info": { | |
"title": "VSO Git API", | |
"description": "Interact with a Git repository hosted in VSO", | |
"version": "1.0-preview.1" | |
}, | |
"schemes": [ | |
"https" | |
], | |
"consumes": [ | |
"application/json" | |
], | |
"produces": [ | |
"application/json" | |
], | |
"paths": { | |
"/pullrequests": { | |
"get": { | |
"summary": "Get a list of pull requests", | |
"externalDocs": { | |
"description": "API Reference", | |
"url": "https://www.visualstudio.com/integrate/api/git/pull-requests" | |
}, | |
"parameters": [ | |
{ | |
"name": "api-version", | |
"in": "query", | |
"description": "Version of the API to use.", | |
"required": true, | |
"type": "string" | |
}, | |
{ | |
"name": "status", | |
"in": "query", | |
"description": "Return pull requests with a specific status.", | |
"type": "string", | |
"default": "Active" | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "A collection of pull requests", | |
"schema": { | |
"type": "array", | |
"items": { | |
"format": "string" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment