Switched to gfm.

This commit is contained in:
Erik C. Thauvin 2020-03-02 21:17:47 -08:00
parent 8f8e702c7a
commit ae47d44272
51 changed files with 3 additions and 1730 deletions

View file

@ -1,23 +0,0 @@
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Bitlinks.shorten - bitly-shorten</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">bitly-shorten</a>&nbsp;/&nbsp;<a href="../index.html">net.thauvin.erik.bitly</a>&nbsp;/&nbsp;<a href="index.html">Bitlinks</a>&nbsp;/&nbsp;<a href="./shorten.html">shorten</a><br/>
<br/>
<h1>shorten</h1>
<a name="net.thauvin.erik.bitly.Bitlinks$shorten(kotlin.String, kotlin.String, kotlin.String, kotlin.Boolean)"></a>
<code><span class="identifier">@JvmOverloads</span> <span class="keyword">fun </span><span class="identifier">shorten</span><span class="symbol">(</span><span class="identifier" id="net.thauvin.erik.bitly.Bitlinks$shorten(kotlin.String, kotlin.String, kotlin.String, kotlin.Boolean)/long_url">long_url</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="net.thauvin.erik.bitly.Bitlinks$shorten(kotlin.String, kotlin.String, kotlin.String, kotlin.Boolean)/group_guid">group_guid</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a>&nbsp;<span class="symbol">=</span>&nbsp;Constants.EMPTY<span class="symbol">, </span><span class="identifier" id="net.thauvin.erik.bitly.Bitlinks$shorten(kotlin.String, kotlin.String, kotlin.String, kotlin.Boolean)/domain">domain</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a>&nbsp;<span class="symbol">=</span>&nbsp;Constants.EMPTY<span class="symbol">, </span><span class="identifier" id="net.thauvin.erik.bitly.Bitlinks$shorten(kotlin.String, kotlin.String, kotlin.String, kotlin.Boolean)/toJson">toJson</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;false<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code> <a href="https://github.com/ethauvin/bitly-shorten/tree/master/src/main/kotlin/net/thauvin/erik/bitly/Bitlinks.kt#L185">(source)</a>
<p>Shortens a long URL.</p>
<p>See the <a href="https://dev.bitly.com/v4/#operation/createBitlink">Bit.ly API</a> for more information.</p>
<h3>Parameters</h3>
<p><a name="long_url"></a>
<code>long_url</code> - The long URL.</p>
<p><a name="toJson"></a>
<code>toJson</code> - Returns the full JSON response if <code>true</code></p>
<p><strong>Return</strong><br/>
The short URL or JSON response, or on error, the <a href="shorten.html#net.thauvin.erik.bitly.Bitlinks$shorten(kotlin.String, kotlin.String, kotlin.String, kotlin.Boolean)/long_url">long_url</a> or an empty JSON object.</p>
</BODY>
</HTML>