Validate Upload

Packages Validate Upload Maven

Validate parameters for create Maven package

Request

posthttps://api.cloudsmith.io/v1/packages/{owner}/{repo}/validate-upload/maven
Body params optional

Response body

object

object

artifact_id
string | null
optional
length ≥ 1
extra_files
array of strings | null
optional
group_id
string | null
optional
length ≤ 2083
ivy_file
string | null
optional
length ≥ 1
javadoc_file
string | null
optional
length ≥ 1
package_file
string
required
length ≥ 1
packaging
string | null
optional
length ≤ 64
pom_file
string | null
optional
length ≥ 1
republish
boolean
optional
sbt_version
string | null
optional
length ≤ 64
scala_version
string | null
optional
length ≤ 64
sources_file
string | null
optional
length ≥ 1
tags
string | null
optional
length between 1 and 1024
tests_file
string | null
optional
length ≥ 1
version
string | null
optional
length ≤ 128

Response

Responses

Request could not be processed (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional

Namespace (owner) or repository not found

object

object

detail
string
required
length ≥ 1
fields
object
optional

Missing or invalid parameters (see detail).

object

object

detail
string
required
length ≥ 1
fields
object
optional