Sandbox
Create Sandbox APIs
Login to the site as a Portal Admin
Navigate to Dashboard > API Administration > Content > Add Content
Click on APIs and enable Sandbox API
Enter the following details:
Title
API version
API image
Add endpoint : Upload a swagger file (json/yaml)
Click on the Save button to create the Sandbox API
Create Sandbox
APIs listing page to provision sandbox:
Login as an API Manager
Navigate to Dashboard > API Testing > Sandbox APIs to provision the APIs
Navigate to Dashboard > API Testing > Sandboxes page and click Add Sandbox to create one
Step 1 :
Enter the following details :
Application Name
Select the API Node for which the Sandbox will be provisioned
Check on Swagger File from API Nodes based on the requirement (3.0 and above are supported)
Click on the Next button to go to Step 2
Step 2 :
Select the Policy to be applied to the API.
There are security policies Spike Arrest, Quota Policy, Verify API Keys, JSON Threat Protection, OAuthV2
Spike Arrest : Protects against API traffic surges
Quota Policy : Restricts the number of API requests based on the configured period of time
Verify API Keys : Ensure the uploaded Open APISpec contains the API security definition
JSON Threat Protection : Mitigates risks in the request payload JSON content
OAuthV2 : Ensure the uploaded Open APISpec contains the OAuth 2 security definition
Click on Finish
Consumer key secret generated and Sandbox provisioned
After sandbox creation goto sandbox listing page from there APIM manager can download the swagger, edit the rules and see the access keys
Edit rules page
On edit rules page APIM manager can update the strategy
For every endpoint, APIM manager can update the strategy. When strategy is SATIC APIM manager can able to set the response payload
When APIM manager will update strategy to DYNAMIC then he can able to set the rules and update the existing one
For CANNED,BACKENED and REST only APIM manager to select the dropdown strategy will get update
Decommission the Sandbox
Login as APIM manager
Navigate to Dashboard > API Testing > Sandbox APIs
Click on Decommission, confirmation popup is displayed. when click on button delete it will decommission the sandbox
Sandbox access request
Login as portal consumer
Navigate to Dashboard > Find Your APIs > API Discovery
Click on particular API and goto the Sandbox tab. Sandbox form is coming for partner admin only and partner admin only can request sandbox access.
To provide access login as portal admin. Navigate to Dashboard > Apps > Partners and add member in active partner. Give role as Partner Admin
Login as portal consumer. Click on particular API and goto the Sandbox tab
After submitting form. Success message is displayed
Once sandbox access is approved developer with role partner admin and partner member both can able to view access keys and dapper UI
Developer can upload the seed data, they can download seed data sample file also and upload seed data should be in csv file format and not allowing to upload more that 1 MB data
Sandbox Access Approval
Login as APIM manager
Navigate to Dashboard > API Testing > Access Approvals
APIM manager can approve and reject the sandbox access request
Revoke the sandbox
Login as APIM manager
Navigate to Dashboard > API Testing > Revoke Sandbox
After click on Revoke the popup is displayed for confirmation
After click on Revoke button of popup sandbox will get revoke
Reinstate the sandbox
Login as APIM manager
Navigate to Dashboard > API Testing > Revoke Sandbox
Click on Reinstate the popup is coming for confirmation
After click on Reinstate button of popup sandbox will get active again.
Sandbox DNS Settings
Login to the site as a Portal Admin
Click on menu Sandbox DNS Settings under sandbox menu
There are two ways to set the DNS
If portal admin will check "Use Default DNS system". It will take default DNS of system
If portal admin are not using default one, we need to upload the certificate and key and fill domain name and submit the form then the DNS will get register
The allowed types for certificate and keys are .cer,.pem
Portal admin get reminder for certificate expiration
Oauth Config
Login as Portal admin
Navigate to Dashboard > API Testing > Oauth2 Configuration
There are three option given for Oauth configuration: Authorization code, Password Credentials, Client credentials
Portal admin can check the checkboxes and fill the base url field and submit the form