Roundup Tracker - Issues

Issue 2551149

classification
Make multi-traversal REST API search in Roundup possible
Type: behavior Severity: minor
Components: API Versions:
process
Status: new
:
: schlatterbeck : rouilj, schlatterbeck, tttech-klonner
Priority: :

Created on 2021-07-13 08:53 by tttech-klonner, last changed 2021-07-26 07:25 by schlatterbeck.

Messages
msg7300 Author: [hidden] (tttech-klonner) Date: 2021-07-13 08:53
Feature request already discussed with Ralf:

Example call:
rest/data/user?ad_domain=example.com&@fields=pictures.type

The pictures attribute per user item is an array.
Because of this we currently cannot include a picture attribute directly 
in the response (pictures.type) but we would like to do so.

Please include this feature during the next good occasion.
msg7302 Author: [hidden] (rouilj) Date: 2021-07-26 01:57
Ralf,

I don't quite understand this.
I assume you have a patch for it. Assigning to you.
msg7304 Author: [hidden] (schlatterbeck) Date: 2021-07-26 07:25
Currently in the REST-API you can request transitive properties, e.g. when querying issue you could use @fields=priority.order (given that the priority table has an 'order' property). This currently only works for Link properties not for Multilink properties.
In our schema there is field 'pictures' in the user class linking to files with pictures of the user. You cannot currently request properties of pictures using @fields.

And, no, I don't have a patch yet :-)

Thanks for assigning to me!
History
Date User Action Args
2021-07-26 07:25:48schlatterbecksetmessages: + msg7304
2021-07-26 01:57:33rouiljsetassignee: schlatterbeck
messages: + msg7302
nosy: + rouilj
2021-07-13 08:53:15tttech-klonnercreate