All URIs are relative to http://localhost:10010/v2
Method | HTTP request | Description |
---|---|---|
createBenchmark | POST /benchmark | Create Benchmark |
getInfoBenchmark | GET /benchmark/{bid} | Get benchmark info |
listBenchmark | GET /benchmark/{bid}/models | Get benchmark list |
createBenchmark()
Create Benchmark
Create a new Benchmark
var algorithmhub = require('algorithmhub');
var apiInstance = new algorithmhub.BenchmarkApi();
apiInstance.createBenchmark().then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});
This endpoint does not need any parameter.
null (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
getInfoBenchmark(bid)
Get benchmark info
Get benchmark info
var algorithmhub = require('algorithmhub');
var apiInstance = new algorithmhub.BenchmarkApi();
var bid = "bid_example"; // String | The benchmark id
apiInstance.getInfoBenchmark(bid).then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
bid | String | The benchmark id |
null (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
listBenchmark(bid)
Get benchmark list
Get a list of models associated with this benchmark
var algorithmhub = require('algorithmhub');
var apiInstance = new algorithmhub.BenchmarkApi();
var bid = "bid_example"; // String | The benchmark id
apiInstance.listBenchmark(bid).then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
bid | String | The benchmark id |
null (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined