post https://{instance_zuid}.api.zesty.io/v1/content/links
Creates an internal or external link.
Body: raw JSON
name | description |
---|---|
type | [string] Required. Type of link. Accepts "internal" or "external" |
parentZUID | [string] Required. A parent for your link. Accepts an item ZUID . If there will be no parentZUID , you can pass in "0" as a value. |
label | [string] Required. Navigation label. |
metaTitle | [string] Required. Title of the meta. |
source | [string] Behavior of the link. Accepts "rel:true" and/or "target:_blank" . You can set it to a blank string "" if you don't want to use any of the behaviour and they will be set to their default values. If you want to use both, use a ";" separator. |
target | [string] Required. Link to target. If the type is internal , this should be an item ZUID you want to link to. If the type is external , the value should be a full external URL. Example: "https://www.google.com" |