Add API endpoint to fetch list of plugins to core API
This commit is contained in:
parent
dff1cec9e0
commit
66ab9dcc8b
|
@ -10,4 +10,13 @@ export const buildPluginEndpoints = API => ({
|
||||||
json: false,
|
json: false,
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets a list of all plugins
|
||||||
|
*/
|
||||||
|
getPlugins: async () => {
|
||||||
|
return await API.get({
|
||||||
|
url: "/api/plugin",
|
||||||
|
})
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue