Api event io add project version
API Endpoint: api/event/io/add_project_version/
Description: Create a new version for this Project.
| Index | Importance | Type | Description | Values |
|---|---|---|---|---|
| 0 | REQUIRED | (Integer number) | Session ID | |
| 1 | REQUIRED | (String) | Version Name |
Response Codes
| Response Code: | Description |
|---|---|
| 204 | No Content |
| 300-600 | Codes Overview |
Example POST
Curl example POST
curl 'https://engine.tygron.com/api/event/io/add_project_version/' -H 'Content-Type: application/json' -H 'Authorization: Basic <credentials>=' -d '[ 1, "Version Name" ]'JavaScript example POST
var options = {
method: "POST",
headers: { "Content-Type": "application/json", "Authorization": "Basic <credentials>=" },
body: '[ 1, "Version Name" ]'
};
fetch("https://engine.tygron.com/api/event/io/add_project_version/", options)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));