Comments (4)
If this is something you need back with each call with attributes=authorization,
Maybe something like this ?
"identity": {
"userid": "admin",
"name": "Administrator",
"user_href": "http://localhost:3000/api/users/10000000000001",
"group": "EvmGroup-super_administrator",
"group_href": "http://localhost:3000/api/groups/10000000000002",
"role": "EvmRole-super_administrator",
"role_href": "http://localhost:3000/api/roles/10000000000001",
"tenant": "Red Hat",
"groups": [
"Tenant My Company access",
"EvmGroup-super_administrator"
],
"miq_groups" : [
{
"description" : "Tenant My Company access",
"href" : "http://localhost:3000/api/groups/1000000000021",
"id" : "1000000000021"
},
{
"description" : "EvmGroup-super_administrator",
"href" : "http://localhost:3000/api/groups/1000000000002",
"id": "1000000000002",
}
]
}
from manageiq-api.
keeping current groups array returned as is (ye-old compatibility) but maybe some additional details separately.
@AllenBW what info out of groups do you need ? with all groups details, might be tons of data, we may want to only return that if attributes=authorization, "identity" is always returned but we can extend with an miq_groups element when attributes=authorization
from manageiq-api.
see i did that! added the miq_groups
attribute... it didn't do much... all i need/want is an id or href for the groups, of course can be gotten by doing a call on api/groups
and matching em on the client... but that kinda seems crazy to make another call :-/
from manageiq-api.
@abellotti GOSH YES!!!! This would save the day
from manageiq-api.
Related Issues (20)
- Date Timezone Issue For Tasks Reports HOT 1
- Slow API requests part deux HOT 17
- Switch tag subcollection missing HOT 2
- Api for timeline charts. HOT 7
- Need API for Cloud Volume Snapshot Subcollection HOT 3
- Sporadic test failure in authentication_spec HOT 4
- vm_reconfigure request has no effect on vm params HOT 10
- Need Policy Simulation Endpoints for non-VM options HOT 2
- Template API Issue with child_resources HOT 5
- If a resource doesnโt come in as hash or `{}` return bad request error HOT 4
- Sporadic test failure with authentication_spec HOT 12
- API Interface Changes HOT 6
- Issue while creating a Custom Button with expression via API HOT 9
- Incorrect work of role accesses in API HOT 6
- New API endpoints HOT 2
- [OPARIN] API Interface Changes
- Add support for Native Console over the API /vm#request_console
- [RFE] Ability to change Catalog Item Request Info via API HOT 9
- Auth API action
- Can't create a user for multiple groups HOT 7
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 manageiq-api.