Comments (4)
Hiya @jlong23, Let me take a look and get back to you on this. And yes, the typs of $mine
query parameter is wrong, I will make changes and push it in next version release.
Teams getTeams(boolean expandIdentity, String mine, int skip, int top) throws AzDException
from azure-devops-java-sdk.
2023-10-27T02:59:22.838-05:00 INFO 3131401 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms
2023-10-27T02:59:23.288-05:00 INFO 3131401 --- [ient-2-Worker-0] jdk.httpclient.HttpClient : REQUEST: https://dev.azure.com/rabbitearsvideoproduction/_apis/resourceAreas/79134c72-4a58-4b42-976c-04e7115f32bf?api-preview=5.0-preview.1 GET
2023-10-27T02:59:23.414-05:00 INFO 3131401 --- [ient-2-Worker-0] jdk.httpclient.HttpClient : RESPONSE: (GET https://dev.azure.com/rabbitearsvideoproduction/_apis/resourceAreas/79134c72-4a58-4b42-976c-04e7115f32bf?api-preview=5.0-preview.1) 200 HTTP_2 Local port: 54694
2023-10-27T02:59:23.453-05:00 INFO 3131401 --- [ient-2-Worker-0] jdk.httpclient.HttpClient : REQUEST: https://dev.azure.com/rabbitearsvideoproduction/_apis/teams?api-version=7.1-preview.3&$skip=0&$top=100&$mine=true&$expandIdentity=true GET
2023-10-27T02:59:23.586-05:00 INFO 3131401 --- [ient-2-Worker-0] jdk.httpclient.HttpClient : RESPONSE: (GET https://dev.azure.com/rabbitearsvideoproduction/_apis/teams?api-version=7.1-preview.3&$skip=0&$top=100&$mine=true&$expandIdentity=true) 401 HTTP_2 Local port: 54694
For some reason the request is failing with a auth error while get sprints succeed.
2023-10-27T03:01:43.763-05:00 INFO 3131401 --- [ient-2-Worker-2] jdk.httpclient.HttpClient : REQUEST: https://dev.azure.com/rabbitearsvideoproduction/_apis/resourceAreas/1d4f49f9-02b9-4e26-b826-2cdb6195f2a9?api-preview=5.0-preview.1 GET
2023-10-27T03:01:43.896-05:00 INFO 3131401 --- [ient-2-Worker-2] jdk.httpclient.HttpClient : RESPONSE: (GET https://dev.azure.com/rabbitearsvideoproduction/_apis/resourceAreas/1d4f49f9-02b9-4e26-b826-2cdb6195f2a9?api-preview=5.0-preview.1) 200 HTTP_2 Local port: 45008
2023-10-27T03:01:43.899-05:00 INFO 3131401 --- [ient-2-Worker-2] jdk.httpclient.HttpClient : REQUEST: https://dev.azure.com/rabbitearsvideoproduction/Noda-Integration-AzureDevOps-adaptor/Noda-Integration-AzureDevOps-adaptor-TeamA/_apis/work/teamsettings/iterations?api-version=7.1-preview.1 GET
2023-10-27T03:01:44.920-05:00 INFO 3131401 --- [ient-2-Worker-2] jdk.httpclient.HttpClient : RESPONSE: (GET https://dev.azure.com/rabbitearsvideoproduction/Noda-Integration-AzureDevOps-adaptor/Noda-Integration-AzureDevOps-adaptor-TeamA/_apis/work/teamsettings/iterations?api-version=7.1-preview.1) 200 HTTP_2 Local port: 45008
from azure-devops-java-sdk.
@jlong23, Make sure that the PAT
you're using is scoped to Full Access and All accessible organisations are selected. Create a new PAT
as below and give it a try.
from azure-devops-java-sdk.
Thank-you for helping me with my PaT Authority Mistake. I was shooting for the standard Least Authority Access route and ran into this.
For the limited access I needed for the bridge I have settled for the following.
I guess I need the PaT Roles next to the API's... I tend to do that in my swagger documentation, but MS is a different beast than the Java World.
Thanks again! I am closing this Issue!
from azure-devops-java-sdk.
Related Issues (20)
- Json mapping issue when trying to read builds that couldn't run HOT 6
- Documentation of RestClient or Unit tests of RestClient needed HOT 3
- Push Changes Feature HOT 3
- Possible to compile with Java 8 HOT 5
- GitRepository does not support repositories with size greater than 2147483647 bytes HOT 2
- Add ability to get Retry-After value in response header HOT 2
- Parsing exception for ReleaseDefinition that has an an Environment that has Conditions. HOT 1
- Enhance the API to connect to on premise Azure DevOps server HOT 6
- GitApi 'getItems' does not include version in query string
- Git push does not work because JSON output does not match examples HOT 3
- Do you support pagination with the continuationToken HOT 11
- [Feature] Missing Pull Request Statuses object HOT 2
- [Improvement] Add more examples to GitApi.md HOT 1
- How to get the get the team capacity? HOT 2
- Azure Server HOT 6
- [Improvement] Add ability for GitApi.getRepositories() to include hidden repositories HOT 4
- Announcement!!!
- GitPullRequest getCommits() is always null HOT 3
- CVE "sonatype-2022-6438" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-devops-java-sdk.