User:Ncarthy: Difference between revisions
Appearance
m Creating user page for new user. |
No edit summary |
||
| Line 1: | Line 1: | ||
Executes the given addon with the given parameters (if possible)<br /> | |||
'''Permissions:''' | |||
* ExecuteAddon | |||
'''Parameters:''' | |||
<div style="margin-left: 20px; width: 60%; padding: 0px 5px 0px 5px; border-width: 1px; border-style: solid; border-color: #AAAAAA"> | |||
[ | |||
{ | |||
"name": "addonid", | |||
"required": true, | |||
"type": "string" | |||
}, | |||
{ | |||
"default": "", | |||
"name": "params", | |||
"type": [ | |||
{ | |||
"additionalProperties": { | |||
"default": "", | |||
"type": "string" | |||
}, | |||
"type": "object" | |||
}, | |||
{ | |||
"items": { | |||
"type": "string" | |||
}, | |||
"type": "array" | |||
}, | |||
{ | |||
"description": "URL path (must start with / or ?", | |||
"type": "string" | |||
} | |||
] | |||
}, | |||
{ | |||
"default": false, | |||
"name": "wait", | |||
"type": "boolean" | |||
} | |||
] | |||
</div> | |||
'''Returns:''' ''{ | |||
"type": "string" | |||
} | |||
'' | |||
{{hidden|style = width: 60%;|headerstyle = background: #cccccc;|contentstyle = text-align: left; border: 0px solid #AAAAAA;|JSON Schema Description|<syntaxhighlight lang="javascript" enclose="div">{{ | |||
"params": [ | |||
{ | |||
"name": "addonid", | |||
"required": true, | |||
"type": "string" | |||
}, | |||
{ | |||
"default": "", | |||
"name": "params", | |||
"type": [ | |||
{ | |||
"additionalProperties": { | |||
"default": "", | |||
"type": "string" | |||
}, | |||
"type": "object" | |||
}, | |||
{ | |||
"items": { | |||
"type": "string" | |||
}, | |||
"type": "array" | |||
}, | |||
{ | |||
"description": "URL path (must start with / or ?", | |||
"type": "string" | |||
} | |||
] | |||
}, | |||
{ | |||
"default": false, | |||
"name": "wait", | |||
"type": "boolean" | |||
} | |||
] | |||
}}</syntaxhighlight>}} | |||
Revision as of 23:58, 18 February 2017
Executes the given addon with the given parameters (if possible)
Permissions:
- ExecuteAddon
Parameters:
[
{
"name": "addonid",
"required": true,
"type": "string"
},
{
"default": "",
"name": "params",
"type": [
{
"additionalProperties": {
"default": "",
"type": "string"
},
"type": "object"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"description": "URL path (must start with / or ?",
"type": "string"
}
]
},
{
"default": false,
"name": "wait",
"type": "boolean"
}
]
Returns: {
"type": "string"
}
| JSON Schema Description |
|---|
{{
"params": [
{
"name": "addonid",
"required": true,
"type": "string"
},
{
"default": "",
"name": "params",
"type": [
{
"additionalProperties": {
"default": "",
"type": "string"
},
"type": "object"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"description": "URL path (must start with / or ?",
"type": "string"
}
]
},
{
"default": false,
"name": "wait",
"type": "boolean"
}
]
}}
|