Version 9.6
 —  Virtualizing APIs Using the CentraSite Business UI  —

Editing the Properties of an API Proxy

This section describes how to view the information stored for a proxy API and how to change them.

To edit a proxy API, the following prerequisites must be met:

Start of instruction setTo edit the information for a proxy API

  1. In CentraSite Business UI, display the detail page of the proxy API whose attributes you want to modify. If you need procedures for this step, see Viewing Details for an API Proxy.

  2. To modify the basic attributes, such as, Name, Description or Version number, place the cursor in the appropriate field and modify the text as required.

  3. To modify the extended attributes associated with the proxy API, do the following:

    1. Select the profile that contains the attribute(s) that you want to modify.

    2. Edit the attributes on the profile as necessary.

    3. Repeat steps 3.a and 3.b for each profile that you want to edit.

  4. To modify the run-time actions configured for the proxy API, do the following:

    1. Go to panel 2 of the Virtualize wizard.

    2. To add an action to the Message Flow area, do the following:

      1. In the Policy Actions area, expand the desired accordion (Request Handling, Policy Enforcement, Response Handling or Error Handling).

      2. Locate the action you want to add for the proxy API.

      3. Drag and drop the action in the appropriate stage (Receive, Enforce, Routing or Response) in Message Flow area.

      4. Repeat the above steps for each action that you want to add.

    3. To reconfigure an existing action in the Message Flow area, do the following:

      1. In the Message Flow area, locate and mouse hover the action whose parameters you want to modify.

      2. Choose the Configure graphics/icon_settings_bold.png icon to the right of the action name.

      3. In the <action name> dialog box, set the values for the parameters as necessary.

      4. Click OK to save the parameter settings.

      5. Repeat the above steps for each action that you want to modify.

  5. Remove an action from the Message Flow area using the Delete graphics/icon_delete.png icon to the right of the action name.

  6. To publish or unpublish the API proxy on or more targets, do the following:

    1. Go to panel 3 of the Virtualize wizard.

    2. Select or unselect the targets from that you want to publish or unpublish the API proxy.

    3. Click Publish or Unpublish button, appropriately.


Profile Information for an API Proxy

You have the following profile information specific to a proxy API:

Provider Overview

The Provider Overview profile of an API shows a link to the API, a list of access URIs and the API keys.

The following example shows the Provider Overview profile for an API. Note that the Access URI provides the exact address of each endpoint.

Consumer Overview Profile

The Consumer Overview profile of an API displays the following information:

The following example shows the Consumer Overview profile for an API. Note that the Access URI provides the exact address of each endpoint.

graphics/consumer_profile.png

Identification Profile

In this profile, you specify the precise values for the consumer identifier token(s) that you want to use for identifying consumers for the API. (Alternatively, you may configure this profile to allow unrestricted access.)

For example, if you configure the Identification profile to identify consumers by IP address, the PEP extracts the IP address from a request’s HTTP header at run time and searches its list of consumers for the API that is defined by that IP address.

Note:
If you want to authenticate consumers, make sure that your policy enforcement point is configured to enable authentication. For information, see the webMethods Mediator documentation or the documentation for your third-party PEP.

Note:
For reasons of legibility some of the examples below contain break lines and may not work when pasted into applications or command line tools.

In this field... Do the following...
IPv4 Address

Use this field to identify consumers based on their originating 4-byte IP address range.

Specify a range of IPv4 addresses. Type the lowest IP address in the From field and the highest IP address in the To field. For example, "192.168.0.0 and 192.168.0.10"

The API will identify only those requests that originate from the specified IP address.

If you need to specify additional IP addresses, use the plus button to add more rows.

IPv6 Address

Use this field to identify consumers based on their originating 128-bit IPv6 address.

Specify a IPv6 address. For example, "fdda:5cc1:23:4::1f"

The API will identify only those requests that originate from an IP address that lies between the specified ranges.

If you need to specify additional IP addresses, use the plus button to add more rows.

Hostname

Use this field to identify consumers based on a specified host name.

Specify the hostname. For example, "pcmachine.ab.com"

The API will identify only those requests that originate from the specified host name.

If you need to specify additional hostnames, use the plus button to add more rows.

HTTP Token

Use this field to authenticate consumers based on the user name that is transmitted in an HTTP authentication user token.

Specify one or more HTTP user names. For example, "SAGUser123"

The API will identify only the requests that contain the specified user name encoded and passed in the HTTP authentication user token.

If you need to specify additional tokens, use the plus button to add more rows.

WS-Security Token

Use this field to authenticate consumers based on the user name that is transmitted in the SOAP or XML message header (HTTP body).

Specify the WSS username token. For example, "userwss"

The API will identify only the requests that contain the specified user name passed in the SOAP or XML message header.

If you need to specify additional tokens, use the plus button to add more rows.

XPath Token

Use this field to identify consumers based on the result of applying an XPath expression on the SOAP or XML message or request.

//*[local-name()= 'Envelope']/* [local-name()='Body']/* [local-name()= 'echoInt']/* [local-name() ='echoIntInput='] [.='2']

The API will identify the requests that contain the XPath and the consumers.

If you need to specify additional tokens, use the plus button to add more rows.

Consumer Certificate

Use this field to identify consumers based on information in an X.509 v3 certificate.

Click Upload to locate and select the certificate (.cer) file.

API Key String Read-only. String. The API key for authentication of API consumption. The API key is typically hidden from users who browse the catalog looking for APIs to reuse and is visible only to a particular user (known as the API's owner).
Expiry Date Read-only. String. The expiration date for the API key.

API Key Scope Profile

In this field... Do the following...
API Service Read-only. String. The name of the an API that is associated with the API key. To view details of the an API, click its hyperlinked name.

Top of page