Supported Formats

application/json

Returns

Response - No Content

Code 204 - application/json
type
string
required

The type of the segment

  • Must be one of: image.

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