Interface url

Index

Methods

Methods

public get(object: { 'shortUrl': string; 'projection'?: string; 'fields'?: string; }): HttpRequest

Expands a short URL or gets creation time and analytics.

Parameters

  • object: { 'shortUrl': string; 'projection'?: string; 'fields'?: string; }

Returns

HttpRequest

public insert(object: { 'fields'?: string; 'RequestBody'?: string; }): HttpRequest

Creates a new short URL.

Parameters

  • object: { 'fields'?: string; 'RequestBody'?: string; }

Returns

HttpRequest

public list(object: { 'projection'?: string; 'start-token'?: string; 'fields'?: string; }): HttpRequest

Retrieves a list of URLs shortened by a user.

Parameters

  • object: { 'projection'?: string; 'start-token'?: string; 'fields'?: string; }

Returns

HttpRequest