Added docs.
This commit is contained in:
parent
dd0079e7e8
commit
95bea38c92
37 changed files with 521 additions and 0 deletions
19
docs/net.thauvin.erik.bitly/-bitlinks/expand.md
Normal file
19
docs/net.thauvin.erik.bitly/-bitlinks/expand.md
Normal 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.
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue