PostHog · Schema

GitHubBranchesResponse

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
branches array List of branch names
default_branch string The default branch of the repository
has_more boolean Whether more branches exist beyond the returned page
View JSON Schema on GitHub

JSON Schema

posthog-githubbranchesresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GitHubBranchesResponse",
  "title": "GitHubBranchesResponse",
  "type": "object",
  "properties": {
    "branches": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of branch names"
    },
    "default_branch": {
      "type": "string",
      "nullable": true,
      "description": "The default branch of the repository"
    },
    "has_more": {
      "type": "boolean",
      "description": "Whether more branches exist beyond the returned page"
    }
  },
  "required": [
    "branches",
    "has_more"
  ]
}