Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Managing Handouts and Folders from the API

I'm trying to figure out how to programmatically manage what handouts are in what folders using the API, so as not to clutter everything up. I'm not having any luck though, as the only thing I can find that relates to the folders is the journalfolder property of the campaign object, and that's readonly. Has anyone already come up with a series of utility functions for the folders, or do you know what property to manipulate to drop handouts and characters in the appropriate folders?
1431739573

Edited 1431739588
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
<a href="https://wiki.roll20.net/API:Objects#Campaign" rel="nofollow">https://wiki.roll20.net/API:Objects#Campaign</a> journalfolder "" A JSON string which contains data about the folder structure of the campaign. Read-only. Its read only :(
I was hoping there was another way. :(
1431747345
The Aaron
Pro
API Scripter
Riley did mention at some point that it might become API accessible, so there is hope. =D
It's not critical for my script to function, I just thought it would be nice to not vomit a bunch of handouts into the main folder.