Content negotiation

Resource Description Framework (RDF) REST API supports RDF/XML, RDF/Turtle, and RDF/n3 formats. Standard HTTP Accept header content negotiation can be used to select the resource format.
When making the REST API calls, you can use these HTTP Accept header values to specify the preferred format:
Accept header value Preferred format
application/rdf+xml rdf/xml
application/x-turtle rdf/turtle
application/rdf+n3 rdf/n3
application/xml xml
application/html html
For convenience, you can view the IBM® Rational® Focal Point™ resources by appending these extensions to the URL:
  • .html
  • .rdf
  • .n3
  • .ttl
  • .xml
For example, to view resources in RDF, use the http://<hostname>:<portnumber>/fp/resources/.rdf URL on a web browser.
Note: The URL mode of view resources takes precedence over the HTTP Accept headers.

Feedback