Visual Studio Online Load Testing Git / Version Control Testing Build and release Analytics Team Collab Agile Planning / Work items Test Mgmt
Integration is enabling teams to use a broader set of tools and services to plan, develop, build, test, and deliver software
Visual Studio Online OAuth2 REST APIs CustomAzureNativeWeb Third-Party Cloud Services MobileStore ServicesApps Services Hooks.NET Client OM TFS Java SDK
Visual Studio Online REST APIs
Available APIs Build Work item tracking Version control Git Test management Team room Service hooks Account and profile Collection, project, and team
Method GET // read POST // create PATCH // update DELETE // delete PUT // replace URL Most common Other // for account and profile // for account-level APIs (e.g. “get project collections”) Headers Accept Accept: application/json;api-version=1.0-preview Auth Authorization: Basic [user name:password] (Base64 encoded) Authorization: Bearer [access token] Content-type (for POST, PATCH, PUT) Content-type: application/json Body JSON resource (when method is POST, PATCH, PUT)
Code 2xx // successful 400 // bad request 403 // authentication issue 404 // invalid URL; not visible to authenticated user Header Content-type application/json; charset=utf-8 Body JSON string (for most methods, except for DELETE)
Note: assumes a base URL of
Visual Studio Online Developer checks in code Tester opens a bug A build fails
Available services and events Consumer Services AppVeyor Campfire Flowdock HipChat Jenkins Kato MyGet Trello UserVoice Zendesk Available events Build completed Code checked in (TFVC), code pushed Work item created/updated/commented on Connector Services Azure Service Bus Azure Storage Web hooks Zapier
started/get-started-service-hooks-events-vsi
{ "id": "698261b2-8a2a-47d5-ae40-5ea8fd7f734b", "eventType": "build.complete", "publisherId": "tfs", "message": { "text": "My First Project Build FabrikamAppsBuild_ completed (Status: Successfully Completed)", "html": "My First Project Build FabrikamAppsBuild_ completed (Status: Successfully Completed)", "markdown": "My First Project Build [FabrikamAppsBuild_ ]( 81ed-11db &builduri=vstfs%3a%2f%2f%2fBuild%2fBuild%2f7) completed (Status: Successfully Completed)" }, "resource": { "id": 7, "name": "FabrikamAppsBuild_ ", "url": " }, "createdDate": " T04:33:48.106Z" }
Travis CI Team City Heroku Rational ClearCase/ClearQuest Jenkins Zendesk New Relic CodePlex Bugzilla BitBucket CircleCI Jira Asana Pivotal Tracker Ducksboard CollabNet Rally Team Concert/Jazz AppHarbor Improved Git Permissions Amazon AWS Eclipse HP Zapier LeanKit Loader.io Team Foundation Server Rational Atlassian Rally Team Rooms Lighthouse Trello MicroFocu s Basecamp Blimp