addPreset
Adds a preset response option to the dashboard for this endpoint.
Return
This builder, for chaining.
Parameters
The full response this preset applies when selected.
Display name for this preset in the dashboard. Defaults to "Preset N".
Optional description shown alongside the preset.
Visual classification for this preset. Defaults to a type inferred from the response status code when null.
Adds a partial preset response option to the dashboard for this endpoint. Only fields set on response are overridden; null fields retain the endpoint's default values.
Return
This builder, for chaining.
Parameters
The partial response this preset applies when selected.
Display name for this preset in the dashboard. Defaults to "Preset N".
Optional description shown alongside the preset.
Visual classification for this preset. Defaults to a type inferred from the response status code when null.