Difference between revisions of "UpdateScriptTask"
Jump to navigation
Jump to search
(Example (better than being blank)) |
(Followed through example of script upload for server-side compilation) |
||
Line 23: | Line 23: | ||
<key>uploader</key> | <key>uploader</key> | ||
<string>https://sim2777.agni.lindenlab.com:12043/cap/0573c509-0000-910b-79b2-736a2c98a7c8</string> | <string>https://sim2777.agni.lindenlab.com:12043/cap/0573c509-0000-910b-79b2-736a2c98a7c8</string> | ||
</map> | |||
</llsd> | |||
</pre> | |||
Compiling for mono so I just POSTed the the script text to the uploader, and it worked! | |||
Response to upload: | |||
<pre> | |||
<?xml version="1.0" ?> | |||
<llsd> | |||
<map> | |||
<key>compiled</key> | |||
<boolean>true</boolean> | |||
<key>state</key> | |||
<string>complete</string> | |||
<key>new_asset</key> | |||
<uuid>ff2b1049-a949-7ce6-046f-344bb5265ed7</uuid> | |||
</map> | </map> | ||
</llsd> | </llsd> | ||
</pre> | </pre> |
Revision as of 12:22, 16 September 2008
POST:
<llsd> <map> <key>is_script_running</key> <integer>1</integer> <key>item_id</key> <uuid>84609c46-02c9-72a7-2fc5-f6a8ceddb41d</uuid> <key>target</key> <string>mono</string> <key>task_id</key> <uuid>df9e7ca7-daa9-836b-73e4-3fc1d560d2b9</uuid> </map> </llsd>
Response:
<llsd> <map> <key>state</key> <string>upload</string> <key>uploader</key> <string>https://sim2777.agni.lindenlab.com:12043/cap/0573c509-0000-910b-79b2-736a2c98a7c8</string> </map> </llsd>
Compiling for mono so I just POSTed the the script text to the uploader, and it worked!
Response to upload:
<?xml version="1.0" ?> <llsd> <map> <key>compiled</key> <boolean>true</boolean> <key>state</key> <string>complete</string> <key>new_asset</key> <uuid>ff2b1049-a949-7ce6-046f-344bb5265ed7</uuid> </map> </llsd>