Adding galleys programmatically

Hello,

we use OJS 3.1.1.0 for preparing our journals, and also we have a separa established system for creating galleys. When the new journal issue is going to be published and we have created galleys for all articles, is there any way to add the galley programmatically/automatically to OJS? Manually clicking on the form for each of 100+ articles monthly doesn’t seem a reasonable option.

I’ve checked with the API docs and it seems to have nothing of the sort. What would be the right and optimal way of sorting it out?

Best regards
Alex