Supported Formats

application/json

Returns

Response - No Content

Code 204 - application/json
type
string
required

The type of the segment

  • Must be one of: link.

text
string
required

The link text; when omitted the children are rendered instead

  • Must be a String

url
string
required

Fallback link target used when attributes.to is absent

  • Must be a String

data
hash
required

Arbitrary data echoed onto the rendered element as data-* attributes

  • Must be a Hash

name
string
required

The name of the segment (rendered as data-ppx-name)

  • Must be a String

attributes
hash
required

Style attributes of the segment

  • Must be a Hash

children
array
required

Child segments rendered inside the link

  • Must be an array of any type