Supported Formats

application/json

Returns

Response - No Content

Code 204 - application/json
type
string
required

The type of the segment

  • Must be one of: pressable.

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 pressable

  • Must be an array of any type