bitly-shorten/docs/net.thauvin.erik.bitly/-bitlinks/expand.md

872 B

docs / net.thauvin.erik.bitly / Bitlinks / expand

expand

@Synchronized @JvmOverloads fun expand(bitlink_id: String, toJson: Boolean= false):String (source)

Expands a Bitlink.

See the Bit.ly API for more information.

Parameters

bitlink_id - The bitlink ID.

toJson - Returns the full JSON response if true

Return The long URL or JSON response, or on error, an empty string/JSON object.