文章 List Like REST 端点

URLs

GET api/v1/likes.xml (or .json)

LIST likes.

请求参数

名称

类型

描述

必需

默认值

选项

ContentId

Guid?

Content identifier

否

ContentUrl

string

Content url

否

ContentIds

string

Comma separated list of ContentIds. Used to limit to a specific set of likes as well as sort order if SoryBy is set to ContentIdsOrder

否

ContainerId

Guid?

Content container identifier

否

IncludeSubContainers

bool?

Include sub containers. ContainerId must be set if this is set.

否

ApplicationId

Guid?

Content application identifier

否

ContentTypeId

Guid?

Content type identifier

否

UserId

int?

User identifier

否

TypeId

Guid?

Categorization type

否

ContentCreatedAfterDate

DateTime?

Include only content created on or after.

否

ContentCreatedBeforeDate

DateTime?

Include only content created before.

否

SortBy

string

Sort by 'Date' or 'ContentIdsOrder'. Default is 'Date'.

否

SortOrder

string

Sort order 'Ascending' or 'Descending'

否

PageSize

int?

Page size to retrieve

否

PageIndex

int?

Page index to retrieve

否