Updating a file using REST Api Visual Studio Team Services
问题 Is there any way to update the contents of a file in a project on your visual studio team services account using HTTP verbs, similar to how it is done here with github https://developer.github.com/v3/repos/contents/#update-a-file. var json={ "comment": "Update scripts.json", "changes": [{ "changeType": 2, "item": { "path": "$/ExtensionsTest/scripts.json", "contentMetadata": { "encoding": 65001 }, "version": 47 }, "newContent": { "content": "[ {\"hello\" : \"Test\"} ]", "contentType":"RawText"