It's all about the answers!

Ask a question

How to config lifecycle for Asset Type by RAM API


Zhe Yan (2151) | asked May 23 '10, 11:14 p.m.
In RAM admin console, I can config lifecycle for asset type, such as add policy for state and add condition for state transition. But now I want to config it by RAM API, anyone know how to impl it? Thanks.

2 answers



permanent link
Rich Kulp (3.6k38) | answered May 24 '10, 9:44 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
On 5/24/2010 9:08 AM, kbauer wrote:
internal/communities/{communityId}/lifecycles


But be aware, as it says, it is internal. Which means it may change at
any fixpack or release.

Rich

permanent link
Kevin Bauer (34621) | answered May 24 '10, 8:58 a.m.
JAZZ DEVELOPER
We have not added APIs to update lifecycles to the public Java API. We have created some REST services that will allow you to modify lifecycles. From the Web or Web Services app you can get a list of Community Lifecycles therough the URL...

internal/communities/{communityId}/lifecycles

From this list you will get the URL for each lifecycle configured on a community.

On each lifecycle you can perform an HTTP GET to get the details PUT to update a lifecycle and DELETE a lifecycle.

You can perform an HTTP POST on the community lifecycle feed to create a new lifecycle.

To GET or PUT a specific assets lifecycle you can use the URL

internal/lifecycles/{GUID}/{version}

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.