- Created by Unknown User (sraaum), last modified on Oct 17, 2015
API Essentials
API Key Generation
Autoscaling
Backups
- Add/Edit Note
- Convert Backup to Template
- Create Backup
- Delete Backup
- Get List of All VS Backups
- Get List of Incremental Backups
- Get List of Normal Backups
- Restore Disk from Backup
Credit
DNS
- Add DNS Record
- Add DNS Zone
- Delete DNS Record
- Delete DNS Zone
- Edit DNS Record
- Get DNS Zones
- Get List of DNS Zone Records
- Get List of Name Servers
Firewall Rules
Flex Cloud VM Control
Getting Started with Superb Flex Cloud
IP Addresses
Logs
Network Interfaces
Recipes
- Add Recipe
- Add Recipe Step
- Assign Recipe to Virtual Server
- Delete Recipe
- Delete Recipe Step
- Edit Recipe
- Edit Recipe Step
- Get All Recipes
- Get Recipe Steps
- Get Virtual Server Recipes
- Remove recipe from Virtual Server
- Run Recipe on Multiple Virtual Servers
- Swap Recipe Step Number
SSH Keys
Templates
Test Route
Troubleshooting API Issues
Viewing Activity Logs
Virtual Server Operating Systems
Virtual Servers
- Add Virtual Server
- Billing Statistics
- Build Virtual Server
- Delete Virtual Server
- Edit Virtual Server
- Get CPU Usage Statistics
- Get List of Virtual Machines
- Get statuses for All VMs
- Reboot Virtual Server
- Reset VS Password
- Shutdown Virtual Server
- Startup a Virtual Server
- Stop Virtual Server
VS Disks
GET /recipes/:recipe_id/recipe_steps
Gets a list of recipe steps for specified recipe
Sections:
Response Parameters
compatible_with - recipe compatibility: windows or unix
created_at — the date when the recipe was created in the [YYYY][MM][DD]T[hh][mm][ss]Z format
description - recipe description
id - recipe ID
label - recipe label
script_type - script type for Windows-compatible recipes:
- bat
- vbs
- powershell (PowerShell v1.0)
updated_at — the date when the recipe was updated in the [YYYY][MM][DD]T[hh][mm][ss]Z format
use_on_hv_zones - true, if the recipe can be used on hypervisor zones, otherwise false
use_on_vms - true, if the recipe can be used on virtual servers, otherwise false
user_id — the ID of a recipe owner
recipe_steps - an array of recipe steps with the following details:
created_at — the date when the step was created in the [YYYY][MM][DD]T[hh][mm][ss]Z format
updated_at — the date when the step was updated in the [YYYY][MM][DD]T[hh][mm][ss]Z format
- fail_anything_else - set true, if you have specified the recipe pass value, otherwise set false
- fail_values - recipe fail value
failure_goto_step - if the on_failure parameter = go to step, specify the step to proceed to. If you specify the nonexistent step, the recipe will be stopped.
id - step ID
number - step number
on_failure - step behavior in case of failure:
- proceed - proceed to the next step.
- fail - terminate the recipe and mark it as failed.
- stop - terminate the recipe and mark it as successful.
- go_to_step - specify the step to proceed to. If you specify the nonexistent step, the recipe will be stopped.
on_success - step behavior in case of success:
- proceed - proceed to the next step.
- fail - terminate the recipe and mark it as failed.
- stop - terminate the recipe and mark it as successful.
- go_to_step - specify the step to proceed to. If you specify the nonexistent step, the recipe will be stopped.
pass_anything_else - set true, if you have specified the recipe fail value, otherwise set false
pass_values - recipe pass value
recipe_id - ID of a recipe the step belongs to
result_source - step result source:
exit_code - an exit status, e.g. 0 will be returned on success
- std_out - standard output
- std_err - standard error
- std_out_and_std_err - standard output and standard error
success_goto_step - if the on_success parameter = go to step, specify the step to proceed to. If you specify the nonexistent step, the recipe will be stopped.
JSON Request example
curl -i -X GET -u user:userpass <api_url>/recipes/:recipe_id/recipe_steps.json -H 'Accept: application/json' -H 'Content-type: application/json'
XML Request example
curl -i -X GET -u user:userpass <api_url>/recipes/:recipe_id/recipe_steps.xml -H 'Accept: application/xml' -H 'Content-type: application/xml'
- No labels