Requesting Delegated UI Using the Link Header
To discover the URIs of a delegated UI for resource selection using the Link header, the client applications must send an OPTIONS request on a project with the Accept header set to application/rdf+xml or application/ld+json and the OSLC-Core-version header set to 3.0.
For example:
OPTIONS https://localhost:3001/oslc/r/project/%2FProjects%2FRelease2
The response for such OPTIONS requests includes the descriptor URIs in the value of the Link header. The client applications can then use these descriptor URIs to discover the URIs of the delegated UI for the selection of Windchill RV&S resources for supported domains, such as requirements, requirement document, defects, and so on.
The client applications can use the following descriptor URI to discover the URI of the delegated UI for the selection of the Windchill RV&S requirement resources:
GET <protocol scheme>://<server host name>:<server port number>/<context URI>/project/<project name>/requirements/dialog/selection/descriptor
For example:
GET https://localhost:3001/oslc/r/project/%2FProjects%2FRelease2/requirements/dialog/selection/descriptor
The client applications can use the following descriptor URI to discover the URI of the delegated UI for the selection of the Windchill RV&S requirement document resources:
GET <protocol scheme>://<server host name>:<server port number>/<context URI>/project/<project name>/contents/dialog/selection/descriptor
For example:
GET https://localhost:3001/oslc/r/project/%2FProjects%2FRelease2/contents/dialog/selection/descriptor
Descriptor URLs can similarly be discovered for other resources of supported domains.
When sending such GET requests, client applications must set the Accept header to application/rdf+xml or application/ld+json and the OSLC-Core-version header set to 3.0.
The response for the GET requests includes the URI of delegated UI for the selection of Windchill RV&S resources as follows:
GET <wrvs protocol scheme>://<wrvs server host name>:<wrvs server port number>/<selectionUIContext>/<alias>/<resource name>?project=<URL encoded project name>
For example:
GET https://localhost:7001/extended-web-ui/oslc/redirect/selection/myOSLCNodeServer/requirements?project=%2FProjects%2FRelease2