BlogPostsCreateOptions
is defined in the Telligent.Evolution.Extensibility.Api.Version1
namespace of Telligent.Evolution.Blogs.dll
Definition
class BlogPostsCreateOptions { int? AuthorId { get; set; } string ContentType { get; set; } string Excerpt { get; set; } int? ExcerptSize { get; set; } IList<ExtendedAttribute> ExtendedAttributes { get; set; } string FeaturedImage { get; set; } Byte[] FileData { get; set; } string FileName { get; set; } Stream FileStream { get; set; } string FileUploadContext { get; set; } string FileUrl { get; set; } bool? GeneratePostSummary { get; set; } bool? IsApproved { get; set; } bool? IsCrossPostingEnabled { get; set; } bool? IsFeatured { get; set; } string MetaDescription { get; set; } string MetaKeywords { get; set; } string MetaTitle { get; set; } string OpenGraphDescription { get; set; } string OpenGraphImageContext { get; set; } string OpenGraphImageFileName { get; set; } string OpenGraphTitle { get; set; } Byte[] PostImageFileData { get; set; } string PostImageFileName { get; set; } Stream PostImageFileStream { get; set; } string PostImageFileUploadContext { get; set; } string PostImageUrl { get; set; } DateTime? PublishedDate { get; set; } string Slug { get; set; } string Tags { get; set; } bool? UsePostSummary { get; set; } }
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
AuthorId | int? | User who authored the blog post. If not provided, the accessing user authored the blog. Used when creating a blog post on behalf of the author. | ||
ContentType | string | Used when adding a post attachement. | ||
Excerpt | string | Excerpt | ||
ExcerptSize | int? | Excerpt size | ||
ExtendedAttributes | IList<ExtendedAttribute> | |||
FeaturedImage | string | Used to include a featured image when IsFeatured is true. | ||
FileData | Byte[] | When adding a post attachment either FileData, FileUrl or FileUploadContext is required. | ||
FileName | string | Used when adding a post attachement. | ||
FileStream | Stream | Used when adding a post attachement. | ||
FileUploadContext | string | 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. | ||
GeneratePostSummary | bool? | Generate post summary | ||
IsApproved | bool? | Whether the moderation state should be approved | ||
IsCrossPostingEnabled | bool? | Obsolete in 11. Whether cross-posting blogs is enabled | ||
IsFeatured | bool? | Whether the post should be featured | ||
MetaDescription | string | A brief description of the content used in the meta description tag. | ||
MetaKeywords | string | A comma-seperated list of keywords | ||
MetaTitle | string | Title used in page's title tag | ||
OpenGraphDescription | string | Description used in open graph tag. | ||
OpenGraphImageContext | string | Image context for file used in open graph tag. | ||
OpenGraphImageFileName | string | Name for file used in open graph tag. | ||
OpenGraphTitle | string | Title used in open graph tag | ||
PostImageFileData | Byte[] | When adding a post attachment either PostImageFileData, PostImageFileUrl or PostImageFileUploadContext is required. | ||
PostImageFileName | string | Used when adding a post image. | ||
PostImageFileStream | Stream | Used when adding a post attachement. | ||
PostImageFileUploadContext | string | When adding a post attachment either PostImageFileData, PostImageFileUrl or PostImageFileUploadContext is required. | ||
PostImageUrl | string | When adding a post attachment either PostImageFileData, PostImageFileUrl or PostImageFileUploadContext is required. | ||
PublishedDate | DateTime? | If PublishedDate is not specified it will default to current date/time. | ||
Slug | string | If not specified slug will be automatically created based on post title. | ||
Tags | string | A comma separated list of tags. | ||
UsePostSummary | bool? | Use post summary |