Changed output for github pages.

This commit is contained in:
Erik C. Thauvin 2020-03-02 21:28:41 -08:00
parent ae47d44272
commit dcde83949b
38 changed files with 517 additions and 1 deletions

View file

@ -0,0 +1,19 @@
[docs](../../index.md) / [net.thauvin.erik.bitly](../index.md) / [Bitlinks](index.md) / [expand](./expand.md)
# expand
`@JvmOverloads fun expand(bitlink_id: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, toJson: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = false): `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) [(source)](https://github.com/ethauvin/bitly-shorten/tree/master/src/main/kotlin/net/thauvin/erik/bitly/Bitlinks.kt#L137)
Expands a Bitlink.
See the [Bit.ly API](https://dev.bitly.com/v4/#operation/expandBitlink) 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.