Bitlinks
High‑level operations for creating, expanding, updating, and inspecting Bitlinks.
Each method updates lastCallResponse with the raw HTTP result, allowing callers to inspect status codes, headers, and the full response body when needed.
All operations accept either simple parameters or strongly‑typed request objects for full control over Bitly API features.
See the Bitly API for more information.
Author
Since
1.0
Properties
Functions
Link copied to clipboard
Creates a new Bitlink using the provided request object.
fun create(longUrl: String, domain: String = Constants.EMPTY, groupGuid: String = Constants.EMPTY, title: String = Constants.EMPTY, tags: List<String> = emptyList(), deeplinks: List<Deeplink> = emptyList(), toJson: Boolean = false): String
Convenience overload for creating a Bitlink without a request object.
Link copied to clipboard
Updates an existing Bitlink using the provided request object.
fun update(bitlink: String, title: String = Constants.EMPTY, archived: Boolean? = null, tags: List<String>? = null, deeplinks: List<Deeplink> = emptyList(), toJson: Boolean = false): String
Convenience overload for updating a Bitlink without a request object.
Link copied to clipboard
Moves a custom keyword to a different Bitlink.