Add more data to server-info REST endpoint

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: REST
    • None
    • 1

      Problem Definition

      As a solution for CWD-5477 we've extended /admin/latest/server-info to include following new information:

      • base URL
      • versions
      • deployment type
      • server time

       Here's an example of response from this endpoint in Crowd 4.1:

      {
        "version": "4.1.0",
        "deploymentTitle": "CROWD",
        "buildNumber": 1529,
        "buildDate": "2020-06-19",
        "baseUrl": "https://mycrowd.com",
        "versions": [
          "4",
          "1",
          "0"
        ],
        "deploymentType": "Server",
        "serverTime": "2020-06-22T13:48:30.818+0000"
      }
      

      With those changes Crowd’s server-info endpoint returns an identical set of data to Jira’s server info endpoint. However there may be more Crowd specific data that would be of value to the endpoint’s consumers. An example of such data is the list from the original ticket (CWD-5477), which included data from the following pages:

              Assignee:
              Unassigned
              Reporter:
              Dawid Owoc (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: