Difference between revisions of "Attached Data Examples"

From MSX - Wiki
Jump to navigation Jump to search
(Created page with "These are examples of the attached data that is sent/committed to the server/plugin for specific execute/commit actions. They are only valid for version '''0.1.125+'''. Please...")
 
Line 1: Line 1:
 
These are examples of the attached data that is sent/committed to the server/plugin for specific execute/commit actions. They are only valid for version '''0.1.125+'''. Please ensure that you are using the correct version, because the syntax in previous versions can be different. For more information about the execute/commit actions, please see [[Internal Actions]].
 
These are examples of the attached data that is sent/committed to the server/plugin for specific execute/commit actions. They are only valid for version '''0.1.125+'''. Please ensure that you are using the correct version, because the syntax in previous versions can be different. For more information about the execute/commit actions, please see [[Internal Actions]].
 +
 +
'''Note: Please note that no action-related <code>data</code> property is used for all examples. Therefore, the sent/committed <code>data</code> property is always <code>null</code>.'''
  
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
|+ Attached data examples
+
|+ Examples of attached data
 
|-
 
|-
 
! Action Example !! class="unsortable" | Data Example
 
! Action Example !! class="unsortable" | Data Example
Line 11: Line 13:
 
<code>interaction:commit</code><br/>
 
<code>interaction:commit</code><br/>
 
|
 
|
 
+
<syntaxhighlight lang="json">
 +
{
 +
    "data": null
 +
}
 +
</syntaxhighlight>
 
|}
 
|}

Revision as of 11:48, 14 January 2021

These are examples of the attached data that is sent/committed to the server/plugin for specific execute/commit actions. They are only valid for version 0.1.125+. Please ensure that you are using the correct version, because the syntax in previous versions can be different. For more information about the execute/commit actions, please see Internal Actions.

Note: Please note that no action-related data property is used for all examples. Therefore, the sent/committed data property is always null.

Examples of attached data
Action Example Data Example

execute:{URL}
player:commit
interaction:commit

{
    "data": null
}