Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ardisdk:api_addon [2025/04/08 02:47] (current)
optrix created
Line 1: Line 1:
 +====/api/addon====
  
 +===Usage===
 +
 +This function checks to see if a particular addon is installed and/or enabled
 +
 +===Details==
 +
 +^Detail^Value^
 +|Group|Server|
 +|From Server Version|0.9.0|
 +|Permission|[[permission_guest|Public]]|
 +|Methods|GET or POST|
 +
 +==Parameters==
 +
 +^Parameter^Notes^Meaning^
 +|**code**|String|The short-code (folder name) of the addon|
 +
 +===Return Value===
 +
 +The returns either **INVALID**, **INACTIVE** or **ENABLED**, depending on if an addon with the folder name given in the //code// parameter exists and is enabled for the given site.
 +
 +A value of **INVALID** indicates a bad query or invalid addon code.