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.
|
2 answers
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} |
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 |
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.