How to publish to RAM using API?
I want to publish some file(s) to RAM as asset from a different system. The first target is TFS.
How can I publish to RAM using API?
I looked at the https://ramserver:port/rootservices and https://ramserver:port/oslc/assetServices and could not see something like AssetCreationFactory or something like that to create asset and publish.
How can I publish to RAM using API?
I looked at the https://ramserver:port/rootservices and https://ramserver:port/oslc/assetServices and could not see something like AssetCreationFactory or something like that to create asset and publish.
Accepted answer
What version of RAM are you using? In RAM 7.5.1.1 the creation factory can be found at http://ramserver:port/ram/oslc/assetServices.
You have to send the OSLC-CORE-VERSION=2.0 header with your request. You may also want to look into the RAM Java API.
You have to send the OSLC-CORE-VERSION=2.0 header with your request. You may also want to look into the RAM Java API.
Comments
I am using IBM Rational Asset Manager Ver. 7.5.1 Build: RAM751-I20111019_1219. I see a asset creation dialog as
<oslc_asset:creationdialog oslc_asset:hintheight="600px" oslc_asset:hintwidth="800px"> <dc:title>New Asset</dc:title> <oslc_asset:url>secure/delegated/assetCreation.faces</oslc_asset:url> <oslc_asset:label>Asset</oslc_asset:label> </oslc_asset:creationdialog>
But no creation factory. A dialog can not be used when you are accessing from a different application using API.
I saw the webservices however and shall dig into it.