Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7463

Ability: have an endpoint to show all the version info of REST API for Management

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.12.0
    • Component/s: management, rest (admin)
    • Labels:
      None

      Description

      1. WHY
        1. have a universal endpoint for all the versions of REST API for Management
        2. stop showing 404 for users, when they try to do some experiment
        3. show more helpful information to users
      1. WHAT
        1. url: [GET] /management/
        2. response: show all the api-docs for all "available" versions. such as:
        http://localhost:7070/management/v1/api-docs
        http://localhost:7070/management/v2/api-docs
        http://localhost:7070/management/v3/api-docs
      1. NOTE
        [1] response body:
      {
          latest:"http://localhost:7070/management/v3/api-docs",
         supported:["http://localhost:7070/management/v1/api-docs",
              "http://localhost:7070/management/v2/api-docs", 
              "http://localhost:7070/management/v3/api-docs"
        ]
      }
      

        Attachments

          Activity

            People

            • Assignee:
              echobravo Ernest Burghardt
              Reporter:
              gyan Gang Yan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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