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

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",
    "name": "Stop Machine",
    "created_at": 1448429947,
    "updated_at": 1448429947
  }
}