kutt - v4.0.0
    Preparing search index...

    Interface TLinkStatsV2

    Link details and visit statistics returned by the Kutt v2 statistics endpoint.

    interface TLinkStatsV2 {
        address: string;
        banned: boolean;
        createdAt: Date;
        id: string;
        lastDay: TLinkDurationStatsV2;
        lastMonth: TLinkDurationStatsV2;
        lastWeek: TLinkDurationStatsV2;
        lastYear: TLinkDurationStatsV2;
        link: string;
        password: boolean;
        statsUpdatedAt: Date;
        target: string;
        updatedAt: Date;
        visitCount: number;
    }

    Hierarchy

    • Omit<TLinkV2, "description">
      • TLinkStatsV2
    Index
    address: string

    Short-link path segment, such as article in https://go.example.com/article.

    banned: boolean

    Whether the link is banned by the server.

    createdAt: Date

    Time the link was created, converted from created_at.

    id: string

    Unique link ID used for updates, deletion, and statistics requests.

    Visit statistics for the last day.

    Visit statistics for the last month.

    Visit statistics for the last week.

    Visit statistics for the last year.

    link: string

    Complete shortened URL, including the protocol and domain.

    password: boolean

    Whether visiting the link requires a password.

    statsUpdatedAt: Date

    Time the statistics were generated, converted from the statistics response's updatedAt.

    target: string

    Destination URL that the short link redirects to.

    updatedAt: Date

    Time the link was last updated, converted from updated_at.

    visitCount: number

    Total visits reported by the API, renamed from visit_count.