2014-09-09 22:13:18 -04:00
|
|
|
{
|
|
|
|
"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": [
|
2014-09-24 14:22:53 -04:00
|
|
|
{ "hook": "static:app.load", "method": "init" },
|
2015-04-03 21:27:07 -04:00
|
|
|
{ "hook": "filter:admin.header.build", "method": "addMenuItem" },
|
2019-01-19 14:52:09 -05:00
|
|
|
{ "hook": "response:middleware.authenticate", "method": "authenticate"},
|
2016-07-26 12:00:15 -04:00
|
|
|
{ "hook": "filter:router.page", "method": "associateUser" },
|
2015-07-20 17:12:07 -04:00
|
|
|
{ "hook": "action:settings.set", "method": "reloadSettings" }
|
2014-09-09 22:13:18 -04:00
|
|
|
],
|
2014-09-24 15:58:11 -04:00
|
|
|
"less": [
|
|
|
|
"./less/style.less"
|
|
|
|
],
|
2022-07-20 16:08:19 -04:00
|
|
|
"modules": {
|
|
|
|
"../admin/plugins/write-api.js": "public/js/admin.js"
|
|
|
|
}
|
2014-09-09 22:13:18 -04:00
|
|
|
}
|