packages

Validate parameters for create Maven package

Validate parameters for create Maven package

post/packages/{owner}/{repo}/validate-upload/maven/

Request body

artifact_idstring nullable

The ID of the artifact.

extra_filesstring[] nullable

Extra files to include in the package. This can be a single file or multiple files.

group_idstring nullable

Artifact's group ID.

ivy_filestring nullable

The ivy file is an XML file describing the dependencies of the project.

javadoc_filestring nullable

Adds bundled Java documentation to the Maven package

package_filestring required

The primary file for the package.

packagingstring nullable

Artifact's Maven packaging type.

pom_filestring nullable

The POM file is an XML file containing the Maven coordinates.

republishboolean

If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.

sbt_versionstring nullable
scala_versionstring nullable
sources_filestring nullable

Adds bundled Java source code to the Maven package.

tagsstring nullable

A comma-separated values list of tags to add to the package.

tests_filestring nullable

Adds bundled Java tests to the Maven package.

versionstring nullable

The raw version for this package.

Response

Validation was successful, parameters are OK.

Changes

No recorded changes to this endpoint across all 1 revision of this API.