mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Removed configuration endpoint from Content API V2
no issue - we are not aware of a use case for this endpoint currently
This commit is contained in:
parent
1b9c61eed1
commit
65f6f64f91
1 changed files with 0 additions and 4 deletions
|
@ -1,14 +1,10 @@
|
|||
const express = require('express');
|
||||
const api = require('../../../../api');
|
||||
const apiv2 = require('../../../../api/v2');
|
||||
const mw = require('./middleware');
|
||||
|
||||
module.exports = function apiRoutes() {
|
||||
const router = express.Router();
|
||||
|
||||
// ## Configuration
|
||||
router.get('/configuration', api.http(api.configuration.read));
|
||||
|
||||
// ## Posts
|
||||
router.get('/posts', mw.authenticatePublic, apiv2.http(apiv2.posts.browse));
|
||||
router.get('/posts/:id', mw.authenticatePublic, apiv2.http(apiv2.posts.read));
|
||||
|
|
Loading…
Add table
Reference in a new issue