文章 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