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)
# load the gem
require 'rbflagr'
api_instance = Flagr::EvaluationApi.new
body = Flagr::EvalContext.new # EvalContext | evalution context
begin
result = api_instance.post_evaluation(body)
p result
rescue Flagr::ApiError => e
puts "Exception when calling EvaluationApi->post_evaluation: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
body | EvalContext | evalution context |
No authorization required
- Content-Type: application/json
- Accept: application/json
EvaluationBatchResponse post_evaluation_batch(body)
# load the gem
require 'rbflagr'
api_instance = Flagr::EvaluationApi.new
body = Flagr::EvaluationBatchRequest.new # EvaluationBatchRequest | evalution batch request
begin
result = api_instance.post_evaluation_batch(body)
p result
rescue Flagr::ApiError => e
puts "Exception when calling EvaluationApi->post_evaluation_batch: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
body | EvaluationBatchRequest | evalution batch request |
No authorization required
- Content-Type: application/json
- Accept: application/json