Test REST Endpoints via the OpenAPI Console¶
Devant provides an integrated OpenAPI Console for testing REST endpoints of your deployed integrations. Since Devant secures REST APIs with OAuth 2.0 authentication, the console automatically generates test keys to facilitate API testing.
Follow these steps to test a REST endpoint using the OpenAPI Console:
- Go to the Devant Console and log in.
- Select the project.
- In the Integrations pane, click on the integration you want to test.
- On the desired environment card, click Test to open the OpenAPI Console.
-
In the OpenAPI Console pane, choose the endpoint you want to test from the Endpoint list.
Note
- The Network Visibility of an endpoint is configured in the Configurations Drawer, which appears when you click
Configure
in a specific environment on the Integration Overview page. You can set the visibility toPublic
,Organization
, orProject
. - If the Network Visibility is set to
Public
, skip to step 7. - If the Network Visibility is set to
Organization
, the endpoint remains private. However, Devant lets you generate a temporary, publicly accessible test URL (secured with OAuth 2.0) for testing. This URL stays active for 15 minutes. To generate it, proceed to step 6.
- The Network Visibility of an endpoint is configured in the Configurations Drawer, which appears when you click
-
If required, click Generate URL to create a temporary test URL. This URL will be valid for 15 minutes and can be manually deactivated by clicking the Deactivate URL button.
-
Expand the resource you want to test.
- Click Try it out to enable testing.
- Provide values for any parameters, if applicable.
-
Click Execute. The response will be displayed under the Responses section.