Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-6745

Allow POST queries on a REST endpoint to retrieve an unlimited number of users in one URL call

    Details

    • Type: Improvement
    • Status: Dev backlog
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 6.5.1, 7.0.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Support Ticket IDs:

      Description

      The current REST users endpoint uses a GET request when using the query filter to retrieve multiple users in one call which is limited to ~350 users. An additional endpoint that utilizes the same functionality but uses a POST request to allow more query parameters to be added is requested.

      Example call:

      curl -v --user user.0:password "http://ds.example.com:8080/api/users?_queryFilter=_id+eq+'user.0'+or+_id+eq+'user.3'
      +or+_id+eq+'user.20'+or+_id+eq+'user.27'+or+_id+eq+'user.32'+or+_id+eq+'user.45'+or+_id+eq+'user.66'
      +or+_id+eq+'user.87'+or+_id+eq+'user.89'+or+_id+eq+'user.999'+or+_id+eq+'user.100'
      &_prettyPrint=true"
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tina.roper Tina Roper
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: