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

Comments on REST API 'Querying Resource Collections' section

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 3.0.0, 2.8.0
    • Component/s: documentation
    • Labels:

      Description

      In documentation, under section 'Querying Resource Collections' here: http://opendj.forgerock.org/opendj-server/doc/admin-guide/index.html#query-rest

      in description of Complex expressions:

      1. _pagedResultsOffset=integer

      The description and implementation is different for example if offset is 0, below i will describe the behavior of implementation.

      • if cookie is not specified offset 0 returns zero page, offset 1 returns first page and so on
      • if cookie is specified, the page which is returned is: cookie+offset... so for example cookie of zero page and offset 0 returns first page... with same cookie and offset 1 returns second page and so on
      • if offset is less than zero - behave like offset is not specified

      2. _PageSize

      • will be better to have more informations for example what expect when _PageSize is set to zero and what expect when _PageSize is less then zero - now all entries are returned

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Mark Mark Craig
                Reporter:
                ondrej.fuchsik Ondrej Fuchsik
                QA Assignee:
                Ondrej Fuchsik
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: