Any idea why this method does not work:
GET https://{instance}/DefaultCollection/{project}/_apis/build/builds/{buildId}/logs?api-version=2.0
I
I'm not sure if this is a supported API, but the following works for me.
VSTS: https://{instance}.visualstudio.com/{project}/_apis/build/builds/{buildid}/logs?$format=zip
TFS: http://{instance}/Collection/{project}/_apis/build/builds/81590/logs?$format=zip