Re: [issue2551168] Undocumented search of a property in REST API
"John P. Rouillard" <[email protected]> Mon, 08 Nov 2021 19:38:59 -0500
| Newsgroups | gmane.comp.bug-tracking.roundup.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Ralf: In message <[email protected]>, Ralf Schlatterbeck writes: >What do we do with it? > >Note that this doesn't just do a search like for issue: >.../rest/data/issue?title=just%20a%20test >will find some issues in my test-tracker while the same with a '/' >won't find any. So this only works for key properties. > >You can reproduce this with the standard schema with >.../rest/data/status/name=open >or >.../rest/data/status/open > >I think this should be documented and tests be developed... Isn't this the documentation for it: https://www.roundup-tracker.org/docs/rest.html#retrieve-item-using-key-value We do warn that the short form (/data/status/open) doesn't work for numbers (it's interprested as an id) and may not be supported in future versions of the API. >What do you think? Testing yes. But I think it's already doc'ed (although I did forget about that option). -- -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions.