//library/com.uploadcare.android.library.urls/Urls/Companion

Companion

[androidJvm] object Companion

Functions

Name Summary
apiCreateGroup [androidJvm]
Content
@JvmStatic()

fun apiCreateGroup(): URI
More info
Creates a URL to the group resource.


apiDeleteWebhook [androidJvm]
Content
fun apiDeleteWebhook(): URI
More info
Creates a URL for the webhook delete.


apiFile [androidJvm]
Content
@JvmStatic()

fun apiFile(fileId: String): URI
More info
Creates a URL to a file resource.


apiFileLocalCopy [androidJvm]
Content
@JvmStatic()

fun apiFileLocalCopy(): URI
More info
Creates a URL to the file local copy resource.


apiFileRemoteCopy [androidJvm]
Content
@JvmStatic()

fun apiFileRemoteCopy(): URI
More info
Creates a URL to the file remote copy resource.


apiFiles [androidJvm]
Content
@JvmStatic()

fun apiFiles(): URI
More info
Creates a URL to the file collection resource.


apiFilesBatch [androidJvm]
Content
@JvmStatic()

fun apiFilesBatch(): URI
More info
Creates a URL to the storage action for a multiple files (saving/deleting the files).


apiFileStorage [androidJvm]
Content
@JvmStatic()

fun apiFileStorage(fileId: String): URI
More info
Creates a URL to the storage action for a file (saving the file).


apiGroup [androidJvm]
Content
@JvmStatic()

fun apiGroup(groupId: String): URI
More info
Creates a URL to a group resource.


apiGroups [androidJvm]
Content
@JvmStatic()

fun apiGroups(): URI
More info
Creates a URL to the group collection resource.


apiGroupStorage [androidJvm]
Content
@JvmStatic()

fun apiGroupStorage(groupId: String): URI
More info
Creates a URL to the storage action for a group (available on CDN).


apiProject [androidJvm]
Content
@JvmStatic()

fun apiProject(): URI
More info
Creates a URL to a project resource.


apiUploadedFile [androidJvm]
Content
@JvmStatic()

fun apiUploadedFile(publicKey: String, fileId: String): URI
More info
Creates a URL to a uploaded file resource.


apiUploadedGroup [androidJvm]
Content
@JvmStatic()

fun apiUploadedGroup(publicKey: String, groupId: String): URI
More info
Creates a URL to a group resource with files included.


apiWebhook [androidJvm]
Content
fun apiWebhook(webhookId: Int): URI
More info
Creates a URL for the webhook delete.


apiWebhooks [androidJvm]
Content
fun apiWebhooks(): URI
More info
Creates a URL to the webhook collection resource.


cdn [androidJvm]
Content
@JvmStatic()

fun cdn(builder: CdnPathBuilder): URI
More info
Creates a full CDN URL with a CDN path builder.


cdnAkamai [androidJvm]
Content
@JvmStatic()

fun cdnAkamai(domain: String, builder: CdnPathBuilder, token: String, expire: String): URI
More info
Creates a full CDN URL with a CDN path builder.


cdnKeyCDN [androidJvm]
Content
@JvmStatic()

fun cdnKeyCDN(domain: String, builder: CdnPathBuilder, token: String, expire: String): URI
More info
Creates a full CDN URL with a CDN path builder.


equals [androidJvm]
Content
open operator fun equals(other: Any?): Boolean


hashCode [androidJvm]
Content
open fun hashCode(): Int


toString [androidJvm]
Content
open fun toString(): String


uploadBase [androidJvm]
Content
@JvmStatic()

fun uploadBase(): URI
More info
Creates a URL to the file upload endpoint.


uploadFromUrl [androidJvm]
Content
@JvmStatic()

fun uploadFromUrl(): URI
More info
Creates a URL for URL upload.


uploadFromUrlStatus [androidJvm]
Content
@JvmStatic()

fun uploadFromUrlStatus(token: String): URI
More info
Creates a URL for URL upload status (e.g.


uploadMultipartComplete [androidJvm]
Content
@JvmStatic()

fun uploadMultipartComplete(): URI
More info
Creates a URL for multipart upload complete.


uploadMultipartPart [androidJvm]
Content
@JvmStatic()

fun uploadMultipartPart(preSignedPartUrl: String): URI
More info
Creates a URL to the file upload using multipart.


uploadMultipartStart [androidJvm]
Content
@JvmStatic()

fun uploadMultipartStart(): URI
More info
Creates a URL to the file upload using multipart.