Requesting Delegated UI Using the Link Header
To discover the URIs of delegated UI for resource selection using the Link header, the client applications must send a 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 requirement and requirement document resources.
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
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 requirement resources as follows:
GET <protocol scheme>://<server host name>:<server port number>/<context URI>/project/<project name>/requirements/dialog/selection
For example:
GET https://localhost:3001/oslc/r/project/%2FProjects%2FRelease2/requirements/dialog/selection
The response for the GET requests includes the URI of the delegated UI for the selection of the Windchill RV&S requirement document resources as follows:
GET <protocol scheme>://<server host name>:<server port number>/<context URI>/project/<project name>/contents/dialog/selection
For example:
GET https://localhost:3001/oslc/r/project/%2FProjects%2FRelease2/contents/dialog/selection