Api session event editor time set start date

From Tygron Support wiki
Revision as of 14:55, 11 November 2026 by Frank@tygron.nl (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

API Endpoint: api/session/event/editortime/set_start_date/

Description: Set the start date and Time of a Project, as milliseconds from Epoch

Index Importance Type Description Values
0 REQUIRED (Integer number) Milliseconds since 00:00:00 UTC on 1 January 1970

Response Codes

Response Code: Description
204 No Content
300-600 Codes Overview

Example POST

Curl example POST

curl 'https://engine.tygron.com/api/session/event/editortime/set_start_date/' -H 'Content-Type: application/json' -H 'Authorization: Bearer API_TOKEN' -d '20'

Curl example multi item POST

curl 'https://engine.tygron.com/api/session/event/editortime/set_start_date/' -H 'Content-Type: application/json' -H 'Authorization: Bearer API_TOKEN' -d '75'

JavaScript example POST

var options = {
 method: "POST",
 headers: { "Content-Type": "application/json", "Authorization": "Bearer API_TOKEN" },
 body: '20'
};
fetch("https://engine.tygron.com/api/session/event/editortime/set_start_date/", options)
 .then(response => response.text())
 .then(result => console.log(result))
 .catch(error => console.log('error', error));