forked from NodeBB/nodebb-plugin-write-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
21 lines (21 loc) · 694 Bytes
/
plugin.json
File metadata and controls
21 lines (21 loc) · 694 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"id": "nodebb-plugin-write-api",
"name": "NodeBB Write-Enabled API",
"description": "A RESTful JSON-speaking API allowing you to write things to NodeBB",
"url": "https://github.com/julianlam/nodebb-plugin-write-api",
"library": "./index.js",
"templates": "templates",
"hooks": [
{ "hook": "static:app.load", "method": "init" },
{ "hook": "filter:admin.header.build", "method": "addMenuItem" },
{ "hook": "response:middleware.authenticate", "method": "authenticate"},
{ "hook": "filter:router.page", "method": "associateUser" },
{ "hook": "action:settings.set", "method": "reloadSettings" }
],
"less": [
"./less/style.less"
],
"acpScripts": [
"public/js/admin.js"
]
}