@squidcloud/client
    Preparing search index...

    Interface WebShortUrlRequest

    Request to create a shortened URL.

    interface WebShortUrlRequest {
        secondsToLive?: number;
        url: string;
    }
    Index

    Properties

    Properties

    secondsToLive?: number

    Seconds to live for the shortened URL. If set to 0, the URL will never expire. Defaults to 1 day.

    url: string

    The URL to shorten. It must be a valid URL and should include the protocol (start with http:// or https://).