跳到主要内容

Get user posts

GET /api/2.0/community/blog/user/{username}

Returns a list of blog posts for the specified user with the post titles, dates of creation and update and post texts.

Path parameters​

username​

type: string

User name

Example: "string"

Returns​

List of user 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"
}
]