Steps

Reorders steps within a guide

post/api/v1/steps/reorder

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/api/v1/steps/reorder
  • Auth: none declared

Request body

guide_idstring uuid required
next_step_idstring nullable
prev_step_idstring nullable
target_step_idstring required

Example request

{
  "guide_id": "248df4b7-aa70-47b8-a036-33ac447e668d"
}

Response

OK

Example response

{
  "steps": [
    {
      "guide_id": "248df4b7-aa70-47b8-a036-33ac447e668d",
      "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
      "media_assets": [
        {
          "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
          "step_id": "248df4b7-aa70-47b8-a036-33ac447e668d"
        }
      ]
    }
  ]
}

Changes

    • warning

      added the new keypress enum value to the ////// response property for the response status