All URIs are relative to http://localhost/api/v1
Method | HTTP request | Description |
---|---|---|
post_evaluation | POST /evaluation | |
post_evaluation_batch | POST /evaluation/batch |
EvalResult post_evaluation(body)
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.EvaluationApi()
body = flagr.EvalContext() # EvalContext | evalution context
try:
api_response = api_instance.post_evaluation(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling EvaluationApi->post_evaluation: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | EvalContext | evalution context |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EvaluationBatchResponse post_evaluation_batch(body)
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.EvaluationApi()
body = flagr.EvaluationBatchRequest() # EvaluationBatchRequest | evalution batch request
try:
api_response = api_instance.post_evaluation_batch(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling EvaluationApi->post_evaluation_batch: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | EvaluationBatchRequest | evalution batch request |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]