Difference between revisions of "UpdateScriptAgent"
Jump to navigation
Jump to search
(Example (better than being blank)) |
m |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Capabilities]] | |||
POST: | POST: | ||
<pre> | <pre> | ||
Line 6: | Line 7: | ||
<uuid>49b48bf9-2b40-d3fa-aea7-c856bf8b3dfb</uuid> | <uuid>49b48bf9-2b40-d3fa-aea7-c856bf8b3dfb</uuid> | ||
<key>target</key> | <key>target</key> | ||
<string> | <string>mono</string> | ||
</map> | </map> | ||
</llsd> | </llsd> | ||
Line 19: | Line 20: | ||
<key>uploader</key> | <key>uploader</key> | ||
<string>https://sim2777.agni.lindenlab.com:12043/cap/c184fe54-9094-353a-4b3c-44f902c61fca</string> | <string>https://sim2777.agni.lindenlab.com:12043/cap/c184fe54-9094-353a-4b3c-44f902c61fca</string> | ||
</map> | |||
</llsd> | |||
</pre> | |||
POSTed script text to 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>8cec7e2f-a151-e055-61d2-2d5c5146549b</uuid> | |||
</map> | </map> | ||
</llsd> | </llsd> | ||
</pre> | </pre> |
Latest revision as of 21:28, 1 November 2010
POST:
<llsd> <map> <key>item_id</key> <uuid>49b48bf9-2b40-d3fa-aea7-c856bf8b3dfb</uuid> <key>target</key> <string>mono</string> </map> </llsd>
Response:
<llsd> <map> <key>state</key> <string>upload</string> <key>uploader</key> <string>https://sim2777.agni.lindenlab.com:12043/cap/c184fe54-9094-353a-4b3c-44f902c61fca</string> </map> </llsd>
POSTed script text to 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>8cec7e2f-a151-e055-61d2-2d5c5146549b</uuid> </map> </llsd>