kc
12 years agoAce
Scripted asset upload
1) We put items (js, html) in Studio > Community Style > Asset Library > Other Assets. I want to know if there is any shell script floating around that we can use to post assets there from command li...
#1: I'm not aware of any scripts, but maybe someone else has one -- it would have to make direct HTTP POSTs to authenticate and then to upload the asset(s) via Studio and would probably be difficult to get to work because of all the hidden form parameters that need to be passed along.
#2: There is currently no API to post Studio assets. Other developers have been asking for an API as well and we are working on adding support for this.
#3: The session keys returned by the API sessions/login call can only be used to make other API calls (and cannot be used to log access web pages in the web UI).