Uploaded image for project: 'Webservices REST Module'
  1. Webservices REST Module
  2. RESTWS-660

SessionController to set user locale and to return locale information

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Should
    • Resolution: Fixed
    • None
    • 2.20.0
    • None
    • Low

    Description

      SessionController should allow to set the locale, example:

      POST .../session
      { "locale": "en" }
      

      SessionController should attach the locale information to the session resource, example:

      GET .../session
      {
        "sessionId": "1D3F6177CEAE18B8482D12F793A31E76",
        "authenticated": true,
        "user": {
          ...
        }
        ...
        "locale": "en",
        "availableLocales": ["en", "it"],
        ...
      }
      

      Gliffy Diagrams

        Attachments

          Activity

            People

              mksd Dimitri R
              mksd Dimitri R
              Dimitri R Dimitri R
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h