GET api/blog/post/list?categoryId={categoryId}&search={search}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
categoryId

integer

None.

search

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of BlogPostModel
NameDescriptionTypeAdditional information
BlogPostCategoryIDs

Collection of integer

None.

BlogPostID

integer

None.

Slug

string

None.

Title

string

None.

Excerpt

string

None.

MetaTitle

string

None.

MetaDescription

string

None.

PublishDate

date

None.

StatusID

integer

None.

Author

string

None.

FeaturedImage

string

None.

Content

string

None.

BlogPostCategories

Collection of BlogPostCategory

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'com.lexvid.data.EF.BlogPostCategory'. Path '[0].BlogPostCategories[0].BlogCategory.BlogPostCategories'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'com.lexvid.data.EF.BlogPostCategory'. Path '[0].BlogPostCategories[0].BlogCategory.BlogPostCategories'.