Validate Upload

Packages Validate Upload Swift

Validate parameters for create Swift package

Request

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

Response body

object

object

author_name
string
optional
length ≥ 1
author_org
string
optional
length ≥ 1
license_url
uri | null
optional
length ≤ 200
name
string
required
length ≤ 200
package_file
string
required
length ≥ 1
readme_url
uri
optional
length ≥ 1
repository_url
uri
optional
length ≥ 1
republish
boolean
optional
scope
string
required
length between 1 and 39
tags
string | null
optional
length between 1 and 1024
version
string
required
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