All URIs are relative to http://localhost/api/v1
Method | HTTP request | Description |
---|---|---|
postEvaluation | POST /evaluation | |
postEvaluationBatch | POST /evaluation/batch |
EvalResult postEvaluation(body)
var Jsflagr = require('jsflagr');
var apiInstance = new Jsflagr.EvaluationApi();
var body = new Jsflagr.EvalContext(); // EvalContext | evalution context
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.postEvaluation(body, callback);
Name | Type | Description | Notes |
---|---|---|---|
body | EvalContext | evalution context |
No authorization required
- Content-Type: application/json
- Accept: application/json
EvaluationBatchResponse postEvaluationBatch(body)
var Jsflagr = require('jsflagr');
var apiInstance = new Jsflagr.EvaluationApi();
var body = new Jsflagr.EvaluationBatchRequest(); // EvaluationBatchRequest | evalution batch request
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.postEvaluationBatch(body, callback);
Name | Type | Description | Notes |
---|---|---|---|
body | EvaluationBatchRequest | evalution batch request |
No authorization required
- Content-Type: application/json
- Accept: application/json