apiV1PublisherUploadPost

suspend fun PublishingApi.apiV1PublisherUploadPost(name: String, releaseAfterUpload: Boolean = false, bundle: InputProvider): HttpResponse<String>

Uploads a deployment bundle intended for publication to Maven Central.

Return

A String response from the server.

Parameters

name

The name of the deployment or bundle. If not specified, the name of the attached file is used.

releaseAfterUpload

If true, the deployment will automatically proceed to the PUBLISHING state upon validation. If false, it will remain in the VALIDATED state until manually approved. Default is false.

bundle

The bundle file to upload.