Once you've created API versions within your project, you can publish them to make their content accessible via your API documentation link. Navigate to Share Docs โ Publish to configure which versions to publish.Adding API Versions for Publishing#
To add an API version for publishing, click the Add button next to Release Version. Configure the following settings:Source: Select from the existing API versions in the project. The published document will display the content of the selected API versions.
Display Version Number: The version number displayed to users on the published document.
Environments: The environment in which readers can initiate debugging within the docs.
Slug: The unique identifier appended to the link of the online API document. e.g., https://example.apidog.io/2-0-0.
Once you've added versions for publication, you can arrange their order in the list. This order determines how versions are presented to users in the online documentation. The first version in the list is the default versionโusers accessing the documentation without specifying a slug will be directed to this version.
Publishing the Documentation#
When release versions are configured, click Publish next to Publish Status to publish the documentation. Users can then access the published documentation via the online link, view all released versions, and click different version numbers to access corresponding content.