Database Serve API¶
create_database()
¶
Create a database.
Returns:
Name | Type | Description |
---|---|---|
dict |
The status of the operation. |
Source code in lynse/api/http_api/http_api/database_ops.py
database_exists()
¶
Check if the database exists.
Returns:
Name | Type | Description |
---|---|---|
dict |
The status of the operation. |
Source code in lynse/api/http_api/http_api/database_ops.py
delete_database()
¶
Delete a database.
Returns:
Name | Type | Description |
---|---|---|
dict |
The status of the operation. |
Source code in lynse/api/http_api/http_api/database_ops.py
get_environment()
¶
Get the environment variables.
Returns:
Name | Type | Description |
---|---|---|
dict |
The status of the operation. |
Source code in lynse/api/http_api/http_api/database_ops.py
list_databases()
¶
List all databases.
Returns:
Name | Type | Description |
---|---|---|
dict |
The status of the operation. |
Source code in lynse/api/http_api/http_api/database_ops.py
set_environment()
¶
Set the environment variables.
Returns:
Name | Type | Description |
---|---|---|
dict |
The status of the operation. |