Bases
Change Requests

Create Base lifecycle change request

post/api/v1/bases/{baseId}/lifecycle/change-requests

Request

  • Base URL: https://api-docs.busabase.com
  • URL: https://api-docs.busabase.com/api/v1/bases/{baseId}/lifecycle/change-requests
  • Auth: none declared

Path parameters

baseIdstring required

Request body

messagestring
submittedBystring

Response

Created change request that moves a Base between its lifecycle states. operation selects the direction: archive (soft-delete a live Base) or restore (bring an archived Base back). If another Base took the slug while this one was archived, the restore brings it back under the next free slug (tasks-2) and lists the change in mergeSummary.slugChanges.

idstring required
baseIdstring required
targetType'base' | 'node' required
nodeIdstring required
status'in_review' | 'changes_requested' | 'approved' | 'rejected' | 'merged' | 'abandoned' | 'conflict' required
submittedBystring required
sourceMetaobject required
reviewPolicySnapshotobject required
mergeSummaryobject required

Filled in when the change request merges. slugChanges (present only when non-empty) lists items a restore brought back under a new slug because another item took the old one while they were in the Trash: { nodeId, nodeType, name, fromSlug, toSlug }. Read the new slug from here instead of assuming the old one.

rejectedReasonstring required
reviewedAtstring required
mergedAtstring required
createdAtstring required
updatedAtstring required
operationCountnumber required

Changes

No recorded changes to this operation across all 1 revision of this API.