microsoft / vss-web-extension-sdk

Visual Studio Teams Service Web Extension SDK
https://www.visualstudio.com/docs/integrate/extensions/overview
MIT License
133 stars 87 forks source link

Scope for TFS/DistributedTask/TaskAgentRestClient or /_apis/distributedtask/tasks?api-version=3.0-preview.1 #18

Open Alekseypv opened 8 years ago

Alekseypv commented 8 years ago

Hi Guys, Looks like I need your help I’m trying to query distributedtask in extension and getting 401 error regardless Using Rest or API I tried all scopes mentioned here https://www.visualstudio.com/en-us/docs/integrate/extensions/develop/manifest While I was able to get json from another REST clients, for instance VSS.require(["TFS/Core/RestClient"] or VSS.require(["TFS/Work/RestClient"] So question is what is right scope for TFS/DistributedTask/TaskAgentRestClient ?

sawpresto commented 8 years ago

I'm running into the same problem as well. Any updates on this?

sawpresto commented 8 years ago

Any ideas, @serkan-inci?

radomiakuk commented 7 years ago

Did you guys get anywhere with this? I'm running into th esame thing

wkit23 commented 7 years ago

U need to use the scope of vso.serviceendpoint. I manage to use this for service endpoints.