|
| Copyright © TIBCO Software Inc. All Rights Reserved |
2.
− API name Enter a name for the API.
− Description Enter description for the API.
− API Type Choose the API type from the options in the drop-down list: REST and SOAP. The default API type is REST.
a. Upload REST API Spec If the API is a REST API, to add a REST API specification, click Add files, and then browse for and select the Swagger specification files to be added. Ensure that the file format is JSON. Once the files are selected, click Start upload to upload the selected files.
b. Upload WSDL API Spec If the API is a SOAP API, to add WSDL API specification, click Add files, and then browse for and select the WSDL specification files to be added. Once the files are selected, click Start upload to upload the selected files.
c. REST resource path Enter the REST resource path for the REST API.This field is applicable to REST APIs and can be left empty for APIs of type SOAP.
d. Environments Click Choose and select one or more environments in which the APIs are provisioned and are usable.
− Attached Documentation Files Click Add files to add one or more documentation files for the API and then click Start upload to upload the selected files.
− Inline documentation Enter inline documentation text as required.
6. Click Save.
− Contact Contact for the API. Click Create New to create a new contact or click Choose and choose the contact for the API.
− Owner organization Name of the organization that owns the API. The value is assigned automatically.
− Contained in products Click Choose, and then from the list of products, choose the products that will use the API.
− Operations Operations can be added to the API after the API is created. Depending on the type of the API, the portal administrator might need to add operations to the newly created API:See Adding an Operation for details.
2. Select the APIs tab and then select an existing API. The API details page appears.
3.
− Operation name Enter a name for the operation.
− Description Enter description for the operation.
− URI path Enter the REST operation's path or the endpoint URI for the WSDL.
− REST method Select a method for the REST operation from the drop-down: DELETE, GET, POST, or PUT.
− SOAP Action If the API is a SOAP API, enter the SOAP action for the SOAP operation.
5. Click Save to add the operation to the API.
|
| Copyright © TIBCO Software Inc. All Rights Reserved |