All URIs are relative to http://localhost/api/v1
Method | HTTP request | Description |
---|---|---|
get_export_eval_cache_json | GET /export/eval_cache/json | |
get_export_sqlite | GET /export/sqlite |
object get_export_eval_cache_json()
Export JSON format of the eval cache dump
from __future__ import print_function
import time
import flagr
from flagr.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = flagr.ExportApi()
try:
api_response = api_instance.get_export_eval_cache_json()
pprint(api_response)
except ApiException as e:
print("Exception when calling ExportApi->get_export_eval_cache_json: %s\n" % e)
This endpoint does not need any parameter.
object
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
file get_export_sqlite(exclude_snapshots=exclude_snapshots)
Export sqlite3 format of the db dump, which is converted from the main database.
from __future__ import print_function
import time
import flagr
from flagr.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = flagr.ExportApi()
exclude_snapshots = true # bool | export without snapshots data - useful for smaller db without snapshots (optional)
try:
api_response = api_instance.get_export_sqlite(exclude_snapshots=exclude_snapshots)
pprint(api_response)
except ApiException as e:
print("Exception when calling ExportApi->get_export_sqlite: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
exclude_snapshots | bool | export without snapshots data - useful for smaller db without snapshots | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/octet-stream
[Back to top] [Back to API list] [Back to Model list] [Back to README]