UpdateScriptAgent

From Second Life Wiki
Jump to navigation Jump to search

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>