File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -84,8 +84,7 @@ print(client.count_entity(query_data))
84
84
* ` uses_test_endpoint (bool) ` - If false the client will send requests to production end-point, otherwise to tests end-point.
85
85
86
86
### ` get_database() `
87
- Get information about current database(related to api keys informed on construction). This method corresponds to a ` GET ` request at ` /database ` .
88
- ** IMPORTANT:** You can't make this request on ` /test ` end-point.
87
+ Get information about current database(related to api keys informed on construction). This method corresponds to a ` GET ` request at ` /database ` .
89
88
90
89
#### Request example
91
90
@@ -99,10 +98,13 @@ print(client.get_database())
99
98
100
99
``` json
101
100
{
102
- "name" : " Database 1" ,
103
- "description" : " My first database" ,
104
- "data-expiration" : 30 ,
105
- "created-at" : " 2016-04-05T10:20:30Z"
101
+ "tables" : [
102
+ " users"
103
+ ],
104
+ "updated-at" : " 2017-05-19T14:27:47.417415" ,
105
+ "created-at" : " 2017-05-12T02:23:34.231418" ,
106
+ "name" : " Database 1" ,
107
+ "description" : " My first database"
106
108
}
107
109
```
108
110
You can’t perform that action at this time.
0 commit comments