@squidcloud/client
    Preparing search index...

    Interface WebShortUrlBulkRequest

    Request to create shortened URLs.

    interface WebShortUrlBulkRequest {
        secondsToLive?: number;
        urls: string[];
    }
    Index

    Properties

    Properties

    secondsToLive?: number

    Seconds to live for all shortened URLs. If set to 0, the URLs will never expire. Defaults to 30 days.

    urls: string[]

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