Difference between revisions of "Template:AutomationPrimitiveCommand"

From iPi Docs
Jump to: navigation, search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table class="wikitable" style="font-size: smaller; min-width: 50%">
+
{{AutomationCommandParams}}
<tr><th>Parameter Name</th><th>Type</th><th>Mandatory /<br>Optional</th><th>Allowed Values</th><th>Description</th></tr>
+
 
<tr><td colspan="5" style="background-color: white;">'''Arguments'''</td></tr>
+
<tr><td colspan="5">''No arguments''</td></tr>
+
<tr><td colspan="5" style="background-color: white;">'''Result'''</td></tr>
+
<tr><td colspan="5">''Empty result''</td></tr>
+
</table>
+
 
''EXAMPLE''
 
''EXAMPLE''
  
<syntaxhighlight lang=javascript>
+
{{#tag:syntaxhighlight|
 
// Request
 
// Request
 
{
 
{
Line 18: Line 13:
 
     "success": true
 
     "success": true
 
}
 
}
</syntaxhighlight>
+
|lang=javascript}}

Latest revision as of 07:28, 26 February 2020

{{{events}}}

Parameter NameTypeMandatory /
Optional
Allowed ValuesDescription
Arguments
No arguments
Result
Empty result

EXAMPLE

// Request
{
    "command": "{{{1}}}"
}
 
// Response
{
    "success": true
}