Instructions
Compile and save instruction
Compile a Watch DSL script and persist it as an instruction for transaction evaluation.
POST
Blnk Watch is currently in beta. Send us a message
Body
string
required
The Watch DSL script to compile. The rule name is extracted from the script and must be unique across instructions.
Response fields
integer
Auto-generated instruction ID. Use this with get instruction and delete instruction.
string
Unique rule name extracted from the DSL script.
string
Original Watch DSL script text.
string
Rule description from the DSL script, if provided.
string
Compiled rule JSON used during transaction evaluation.
string
ISO 8601 timestamp of when the instruction was created.
string
ISO 8601 timestamp of when the instruction was last updated.