How Can Document Users Modify the Base URL in Shared Docs ?
1.
In the Apidog project, go to a certain "Environment" page, click "Add Variable", and enter the variable name (for example, "baseUrl"). In the URL input box corresponding to the "Preceding URL" of the environment, use the variable reference (for example,
{{baseUrl}}
) to replace the specific URL address. In this way, the Base URL is associated with the created variable.2.
After the document is published and shared with users, the users can see the place where the variable is referenced on the endpoint. When the mouse hovers over the variable reference, it will prompt the user to set the variable value.
3.
Click on the variable, and the variable setting window will pop up automatically. The user just needs to fill in the required actual value.
Modified at 2025-05-07 02:04:42