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; } string PostImageAlternateText { 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 attachment. | ||
Excerpt | string | Excerpt | ||
ExcerptSize | int? | Excerpt size | ||
ExtendedAttributes | IList<ExtendedAttribute> | |||
FeaturedImage | string | Used to include a featured image when IsFeatured is true. | ||
FileData Obsolete | Byte[] | OBSOLETE in 12: Use FileUrl or FileUploadContext instead. When adding a post attachment either FileData, FileUrl or FileUploadContext is required. OBSOLETE in 12: Use FileUrl or FileUploadContext instead. | ||
FileName | string | Used when adding a post attachment. | ||
FileStream Obsolete | Stream | OBSOLETE in 12: Use FileUrl or FileUploadContext instead. Used when adding a post attachment. OBSOLETE in 12: Use FileUrl or FileUploadContext instead. | ||
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 Obsolete | 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 | ||
PostImageAlternateText | string | Alternate Text to be used with Post Image. | ||
PostImageFileData Obsolete | Byte[] | OBSOLETE in 12: Use PostImageFileUrl or PostImageFileUploadContext instead. When adding a post attachment either PostImageFileData, PostImageFileUrl or PostImageFileUploadContext is required. OBSOLETE in 12: Use PostImageFileUrl or PostImageFileUploadContext instead. | ||
PostImageFileName | string | Used when adding a post image. | ||
PostImageFileStream Obsolete | Stream | OBSOLETE in 12: Use PostImageFileUrl or PostImageFileUploadContext instead. Used when adding a post attachment. OBSOLETE in 12: Use PostImageFileUrl or PostImageFileUploadContext instead. | ||
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 |