ttop / cuanto

A test results repository and test analysis tool
http://trackyourtests.com
GNU Lesser General Public License v3.0
29 stars 20 forks source link

Suggestion: API Should be RESTfull.. use HTTP Verbs in and remove actions from Resource names #21

Closed andreasmarkussen closed 6 years ago

andreasmarkussen commented 6 years ago

I just looked at the API and I could see that the API Urls contains action names, and it should contain Resource names.

i.e.

HTTP POST to http://<cuantourl>/api/addTestRun 

Should be

POST to http://<cuantourl>/api/TestRuns

And /api/getTestRun should be

GET to  http://<cuantourl>/api/TestRun/<testRunId>

See API Documents:

Would you accept Pull Requests for this?

And perhaps we should create a "new api" called http:///rest/TestRuns

ttop commented 6 years ago

Thanks for your interest. Cuanto is no longer under active development. Please feel free to fork the code and do as you wish.

andreasmarkussen commented 6 years ago

OK! Did you find another tool that you liked better? or did you just not have the need anymore?

ttop commented 6 years ago

My role changed to one that is no longer involved in testing or result tracking, so I no longer have any time allocated to maintain it nor any personal need for it.