settings' API routes
This commit is contained in:
parent
6f12870e70
commit
a49565c6c2
3
app.js
3
app.js
@ -67,6 +67,9 @@
|
||||
ghost.app().post('/api/v0.1/posts/create', auth, api.requestHandler(api.posts.add));
|
||||
ghost.app().put('/api/v0.1/posts/edit', auth, api.requestHandler(api.posts.edit));
|
||||
ghost.app()['delete']('/api/v0.1/posts/:id', auth, api.requestHandler(api.posts.destroy));
|
||||
ghost.app().get('/api/v0.1/settings', auth, api.requestHandler(api.settings.browse));
|
||||
ghost.app().get('/api/v0.1/settings/:key', auth, api.requestHandler(api.settings.read));
|
||||
ghost.app().put('/api/v0.1/settings/edit', auth, api.requestHandler(api.settings.edit));
|
||||
|
||||
/**
|
||||
* Admin routes..
|
||||
|
Loading…
Reference in New Issue
Block a user