Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to config lifecycle for Asset Type by RAM API

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.

0 votes



2 answers

Permanent link
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}

0 votes


Permanent link
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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: May 23 '10, 11:14 p.m.

Question was seen: 5,781 times

Last updated: May 23 '10, 11:14 p.m.

Confirmation Cancel Confirm