[Opensim-dev] Accessing textures via HTTP

Tommi Laukkanen tommi.s.e.laukkanen at gmail.com
Mon Mar 16 14:07:02 UTC 2009


Hi

I would like to receive the asset binary. I am not that interested in
the metadata currently. Is there a way to access that?

regards,
Tommi

On Mon, Mar 16, 2009 at 2:11 AM, Mike Mazur <mmazur at gmail.com> wrote:
> Hi,
>
> On Sun, 15 Mar 2009 08:35:21 +0200
> Tommi Laukkanen <tommi.s.e.laukkanen at gmail.com> wrote:
>
>> I would need to fetch textures from assetserver using HTTP. Is it
>> enabled by default anf if so any pointers to find out url format? Do I
>> need enable some module?
>
> The asset server exposes an HTTP handler for assets at:
>
> http://address:port/assets/<asset_UUID>
>
> A GET request to that URL will receive an XML-serialized AssetBase
> class as defined in OpenSim/Framework/AssetBase.cs. A POST of an
> XML-serialized AssetBase class to the same URL will create an asset.
>
> If you'd like custom behavior, I encourage you to look at the
> AssetInventoryServer and some of the Frontend plugins it has. Look in
> OpenSim/Grid/AssetInventoryServer/Plugins.
>
> HTH,
> Mike
>



More information about the Opensim-dev mailing list