xled-docs icon indicating copy to clipboard operation
xled-docs copied to clipboard

Document Application code 1106

Open TWiStErRob opened this issue 1 year ago • 0 comments

###
@new-movie = {{$uuid}}
POST {{host}}/xled/v1/movies/new
X-Auth-Token: {{token}}
Content-Type: application/json
Accept: application/json

{
	"descriptor_type": "rgb_raw",
	"fps": 40,
	"frames_number": 40,
	"id": 0,
	"leds_per_frame": 200,
	"name": "Heart",
	"unique_id": "{{new-movie}}"
}

###
POST {{host}}/xled/v1/movies/full
X-Auth-Token: {{token}}
Content-Type: application/octet-stream
Accept: application/json

< movies/generated.raw

I got 1106 when generated.raw was only 200 (leds) * 30 (frames) * 3 (rgb) long.

TWiStErRob avatar Dec 27 '23 22:12 TWiStErRob