Api session event editor area set color
Jump to navigation
Jump to search
API Event to Set new color of existing Area
| Name | Importance | Type | Description | Values |
|---|---|---|---|---|
| 0 | REQUIRED | (AREA Integer ID or multiple values in array [1, 2, 3]) | Area | |
| 1 | REQUIRED | (TColor or multiple values in array [a, b, c]) | Color[] |
Response Codes
| Response Code: | Description |
|---|---|
| 204 | No Content |
| 300-600 | Codes Overview |
Example POST
Example POST: https://engine.tygron.com/api/session/event/editorarea/set_color/?f=JSON&token=API_TOKEN
with content:
[ [ 1, 2, 3 ], [ {
"argb" : -685831326
}, {
"argb" : 678347305
}, {
"argb" : 1012045112
} ] ]