文章 Create Like REST 端点

URLs

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

CREATE a like.

请求参数

名称

类型

描述

必需

默认值

选项

ContentId

Guid?

Either Both ContentId and ContentTypeId or ContentUrl are required

ContentTypeId

Guid?

Either Both ContentId and ContentTypeId or ContentUrl are required

ContentUrl

string

Either ContentUrl or Both ContentId and ContentTypeId are required. ContentUrl requires authentication using OAuth.

TypeId

Guid?

Categorization type