Skip to main content

Search posts

GET /api/2.0/community/blog/@search/{query}

Returns a list of blog posts matching the search query specified in the request with the post titles, dates of creation and update, post texts, and authors.

Path parameters​

query​

type: string

Search query

Example: "string"

Returns​

List of found posts. A request that is not authenticated returns 401.

Response example​

[
{
"Preview": "Preview post",
"Title": "Example post",
"Created": "2020-12-03T21:36:12.0774137Z",
"Updated": "2020-12-03T21:36:12.0774137Z",
"Id": "00000000-0000-0000-0000-000000000000",
"Tags": [
"Tag1,Tag1"
],
"CreatedBy": {
"Id": "00000000-0000-0000-0000-000000000000",
"DisplayName": "Mike Zanyatski",
"Title": "Manager",
"AvatarSmall": "url to small avatar",
"ProfileUrl": "/Products/People/Profile.aspx?user=administrator"
},
"BlogTitle": "Blog Title"
}
]