文章 Create Rating REST 端点

URLs

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

CREATE a rating.

请求参数

名称

类型

描述

必需

默认值

选项

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.

否

Value

double?

Value of the rating

否

TypeId

Guid?

Categorization type

否