Description: This guide provides step-by-step instructions for creating a network application in CloudConnexa using the public API through Swagger.
Step 1: Create API credentials
- Sign in to your CloudConnexa Portal.
- Click API & Logs > API.
- Click Create Credentials.
- Enter the details for your new credentials and click Create.
- Once the credentials are created, copy the Public API Client ID and Public API Client Secret, which you'll use as your authorization credentials using Swagger.
- Return to the CloudConnexa API UI and turn on Enable API for this Cloud ID to ensure active API access.
Step 2: Authorize in Swagger
- From the CloudConnexa API UI, click Swagger.
- Click Authorize.
- Paste your Public API Client ID and Public API Client Secret, and click Authorize.
- The Available authorizations notification displays, and you can click Close.
Step 3: Ensure your network is created
If you haven't already created a network in CloudConnexa, follow this article: CloudConnexa: How to Create Networks using the CloudConnexa API via Swagger.
Once your network is ready, continue with the next step.
Step 4: Retrieve your Network ID
- In Swagger, click to expand Network.
- Click to expand
GET /api/v1/networks
. - Click Try it out, then Execute.
- From the response, copy the network ID of the network you want to use.
Step 5: Create an application
- In Swagger, click to expand
POST /api/v1/networks/applications
. - Click Try it out and paste the copied network ID in the networkId field.
- Make your changes to define your custom application in the Request body.
Example:{
"name": "Webmin Internal Site",
"description": "Internal",
"routes": [
{
"type": "domain",
"value": "weblink.system-administrator.click",
"allowEmbeddedIp": false
}
],
"config": {
"serviceTypes": [
"ANY"
]
}
} - Click Execute to submit the request.
Step 6: Verify the application in your CloudConnexa portal
- Sign in to your CloudConnexa Portal.
- Click Networks > Applications.
- Confirm the executed CloudConnexa API parameters.
If you need additional help, please submit a support ticket.
Comments
0 comments
Please sign in to leave a comment.