RDF types request of GC stream returns 400 Bad Request
Hello,
Using the following request using RESTer plugin for Firefox (Authorization Inherited from active browser session) to obtain an RDF of all object types of a global stream in RM returns a 400 Bad Request:
curl 'https://my.jazz_server.com/rm/types?oslc.query=true&projectURL=https%3A%2F%2Fmy.jazz_server.com%2Frm%2Fprocess%2Fproject-areas%2F_TJ5IgDy8Eei4zcnLB9wCBw&oslc.prefix=rdf%3D%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E&oslc.where=rdf%3Atype%3D%3Chttp%3A%2F%2Fjazz.net%2Fns%2Frm%23Module%3E&oslc.select=*&oslc.paging=true&oslc.pageSize=200&private=true' \
-H 'OSLC-Core-Version: 2.0' \
-H 'Accept: application/rdf+xml ' \
-H 'net.jazz.jfs.owning-context: https%3A%2F%2Fmy.jazz_server.com%2Frm%2Frm-projects%2F_TJ5IgDy8Eei4zcnLB9wCBw%2Fcomponents%2F_TSPMMDy8Eei4zcnLB9wCBw' \
-H 'oslc_config.context: https://my.jazz_server.com/gc/configuration/22'
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:err="http://jazz.net/xmlns/prod/jazz/foundation/1.0/">
<rdf:Description>
<err:detailedMessage rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>invalid UUID</err:detailedMessage>
<err:errorMessage rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Falsche Anforderung</err:errorMessage>
<err:errorStatus rdf:datatype="http://www.w3.org/2001/XMLSchema#long"
>400</err:errorStatus>
</rdf:Description>
</rdf:RDF>
What could I be missing here? For reference, requesting this information from a local stream like so works fine (200):
curl 'https://my.jazz_server.com/rm/types?oslc.query=true&projectURL=https%3A%2F%2Fmy.jazz_server.com%2Frm%2Fprocess%2Fproject-areas%2F_TJ5IgDy8Eei4zcnLB9wCBw&oslc.prefix=rdf%3D%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E&oslc.where=rdf%3Atype%3D%3Chttp%3A%2F%2Fjazz.net%2Fns%2Frm%23Module%3E&oslc.select=*&oslc.paging=true&oslc.pageSize=200&private=true&ResourceContext=_TSecwDy8Eei4zcnLB9wCBw' \
-H 'OSLC-Core-Version: 2.0' \
-H 'Accept: application/rdf+xml ' \
-H 'Configuration-Context: https://my.jazz_server.com/rm/cm/stream/_TSecwDy8Eei4zcnLB9wCBw'
Comments
Ian Barnard
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Apr 23 '25, 4:03 a.m.AFAIK that's not a public API
Jasper van Garling
Apr 23 '25, 4:29 a.m.Jasper