Get Branch
API Name
API Name: Branch – Get
Overview
This API retrieves the details of a specific branch within a given project.
MBSE Core uses this API to:
Validate branch existence
Retrieve branch metadata
Support branch-based synchronization
Connector responsibility:
Retrieve the branch identified by
branchIdwithin the specifiedprojectIdReturn branch details in key-value format
If the branch does not exist, return HTTP
404 Not Found
API URI
Path Parameters
branchId
True
String
ID of the branch to retrieve.
URI Parameters
projectId
True
String
ID of the project in which the branch exists.
Behavior Rules
The API must retrieve the branch within the context of the given project.
If the branch exists:
Return branch details.
If the branch does not exist:
Return HTTP
404 Not Found.
The response must not return unrelated branch data.
Branch lookup must be project-scoped.
Response Payload
Sample Response
Response Parameters
branchId
True
String
Unique identifier of the branch.
branchName
True
String
Display name of the branch.
Error Handling
404
Branch not found in the specified project.
400
Invalid input parameters.
Example Use Case
Get Branch Details
Implementation Guidelines
Connector must ensure branch lookup is scoped to the provided
projectId.Branch identifiers must be unique within a project.
Do not return null response for non-existing branch — explicitly return HTTP
404.
Design Rationale
This API provides:
Strict branch validation
Clear project scoping
Deterministic behavior for multi-branch systems
It ensures branch-level
Last updated

