PublishingApi

Constructors

Link copied to clipboard
constructor(baseUrl: String = ApiClient.BASE_URL, httpClientEngine: HttpClientEngine? = null, httpClientConfig: (HttpClientConfig<*>) -> Unit? = null, jsonSerializer: Json = ApiClient.JSON_DEFAULT)
constructor(baseUrl: String, httpClient: HttpClient)

Types

Functions

Drop a deployment. Deployments can be dropped if they are in a `FAILED` or `VALIDATED` state.

Link copied to clipboard

Publish a deployment. Deployments can be published if they are in a `VALIDATED` state.

Link copied to clipboard

Retrieve status of a deployment. Polling this endpoint can be useful for determining when a deployment changes state.

Link copied to clipboard
open suspend fun apiV1PublisherUploadPost(name: String? = null, publishingType: PublishingApi.PublishingTypeApiV1PublisherUploadPost? = null, bundle: InputProvider? = null): HttpResponse<String>

Upload a deployment bundle intended to be published to Maven Central.

Link copied to clipboard
fun setAccessToken(accessToken: String)

Set the access token for the first OAuth2 authentication.

Link copied to clipboard
fun setApiKey(apiKey: String, paramName: String? = null)

Set the API key value for the first API key authentication.

Link copied to clipboard
fun setApiKeyPrefix(apiKeyPrefix: String, paramName: String? = null)

Set the API key prefix for the first API key authentication.

Link copied to clipboard
fun setBearerToken(bearerToken: String)

Set the access token for the first Bearer authentication.

Link copied to clipboard
fun setPassword(password: String)

Set the password for the first HTTP basic authentication.

Link copied to clipboard
fun setUsername(username: String)

Set the username for the first HTTP basic authentication.