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

    • Type: New Feature
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.20.0
    • Labels:
    • Complexity:
      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"],
        ...
      }
      

        Attachments

          Activity

            People

            Assignee:
            mksd Dimitri R
            Reporter:
            mksd Dimitri R
            Designated Committer:
            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