I am trying to use the ClearQuest API to run and get the results of a public query. Automatic login is disabled. Is there a way I can login via a post request or something? If I can't use the REST API will the Perl API work?
Edit: I have recently found OSLC. It looks something like a rest API, but the docs say its not a rest API...
I have found I can use it to access some resources on ClearQuest because it uses http basic authentication.
I am now trying to find out how to use it to run ClearQuest public queries
The "Using the Rational ClearQuest OSLC CM REST API" (9.x) does mention:
This differs from the Rational® ClearQuest® REST API which allows developers to interact with Rational ClearQuest by using HTTP based REST APIs, and necessitates to launch the Rational ClearQuest REST API server.
So the latter is a legacy ClearQuest specific API.
While the former (OSLC: Open Services for Lifecycle Collaboration) is a mean to support key product integrations, as explained in CQ OSLC 2.0 wiki page.
That wiki page has an Authentication and Authorization section: