Api session event editor cinematic add keypoint with parameters

From Tygron Support wiki
Jump to navigation Jump to search

API Event to Add Keypoint With Parameters

Name Importance Type Description Values
0 REQUIRED (CINEMATIC_DATA Integer ID) Cinematic
1 REQUIRED (Integer number) Integer
2 REQUIRED (Floating point number or multiple values in array [1.0, 2.0, 3.0]) Float[]
3 REQUIRED (Floating point number or multiple values in array [1.0, 2.0, 3.0]) Float[]
4 REQUIRED (Floating point number or multiple values in array [1.0, 2.0, 3.0]) Float[]

Response Codes

Response Code: Description
200 Integer (Integer)
300-600 Codes Overview

Example POST

Example POST: https://engine.tygron.com/api/session/event/editorcinematic/add_keypoint_with_parameters/?f=JSON&token=API_TOKEN

with content:

[ 5, 6, [ 1.0, 2.0, 3.0 ], [ 1.0, 2.0, 3.0 ], [ 1.0, 2.0, 3.0 ] ]