Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. Do API filters still work in v12?

Do API filters still work in v12?

Added by Gregor Buergisser over 3 years ago

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


Replies (2)

RE: Do API filters still work in v12? - Added by Gregor Buergisser over 3 years ago

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

RE: Do API filters still work in v12? - Added by Gregor Buergisser about 3 years ago

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.

  • (1 - 2/2)
Loading...