REST API Endpoint request

Friday, November 18, 2022
Avatar

Why are so many Endpoints missing in the REST API (v6.0). I would like to have the PUT endpoint in so many resources. Specialy for the Test Run Artifact. I am try to make a migration script for my test runs because of changes in the template (custom properties). But now i have to do it manually!

2 Replies
Friday, November 18, 2022
Avatar
re: Pierre Friday, November 18, 2022

The UI does not generally allow updating a test run, so that PUT request is deliberately omitted.

We have PUTs for most of the core artifacts. Many of the endpoints are for adding/removing relationships so it does not make sense to have PUTs for them, only GET, POST and DELETE.

Tuesday, November 22, 2022
Avatar
re: inflectra.david Friday, November 18, 2022

I dont understand, i can update/edit my test runs with the UI. I mean even bulk editing is possible.

Further i definitely disagree with your statement. It is almost always useful to have the possibility to edit things. Things change in a living ecosystem and you can't know every scenario of your users.

So it would be a much better solution to implement the edit function and allow users to decide which way they want to go.

Statistics
  • Started: Friday, November 18, 2022
  • Last Reply: Tuesday, November 22, 2022
  • Replies: 2
  • Views: 86