Open Grid Public Beta/Getting Rez Avatar Request Cap

From Second Life Wiki
Jump to navigation Jump to search

The OGP protocol mentions getting the rez_avatar/request capability in passing [OGP_Teleport#Request_Rez_Avatar_.28Resource_Class.29 Teleport § 1.3.2]: This capability is normally attained from the Public Region Seed Capability, but does not go into detail.

To obtain the rez_avatar/request capability, you make a GET request to the public_region_seed_cap:

%% public_region_seed_cap -> undef <- &resp 

;;success 
&resp = {
   [ rez_avatar/request: uri ]
}
;; error
&resp = {
    message: string
}

Previous Implementation

Previously, this was done by posting a request for the rez_avatar/request capability.