API Management

Overview

The main page of a project shows three tabs on the left navigation panel. Under API Project tab, the Overview section is displayed by default.

overview.png
Figure 1: API Project Summary section

The Overview section displays a project's basic information available for clients in the Developer portal. Most of the documentation is automatically generated based on policy definitions as well as any conversions across the proxy pipeline.

This section displays the summary of the project represented by the properties as described below.

Property

Description

Proxy Base Path

The Project Context Path provided while creating the project.

  • Different versions can have the same Proxy Base Path name.

  • Proxy Base Path name can be changed to a different one by editing the text field.

Version

Versionnumber of the project provided while creating the project. This drop down shows different versions of the project available. On selecting any version, that particular project will be opened.

Date Created

Date and time of the creation of the project.

Last Modified

Date and time of last modification of the project.

Status

Present status of the project.

Status can be changed by choosing the options in the drop-down list as below:

  • Active - A normal API Project that can be launched and used in API products for clients.

  • Deprecated - API Projects can be deprecated to restrict them from being added to new API Products for clients when a better alternative is available. A Deprecated API project continues to work in existing API Products but cannot be added to new Products.

  • Retired -  A Retired API Project indicates that the project is obsolete and cannot be used. Projects cannot be launched if they are marked Retired.

status.png
Figure 2: Status options in the List box

Tags

Provide a keyword for the project. This tag can be used to find this particular project while filtering projects.

Short Description

Provide a short description of the project.

Long Description

Provide a detailed description of the project.

If the description exceeds the text field, click more to expand the text field and view the entire data without scrolling.

After editing, ensure clicking the Save API Project Unknown Attachment button to apply changes made to the project.

While editing values of properties Proxy Base Path or Status (prior to saving it), Reset button may be used to revert to default values.

Users can add further information about the business applications of the resources and their applicability. The documentation corresponding to a particular resource can be configured by selecting the resource and configuring its documentation which is classified into following sections:

Details

This section comprises of optional data input fields where more details about the resource can be added to be displayed in the Developer portal.

Attribute

Description

Short Description

Provide a short description of the resource.

Long Description

Provide a detailed description of the resource.

If the description exceeds the text field, click more to expand the text field and view the entire data without scrolling.

Consumes

Provide the incoming request type. This generally corresponds to the Content-Type header of the incoming request from the client.

Produces

Provide the output response type after calling the target API. This generally corresponds to Accept header of the incoming request from the client.

Input Description

Provide details about the input to the resource.

Output Description

Provide details about the output from the resource

Input Sample

Provide a sample of the input request. This can be very helpful for developers using the API.

Output Sample

Provide a sample of the output response. This can be very helpful for developers using the API.

image2014-10-9 15:36:2.png
Figure 2: Details section under Documentation

Parameters

Different parameters that are part of the invocation of the resource are automatically generated and relevant documentation is generated.

Attribute

Description

Name

Name of the parameter.

Type

Type of the parameter (Form Param / Header / Query Param).

Default Value

Default value of this parameter.

Description

Details of this parameter.

Is Required

Whether the parameter is mandatory or optional.

image2015-10-17 19:59:14.png
Figure 3: Parameters section under Documentation

Custom Parameters

Parameters which are not automatically generated  but may be required for the target server or any service call out can be added using this section. Add parameters by clicking the Add button to add more parameters.

Type-in the parameters in the respective text fields and select from the drop-downs below.

Type:  Select from the options as below

  • Form Param

  • Header

  • Query Param

Is Required: select from the options true/false

image2014-10-9 15:41:6.png
Figure 4: Customer Parameters section under Documentation