From: "Doug S." Date: 2011-01-07T10:39:46+09:00 Subject: accessing api with ruby I'm new to ruby and new to accessing api's over the web. Below, I've pasted a few examples of api calls. Can someone direct me to a url where I might learn about how to exercise an api with ruby? Thanks. ----------------------------------------------- Description: Authenticate to a workspace on the host and create a session. The name of the workspace for GG_userName is often the same as the user name, but not in all cases. Therefore the workspace name is returned in the result. 'userHostAdmin' indicates whether 'userName' is an admin on the host. Admin users can perform operations in workspaces other than the one authenticated to. Example: http://localhost:8080/portal/web/host/createHostSession Parameters - GG_hostId: host id returned by host/list operation. GG_userInstanceId: The user instance ID returned by getPortalUser GG_userName: username to authenticate. GG_userPW: password. GG_userDomain: user domain of workspace. Returns: sessionNum ------------------------------------------------ Description: Get a list of host drives (admin user only) & workspaces & top level of files (for authenticated workspace only) Example: http://localhost:8080/portal/web/host/get Parameters - GG_hostId: host id returned by host/list operation. GG_userInstanceId: The user instance ID returned by createHostSession GG_userName: The username used when creating a session. Returns: ------------------------------------------------ Description: Register a host on the portal. Example: http://localhost:8080/portal/web/host/register Parameters - GG_hostAddress: The address of the host being registered. GG_displayName: The user-friendly display name of the host being registered. GG_hardwareKey: The hardware key of the host being registered. Returns: ----------------------------------------------- -- Posted via http://www.ruby-forum.com/.