Patch Stack
PATCH
/patch_stack/{uuid}
Patch Patch Stack Uuid
Update patch stack
Request Body (Optional)
statusstring
Status of patch stack
Value in:"active" | "closed"titlestring
Patch stack title
descriptionstring
Patch stack description
Path Parameters
uuidRequiredstring
Patch Stack UUID
| Status code | Description |
|---|---|
200 | Update patch stack |
401 | Unauthorized |
404 | Not found |
GET
/patch_stack/{project_id}/{branch_id}
Get Patch Stack Project Id Branch Id
Return latest patch stack for a branch
Path Parameters
project_idRequiredstring
Repository ID
branch_idRequiredstring
Branch ID
Query Parameters
event_idstring
Timeline Event ID to lock to
| Status code | Description |
|---|---|
200 | Return latest patch stack for a branch |
401 | Unauthorized |
404 | Not found |
Butler_API_Entities_PatchStack model
GET
/patch_stack/{project_id}
Get Patch Stack Project Id
Return list of patch stacks
Path Parameters
project_idRequiredstring
Repository ID
Query Parameters
branch_idstring
Branch ID filter
statusstring
Status of patch stack
Default:"active"Value in: "active" | "inactive" | "closed" | "loading" | "all"| Status code | Description |
|---|---|
200 | Return list of patch stacks |
401 | Unauthorized |
404 | Not found |
Butler_API_Entities_PatchStack model
POST
/patch_stack
Post Patch Stack
Create new patch stack
Request Body
project_idRequiredstring
Repository ID
branch_idRequiredstring
Branch ID
oplog_shaRequiredstring
Timeline Event ID to create version from
| Status code | Description |
|---|---|
200 | Create new patch stack |
401 | Unauthorized |
404 | Not found |
Butler_API_Entities_PatchStack model