Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If you want to revise the settings of an API, you will have to open its details page. The details page opens, if you click on the name of an API belonging to one of your organizations.

Multiexcerpt include
MultiExcerptNameapi_my_all_hint
PageWithExcerptINTERNAL:_api_excerpts

Basic Settings

The basic settings of an API are displayed in the frame on top:

If an API is published, more options appear:

  • Name of the API
  • Description (changeable, click to open the editor)
  • Creation date
  • Creator
  • Status of the plan (, , , )
  • Version number selection (see Versioning)
  • New Version button (see Versioning)
  • Configuration options
  • New Contract link
  • New Version link (see Versioning)
  • Publish / Re-Publish button
  • Retire button

API Details

Underneath the basic settings of the API its details can be configured. Use the tabs on the left side of the page or the links on the overview page to navigate to the different details:

If an API has been published, the detail list is extended by more options:

Implementation

Open tab Implementation to provide the details about the backend API implementation:

These settings are necessary to enable the gateway to proxy API requests successfully.

You have to provide the following details:

OptionDescription

API Endpoint

The URL that the API Management will use to proxy a request made for this API.
API TypeChoose between REST and SOAP.
API Content TypeYou can select JSON or XML. This information is primarily used to respond with a policy failure or error in the appropriate format.
Enable stateful request payload inspectionIf this feature is enabled, the gateway will parse the request body into an object prior to applying the policies. This allows policies to make decisions based on the content of the request payload.
Disable request keys strippingIf this feature is enabled, the gateway will not strip the X-API-KEY and apikey query parameter from the request. This allows the gateway to send the keys to the backend endpoint (see also API Key policy).
API Security

Choose between the options None, MTLS/Two-Way-SSL and BASIC Authentication (see Endpoint Level Security).

Note

Please note that BASIC Authentication is not ideal. It is especially insecure if not using SSL/HTTPS to connect to the backend API.


Multiexcerpt include
MultiExcerptNameapi_save_when_finished
PageWithExcerptINTERNAL:_api_excerpts

Endpoint Level Security

Policy security alone does not secure an API’s unmanaged endpoint. Endpoint security also secures the APIs from attempts to bypass the gateway.

Scheer PAS API Management supports two endpoint security options:

  • BASIC Authentication
  • MTLS (Two-Way-SSL)

With Mutual TLS, a two-way trust pattern is created. The gateway trusts the APIs and the APIs trust the gateway. The APIs, however, do not trust the clients. The use of enpoint security prevents that a client can bypass the gateway and access the APIs directly.

Info

The endpoint level of security applies to all requests made to the APIs, regardless of the policies configured.

Definition

On the Definition tab, you can see and edit the definition of an API:

An API definition file allows consumers to better understand how to use your API. If you want to test your API directly from API Management, it is necessary to have an API definition.
If you have imported the API from an instance of the integration component (Bridge), the API definition is populated automatically. Alternatively, you can load a definition from a URL, or add a definition manually (see further below).

Drop-down menu API Definition shows the type of definition file:

  • No API Definition
  • OpenAPI & Swagger v2/v3 (JSON)
  • OpenAPI & Swagger v2/v3 (YAML)
  • WSDL

If needed, you can copy the API definition from here, or download it via the Download button.

Definition Task

Adding a Definition Manually

If no definition has been imported, you can add a definition manually:

  1. Select a definition type from the dropdown box.
  2. Paste, or drag and drop the definition to the empty definition box.
  3. Click Save.
    All changes will be applied to the API as soon as you click Re-publish.

Loading a Definition from a URL

If no definition has been imported or if you need to update an existing definition, you can load a definition from a URL:

  1. Select a definition type from the dropdown box.
  2. Add the URL to a Swagger or WSDL file containing the definition.
  3. Click Load Definition.
  4. Click Save.
    All changes will be applied to the API as soon as you click Re-publish.

Updating a Definition

If the definition of an imported API needs to be updated, you have to do this manually:

  1. Download the definition file from the source (e.g. from the integration component (Bridge)).
  2. Replace the content of the definition box with the content of the downloaded file.
  3. Click Save.
    All changes will be applied to the API as soon as you click Re-publish.

Plans

Open tab Plans to define the visibility of your API and wether it should be Public or Private :

Public API

