-
Notifications
You must be signed in to change notification settings - Fork 232
docs: clarify exporting API response format and failure behavior #8435
Copy link
Copy link
Labels
component:self-managedDocs and issues related to Camunda Platform 8 Self-ManagedDocs and issues related to Camunda Platform 8 Self-Managedcomponent:zeebeIssues related with Zeebe projectIssues related with Zeebe projectkind/bugIssues related with bugs in the documentationIssues related with bugs in the documentationsupportIssues related to support ticketsIssues related to support tickets
Description
Problem
The exporting API documentation does not make it clear how to determine whether a pause/resume request succeeded or failed.
The HTTP status code is always 200. The actual result is in the status field of the JSON response body: 204 means success, 500 means failure. This is not documented in the management API docs, and is only visible inside a collapsed <details> block in the backup guide.
Additionally, the operation can fail entirely (no partitions are paused or resumed) if the cluster topology is temporarily incomplete — for example, when a broker is unavailable. This precondition is not documented.
Success response
{
"body": null,
"status": 204,
"contentType": null
}Failure response
{
"body": {
"message": "Expected 3 members of partition 1 but found 2, current topology: ..."
},
"status": 500,
"contentType": null
}Suggested changes
management-api.md (Exporting API section):
- Note that the HTTP status is always
200and callers must check thestatusfield in the response body (204= success,500= failure) - Add success and failure response examples
- Note that the operation fails entirely if the cluster topology is incomplete
backup.md:
- Make it more visible that callers should check the
statusfield in the response body — this is currently hidden inside a collapsed details block and easy to miss
Links
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
component:self-managedDocs and issues related to Camunda Platform 8 Self-ManagedDocs and issues related to Camunda Platform 8 Self-Managedcomponent:zeebeIssues related with Zeebe projectIssues related with Zeebe projectkind/bugIssues related with bugs in the documentationIssues related with bugs in the documentationsupportIssues related to support ticketsIssues related to support tickets
Type
Fields
Give feedbackNo fields configured for Bug.
Projects
Status
🆕 Inbox