Open link in a new tab

Content

Expand project menu

Do API filters still work in v12?

Hi all

We have some Python scripts using the OpenProject API. After the update from v11 to v12.0.7 some of these API calls don't work anymore. Namely the calls using filters with the GET method don't work anymore. 

Are there some known issues with this? Do others also experience these problems?

Example: api/v3/users?filters=[{ "group": { "operator": "=" , "value": "19" }}]

Result: HTTP Error 400: Bad Request

The same call without the "?filters=...." works as expected.

Thank you very much for any insight on this.

Regards,

Gregor

Message actions

I would really appreciate if anyone could confirm the filters working in OpenProject 12. Thank you!

Message actions

I have tried again in v12.08. Am I really the only one using GET API calls with filters?

Please, I need to know if the culprit is my own code or if there is a bug in OpenProject.