123
This commit is contained in:
@@ -3,6 +3,7 @@ URL configuration for WordPress publishing endpoints
|
||||
"""
|
||||
from django.urls import path
|
||||
from igny8_core.api.wordpress_publishing import (
|
||||
simple_publish_content,
|
||||
publish_single_content,
|
||||
bulk_publish_content,
|
||||
get_wordpress_status,
|
||||
@@ -11,6 +12,11 @@ from igny8_core.api.wordpress_publishing import (
|
||||
)
|
||||
|
||||
urlpatterns = [
|
||||
# Simple publish endpoint (expects content_id in POST body)
|
||||
path('publish/',
|
||||
simple_publish_content,
|
||||
name='simple_publish_content'),
|
||||
|
||||
# Single content publishing
|
||||
path('content/<int:content_id>/publish-to-wordpress/',
|
||||
publish_single_content,
|
||||
|
||||
Reference in New Issue
Block a user