Repos Eula Create

Create a EULA for a repository.

Request

posthttps://api.cloudsmith.io/v2/repos/{owner}/{repo}/eula
Body params optional

Response body

object

object

content
string
required
length between 1 and 102400
identifier
slug
optional
^[-a-zA-Z0-9_]+$
length between 1 and 16

Response

Responses

Created EULA successfully.

object

object

checksum_sha256
string | null
optional
content
string
required
length between 1 and 102400
content_size
string
optional
created_at
date-time
optional
created_by
integer | null
optional
identifier
slug
optional
^[-a-zA-Z0-9_]+$
length between 1 and 16
num_downloads
string
optional
updated_at
date-time | null
optional
updated_by
integer | null
optional

Request could not be processed (see detail).

object

object

detail
string
required
length ≥ 1

Repository not found.

object

object

detail
string
required
length ≥ 1

Missing or invalid parameters (see detail).

object

object

detail
string
required
length ≥ 1