Skip to main content
POST
Create a new version for a project.

Authorizations

Authorization
string
header
required

Bearer token authentication used by the Versori Platform. External consumers must provide an API key, however internal consumers must provide a JWT id_token issued by our IdP.

Path Parameters

organisation_id
string<ulid>
required
project_id
string<ulid>
required

Body

application/json
name
string
required

The short name for this version. This name must be unique within this project.

files
object[]
required

The files associated with the project.

description
string

The description of this version.

labels
object

Key-value pairs of strings.

Response

200 - application/json

OK

id
string<ulid>
required

The unique identifier for the version.

name
string
required

The short name for this version. This name must be unique within this project.

state
enum<string>
required

The state of the version.

Available options:
draft,
failed,
ready,
superseded
createdAt
string<date-time>
required
description
string

The description of this version.

labels
object

Key-value pairs of strings.