CREATE a blog post.
|
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
|
BlogId |
int |
Blog Id |
是 |
||
|
Title |
string |
Title |
是 |
||
|
Body |
string |
Body |
是 |
||
|
Slug |
string |
If not specified slug will be automatically created based on post title. |
否 |
||
|
Excerpt |
string |
Excerpt |
否 |
||
|
ExcerptSize |
int? |
Excerpt Size |
否 |
||
|
UsePostSummary |
bool? |
Use Post Summary |
否 |
||
|
GeneratePostSummary |
bool? |
Default is true. |
否 |
||
|
PublishedDate |
DateTime? |
If PublishedDate is not specified it will default to current date/time. |
否 |
||
|
IsApproved |
bool? |
Default is true. |
否 |
||
|
IsFeatured |
bool? |
Default is false. |
否 |
||
|
IsCrossPostingEnabled |
bool? |
Default is false. |
否 |
||
|
FeaturedImage |
string |
Used to include a featured image when IsFeatured is true. |
否 |
||
|
Tags |
string |
A comma separated list of tags. |
否 |
||
|
ContentType |
string |
Used when adding a post attachement. |
否 |
||
|
FileName |
string |
Used when adding a post attachement. |
否 |
||
|
FileData |
Byte[] |
When adding a post attachment either FileData, FileUrl, or FileUploadContext is required. |
否 |
||
|
FileUrl |
string |
When adding a post attachment either FileData, FileUrl, or FileUploadContext is required. |
否 |
||
|
FileUploadContext |
string |
When adding a post attachment either FileData, FileUrl, or FileUploadContext is required. |
否 |
||
|
ExtendedAttributes |
RestExtendedAttributes |
Extended Attributes |
否 |
||
|
PostImageUrl |
string |
Blog post image Url. |
否 |
||
|
OpenGraphTitle |
string |
Title used in Open Graph title tag. |
否 |
||
|
OpenGraphDescription |
string |
Description used in Open Graph description tag. |
否 |
||
|
OpenGraphImageContext |
string |
Context id for file used in Open Graph image. |
否 |
||
|
OpenGraphImageFileName |
string |
Name for file used in Open Graph image. |
否 |
||
|
MetaTitle |
string |
Used in the page's title. |
否 |
||
|
MetaKeywords |
string |
Keywords for the page's meta keywords tag. |
否 |
||
|
MetaDescription |
string |
Description for the page's meta description tag. |
否 |