Skip to content

API Specification

Marios Touloupou edited this page Apr 22, 2019 · 2 revisions

tng-vnv-dsm End Points

Action HTTP Method Endpoint
Api Method for retrieve the user's recommendation GET curl -H "Content-type:application/json" -X GET http://<HOST_NAME>:4010/tng-vnv-dsm/api/v1/users/{user}
Api Method for retrieve the component's health GET curl -H "Content-type:application/json" -X GET http://<HOST_NAME>:4010/tng-vnv-dsm/api/v1/health
Api Method for retrieve the tests tags the systems is trained for GET curl -H "Content-type:application/json" -X GET http://<HOST_NAME>:4010/tng-vnv-dsm/api/v1/test_items
Api Method for retrieve the users the systems is trained for GET curl -H "Content-type:application/json" -X GET http://<HOST_NAME>:4010/tng-vnv-dsm/api/v1/users
Api Method to add user-item pairs from a test descriptor POST curl -H "Content-type:application/json" -X POST http://<HOST_NAME>:4010/tng-vnv-dsm/api/v1/users/items/{package_uuid}
Api Method to delete a user and his-her assosiated items DELETE curl -H "Content-type:application/json" -X DELETE http://<HOST_NAME>:4010/tng-vnv-dsm/api/v1/users/{user}
Clone this wiki locally