Structure change
Payload sent when your documentation receives a deployment with a structure change.
Headers
-
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.
Request example
# Headers
X_BUMP_SIGNATURE_256: a0b1c1d2e3f5a8b13c21d34e55f89a144b233c377d610e987f1597a2584b4181
# Payload
{
"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"
}
}
Request examples
# Headers
X_BUMP_SIGNATURE_256: a0b1c1d2e3f5a8b13c21d34e55f89a144b233c377d610e987f1597a2584b4181
# Payload
{
"api": {
"id": "3ef8f52f-9056-4113-840e-2f7183b90e06",
"name": "Bump",
"description": "This is the official Bump API documentation. Obviously created with Bump.",
"slug": "bump",
"url": "https://developers.bump.sh/",
"version": "1.0",
"properties": [
{
"type": "x-access-level",
"data": "string"
}
],
"created": "2022-01-07",
"modified": "2022-04-07"
},
"diff": {
"id": "2361df99-1234-4c80-a0cc-45c9fe565812",
"title": "Bump Api",
"public_url": "https://bump.sh/doc/my-own-documentation/change/2361df99-3467-4c80-a0cc-45c9fe565812",
"breaking": false,
"details": [
{
"id": "post-versions",
"name": "POST /versions",
"status": "added",
"type": "endpoint",
"breaking": false,
"children": []
}
],
"previous_version_url": "https://developers.bump.sh/changes/750f15d8-6c41-47b9-8f80-e3ed812dbca9/previous.json",
"current_version_url": "https://developers.bump.sh/changes/750f15d8-6c41-47b9-8f80-e3ed812dbca9/current.json"
}
}