From OpenSimulator

Revision as of 03:35, 6 September 2009 by Phrearch (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


The REST console makes remote administration of the various OpenSim services possible.


We take the user service( as example here. First start a new session by sending a POST. Params: USER, PASS 

Return: (XML) <ConsoleSession><SessionID></SessionID><Prompt></Prompt></ConsoleSession>

Now we got the SessionID, which can be used to send a command. Use the SessionID as ID param, and send a POST again. Params: ID, COMMAND

Return: (XML) <ConsoleSession><Result></Result></ConsoleSession> If everything went well, the command should have been executed. Try another command.

When you want to close down the connection, send a POST again. PARAMS: ID

Return: (XML) <ConsoleSession><Result></Result></ConsoleSession> The session is closed, and you have to login again, when you want to send a command again.


In python:

Personal tools
About This Wiki