文章 Create Feature REST 端点

URLs

POST 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