discohook

Get Discohook Preview

Create a Discohook viewer link for the specified command type.

Args: template_type: The type of command template to use (default: server_time) banner_url: Optional custom banner URL to replace the default banner theme: Optional theme parameter ('light' or 'dark') for viewer mode

Returns: Dictionary containing the Discohook viewer URL with base64 encoded template data

get/discohook/preview

Query parameters

template_typestring required

The type of command template to use

The type of command template to use

banner_urlstring nullable

Optional custom banner URL to replace the default banner

Optional custom banner URL to replace the default banner

themestring nullable

Optional theme parameter ('light' or 'dark') for viewer mode

Optional theme parameter ('light' or 'dark') for viewer mode

Response

Successful Response

{"stackTrail":"paths:/discohook/preview:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.