@squidcloud/client
    Preparing search index...

    Interface WebShortUrlRequest

    Request to create a shortened URL.

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

    Properties

    appId: string

    The application ID that will own this shortened URL.

    secondsToLive?: number

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

    url: string

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