Comments (6)
@tmeckel, it may be a bug. See my comment above, on how to contact the team that owns the api. They are the ones that will need to fix this in the Azure DevOps code, before the generator will generate this property in both the Go SDK and the documentation. I will also try and contact the team directly, but posting issues in the link I sent above is the correct way to report this issue to them.
from azure-devops-go-api.
@nmiodice thank you for commenting on this issue on the developer community site for Azure DevOps. Perhaps @mozehgir and you (perhaps @tedchamb as well?) might talk to someone in the product group to get them convinced that the current situation isn't ideal for people using the API. I think I made my position clear this in my older comments here.
from azure-devops-go-api.
@tmeckel , the team that owns this REST area has marked that property as for InternalUseOnly
, so the generator ignores it. Your best bet is to ask the team directly what the best way is to get the data you are looking for.
You can post questions to them here:
https://docs.microsoft.com/en-us/rest/api/azure/devops/graph/?view=azure-devops-rest-5.1
from azure-devops-go-api.
@tedchamb As explicitly stated in the documentation, a group is returned by the REST API even if it has been deleted.
For this reason, the flag isDeleted
exists to indicate whether the group has already been deleted and thus the caller is able to detect a deleted group. In the current implementation of the GO API, it is never evident to the caller whether a group has been deleted or not, when it was loaded directly via the GET method of the REST API, since the GO implementation does not provide this flag.
Hence I assume that marking this attribute as INTERNAL is a bug.
If you know another way to detect if a group has been deleted than checking the isDeleted
flag (well, except loading all groups and check if the group in question isn't listed anymore) I'm happy to take this path.
from azure-devops-go-api.
@tedchamb Okay, let's tackle this from both side then 😏
from azure-devops-go-api.
Unfortunately the developer community issue has been closed :/ cc @mozehgir
from azure-devops-go-api.
Related Issues (20)
- Support for `tokens/pats` API methods HOT 2
- v7 create service endpoint missing project name field in argument.
- Alternative of PAT for authentication? HOT 1
- Unable to create Pipeline: Value cannot be null. Parameter name: Path HOT 3
- [Feature Request] Add support to list and manage service principals identities
- Add pipeline configuration details in pipeline client
- [Feature Request] Include pipeline data in Approval object in v7 pipeline approvals
- [Feature Request] Include Security Role Assignment HOT 3
- TFVC ChangeSet changes api doesn't support pagination in the request Input. HOT 1
- Graph::ListUsers API Fails to Return `IsDeletedInOrigin` Property Value
- Question: Is it possible to retrieve a list of all repositorys and their clone urls of a project? HOT 1
- How to customize the http.client? HOT 1
- [V7] ReadIdentities doens't work as intended
- [V7] GetSelf panic
- Resource interface{} structure
- GetPolicyConfigurations returns a continuationToken but it is not taking the token back in the request
- API resource area Id <area-id> is not registered on https://dev.azure.com/<organization>
- Help listing all tags under repositories
- Document how to Auto Generate Client and Model in README
- Delete Service Principal Entitlement using graph information
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-go-api.