Presto.ServiceMashlet

ljschrenk
ljschrenk's picture
User offline. Last seen 8 weeks 2 days ago. Offline
Joined: 10/13/2008
Points: 82

I have a mashlet that was created of type Presto.ServiceMashlet.  How can I get the SID and OID used to build this mashlet?  I need to figure out the mashup driving that mashlet so I can see how it's building the query to a service.

0
Your rating: None
aishmishra
aishmishra's picture
User offline. Last seen 10 weeks 6 days ago. Offline
Joined: 09/24/2008
Points: 3

Hi,

If you are asking how to find out the sid and oid of the service that is used in this mashlet then you can do that by sending the following request to Presto Mashup Server:

{
    "version": "1.1",
    "sid": "MashletHub",
    "oid": "getMashlet",
    "svcVersion": "0.1",
    "params": [
        "<mashlet name>"
    ]
}

 

In the response you will find the sid and the oid of the service used to create the mashlet.

You can run this request from http://localhost:8080/presto/dev (default URL) for testing.

Let us know if this helps.

ljschrenk
ljschrenk's picture
User offline. Last seen 8 weeks 2 days ago. Offline
Joined: 10/13/2008
Points: 82

Perfect, that's exactly what I needed. Thanks!