Skip to main content
Version: 3.8

Manage Resources

Manage resources entails monitoring and regulating the endpoints or features offered by an API in order to ensure effective data access and operation execution.

Add Resources to the REST API

info

Users can only Add Resources to the API while it is in draft status.

To add resources to a REST API, you can use one of three methods:

  • Manual Method
  • Upload a Swagger file Method
  • Fetch from an URL Method

Add Resources to REST API using Manual Method

  1. Navigate to the REST API's Resources tab.

The Screen appears as shown below.

restapiresourcemanual

info

Hover over the Information icon to view the rules for entering a valid Exposure base path.

  1. Click Add new resources.

Add Resource dialog box appears as shown below.

  1. Enter the Exposure base path and Resource name.

  2. Select the Method from the drop down.

  3. Enter the Description.

  4. Click Proceed.

On proceeding, the resources are added to the API as shown below.

restapiresourcemanual1

info

The Mode is displayed as a Manual If the Resources are added using the Manual Method.

Click the Edit icon to edit the manually added resource if necessary.

Click the Delete icon to delete the manually added resource if necessary.

Add Resources to the REST API using Upload a Swagger file Method

  1. Navigate to the REST API's Resources tab.

The Screen appears as shown below.

restapiresourceswagger

info

Hover over the Information icon to view the rules for entering a valid Exposure base path.

  1. Ensure that Add Resources is selected as Upload a Swagger file.
info

Only .yaml and .json files are supported

  1. Click the Upload button to add a swagger file from your storage device.

Swagger file Upload dialog box appears as shown below.

restapiresourceswagger

info

If you need to override manually created resources, enable the Also overwrite manually created resources check box.

  1. Click the right radio button to select the Exposure Base Path as either Use Exposure Base Path from file or Enter exposure base path manually.
info

If Exposure Base Path is set to Use Exposure Base Path from file, the Exposure Base Path is retrieved from the uploaded swagger file.

If the Exposure Base Path is set to Enter exposure base path manually, you must input the Exposure Base Path manually.

  1. Click Proceed.

On proceeding, the resources are added to the API as shown below.

restapiresourceswagger2

info

The Mode is displayed as a Upload If the Resources are added using the Upload a Swagger file Method.

Add Resources to the REST API using Fetch from an URL Method

  1. Navigate to the REST API's Resources tab.

The Screen appears as shown below.

restapifetchfromurl

  1. Select the Add Resources as Fetch from an URL

  2. Enter the URL.

  3. Select an endpoint security from the drop-down.

info

The Key Name and Value fields are only displayed if Select an endpoint security is selected as Header or Query.

Enter the Key Name and Value if Select an endpoint security is selected as Header or Query

  1. Click Go.

The Swagger file Upload from Url dialog box appears as shown below.

restapifetchfromurl1

info

Hover over the Information icon to view the rules for entering a valid Exposure base path.

If you need to override manually created resources, enable the Also overwrite manually created resources check box.

  1. Enter the Exposure Base Path.

  2. Click Proceed.

On proceeding, the operations are added to the API as shown below.

restapifetchfromurl2

info

The Mode is displayed as a URL If the Resources are added using the Fetch from an URL Method.

  1. Click Save as Draft.

On saving, the confirmation message appears as shown below.

restapifetchfromurl3

Add Operations for SOAP API

info

Users can only Add Operations to the API while it is in draft status.

To add operations to a SOAP API, you can use one of two methods:

  • Upload a WSDL file Method
  • Fetch from an URL Method

Add Operations to the SOAP API using Upload a WSDL file Method

  1. Navigate to the SOAP API's Operations tab.

The Screen appears as shown below.

soapapi

  1. Ensure that Add Operations is selected as Upload a WSDL file.
info

Only .wsdl is supported

  1. Click the Upload button to add a wsdl file from your storage device.

WSDL file Upload dialog box appears as shown below.

soapapiupload

info

Hover over the Information icon to view the rules for entering a valid Exposure base path.

If you need to override manually created Operations, enable the Also overwrite manually created resources check box.

  1. Click the right radio button to select the Exposure Base Path as either Use Exposure Base Path from file or Enter exposure base path manually.
info

If Exposure Base Path is set to Use Exposure Base Path from file, the Exposure Base Path is retrieved from the uploaded wsdl file.

If the Exposure Base Path is set to Enter exposure base path manually, you must input the Exposure Base Path manually.

  1. Click Proceed.

On proceeding, the operations are added to the API as shown below.

soapapiupload1

info

The Mode is displayed as a Upload If the Operations are added using the Upload a WSDL file Method.

Add Operations to the SOAP API using Fetch from an URL Method

  1. Navigate to the SOAP API's Operations tab.

The Screen appears as shown below.

soapapifetchfromurl

  1. Select the Add Operations as Fetch from an URL

  2. Enter the URL.

  3. Select an endpoint security from the drop-down.

info

The Key Name and Value fields are only displayed if Select an endpoint security is selected as Header or Query.

Enter the Key Name and Value if Select an endpoint security is selected as Header or Query

  1. Click Go.

The WSDL file Upload from Url dialog box appears as shown below.

soapapifetchfromurl1

info

Hover over the Information icon to view the rules for entering a valid Exposure base path.

If you need to override manually created operations, enable the Also overwrite manually created resources check box.

  1. Enter the Exposure Base Path.

  2. Click Proceed.

On proceeding, the operations are added to the API as shown below.

soapapifetchfromurl2

info

The Mode is displayed as a URL If the Operations are added using the Fetch from an URL Method.

  1. Click Save as Draft.

On saving, the confirmation message appears as shown below.

soapapifetchfromurl3

Add Resources to the GraphQL API

info

Users can only Add Resources to the API while it is in draft status.

  1. Navigate to the GraphQL API's Resources tab.

The Screen appears as shown below.

graphqlapiresource

info

Hover over the Information icon to view the rules for entering a valid Exposure base path.

  1. Enter the Exposure base path.

  2. Select Add Resources as either GraphQL Schema Definition Language or GraphQL Introspection Query Result.

  3. Click the Upload button to add a GraphQL file from your storage device.

Upon uploading, the resources are added to the API as shown below.

graphqlapifetchfromurl2

info

Since we can only upload a GraphQL file in order to add resources for GraphQL, the Mode is shown as a Upload.

  1. Click Save as Draft.

On saving, the confirmation message appears as shown below.

grapkqlapifetchfromurl3