Constructors

Methods

  • Get click-summary report

    • Example usage: ShortLinks.clickSummary({ short_link_id: 'uuid-here' })

    Type Parameters

    • T

    Parameters

    • Optional params: Record<string, any>

    Returns AxiosPromise<default<T>>

  • Create a new short link

    Type Parameters

    • T

    Parameters

    • data: object
    • Optional params: Record<string, any>

    Returns AxiosPromise<default<T>>

  • Get geo & device breakdown report

    • Example usage: ShortLinks.geoDeviceBreakdown({ short_link_id: 'uuid-here' })

    Type Parameters

    • T

    Parameters

    • Optional params: Record<string, any>

    Returns AxiosPromise<default<T>>

  • List all short links with optional filters

    Type Parameters

    • T

    Parameters

    • Optional params: Record<string, any>

    Returns AxiosPromise<default<T>>

  • Get referrer & UTM report

    • Example usage: ShortLinks.referrerReport({ short_link_id: 'uuid-here' })

    Type Parameters

    • T

    Parameters

    • Optional params: Record<string, any>

    Returns AxiosPromise<default<T>>

  • Get time-series report

    • Example usage: ShortLinks.timeSeries({ short_link_id: 'uuid-here', group_by: 'day' })

    Type Parameters

    • T

    Parameters

    • Optional params: Record<string, any>

    Returns AxiosPromise<default<T>>

  • Update a short link

    Type Parameters

    • T

    Parameters

    • id: string
    • data: object
    • Optional params: Record<string, any>

    Returns AxiosPromise<default<T>>

  • Get a specific short link by ID

    Type Parameters

    • T

    Parameters

    • id: string
    • Optional params: Record<string, any>

    Returns AxiosPromise<default<T>>

Generated using TypeDoc