Get details of an instruction

Params

Param name Description
pretty
optional

Return a pretty formatted response if true, Default is false


Value: Must be a Boolean
is_oem
optional

Show instruction of child account if is_oem flag is true.


Value: Must be one of: <code>true</code>, <code>false</code>, <code>true</code>, <code>false</code>.

Examples

Request
  curl -X GET -H "Content-Type:application/json" -H "X-Auth-Token:olezAZXGQn9MutnfNerKDQ"  https://api.datonis.io/api/v3/instructions/767dte9eeb

Response (containing details of the instruction)
{
  "instruction": {
    "definition": {
      "status": "off"
    },
    "description": "stop machine",
    "instruction_key": "767dte9eeb",
    "max_retries": 0,
    "name": "Stop Machine",
    "timeout": 30,
    "created_at": 1448429947,
    "updated_at": 1448429947
  }
}