Skip to content

Releases

Kevin Albertson edited this page Feb 11, 2020 · 4 revisions

/releases

Methods:

  • GET - Show all available releases.

Example response:

{
    "links": [
        {
            "href": "/v1/releases",
            "method": "GET",
            "rel": "self"
        },
        {
            "href": "/v1",
            "method": "GET",
            "rel": "service"
        },
        {
            "href": "/v1/servers",
            "method": "GET",
            "rel": "get-servers"
        },
        {
            "href": "/v1/servers",
            "method": "POST",
            "rel": "add-server"
        },
        {
            "href": "/v1/replica_sets",
            "method": "POST",
            "rel": "add-replica-set"
        },
        {
            "href": "/v1/replica_sets",
            "method": "GET",
            "rel": "get-replica-sets"
        },
        {
            "href": "/v1/sharded_clusters",
            "method": "POST",
            "rel": "add-sharded-cluster"
        },
        {
            "href": "/v1/sharded_clusters",
            "method": "GET",
            "rel": "get-sharded-clusters"
        }
    ],
    "releases": {}
}
Clone this wiki locally