POST https://webhook.example.com

Payload sent when your documentation receives a deployment with a structure change.

Headers

  • X_BUMP_SIGNATURE_256 string Required

    The hash signature of the payload. Bump uses a HMAC hex digest (SHA256) to compute the signature of the body payload with the webhook secret. More info in help.

application/json

Body

Information about last documentation structure change of your API history

  • api object Required
    Hide api attributes Show api attributes object
    • id string

      UUID of this API

    • name string

      Name of this API

    • description string

      Description of this API from the latest definition

    • slug string

      Slug of this API

    • url string

      public documentation URL

    • version string

      Version of this API taken from the latest definition

    • properties array[object]

      Extra properties attached to this API

      Hide properties attributes Show properties attributes object
      • type string

        Type of the extra property

        Values are x-access-level or x-definition-type.

      • data string

        Content of the extra property

    • created date

      Creation date of this API

    • modified date

      Last udpate date of this API

  • diff object Required
    Hide diff attributes Show diff attributes object
    • id string

      Unique id of your diff

    • title string

      The title of the last parsed definition

    • public_url string

      The public URL of your diff

    • breaking boolean

      Identifies if the diff includes breaking changes

    • details array[object]

      Details of each change as a list of diff items

      Hide details attributes Show details attributes object
      • id string

        The identifier of the diff change

      • name string

        The human name of diff change

      • status string

        Values are added, modified, or removed.

      • type string

        The object type of the diff change

      • breaking boolean

        Identifies if the item is a breaking change

      • children array[object]

        A list of children item changes

    • previous_version_url string

      URL of previous version specification, in JSON format

    • current_version_url string

      URL of current version specification, in JSON format

POST DocStructureChange
Request example
{
  "api": {
    "id": "42",
    "name": "Bump",
    "description": "The official Bump API documentation",
    "slug": "bump",
    "url": "https://developers.bump.sh/",
    "version": "1.0",
    "created": "2019-05-05",
    "modified": "2022-04-07"
  },
  "diff": {
    "id": "ef41eb26-5e7f-47b9-9854-fa170d46bbd2",
    "title": "Bump Api",
    "public_url": "https://developers.bump.sh/changes/ef41eb26-5e7f-47b9-9854-fa170d46bbd2",
    "breaking": false,
    "details": [
      {
        "id": "post-DocStructureChange",
        "name": "POST DocStructureChange",
        "status": "added",
        "type": "webhook",
        "breaking": false,
        "children": []
      }
    ],
    "previous_version_url": "https://developers.bump.sh/changes/ef41eb26-5e7f-47b9-9854-fa170d46bbd2/previous.json",
    "current_version_url": "https://developers.bump.sh/changes/ef41eb26-5e7f-47b9-9854-fa170d46bbd2/current.json"
  }
}