API

If neither the Github-Action or the CLI are sufficient for you, please read this page to discover what you can do with the Bump.sh API.

Deploy to your documentation #

You can use the POST /versions endpoint to publish a new API document to your documentation.

You will need to provide at least the following request body parameters:

The endpoint gives you some other optional parameters such as:

Diff between two API documents #

You can use the POST /diffs endpoint to compare two given API documents. To see the diff result you will then need to call the GET /diffs/:id endpoint with the id returned by the POST request.

For file comparison, you will need to provide at least the following request body parameters:

For URLs comparison, you will need:

The endpoint gives you some other optional parameters such as:

Manage your branches #

Thanks to the Branches endpoints you can:

List your Hubs #

Thanks to the Hubs endpoints you can:

Documentation Change Webhook #

Our API offers a “documentation change” webhook, which can help you receive automated notifications whenever one of your documentation receives a new published API document.

For more information on how to use this webhook please check the dedicated help page.