Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Children Display
alltrue
styleh3
pageSuperb Cloud API

PUT /recipes/:recipe_id/recipe_steps/:recipe_step_id/move_to/:recipe_step_number

Swaps recipes

Sections:

Table of Contents
maxLevel4
minLevel2
includeResponse.*|JSON.*|XML.*|Explanation.*

Response Parameter

Info

204 status return on success

JSON Request example

Code Block
languagebash
themeRDark
curl -i -X PUT -u user:userpass <api_url>/recipes/:recipe_id/recipe_steps/:recipe_step_id/move_to/:recipe_step_number.json -H 'Accept: application/json' -H 'Content-type: application/json'

XML Request example

Code Block
languagebash
themeRDark
curl -i -X PUT -u user:userpass https://mycp.superb.net/recipes/:recipe_id/recipe_steps/:recipe_step_id/move_to/:recipe_step_number.xml -H 'Accept: application/xml' -H 'Content-type: application/xml'