meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:restapi [2016/06/30 08:20] – duncanc | plugin:restapi [2024/05/20 00:00] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== REST API ====== | ||
+ | |||
+ | ---- plugin ---- | ||
+ | |||
+ | description: | ||
+ | author | ||
+ | email : info@phplist.com | ||
+ | type : | ||
+ | compatible : 3.2.3 and later | ||
+ | depends | ||
+ | conflicts | ||
+ | similar | ||
+ | tags : api, rest | ||
+ | |||
+ | downloadurl: | ||
+ | bugtracker : http:// | ||
+ | sourcerepo : http:// | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Purpose ===== | ||
+ | |||
+ | //Please see the newer phpList REST API which is included by default in phpList 3.4.0+// | ||
+ | |||
+ | It provides a REST API interface to phpList. | ||
+ | |||
+ | This is the continuation of the original REST API plugin by Andreas Ek | ||
+ | |||
+ | If you use this plugin, please sign up to the [[http:// | ||
+ | |||
+ | |||
+ | **IMPORTANT**: | ||
+ | |||
+ | The previous version is available on https:// | ||
+ | |||
+ | ===== Installation ===== | ||
+ | |||
+ | Install the plugin using the [[plugin: | ||
+ | |||
+ | |||
+ | Once the plugin is installed, two plugins will list in the " | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | The current plugin is the one called **restapi** and you need to enable it on to use it. | ||
+ | |||
+ | The other plugin provides a set of tests. | ||
+ | ===== Examples/ | ||
+ | |||
+ | The plugin is CI tested on https:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | Further examples in PHP, and an example Client class, can be found at https:// | ||
+ | |||
+ | ===== Configuration ===== | ||
+ | |||
+ | The plugin will add the following entries to the Settings page of phpList | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | - **Maximum number of RESTAPI requests per minute** - will restrict the use of the API | ||
+ | - **Require SSL on Rest API calls** - will enforce the URL to be on SSL. This only works if your phpList installation can be accessed via SSL | ||
+ | - **IP Address that is allowed to access the API** - if you only access the phpList system from one IP address, you can use this to prevent unauthorised access attempts | ||
+ | - **Require the secret code for Rest API calls** - Set this to YES to require the API calls to include the secret (//Secret for remote processing// | ||
+ | |||
+ | |||
+ | ===== Development ===== | ||
+ | |||
+ | |||
+ | The current state of the plugin allows for simple calls to manipulate lists, subscribers, | ||
+ | |||
+ | |||
+ | === Change Log === | ||
+ | |||
+ | * **2015/ | ||
+ | * **2014/ | ||
+ | |||
+ | === Known Bugs and Issues === | ||
+ | |||
+ | - The API cannot handle Subscriber Attributes at the moment | ||
+ | - Certain actions in the API need to be passed through other plugins | ||