参数

参数名字 描述
location_id
选填

设置请求的当前位置上下文

Validations:

  • Must be a Integer

organization_id
选填

设置请求的当前组织上下文

Validations:

  • Must be a Integer

scap_content
必填

Validations:

  • Must be a Hash

scap_content[title]
必填

SCAP 内容名称

Validations:

  • Must be a String

scap_content[scap_file]
必填

包含 SCAP 内容的 XML

Validations:

  • Must be a String

scap_content[original_filename]
选填 , 允许空值

XML 文件的原文件名称

Validations:

  • Must be a String

scap_content[location_ids]
选填 , 允许空值

使用给定 id 替换位置

Validations:

  • Must be an array of any type

scap_content[organization_ids]
选填 , 允许空值

使用给定 id 替换机构

Validations:

  • Must be an array of any type