All URIs are relative to /api/v1
Method | HTTP request | Description |
---|---|---|
postEvaluation | POST /evaluation | |
postEvaluationBatch | POST /evaluation/batch |
\Flagr\Client\Model\EvalResult postEvaluation($body)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Flagr\Client\Api\EvaluationApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$body = new \Flagr\Client\Model\EvalContext(); // \Flagr\Client\Model\EvalContext | evalution context
try {
$result = $apiInstance->postEvaluation($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EvaluationApi->postEvaluation: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \Flagr\Client\Model\EvalContext | evalution context |
\Flagr\Client\Model\EvalResult
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Flagr\Client\Model\EvaluationBatchResponse postEvaluationBatch($body)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Flagr\Client\Api\EvaluationApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$body = new \Flagr\Client\Model\EvaluationBatchRequest(); // \Flagr\Client\Model\EvaluationBatchRequest | evalution batch request
try {
$result = $apiInstance->postEvaluationBatch($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EvaluationApi->postEvaluationBatch: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \Flagr\Client\Model\EvaluationBatchRequest | evalution batch request |
\Flagr\Client\Model\EvaluationBatchResponse
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]