BranchRep

October 20, 2025 ยท View on GitHub

Example Usage

import { BranchRep } from "@launchdarkly/mcp-server/models/components";

let value: BranchRep = {
  name: "main",
  head: "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3",
  updateSequenceId: 25,
  syncTime: 603923,
  references: [
    {
      path: "/main/index.js",
      hint: "javascript",
      hunks: [],
    },
  ],
  links: {
    "key": "<value>",
  },
};

Fields

FieldTypeRequiredDescriptionExample
namestring:heavy_check_mark:The branch namemain
headstring:heavy_check_mark:An ID representing the branch HEAD. For example, a commit SHA.a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
updateSequenceIdnumber:heavy_minus_sign:An optional ID used to prevent older data from overwriting newer data25
syncTimenumber:heavy_check_mark:N/A
referencescomponents.ReferenceRep[]:heavy_minus_sign:An array of flag references found on the branch
linksRecord<string, any>:heavy_check_mark:The location and content type of related resources