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
24 lines (24 loc) · 908 Bytes
/
plugin.json
File metadata and controls
24 lines (24 loc) · 908 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"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": "static:app.preload", "method": "onPreload" },
{ "hook": "filter:admin.header.build", "method": "addMenuItem" },
{ "hook": "action:middleware.authenticate", "method": "authenticate"},
{ "hook": "filter:router.page", "method": "associateUser" },
{ "hook": "action:settings.set", "method": "reloadSettings" },
{ "hook": "filter:group.create", "method": "hooks.filter.groupCreate" },
{ "hook": "filter:category.create", "method": "hooks.filter.categoryCreate" }
],
"less": [
"./less/style.less"
],
"acpScripts": [
"public/js/admin.js"
]
}