API To generate A resolved link which points To A specific UI page and takes into account anyrequired parameters for the UI view page To render properly. The best way To see how To usethis API Is By looking At A real-world example.

API To generate A resolved link which points To A specific UI page and takes into account anyrequired parameters for the UI view page To render properly. The best way To see how To usethis API Is By looking At A real-world example.

Here's the scenario: you want to generate a clickable link that takes the end user to the page that lets them see the details of a specific catalog request. Here's what you will need in order to use this API: the place identifying the page in the UI to display. If you use the UI in a browser, you'll see this in the URL. In our example, visit a page that displays a specific request, and you'll see that the place associated with that page is: csp.catalog.request.submitteddetails next, you'll need to populate all necessary params that the UI page requires. Again, if you use a browser, you can see what these params are. For our scenario, the necessary param keys are: requestId catalogItemId Once you have this information (along with the value to our required keys mentioned earlier, you are ready to craft a linkResolveRequest. Below is example JSON. Clearly, you'll need to supply your appropriate values for requestId and catalogItemId

{ "links" : [ { "place" : "csp.catalog.request.submitteddetails", "params" : [ { "key" : "requestId", "value" : "f301558a-4789-4d64-ae84-736d9245a243" }, { "key" : "catalogItemId", "value" : "de3ac822-6f97-40bc-a53d-d034deb95b3d" } ] } ] }

Once you POST against this API supplying your link request, you'll get the hrefs that you can embed in emails or use directly. If properly submitted, This API's response might look something like below, which can be used to direct a user to the configured page in the UI:

{ "hrefs":["https://vra-host.company.com/vcac/org/qe/#csp.catalog.request.submitteddetails%5BrequestId:=f301558a-4789-4d64-ae84-736d9245a243,catalogItemId:=de3ac822f97-40bc-a53d-d034deb95b3d"] }

Solution users only

Request
URI
POST
https://{api_host}/component-registry/api/tenants/{tenantId}/links
COPY
Path Parameters
string
tenantId
Required

id of the tenant


Request Body

the request containing details on the link to resolve

LinkResolveRequest of type(s) application/json
Required
{
    "links": [
        {
            "place": "string",
            "params": [
                {
                    "value": "string",
                    "key": "string"
                }
            ]
        }
    ]
}
array of Path
links
Optional

A list of links to resolve

Responses
200
Operation doesn't return any data structure

Component Registry Operations
POST
API To generate A resolved link which points To A specific UI page and takes into account anyrequired parameters for the UI view page To render properly. The best way To see how To usethis API Is By looking At A real-world example.
POST
Create Or update A service.
POST
Create Endpoint Type Extension
POST
Create Endpoint Type Spec
GET
Creates A new ModelAndView object with 'docs/odata'view name and sets the base bath To /services
DELETE
DELETE calls are not allowed
DELETE
DELETE Method not allowed
DELETE
Delete Endpoint
DELETE
Delete Endpoint Type Extension
DELETE
Delete Endpoint Type Spec
DELETE
Deletes the endpoint associated with the provided service Id and endpointTypeId.
GET
Get all serviceStatuses for services with registered status type endpoints.
GET
GET Method not allowed
GET
Get the config.js needed for API Explorer
GET
Get Endpoint Type Extension
GET
Get Endpoint Type Spec
GET
Gets A new Form resource By endpointTypeId. The form provided will Be A composition Of all forms registered via An EndPointTypeExtension instance and the base Form generated based On the EndPointTypeSpec.
GET
Gets A new ModelAndView object with 'docs/auth' view name and sets the base bath To /services
GET
Gets all distinct endpoint types
GET
Gets all distinct endpoint types associated with endpoints with services that match the provided serviceTypeId.
GET
Gets all distinct service types In the system.
GET
Gets all documentation endpoints
GET
Gets all endpoint instances for A given service instance.
GET
Gets all endpoint instances that implement the provided endpointTypeId
GET
Gets all endpoints
GET
Gets all endpoints associated with services that match the provided serviceTypeId AND that match the provided endpointTypeId.
GET
Gets all endpoints associated with services that match the provided serviceTypeId.
GET
Gets all registered services
GET
Gets all services associated with the provided serviceTypeId.
GET
Gets An edit Form resource By endpointId. The form provided will Be A composition Of all forms registered via An EndPointTypeExtension instance and the base Form generated based On the EndPointTypeSpec
GET
Gets the 'default' endpoint instance that implements the provided endpointTypeId
GET
Gets the default endpoint associated with the identity service's token endpoint (used To create Bearer tokens).
GET
Gets the default endpoint associated with the SSO server endpoint type.
GET
Gets the default service associated with the provided serviceTypeId
GET
Gets the endpoint identified By Id
GET
Gets the endpoint instance that implements endpointTypeId for A given service instance.
GET
Gets the LoggerEntity Of the given category for provided serviceTypeId
GET
Gets the service identified By id.
GET
Gets the serviceStatus for the specified serviceId.
DELETE
Handler for DELETE HTTP operations
POST
Handler for POST HTTP operations
PUT
Handler for PUT HTTP operations
GET
List Endpoint Type Extension
GET
List Endpoint Type Spec
POST
POST calls are not allowed
POST
POST Method not allowed
PUT
PUT calls are not allowed
POST
Registers A new service To the component registry.
DELETE
Removes (i.e.: deregisters) the service matching the provided id.
PUT
Sets the given level To category To all services with endpoint
PUT
Sets the given severity level To category for the provided serviceTypeId
GET
Similar To /services/status, this API gets all serviceStatuses for services with registered status type endpoints.
POST
Submits A new EndPointFormData resource By endpointTypeId. The values In the form submitted will Be used To create A new EndPoint Of the provided enpointTypeId.
PUT
Submits An updated version Of An EndPoint through the EndPointFormData resource. The values In the form submitted will Be used To update An existing EndPoint with the provided endpointId As part Of the URL parameters.
POST
This Is A convenience method which creates A new solution user, registers It with the SSO server, and then registers the provided service As new solution user In A single call
PUT
Update Or create A service.
PUT
Update Endpoint
PUT
Update Endpoint Type Extension
PUT
Update Endpoint Type Spec
POST
Updates Or creates An endpoint associated with the provided service Id and endpointTypeId.