Skip to content
efotopoulou edited this page Mar 13, 2019 · 3 revisions

Documentation - APIs and swagger support

Following table shows the API endpoints of the Profiler. tng-profiler supports its own swagger endpoint at http://<ip_adress>/swagger-ui.html

Action HTTP Method Endpoint
Return all supported analytic services GET /service
Register a new analytic service POST /service
Get all prometheus metrics for a specific nsr_id GET /service/{nsr_id}/metrics
Execute a profiling process for a specific test_id (useful for VnV) POST /service/vnv/{test_id}
Execute a profiling process for a specific experiment_id (useful for sdk) POST /service/sdk/{experiment_id}
Execute a profiling process for a specific nsr_id (useful for sp) POST /service/sp/{nsr_id}
Access results of an analytic service GET /service/results/{profiling_id}