A custom content/media (also known as MIME) type to be sent when downloading this file. By default Cloudsmith will attempt to detect the type, but if you need to override it, you can specify it here.
description
string | null
optional
length ≤ 12288
A textual description of this package.
name
string | null
optional
length ≤ 200
The name of this package.
package_file
string
required
length ≥ 1
The primary file for the package.
republish
boolean
optional
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.
summary
string | null
optional
length ≤ 255
A one-liner synopsis of this package.
tags
string | null
optional
length between 1 and 1024
A comma-separated values list of tags to add to the package.
version
string | null
optional
length ≤ 128
The raw version for this package.
Response
Responses
Request could not be processed (see detail).
object
object
detail
string
required
length ≥ 1
An extended message for the response.
fields
object
optional
A Dictionary of related errors where key: Field and value: Array of Errors related to that field
object
Namespace (owner) or repository not found
object
object
detail
string
required
length ≥ 1
An extended message for the response.
fields
object
optional
A Dictionary of related errors where key: Field and value: Array of Errors related to that field
object
Missing or invalid parameters (see detail).
object
object
detail
string
required
length ≥ 1
An extended message for the response.
fields
object
optional
A Dictionary of related errors where key: Field and value: Array of Errors related to that field