Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-3460

Rest API calls overview page has incorrect /login documentation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.1
    • Component/s: REST API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      1
    • Documentation Status:
      Not Required

      Description

      The DSpace REST API root page (/rest) lists some of the available API calls.
      The details listed for the login call are wrong - they refer to the login procedure for 5.x (the "rest-dspace-token" header).
      They should be updated to decribe the login procedure for DSpace 6.x (the JSESSIONID cookie) - see the [REST API docs](https://wiki.duraspace.org/display/DSDOC6x/REST+API#RESTAPI-RESTEndpoints).

      Propsed replacement text:

      <li>POST /login - Method for logging into the DSpace RESTful API. You must post the parameters \"email\" and \"password\". Example: \"email=test@dspace&password=pass\". Returns a JSESSIONID cookie which can be used for future authenticated requests.</li>

        Attachments

          Activity

            People

            • Assignee:
              helix84 Ivan Masár
              Reporter:
              andrewb Andrew Bennet
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: