Created
April 7, 2012 11:56
-
-
Save tamtam180/2328151 to your computer and use it in GitHub Desktop.
AvocadoDB's Memo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"code": 200, | |
"collections": [ | |
{ | |
"id": 130920, | |
"name": "tamtam", | |
"status": 3 | |
}, | |
{ | |
"id": 4783976, | |
"name": "unit_test_aaa", | |
"status": 3 | |
}, | |
{ | |
"id": 2621288, | |
"name": "unit_test_123", | |
"status": 2 | |
} | |
], | |
"error": false, | |
"names": { | |
"tamtam": { | |
"id": 130920, | |
"name": "tamtam", | |
"status": 3 | |
}, | |
"unit_test_123": { | |
"id": 2621288, | |
"name": "unit_test_123", | |
"status": 2 | |
}, | |
"unit_test_aaa": { | |
"id": 4783976, | |
"name": "unit_test_aaa", | |
"status": 3 | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"code": 200, | |
"collections": { | |
"tamtam": { | |
"_id": 130920, | |
"figures": { | |
"numberAlive": 8, | |
"numberDatafiles": 1, | |
"numberDead": 1, | |
"numberDeletion": 1, | |
"sizeAlive": 452, | |
"sizeDead": 16 | |
}, | |
"name": "tamtam", | |
"status": 3 | |
}, | |
"unit_test_123": { | |
"_id": 2621288, | |
"figures": {}, | |
"name": "unit_test_123", | |
"status": 2 | |
}, | |
"unit_test_aaa": { | |
"_id": 4783976, | |
"figures": { | |
"numberAlive": 0, | |
"numberDatafiles": 0, | |
"numberDead": 0, | |
"numberDeletion": 0, | |
"sizeAlive": 0, | |
"sizeDead": 0 | |
}, | |
"name": "unit_test_aaa", | |
"status": 3 | |
} | |
}, | |
"count": 3, | |
"error": false, | |
"path": "/home/tamtam/local-app/avocado/var/avocado", | |
"total": 3 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
なんかWikiのドキュメントと構造が違うような。 | |
確認したリビジョン: 16aacb1769eccb16570ed6e10e7f924b1cac8550 (Fri Apr 6 22:21:34 2012 +0200) | |
[tamtam@tamsvr20 tmp]$ curl -X GET --dump - http://localhost:8529/_api/collections | |
HTTP/1.1 200 OK | |
connection: Keep-Alive | |
content-type: application/json | |
server: triagens GmbH High-Performance HTTP Server | |
content-length: 531 | |
{"path":"/home/tamtam/local-app/avocado/var/avocado","total":3,"count":3,"collections":{"tamtam":{"_id":130920,"name":"tamtam","status":3,"figures":{"numberDatafiles":1,"numberAlive":8,"numberDead":1,"sizeAlive":452,"sizeDead":16,"numberDeletion":1}},"unit_test_aaa":{"_id":4783976,"name":"unit_test_aaa","status":3,"figures":{"numberDatafiles":0,"numberAlive":0,"numberDead":0,"sizeAlive":0,"sizeDead":0,"numberDeletion":0}},"unit_test_123":{"_id":2621288,"name":"unit_test_123","status":2,"figures":{}}},"error":false,"code":200} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OK, I see, thanks!