You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should honor any requested attributes (real or virtual) and continue to include the href when expand is not included in the requested URL.
From discussion here: #866
Also related to slow api requests: #805
This feature will allow us to make much more performant API requests without breaking compatibility and only minimal changes to clients: (drop expand=resources) (a 2 MB response that includes all attributes due to expand=resources can become 70 KB without expand=resources + only needed attributes)
The text was updated successfully, but these errors were encountered:
There is also a reverse subtlety here where if you pass /api/vms?expand=resources&attributes=num_cpu you get back all of the fields plus num_cpu, however if you pass /api/vms?expand=resources&attributes=name,num_cpu you only get name and num_cpu, which doesn't seem to make sense (as it's a physical column). So changing this opens up fixing this oddity.
This issue has been automatically marked as stale because it has not been updated for at least 3 months.
If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.
Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation.
A request such as:
/api/vms?&attributes=name
will silently ignore the requestedname
attribute, returning just hrefs and a 200 response code:We should honor any requested attributes (real or virtual) and continue to include the
href
whenexpand
is not included in the requested URL.From discussion here: #866
Also related to slow api requests: #805
This feature will allow us to make much more performant API requests without breaking compatibility and only minimal changes to clients: (drop
expand=resources
) (a 2 MB response that includes all attributes due toexpand=resources
can become 70 KB withoutexpand=resources
+ only needed attributes)The text was updated successfully, but these errors were encountered: