Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

POST /project/git-branch/{project_path}

Overview

This API creates a duplicates the Git branch for that is associated with the specified project and uses the currently tracked commit as the head of the new branch.

Prerequisites

  • Write access to the project

  • GitHub- or GHES-related requirements:

    • The Org must be correctly configured to use GitHub or GHES.

    • The user must have an authenticated GitHub or GHES account.

    • The project has checked out a GitHub or GHES repository.

Learn more: SnapLogic - Git Integration

Request

Appsplus panel macro confluence macro
data{"features":["rounded"],"title":"","titleColor":"#FFFFFF","titleColorBG":"#0052CC","titleSize":16,"titleBold":false,"titleItalic":false,"titleUnderline":false,"link":"","linkIcon":false,"linkTab":false,"lozenge":"Hot stuff","lozengeColor":"#172B4D","lozengeColorBG":"#fff0b3","height":200,"panelPadding":12,"panelColor":"#172B4D","panelColorBG":"#dedede","borderColor":"#4C9AFF","borderRadius":3,"borderStyle":"solid","borderWidth":1,"icon":"editor/info","iconPrimary":"#FFFFFF","iconSecondary":"#0052CC","newMacro":false}

POST https://{pod_path}/api/1/rest/public/project/git-branch/{project_path}

...