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

How to get the artifact using REST API

Hi,

I am finding REST API for the get artifact using C# code. but not able to get proper URL(For REST) for the artifact.

Ca any one help on this.

Thanks

0 votes



2 answers

Permanent link
Usually the URL is in the following form: https://<server and port if applicable>/rm/resources/<identifier for the artifact>

It will be identical to the URL that shows up when you go to the artifact and click the "Show Permalink" icon.

Hope this helps

bob

0 votes


Permanent link
The proper way to interact using a REST API and getting artifacts using external apps and tools is using the Open Services for Lifecycle Collaboriation (OSLC) public API.

You can get started by looking at this Jazz article that links to the OSLC workshop, which is a great way to get going with the OSLC REST API.
The workshop document shows you how to navigate through the REST API and URL's; querying for artifacts, getting artifacts, updating artifacts, getting the project properties as which artifacts types are defined and their attributes etc.
The code samples are in Java, but are simple so should be easy to translate to C#.

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: Apr 01 '15, 6:27 a.m.

Question was seen: 2,802 times

Last updated: Apr 02 '15, 3:23 p.m.

Confirmation Cancel Confirm