[ 
https://issues.apache.org/jira/browse/GEODE-7463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gang Yan updated GEODE-7463:
----------------------------
    Description: 
# 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
   
# 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

# NOTE
[1] response body:

{code:json}
{
    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";]
}
{code}


  was:
# 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
   
# 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

# NOTE
[1] response body:

{code:json}
{
    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";]
}
{code}



> Ability: have an endpoint to show all the version info of REST API for 
> Management
> ---------------------------------------------------------------------------------
>
>                 Key: GEODE-7463
>                 URL: https://issues.apache.org/jira/browse/GEODE-7463
>             Project: Geode
>          Issue Type: New Feature
>          Components: management, rest (admin)
>            Reporter: Gang Yan
>            Priority: Major
>
> # 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
>    
> # 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
> # NOTE
> [1] response body:
> {code:json}
> {
>     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";]
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to