[rules-users] How to get Asset UUID??

Esteban Aliverti esteban.aliverti at gmail.com
Fri Jan 13 03:15:09 EST 2012


What information are you trying to get? Other that the information you
already have, you can append a /source to the url to get the source code of
the asset.
Please read the documentation manual to see all the operations you have
using REST-API.

Best Regards,

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


On Fri, Jan 13, 2012 at 7:54 AM, srinivasasanda <srinivasasanda at gmail.com>wrote:

> Hi
> Hi,
> I'm able to get asset information like UUID, format etc using the following
> Rest API
> :
> http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/assets/ABC
>
> It displaying the following xml code in browser :
> <asset><binaryLink>
> http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/asset/ABC/binary
> </binaryLink><checkInComment/><description>created
> by standalone
>
> editor</description><metadata><created>2012-01-09T16:09:42.284+05:30</created><createdBy>guest</createdBy><disabled>false</disabled><format>template</format><lastModified>2012-01-09T16:09:48.122+05:30</lastModified><note/><title>ABC</title><uuid>cf3823ca-f805-42c9-82d3-842b17b344fe</uuid></metadata><refLink>
> http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/asset/ABC
> </refLink><sourceLink>
> http://localhost:8080/drools-guvnor/rest/packages/defaultPackage/asset/ABC/source
> </sourceLink><type/><version>1</version></asset>
>
> Suppose if i have 5 rules in the above template asset "ABC" how can i get
> those rules information using Rest API or any other drools API (if i have
> UUID of the template).
>
> Please suggest me.
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/How-to-get-Asset-UUID-tp3650138p3655941.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120113/b0611fbc/attachment.html 


More information about the rules-users mailing list