mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 21:33:24 +03:00
9 lines
253 B
JavaScript
9 lines
253 B
JavaScript
|
import {paginatedResponse} from '../utils';
|
||
|
|
||
|
export default function mockApiKeys(server) {
|
||
|
server.get('/api-keys/', paginatedResponse('api-keys'));
|
||
|
server.post('/api-keys/');
|
||
|
server.put('/api-keys/:id/');
|
||
|
server.del('/api-keys/:id/');
|
||
|
}
|