Interface CreateArticleData

Data for creating an article

interface CreateArticleData {
    author: string;
    body_html: string;
    comments_enabled?: boolean;
    published?: boolean;
    published_on?: string;
    summary_html?: string;
    tags?: string;
    template_suffix?: string;
    title: string;
}

Properties

author: string

Article author

body_html: string

Article content in HTML

comments_enabled?: boolean

Whether comments are enabled

published?: boolean

Whether to publish immediately

published_on?: string

Publication timestamp

summary_html?: string

Article summary in HTML

tags?: string

Tags (comma-separated)

template_suffix?: string

Template suffix

title: string

Article title