In section Public API, enable the checkbox Make this API public if you want the API to be accessible publicly. For Public APIs, the public endpoint is displayed directly in the API Developer Portal. Use the drow-down list next to the checkbox to define to whom the API is displayed (see Visibility for details).

Available Plans

OptionDescription
Attach

Enable the checkbox of a plan that should be presented to a client who wants to create a contract to this API.

Plan

This column shows the name of already locked plans. The names are displayed as links so that you can direcly switch to the details page of a plan.

Tip

On page Locking a Plan you can find out how to lock plans. Visit page Creating a Contract to learn how a contract can be created.


Plan Version

Use the drop-down list to select the version of the plan you want to use.

Require Approval

Enable the checkbox if the user should be able to use the plan only after granted approval.

Anchor
visibility
visibility

Visibility
Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameapi_visibility
PageWithExcerptINTERNAL:_api_excerpts

Multiexcerpt include
MultiExcerptNameapi_save_when_finished
PageWithExcerptINTERNAL:_api_excerpts

Developer Portal

PAS 22.1

Open tab Developer Portal to design the display of your API in the Developer Portal and to define the visibility and order of the attached plans (for detailed information see page Exposing an API):

You have several options to design the display of your API in the Developer Portal:

OptionDescription
Feature in Developer PortalEnable the checkbox Feature this API if you want to display the API directly on the landing page of the API Developer Portal.
Attached Plans

In this section, all available plans for the API are displayed and can be managed as follows:

  • Requires approval: If developers need approval before they can finalise their subscription, enable this checkbox.
  • Visibility:
    Multiexcerpt include
    SpaceWithExcerptINTERNAL
    MultiExcerptNameapi_visibility
    PageWithExcerptINTERNAL:_api_excerpts
  • Order: Use the handle in the upper left corner of the plan tile to sort the plans by dragging. The plans will be displayed in the API Developer Portal in your defined order.

Logo

In the Developer Portal, your API will be displayed as a tile. You can upload a logo or picture for your API that will be displayed within in the tile:

Extended API Description

In this section, you can provide a Markdown description of your API to help developers understand how to use your API.

Multiexcerpt include
MultiExcerptNameapi_save_when_finished
PageWithExcerptINTERNAL:_api_excerpts

Policies

Open tab Policies to display the list of policies that have been assigned to this API. To add another policy to this API, use the Add Policy button. You will be redirected to the page Add Policy, where you can choose a policy and customize it:

Multiexcerpt include
MultiExcerptNameapi_link_to_policy_page
DisableCachingtrue
PageWithExcerptINTERNAL:_api_excerpts

Multiexcerpt include
MultiExcerptNameapi_move_policies
PageWithExcerptINTERNAL:_api_excerpts


The listed policies will be applied to all invocations of this API by any client, regardless of the plan used in its contract. If you want to delete a policy from this API, use the Remove button of the policy in question.

Contracts

Multiexcerpt include
MultiExcerptNameapi_displayed_when_published
PageWithExcerptINTERNAL:_api_excerpts

Use tab Contracts to display a list of all contracts between all clients and this API. The list shows all clients that may potentially consume this API:

The status label indicates if the client is able to use the API:

StatusDescription

The API has been assigned to the client, he can use the API.

The client's application to use the API is still pending. Click the Approve button to make the API available to the client.

Endpoint

Multiexcerpt include
MultiExcerptNameapi_displayed_when_published
PageWithExcerptINTERNAL:_api_excerpts

Open tab Endpoint to display Managed Endpoint. This is only applicable for Public APIs.

A client must send the request to the appropriate endpoint to successfully invoke this managed API. When invoking the API through a contract, a valid API Key must be included in each request. If the API is Public, it can be invoked without an API Key through the endpoint that is displayed here.

When you open the tab Endpoint for Private APIs, a warning message is displayed:

Tip

Use the button  to copy the inserted link to your clipboard.

Metrics

Multiexcerpt include
MultiExcerptNameapi_metrics
DisableCachingtrue
PageWithExcerptMetrics

Change Log

Navigate to the Change Log tab if you want to see an overview of changes made for this API. All configuration changes made by API Management users associated with this API are listed here:


Panel
titleOn this Page:

Table of Contents


Panel
titleRelated Pages:

Otp
Floatingfalse
maxHLevel2

rp