Uploaded image for project: 'mod-login'
  1. mod-login
  2. MODLOGIN-123

authn/credentials does not support limit/offset traits

    XMLWordPrintable

    Details

    • Template:
    • Development Team:
      Core: Platform

      Description

      the authn/credentials interface does not respect the limit and offset parameters from the pageable trait which it includes: https://github.com/folio-org/mod-login/blob/4a46895b20ce6eef708f08fee86587f8d79cbb20/ramls/login.raml#L146

      Expected behavior:

      A call like this would return 0 records:
      curl \
      -H "x-okapi-tenant:diku" \
      -H "x-okapi-token:$stoken" \
      https://folio-snapshot-okapi.aws.indexdata.com/authn/credentials?limit=0

      Actual behavior:
      Returns 10 records.

        TestRail: Results

          Attachments

            Activity

              People

              Assignee:
              adam Adam Dickmeiss
              Reporter:
              ian Ian Hardy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  TestRail: Runs

                    TestRail: Cases