•  
     
    story #19304 manage steps in REST API: GET /artifacts/:id
Summary
Empty
manage steps in REST API: GET /artifacts/:id

I can automate things related to steps (like import from another tool)

  • GET /artifacts/:id to list the steps
    • Note: the value can already be retrieved with /testmanagement_definition/:id route however we need to add the step definition here to be on par with what POST and PUT allows. Otherwise we would have to create 2 brand new routes (POST /testmanagement_definitions and PUT /testmanagement_definitions/:id) and, for the end users that wants to manipulate the API, to create a test with steps it would require 1 call to create artifact and 1 call to define steps).

For all routes, the step field will looks like (it's the same format than steps field in /testmanagement_definition/:id route) :

    {
      "field_id": int,
      "type": "ttmstepdef",
      "label": "string",
      "value": [
          {
              "id": int,
              "description": string,
              "description_format": string,
              "expected_results": string,
              "expected_results_format": string,
              "rank": int
          },
          ...
      ]
    }
Empty
Empty
Status
Empty
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#19304
Manuel Vacelet (vaceletm)
2021-03-16 09:45
2021-02-15 10:12
3806

References

Follow-ups

User avatar

Create a dedicate story for each route


  • I want to
    -manage steps in REST API 
    +manage steps in REST API: GET /artifacts/:id 
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • Is related to
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • So that
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes