aboutsummaryrefslogtreecommitdiffstats
path: root/pgaas/src/stage/opt/app/pgaas/man/iDNS-responder.swagger.json
blob: 2b59cda2c077b5bb239e05c46abfe2dd320c5ec3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
    "swagger": "2.0",
    "info": {
        "version": "1.1.0",
        "title": "PostgreSQL as a Service REST API"
    },
    "paths": {
        "/rw": {
            "get": {
                "description": "Gets a string indicating if this is a PostgreSQL Master server\n",
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "title": "status",
                            "type": "string"
                        }
                    }
                }
            }
        },
        "/ro": {
            "get": {
                "description": "Gets a string indicating if this is either a PostgreSQL Master or Secondary server\n",
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "title": "status",
                            "type": "string"
                        }
                    }
                }
            }
        },
        "/healthcheck/status": {
            "get": {
                "description": "Gets a string indicating the status of this server\n",
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "schema": {
                            "title": "output",
                            "type": "string"
                        }
                    },
                    "429": {
                        "description": "Error response",
                        "schema": {
                            "title": "output",
                            "type": "string"
                        }
                    }
                }
            }
        }
    }
}