archiving a pic with code

Is there a way in lua code as part of a scene to trigger a picture to be archived from a specific camera? I searched and could not find any info. Did I overlook?

This is the Lua code to archive an image:

local CAMERA_ID = 25 luup.inet.wget("http://127.0.0.1:3480/data_request?id=archive_video&cam="..CAMERA_ID.."&format=1&res=high")

[tt]format=1[/tt] means image. [tt]format=2[/tt] means video, but the request would require additional parameters, which I’m too lazy to search for now.