Yes, it is possible to get the list of collections using list API as given below:
Index URL
Method
POST
Media Type
application/json
Headers
content-type : application/json
accept: application/json
accept: application/json
SB-PKEY: MJxdHTfBplp06eEfUbhxoHseH8j7QoU7zUfpC6vVRtoz/QdPP0LrB7Xz7Vu+w+G2CHhmqg==
Document Syntax
{
"apikey":"C6D418861BAD66A46A7CC96B70CEADF9"
}
Document Description
JSON Fields | Value |
---|---|
apikey | API key accessible in the SearchBlox Admin Console. It is also present in the config.xml file. |
JSON response:
{
"FileCollection": 4,
"HTTPCollection": 1,
"database": 5,
"test": 2,
"mongo": 3
}
To learn more on API for listing out collections read: API for listing the collections in SearchBlox
Comments
0 comments
Please sign in to leave a comment.