Skip to main content
POST
Create a draft release and get upload targets

Authorizations

Authorization
string
header
required

An API key (pch_...) or the token from pch login.

Path Parameters

owner
string
required
Example:

"patch"

slug
string
required
Example:

"demo-mod"

Body

application/json
manifest
object
required
files
object[]
required
Required array length: 1 - 10000 elements
changelog
string
Maximum string length: 20000
channel
enum<string>
Available options:
private,
unlisted,
public

Response

The draft and what to upload

release
object
required
uploads
object[]
required