Root URL
All REST services are accessed through the root URL.
The root URL is http://hostname:port/WSRR/8.5.
For compatibility with earlier versions use http://hostname:port/WSRR/6.1, http://hostname:port/WSRR/6.2, http://hostname:port/WSRR/6.3, http://hostname:port/WSRR/7.0, or http://hostname:port/WSRR/7.5, or http://hostname:port/WSRR/8.0.
port corresponds to the value of the WC_defaulthostname_secure or WC_defaulthostname port in your WebSphere® Application Server configuration, depending on whether security is enabled. This is the same as the port that you use to log in to the WSRR web user interface.
You build a complete REST URL by prefixing the root
URL to the URLs given in the remaining topics in this section. For
example, use the following REST URL to retrieve all WSDL documents
(note that this might return a large amount of data):
https://hostname:port/WSRR/8.5/Metadata/XML/GraphQuery?query=/WSRR/WSDLDocument
If you have multiple instances of WSRR deployed, you
must identify the instance by specifying its prefix, for example:
http://hostname:port/prefixWSRR/8.5/Metadata/XML/GraphQuery?query=/WSRR/WSDLDocument
Where prefix is
the WSRR Instance Prefix that you specified when you created the instance.The table shows the actions that can be done and the HTTP
response codes.
| Verb | The HTTP Verb used. GET, POST, PUT, DELETE |
| URL | The URL relative to the ROOT |
| Body | The format of the message body |
| RC 201 | The HTTP Response code for the request |