@jgardner04/ghost-mcp-server 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -47,6 +47,8 @@ const mockCreatePostService = vi.fn();
|
|
|
47
47
|
const mockProcessImage = vi.fn();
|
|
48
48
|
const mockValidateImageUrl = vi.fn();
|
|
49
49
|
const mockCreateSecureAxiosConfig = vi.fn();
|
|
50
|
+
const mockUpdatePost = vi.fn();
|
|
51
|
+
const mockDeletePost = vi.fn();
|
|
50
52
|
|
|
51
53
|
vi.mock('../services/ghostService.js', () => ({
|
|
52
54
|
getPosts: (...args) => mockGetPosts(...args),
|
|
@@ -60,6 +62,11 @@ vi.mock('../services/postService.js', () => ({
|
|
|
60
62
|
createPostService: (...args) => mockCreatePostService(...args),
|
|
61
63
|
}));
|
|
62
64
|
|
|
65
|
+
vi.mock('../services/ghostServiceImproved.js', () => ({
|
|
66
|
+
updatePost: (...args) => mockUpdatePost(...args),
|
|
67
|
+
deletePost: (...args) => mockDeletePost(...args),
|
|
68
|
+
}));
|
|
69
|
+
|
|
63
70
|
vi.mock('../services/imageProcessingService.js', () => ({
|
|
64
71
|
processImage: (...args) => mockProcessImage(...args),
|
|
65
72
|
}));
|
|
@@ -438,3 +445,312 @@ describe('mcp_server_improved - ghost_get_post tool', () => {
|
|
|
438
445
|
expect(result.content[0].text).toContain('Either id or slug is required');
|
|
439
446
|
});
|
|
440
447
|
});
|
|
448
|
+
|
|
449
|
+
describe('mcp_server_improved - ghost_update_post tool', () => {
|
|
450
|
+
beforeEach(async () => {
|
|
451
|
+
vi.clearAllMocks();
|
|
452
|
+
// Don't clear mockTools - they're registered once on module load
|
|
453
|
+
if (mockTools.size === 0) {
|
|
454
|
+
await import('../mcp_server_improved.js');
|
|
455
|
+
}
|
|
456
|
+
});
|
|
457
|
+
|
|
458
|
+
it('should register ghost_update_post tool', () => {
|
|
459
|
+
expect(mockTools.has('ghost_update_post')).toBe(true);
|
|
460
|
+
});
|
|
461
|
+
|
|
462
|
+
it('should have correct schema with required id field', () => {
|
|
463
|
+
const tool = mockTools.get('ghost_update_post');
|
|
464
|
+
expect(tool).toBeDefined();
|
|
465
|
+
expect(tool.description).toContain('Updates an existing post');
|
|
466
|
+
expect(tool.schema).toBeDefined();
|
|
467
|
+
expect(tool.schema.id).toBeDefined();
|
|
468
|
+
expect(tool.schema.title).toBeDefined();
|
|
469
|
+
expect(tool.schema.html).toBeDefined();
|
|
470
|
+
expect(tool.schema.status).toBeDefined();
|
|
471
|
+
expect(tool.schema.tags).toBeDefined();
|
|
472
|
+
expect(tool.schema.feature_image).toBeDefined();
|
|
473
|
+
expect(tool.schema.feature_image_alt).toBeDefined();
|
|
474
|
+
expect(tool.schema.feature_image_caption).toBeDefined();
|
|
475
|
+
expect(tool.schema.meta_title).toBeDefined();
|
|
476
|
+
expect(tool.schema.meta_description).toBeDefined();
|
|
477
|
+
expect(tool.schema.published_at).toBeDefined();
|
|
478
|
+
expect(tool.schema.custom_excerpt).toBeDefined();
|
|
479
|
+
});
|
|
480
|
+
|
|
481
|
+
it('should update post title', async () => {
|
|
482
|
+
const mockUpdatedPost = {
|
|
483
|
+
id: '123',
|
|
484
|
+
title: 'Updated Title',
|
|
485
|
+
slug: 'test-post',
|
|
486
|
+
html: '<p>Content</p>',
|
|
487
|
+
status: 'published',
|
|
488
|
+
updated_at: '2025-12-10T12:00:00.000Z',
|
|
489
|
+
};
|
|
490
|
+
mockUpdatePost.mockResolvedValue(mockUpdatedPost);
|
|
491
|
+
|
|
492
|
+
const tool = mockTools.get('ghost_update_post');
|
|
493
|
+
const result = await tool.handler({ id: '123', title: 'Updated Title' });
|
|
494
|
+
|
|
495
|
+
expect(mockUpdatePost).toHaveBeenCalledWith('123', { title: 'Updated Title' });
|
|
496
|
+
expect(result.content[0].text).toContain('"title": "Updated Title"');
|
|
497
|
+
});
|
|
498
|
+
|
|
499
|
+
it('should update post content', async () => {
|
|
500
|
+
const mockUpdatedPost = {
|
|
501
|
+
id: '123',
|
|
502
|
+
title: 'Test Post',
|
|
503
|
+
html: '<p>Updated content</p>',
|
|
504
|
+
status: 'published',
|
|
505
|
+
updated_at: '2025-12-10T12:00:00.000Z',
|
|
506
|
+
};
|
|
507
|
+
mockUpdatePost.mockResolvedValue(mockUpdatedPost);
|
|
508
|
+
|
|
509
|
+
const tool = mockTools.get('ghost_update_post');
|
|
510
|
+
const result = await tool.handler({ id: '123', html: '<p>Updated content</p>' });
|
|
511
|
+
|
|
512
|
+
expect(mockUpdatePost).toHaveBeenCalledWith('123', { html: '<p>Updated content</p>' });
|
|
513
|
+
expect(result.content[0].text).toContain('Updated content');
|
|
514
|
+
});
|
|
515
|
+
|
|
516
|
+
it('should update post status', async () => {
|
|
517
|
+
const mockUpdatedPost = {
|
|
518
|
+
id: '123',
|
|
519
|
+
title: 'Test Post',
|
|
520
|
+
html: '<p>Content</p>',
|
|
521
|
+
status: 'published',
|
|
522
|
+
updated_at: '2025-12-10T12:00:00.000Z',
|
|
523
|
+
};
|
|
524
|
+
mockUpdatePost.mockResolvedValue(mockUpdatedPost);
|
|
525
|
+
|
|
526
|
+
const tool = mockTools.get('ghost_update_post');
|
|
527
|
+
const result = await tool.handler({ id: '123', status: 'published' });
|
|
528
|
+
|
|
529
|
+
expect(mockUpdatePost).toHaveBeenCalledWith('123', { status: 'published' });
|
|
530
|
+
expect(result.content[0].text).toContain('"status": "published"');
|
|
531
|
+
});
|
|
532
|
+
|
|
533
|
+
it('should update post tags', async () => {
|
|
534
|
+
const mockUpdatedPost = {
|
|
535
|
+
id: '123',
|
|
536
|
+
title: 'Test Post',
|
|
537
|
+
html: '<p>Content</p>',
|
|
538
|
+
tags: [{ name: 'tech' }, { name: 'javascript' }],
|
|
539
|
+
updated_at: '2025-12-10T12:00:00.000Z',
|
|
540
|
+
};
|
|
541
|
+
mockUpdatePost.mockResolvedValue(mockUpdatedPost);
|
|
542
|
+
|
|
543
|
+
const tool = mockTools.get('ghost_update_post');
|
|
544
|
+
const result = await tool.handler({ id: '123', tags: ['tech', 'javascript'] });
|
|
545
|
+
|
|
546
|
+
expect(mockUpdatePost).toHaveBeenCalledWith('123', { tags: ['tech', 'javascript'] });
|
|
547
|
+
expect(result.content[0].text).toContain('tech');
|
|
548
|
+
expect(result.content[0].text).toContain('javascript');
|
|
549
|
+
});
|
|
550
|
+
|
|
551
|
+
it('should update post featured image', async () => {
|
|
552
|
+
const mockUpdatedPost = {
|
|
553
|
+
id: '123',
|
|
554
|
+
title: 'Test Post',
|
|
555
|
+
feature_image: 'https://example.com/new-image.jpg',
|
|
556
|
+
feature_image_alt: 'New image',
|
|
557
|
+
updated_at: '2025-12-10T12:00:00.000Z',
|
|
558
|
+
};
|
|
559
|
+
mockUpdatePost.mockResolvedValue(mockUpdatedPost);
|
|
560
|
+
|
|
561
|
+
const tool = mockTools.get('ghost_update_post');
|
|
562
|
+
const result = await tool.handler({
|
|
563
|
+
id: '123',
|
|
564
|
+
feature_image: 'https://example.com/new-image.jpg',
|
|
565
|
+
feature_image_alt: 'New image',
|
|
566
|
+
});
|
|
567
|
+
|
|
568
|
+
expect(mockUpdatePost).toHaveBeenCalledWith('123', {
|
|
569
|
+
feature_image: 'https://example.com/new-image.jpg',
|
|
570
|
+
feature_image_alt: 'New image',
|
|
571
|
+
});
|
|
572
|
+
expect(result.content[0].text).toContain('new-image.jpg');
|
|
573
|
+
});
|
|
574
|
+
|
|
575
|
+
it('should update SEO meta fields', async () => {
|
|
576
|
+
const mockUpdatedPost = {
|
|
577
|
+
id: '123',
|
|
578
|
+
title: 'Test Post',
|
|
579
|
+
meta_title: 'SEO Title',
|
|
580
|
+
meta_description: 'SEO Description',
|
|
581
|
+
updated_at: '2025-12-10T12:00:00.000Z',
|
|
582
|
+
};
|
|
583
|
+
mockUpdatePost.mockResolvedValue(mockUpdatedPost);
|
|
584
|
+
|
|
585
|
+
const tool = mockTools.get('ghost_update_post');
|
|
586
|
+
const result = await tool.handler({
|
|
587
|
+
id: '123',
|
|
588
|
+
meta_title: 'SEO Title',
|
|
589
|
+
meta_description: 'SEO Description',
|
|
590
|
+
});
|
|
591
|
+
|
|
592
|
+
expect(mockUpdatePost).toHaveBeenCalledWith('123', {
|
|
593
|
+
meta_title: 'SEO Title',
|
|
594
|
+
meta_description: 'SEO Description',
|
|
595
|
+
});
|
|
596
|
+
expect(result.content[0].text).toContain('SEO Title');
|
|
597
|
+
expect(result.content[0].text).toContain('SEO Description');
|
|
598
|
+
});
|
|
599
|
+
|
|
600
|
+
it('should update multiple fields at once', async () => {
|
|
601
|
+
const mockUpdatedPost = {
|
|
602
|
+
id: '123',
|
|
603
|
+
title: 'Updated Title',
|
|
604
|
+
html: '<p>Updated content</p>',
|
|
605
|
+
status: 'published',
|
|
606
|
+
tags: [{ name: 'tech' }],
|
|
607
|
+
updated_at: '2025-12-10T12:00:00.000Z',
|
|
608
|
+
};
|
|
609
|
+
mockUpdatePost.mockResolvedValue(mockUpdatedPost);
|
|
610
|
+
|
|
611
|
+
const tool = mockTools.get('ghost_update_post');
|
|
612
|
+
const result = await tool.handler({
|
|
613
|
+
id: '123',
|
|
614
|
+
title: 'Updated Title',
|
|
615
|
+
html: '<p>Updated content</p>',
|
|
616
|
+
status: 'published',
|
|
617
|
+
tags: ['tech'],
|
|
618
|
+
});
|
|
619
|
+
|
|
620
|
+
expect(mockUpdatePost).toHaveBeenCalledWith('123', {
|
|
621
|
+
title: 'Updated Title',
|
|
622
|
+
html: '<p>Updated content</p>',
|
|
623
|
+
status: 'published',
|
|
624
|
+
tags: ['tech'],
|
|
625
|
+
});
|
|
626
|
+
expect(result.content[0].text).toContain('Updated Title');
|
|
627
|
+
});
|
|
628
|
+
|
|
629
|
+
it('should handle not found errors', async () => {
|
|
630
|
+
mockUpdatePost.mockRejectedValue(new Error('Post not found'));
|
|
631
|
+
|
|
632
|
+
const tool = mockTools.get('ghost_update_post');
|
|
633
|
+
const result = await tool.handler({ id: 'nonexistent', title: 'New Title' });
|
|
634
|
+
|
|
635
|
+
expect(result.isError).toBe(true);
|
|
636
|
+
expect(result.content[0].text).toContain('Post not found');
|
|
637
|
+
});
|
|
638
|
+
|
|
639
|
+
it('should handle validation errors', async () => {
|
|
640
|
+
mockUpdatePost.mockRejectedValue(new Error('Validation failed: Title is required'));
|
|
641
|
+
|
|
642
|
+
const tool = mockTools.get('ghost_update_post');
|
|
643
|
+
const result = await tool.handler({ id: '123', title: '' });
|
|
644
|
+
|
|
645
|
+
expect(result.isError).toBe(true);
|
|
646
|
+
expect(result.content[0].text).toContain('Validation failed');
|
|
647
|
+
});
|
|
648
|
+
|
|
649
|
+
it('should handle Ghost API errors', async () => {
|
|
650
|
+
mockUpdatePost.mockRejectedValue(new Error('Ghost API error: Server timeout'));
|
|
651
|
+
|
|
652
|
+
const tool = mockTools.get('ghost_update_post');
|
|
653
|
+
const result = await tool.handler({ id: '123', title: 'Updated' });
|
|
654
|
+
|
|
655
|
+
expect(result.isError).toBe(true);
|
|
656
|
+
expect(result.content[0].text).toContain('Ghost API error');
|
|
657
|
+
});
|
|
658
|
+
|
|
659
|
+
it('should return formatted JSON response', async () => {
|
|
660
|
+
const mockUpdatedPost = {
|
|
661
|
+
id: '123',
|
|
662
|
+
uuid: 'uuid-123',
|
|
663
|
+
title: 'Updated Post',
|
|
664
|
+
slug: 'updated-post',
|
|
665
|
+
html: '<p>Updated content</p>',
|
|
666
|
+
status: 'published',
|
|
667
|
+
created_at: '2025-12-09T00:00:00.000Z',
|
|
668
|
+
updated_at: '2025-12-10T12:00:00.000Z',
|
|
669
|
+
};
|
|
670
|
+
mockUpdatePost.mockResolvedValue(mockUpdatedPost);
|
|
671
|
+
|
|
672
|
+
const tool = mockTools.get('ghost_update_post');
|
|
673
|
+
const result = await tool.handler({ id: '123', title: 'Updated Post' });
|
|
674
|
+
|
|
675
|
+
expect(result.content).toBeDefined();
|
|
676
|
+
expect(result.content[0].type).toBe('text');
|
|
677
|
+
expect(result.content[0].text).toContain('"id": "123"');
|
|
678
|
+
expect(result.content[0].text).toContain('"title": "Updated Post"');
|
|
679
|
+
expect(result.content[0].text).toContain('"status": "published"');
|
|
680
|
+
});
|
|
681
|
+
});
|
|
682
|
+
|
|
683
|
+
describe('mcp_server_improved - ghost_delete_post tool', () => {
|
|
684
|
+
beforeEach(async () => {
|
|
685
|
+
vi.clearAllMocks();
|
|
686
|
+
// Don't clear mockTools - they're registered once on module load
|
|
687
|
+
if (mockTools.size === 0) {
|
|
688
|
+
await import('../mcp_server_improved.js');
|
|
689
|
+
}
|
|
690
|
+
});
|
|
691
|
+
|
|
692
|
+
it('should register ghost_delete_post tool', () => {
|
|
693
|
+
expect(mockTools.has('ghost_delete_post')).toBe(true);
|
|
694
|
+
});
|
|
695
|
+
|
|
696
|
+
it('should have correct schema with required id field', () => {
|
|
697
|
+
const tool = mockTools.get('ghost_delete_post');
|
|
698
|
+
expect(tool).toBeDefined();
|
|
699
|
+
expect(tool.description).toContain('Deletes a post');
|
|
700
|
+
expect(tool.description).toContain('permanent');
|
|
701
|
+
expect(tool.schema).toBeDefined();
|
|
702
|
+
expect(tool.schema.id).toBeDefined();
|
|
703
|
+
});
|
|
704
|
+
|
|
705
|
+
it('should delete post by ID', async () => {
|
|
706
|
+
mockDeletePost.mockResolvedValue({ deleted: true });
|
|
707
|
+
|
|
708
|
+
const tool = mockTools.get('ghost_delete_post');
|
|
709
|
+
const result = await tool.handler({ id: '123' });
|
|
710
|
+
|
|
711
|
+
expect(mockDeletePost).toHaveBeenCalledWith('123');
|
|
712
|
+
expect(result.content[0].text).toContain('Post 123 has been successfully deleted');
|
|
713
|
+
expect(result.isError).toBeUndefined();
|
|
714
|
+
});
|
|
715
|
+
|
|
716
|
+
it('should handle not found errors', async () => {
|
|
717
|
+
mockDeletePost.mockRejectedValue(new Error('Post not found'));
|
|
718
|
+
|
|
719
|
+
const tool = mockTools.get('ghost_delete_post');
|
|
720
|
+
const result = await tool.handler({ id: 'nonexistent' });
|
|
721
|
+
|
|
722
|
+
expect(result.isError).toBe(true);
|
|
723
|
+
expect(result.content[0].text).toContain('Post not found');
|
|
724
|
+
});
|
|
725
|
+
|
|
726
|
+
it('should handle Ghost API errors', async () => {
|
|
727
|
+
mockDeletePost.mockRejectedValue(new Error('Ghost API error: Permission denied'));
|
|
728
|
+
|
|
729
|
+
const tool = mockTools.get('ghost_delete_post');
|
|
730
|
+
const result = await tool.handler({ id: '123' });
|
|
731
|
+
|
|
732
|
+
expect(result.isError).toBe(true);
|
|
733
|
+
expect(result.content[0].text).toContain('Ghost API error');
|
|
734
|
+
});
|
|
735
|
+
|
|
736
|
+
it('should return success message on successful deletion', async () => {
|
|
737
|
+
mockDeletePost.mockResolvedValue({ deleted: true });
|
|
738
|
+
|
|
739
|
+
const tool = mockTools.get('ghost_delete_post');
|
|
740
|
+
const result = await tool.handler({ id: 'test-post-id' });
|
|
741
|
+
|
|
742
|
+
expect(result.content).toBeDefined();
|
|
743
|
+
expect(result.content[0].type).toBe('text');
|
|
744
|
+
expect(result.content[0].text).toBe('Post test-post-id has been successfully deleted.');
|
|
745
|
+
});
|
|
746
|
+
|
|
747
|
+
it('should handle network errors', async () => {
|
|
748
|
+
mockDeletePost.mockRejectedValue(new Error('Network error: Connection refused'));
|
|
749
|
+
|
|
750
|
+
const tool = mockTools.get('ghost_delete_post');
|
|
751
|
+
const result = await tool.handler({ id: '123' });
|
|
752
|
+
|
|
753
|
+
expect(result.isError).toBe(true);
|
|
754
|
+
expect(result.content[0].text).toContain('Network error');
|
|
755
|
+
});
|
|
756
|
+
});
|
|
@@ -376,6 +376,94 @@ server.tool(
|
|
|
376
376
|
}
|
|
377
377
|
);
|
|
378
378
|
|
|
379
|
+
// Update Post Tool
|
|
380
|
+
server.tool(
|
|
381
|
+
'ghost_update_post',
|
|
382
|
+
'Updates an existing post in Ghost CMS. Can update title, content, status, tags, images, and SEO fields.',
|
|
383
|
+
{
|
|
384
|
+
id: z.string().describe('The ID of the post to update.'),
|
|
385
|
+
title: z.string().optional().describe('New title for the post.'),
|
|
386
|
+
html: z.string().optional().describe('New HTML content for the post.'),
|
|
387
|
+
status: z
|
|
388
|
+
.enum(['draft', 'published', 'scheduled'])
|
|
389
|
+
.optional()
|
|
390
|
+
.describe('New status for the post.'),
|
|
391
|
+
tags: z
|
|
392
|
+
.array(z.string())
|
|
393
|
+
.optional()
|
|
394
|
+
.describe('New list of tag names to associate with the post.'),
|
|
395
|
+
feature_image: z.string().optional().describe('New featured image URL.'),
|
|
396
|
+
feature_image_alt: z.string().optional().describe('New alt text for the featured image.'),
|
|
397
|
+
feature_image_caption: z.string().optional().describe('New caption for the featured image.'),
|
|
398
|
+
meta_title: z.string().optional().describe('New custom title for SEO (max 300 chars).'),
|
|
399
|
+
meta_description: z
|
|
400
|
+
.string()
|
|
401
|
+
.optional()
|
|
402
|
+
.describe('New custom description for SEO (max 500 chars).'),
|
|
403
|
+
published_at: z
|
|
404
|
+
.string()
|
|
405
|
+
.optional()
|
|
406
|
+
.describe(
|
|
407
|
+
"New publication date/time in ISO 8601 format. Required if changing status to 'scheduled'."
|
|
408
|
+
),
|
|
409
|
+
custom_excerpt: z.string().optional().describe('New custom short summary for the post.'),
|
|
410
|
+
},
|
|
411
|
+
async (input) => {
|
|
412
|
+
console.error(`Executing tool: ghost_update_post for post ID: ${input.id}`);
|
|
413
|
+
try {
|
|
414
|
+
await loadServices();
|
|
415
|
+
|
|
416
|
+
// Extract ID from input and build update data
|
|
417
|
+
const { id, ...updateData } = input;
|
|
418
|
+
|
|
419
|
+
// Update the post using ghostServiceImproved
|
|
420
|
+
const ghostServiceImproved = await import('./services/ghostServiceImproved.js');
|
|
421
|
+
const updatedPost = await ghostServiceImproved.updatePost(id, updateData);
|
|
422
|
+
console.error(`Post updated successfully. Post ID: ${updatedPost.id}`);
|
|
423
|
+
|
|
424
|
+
return {
|
|
425
|
+
content: [{ type: 'text', text: JSON.stringify(updatedPost, null, 2) }],
|
|
426
|
+
};
|
|
427
|
+
} catch (error) {
|
|
428
|
+
console.error(`Error in ghost_update_post:`, error);
|
|
429
|
+
return {
|
|
430
|
+
content: [{ type: 'text', text: `Error updating post: ${error.message}` }],
|
|
431
|
+
isError: true,
|
|
432
|
+
};
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
);
|
|
436
|
+
|
|
437
|
+
// Delete Post Tool
|
|
438
|
+
server.tool(
|
|
439
|
+
'ghost_delete_post',
|
|
440
|
+
'Deletes a post from Ghost CMS by ID. This operation is permanent and cannot be undone.',
|
|
441
|
+
{
|
|
442
|
+
id: z.string().describe('The ID of the post to delete.'),
|
|
443
|
+
},
|
|
444
|
+
async ({ id }) => {
|
|
445
|
+
console.error(`Executing tool: ghost_delete_post for post ID: ${id}`);
|
|
446
|
+
try {
|
|
447
|
+
await loadServices();
|
|
448
|
+
|
|
449
|
+
// Delete the post using ghostServiceImproved
|
|
450
|
+
const ghostServiceImproved = await import('./services/ghostServiceImproved.js');
|
|
451
|
+
await ghostServiceImproved.deletePost(id);
|
|
452
|
+
console.error(`Post deleted successfully. Post ID: ${id}`);
|
|
453
|
+
|
|
454
|
+
return {
|
|
455
|
+
content: [{ type: 'text', text: `Post ${id} has been successfully deleted.` }],
|
|
456
|
+
};
|
|
457
|
+
} catch (error) {
|
|
458
|
+
console.error(`Error in ghost_delete_post:`, error);
|
|
459
|
+
return {
|
|
460
|
+
content: [{ type: 'text', text: `Error deleting post: ${error.message}` }],
|
|
461
|
+
isError: true,
|
|
462
|
+
};
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
);
|
|
466
|
+
|
|
379
467
|
// --- Main Entry Point ---
|
|
380
468
|
|
|
381
469
|
async function main() {
|
|
@@ -386,7 +474,7 @@ async function main() {
|
|
|
386
474
|
|
|
387
475
|
console.error('Ghost MCP Server running on stdio transport');
|
|
388
476
|
console.error(
|
|
389
|
-
'Available tools: ghost_get_tags, ghost_create_tag, ghost_upload_image, ghost_create_post, ghost_get_posts, ghost_get_post'
|
|
477
|
+
'Available tools: ghost_get_tags, ghost_create_tag, ghost_upload_image, ghost_create_post, ghost_get_posts, ghost_get_post, ghost_update_post, ghost_delete_post'
|
|
390
478
|
);
|
|
391
479
|
}
|
|
392
480
|
|