Create Item
POST {{protocol}}://{{instance_zuid}}.{{instances_api_url}}/{{instances_api_version}}/content/models/{{content_model_zuid}}/items
This creates a new item from {{contentmodelzuid}} schema.
web:
name | description |
---|---|
metaDescription | [string] |
metaTitle | [string] |
metaLinkText | [string] The name of the item that will be shown in the left navigation panel. (Navigation Link Text) |
parentZUID | [string] ZUID of the item's parent. |
pathPart | [string] Required. This will serve as the sub URL of the item. This should be a valid URL string. (URL Path Part) |
data:
name | description |
---|---|
[nameoffield] | [*] |
Request Body
{"web"=>{"metaDescription"=>"some metaDescription", "metaTitle"=>"Testing", "metaLinkText"=>"testing", "metaKeywords"=>nil, "parentZUID"=>"0", "pathPart"=>"/test-item/", "sitemapPriority"=>-1, "canonicalTagMode"=>1, "canonicalQueryParamWhitelist"=>nil}, "data"=>{"title"=>"test only"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"zuid":"7-abcd-1234"}