文章 Update Feature REST 端点

URLs

PUT api/v2/features.xml (or .json)

请求参数

名称

类型

描述

必需

默认值

选项

ContentId

Guid

Content Id

是

ContentTypeId

Guid

Content Type Id

是

TypeId

Guid

Feature Type Id

否

Targets

string

List of Container Targets. Format: [{"containerid":"","containertypeid":""},{"containerid":"","containertypeid":""}]

否

StartDate

string

Date feature should begin

否

EndDate

string

Date feature should end

否

FileData

Byte[]

Featured Image FileData. To add image include FileData or FileUploadContext, but not both

否

FileUploadContext

string

Featured Image FileUploadContext. To add image include FileData or FileUploadContext, but not both

否