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

How do I get a list of all project areas from ccm

I have successfully got a list of all project areas in 5.x. However I am getting errors in 6.0.3.

Using curl or perl lwp::useragen http get accessing https://xxxxxx/ccm/process/project-areas

In my header I have "Accept" => "application/rdf+xml"
I get "406 Not Acceptable"

But when I remove it from the header or change it "Accept" => "application/rdf" or "Accept" => "application/xml" ore even "Accept" => "application/xml+rdf"
I get the list of projects as before.

Which one is correct. Or has it changed? To what?
I would prefer to have the same accept string once I get past login stage.

Thanks

0 votes

Comments

oops...
forgot...

I mean has the accept changed for everything?



2 answers

Permanent link

"Accept: application/xml" works for me. You can also try "https://host:port/ccm/oslc/workitems/catalog".

0 votes


Permanent link

Hi Lewis,

The same problem exists for me as well !!!!  Couldn't figure out why this is occurring.

While accessing the URL https://xxxxxx/ccm/process/project-areas with header param "application/rdf+xml", it throws a "406 Not Acceptable" response. But I get a successful response when i remove this "application/rdf+xml" parameter.




I resolved this by using the URL : https://xxxxxx/ccm/oslc/workitems/catalog


and I get a successful response with a list of all projects



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
× 10,948
× 516
× 137

Question asked: May 26 '17, 12:42 p.m.

Question was seen: 2,637 times

Last updated: Jun 05 '17, 5:05 a.m.

Confirmation Cancel Confirm