All URIs are relative to http://localhost/api/v1
Method | HTTP request | Description |
---|---|---|
getExportEvalCacheJSON | GET /export/eval_cache/json | |
getExportSqlite | GET /export/sqlite |
Object getExportEvalCacheJSON()
Export JSON format of the eval cache dump
var Jsflagr = require('jsflagr');
var apiInstance = new Jsflagr.ExportApi();
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getExportEvalCacheJSON(callback);
This endpoint does not need any parameter.
Object
No authorization required
- Content-Type: application/json
- Accept: application/json
File getExportSqlite(opts)
Export sqlite3 format of the db dump, which is converted from the main database.
var Jsflagr = require('jsflagr');
var apiInstance = new Jsflagr.ExportApi();
var opts = {
'excludeSnapshots': true // Boolean | export without snapshots data - useful for smaller db without snapshots
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getExportSqlite(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
excludeSnapshots | Boolean | export without snapshots data - useful for smaller db without snapshots | [optional] |
File
No authorization required
- Content-Type: application/json
- Accept: application/octet-stream